|
| 1 | +# omophub 1.3.0 |
| 2 | + |
| 3 | +## New Features |
| 4 | + |
| 5 | +* **Hierarchy `get()` method**: New method to retrieve complete concept hierarchy (ancestors and descendants) in a single call with support for "flat" or "graph" visualization formats. |
| 6 | + |
| 7 | +* **Vocabulary `domain_stats()` method**: New method to get statistics for a specific domain within a vocabulary. |
| 8 | + |
| 9 | +* **Vocabulary `concept_classes()` method**: New method to list all available concept classes. |
| 10 | + |
| 11 | +* Added `vocab_release` parameter to concepts, mappings, relationships, and hierarchy methods for explicit vocabulary version pinning. |
| 12 | + |
| 13 | +* Added `include_hierarchy` parameter to `concepts$get()` and `concepts$get_by_code()`. |
| 14 | + |
| 15 | +## Changes |
| 16 | + |
| 17 | +* **API parameter naming**: Updated to match OMOPHub API v1.3.0 specifications: |
| 18 | + - `limit` → `page_size` for pagination |
| 19 | + - `vocabulary`, `domain` → `vocabulary_ids`, `domain_ids` for filtering |
| 20 | + - `max_results` → `page_size` for result limits |
| 21 | + - `relationship_type` → `relationship_ids` for relationship filtering |
| 22 | + - `target_vocabularies` → `target_vocabulary` (singular) in mappings |
| 23 | + - `vocabulary_id` → `vocabulary_ids` (plural) in hierarchy methods |
| 24 | + |
| 25 | +* **API simplifications**: Several methods now have fewer parameters to match the simplified backend API: |
| 26 | + - `mappings$get()`: Removed `direction`, `include_indirect`, `standard_only`, `include_mapping_quality`, `include_synonyms`, `include_context`, pagination |
| 27 | + - `domains$list()`: Simplified to single `include_stats` parameter |
| 28 | + - `vocabularies$get()`: Now takes only `vocabulary_id` |
| 29 | + - `vocabularies$domains()`: Now takes no parameters |
| 30 | + |
| 31 | +* **Batch limits**: `concepts$batch()` maximum reduced from 1000 to 100 concepts per request. |
| 32 | + |
| 33 | +* **Default changes**: |
| 34 | + - `concepts$batch()` `standard_only` default changed from `FALSE` to `TRUE` |
| 35 | + - `relationships$get()` default `page_size` changed from 50 to 100 |
| 36 | + |
| 37 | +## Bug Fixes |
| 38 | + |
| 39 | +* Fixed tests to use correct parameter names matching SDK implementation |
| 40 | + |
1 | 41 | # omophub 1.1.0 |
2 | 42 |
|
3 | 43 | ## New Features |
|
0 commit comments