                 Changes in version 1.3.1 (2026-08-21)                  

  - Add restrictIncident parameter for intersect functions by
    @catalamarti in #785
  - Run benchmark in a 100000 sample by default by @catalamarti in #786

                 Changes in version 1.3.0 (2026-07-24)                  

  - Speed up proportion of patients covered by @catalamarti in #775
  - Discontinuation day is the first unexposed day by @catalamarti in
    #776
  - Default of not in observation by @catalamarti in #777
  - fix tests by @catalamarti in #778
  - restrict to first discontinuation in
    summariseDiscontinuationAsSurvival by @catalamarti in #779
  - Breaking change: replace the notInObservation argument in
    summariseTreatment() and summariseIndication() with the logical
    inObservation argument, which defaults to TRUE. by @catalamarti in
    #780
  - Consistent documentation by @catalamarti in #781

                 Changes in version 1.2.1 (2026-07-03)                  

  - Fix erafyCohort for Sql Server by @catalamarti in #760
  - Fix casting issue in Sql Server by @catalamarti in #769
  - Fix cumulative incidence table and plots by @catalamarti in #770

                 Changes in version 1.2.0 (2026-06-18)                  

  - add tutorial in the website by @catalamarti in #751
  - Speed up benchmark with PPC only 365 days by @catalamarti in #755
  - Create summariseDiscontinuationAsSurvival(),
    tableDiscontinuationAsSurvival() and plotDiscontinuationAsSurvival()
    by @catalamarti in #757 #763
  - add notInObservation argument for summariseTreatment and
    summariseIndication by @catalamarti in #759
  - Fix empty cohorts by @catalamarti in #764

                 Changes in version 1.1.0 (2026-01-28)                  

  - Export addDailyDose() function by @catalamarti in #749

                 Changes in version 1.0.5 (2025-11-19)                  

  - Explictly copy data into the database using insertTable by @ablack3
    in #727
  - Correct as.numeric of datediff by @catalamarti in #731
  - Add style argument in tables and figures by @catalamarti in #734
  - Call libraries explicitly in vignettes by @catalamarti in #739
  - Include in vignette how to use days prescribed by @catalamarti in
    #743
  - tests edge case by @catalamarti in #744
  - Support local datasets and standardise testing by @catalamarti in
    #736
  - Review mock data vignette by @catalamarti in #745
  - add plotIndication params by @ginberg in #740
  - add type and style as NULL to use default values by @catalamarti in
    #747

                 Changes in version 1.0.4 (2025-07-02)                  

  - Fix plotDrugUtilisation combining different cdm_name by @catalamarti

                 Changes in version 1.0.3 (2025-06-03)                  

  - Skip some tests for regression in duckdb by @catalamarti

                 Changes in version 1.0.2 (2025-05-13)                  

  - Add examples of atc and ingredient documentation by @catalamarti
  - Add summariseTreatment input information in vignette by
    @KimLopezGuell
  - Drug restart documentation by @KimLopezGuell
  - Add drug utilisation documentation by @KimLopezGuell
  - Update equation daily dose vignette by @KimLopezGuell
  - Compatibility with omopgenerics 1.2.0 by @catalamarti
  - Homogenise examples by @catalamarti

                 Changes in version 1.0.1 (2025-04-15)                  

  - lifecycle stable by @catalamarti
  - Correct settings to not be NA by @catalamarti
  - add .options argument by @catalamarti

                 Changes in version 1.0.0 (2025-03-27)                  

  - Stable release.
  - plotPPC between 0 and 100% by @catalamarti
  - add observation_period_id in erafy by @catalamarti
  - use window_name as factor in plotTreatment/Indication by
    @catalamarti
  - remove lifecycle tags 1.0.0 by @catalamarti
  - use mockDisconnect in all tests by @catalamarti
  - Change default of tables to hide all settings by @catalamarti
  - Test validateNameStyle by @catalamarti
  - update requirePriorDrugWashout to <= to align with
    IncidencePrevalence by @catalamarti

                 Changes in version 0.8.3 (2025-03-20)                  

  - Add +1L to initialExposureDuration to calculate duration as end -
    start + 1 by @catalamarti

                 Changes in version 0.8.2 (2025-01-16)                  

  - Fix snowflake edge case with duplicated prescriptions by
    @catalamarti

                 Changes in version 0.8.1 (2024-12-19)                  

  - Arguments recorded in summarise* functions by @catalamarti
  - Improved performance of addIndication, addTreatment,
    summariseIndication, summariseTreatment by @catalamarti

                 Changes in version 0.8.0 (2024-12-10)                  

New features

  - Add argument ... to generateATC/IngredientCohortSet by @catalamarti
  - benchmarkDrugUtilisation to test all functions by @MimiYuchenGuo
  - Add confidence intervals to PPC by @catalamarti
  - Export erafyCohort by @catalamarti
  - Add numberExposures and daysPrescribed to generate functions by
    @catalamarti
  - Add subsetCohort and subsetCohortId arguments to cohort creation
    functions by @catalamarti
  - New function: addDrugRestart by @catalamarti
  - Add initialExposureDuration by @catalamarti
  - add cohortId to summarise* functions by @catalamarti
  - addDaysPrescribed by @catalamarti
  - plotDrugUtilisation by @catalamarti

Minor updates

  - Account for omopgenerics 0.4.0 by @catalamarti
  - Add messages about dropped records in cohort creation by
    @catalamarti
  - Refactor of table functions following visOmopResults 0.5.0 release
    by @catalamart
  - Cast settings to characters by @catalamarti
  - checkVersion utility function for tables and plots by @catalamarti
  - Deprecation warnings to errors for deprecated arguments in
    geenrateDrugUtilisation by @catalamarti
  - Add message if too many indications by @catalamarti
  - not treated -> untreated by @catalamarti
  - warn overwrite columns by @catalamarti
  - Use omopgenerics assert function by @catalamarti
  - add documentation helpers for consistent argument documentation by
    @catalamarti
  - exposedTime -> daysExposed by @catalamarti
  - Fix cast warning in mock by @catalamarti
  - test addDaysPrescribed by @catalamarti
  - refactor plots to use visOmopResults plot tools by @catalamarti

Bug fix

  - allow integer64 in sampleSize by @catalamarti

                 Changes in version 0.7.0 (2024-07-29)                  

  - Deprecate dose specific functions: addDailyDose, addRoute,
    stratifyByUnit.

  - Deprecate drug use functions: addDrugUse, summariseDrugUse.

  - Rename dailyDoseCoverage -> summariseDoseCoverage.

  - Refactor of addIndication to create a categorical variable per
    window.

  - New functionality summariseProportionOfPatientsCovered,
    tableProportionOfPatientsCovered and
    plotProportionOfPatientsCovered.

  - Create require* functions.

  - New functionality summariseDrugRestart, tableDrugRestart and
    plotDrugRestart.

  - New functionality addDrugUtilisation, summariseDrugUtilisation and
    tableDrugUtilisation
