# omock 0.7.0

-   Deprecated `mockConcepts()` because it creates placeholder concept rows that
    may be mistaken for real OMOP vocabulary content. Use
    `mockCdmReference(vocabularySet = "eunomia")`, `mockVocabularyTables()`, or
    `subsetVocabularyTables()` instead.
-   `changeCdmVersion()` now uses `omopgenerics::compareOmopTableFields()` and
    aligns local OMOP tables to the target CDM version fields.
-   `mockCdmFromDataset()` now validates `cdmVersion` and converts loaded
    datasets to the requested CDM version when needed.
-   Downloaded mock datasets within 99.99% of their expected size are now
    reused; users are only asked to delete a dataset when it appears incomplete.
-   Mock dataset CDM names now resolve to a downloadable dataset version before
    download, avoiding invalid URL errors when a requested target CDM version is
    not directly hosted.

# omock 0.6.2

# omock 0.6.1

## New Features and Improvements

-  Improved dataset downloads with retry logic and timeout handling for more reliable fetching.
-  Updated mock dataset URLs to a new storage location and improved join logic.
-  Enhanced mock CDM examples, including clearer error handling and more robust behaviour.
-  Added an internal GI Bleed dataset, along with the associated loading logic, for expanded example coverage.

## Bug Fixes

-  Removed unused input validation and table-checking functions to simplify the codebase.
-  Fixed the placement of rows_to_keep calculation in mockCohort to ensure correct behaviour.

# omock 0.6.0

## New Features and Improvements

-   Added new vignettes and updated to omopgenerics 1.3.1 #184
-   Introduced support for `mockCdmFromTables()` #196
-   Added re-exported functions from `omopgenerics` for improved usability #198
-   Added warning messages in `mockCohort()` for clearer user feedback #197
-   Added `visit_detail` mock table support #224
-   Added function to change CDM version from 5.3 to 5.4 #221

## Updates and Maintenance

-   Updated citation and badge information #195
-   Updated `drugStrength` from RDS source #194
-   General updates and internal refinements #207
-   Replaced deprecated `lubridate` usage with `clock` for date-time handling #222

## Bug Fixes

-   Fixed handling of concepts not in OMOP tables #199
-   Fixed vocabulary set retrieval issues #209
-   Fixed concept type ID handling #208
-   Fixed download truncation issues #212
-   Fixed other minor bugs #192 #200

# omock 0.5.0

-   add option source to `mockCdmFromDataset` by @catalamarti #158

# omock 0.4.0

-   Add contributing guidlines by @ilovemane in #152
-   Speed up start and end dates by @catalamarti in #150
-   Speed up mockObservationPeriod.R by @ilovemane in #153
-   Add mock datasets by @catalamarti in #154
-   Speed up mockCohort.R by @ilovemane in #156
-   Test mock datasets creation by @catalamarti in #155

# omock 0.3.2

# omock 0.3.1

# omock 0.3.0

# omock 0.2.0

# omock 0.1.0

-   Initial CRAN submission.
