# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.25.2](https://github.com/LAPKB/PMcore/compare/v0.25.1...v0.25.2) - 2026-04-20

### Fixed

- Add wrappers for analytical solutions ([#272](https://github.com/LAPKB/PMcore/pull/272))

## [0.25.1](https://github.com/LAPKB/PMcore/compare/v0.25.0...v0.25.1) - 2026-04-13

### Other

- Update rand requirement from 0.9.0 to 0.10.1 ([#270](https://github.com/LAPKB/PMcore/pull/270))

## [0.25.0](https://github.com/LAPKB/PMcore/compare/v0.24.0...v0.25.0) - 2026-04-11

### Added

- Bump pharmsol and update examples ([#269](https://github.com/LAPKB/PMcore/pull/269))
- Use pharmsol 0.25 ([#268](https://github.com/LAPKB/PMcore/pull/268))

### Other

- Update faer requirement from 0.23.1 to 0.24.0 ([#241](https://github.com/LAPKB/PMcore/pull/241))
- Update rand requirement from 0.9.0 to 0.10.0 ([#244](https://github.com/LAPKB/PMcore/pull/244))

## [0.24.0](https://github.com/LAPKB/PMcore/compare/v0.23.0...v0.24.0) - 2026-04-01

### Added

- new bestdose API ([#247](https://github.com/LAPKB/PMcore/pull/247))

### Other

- Update CI workflows ([#258](https://github.com/LAPKB/PMcore/pull/258))
- fix examples to match the data ([#259](https://github.com/LAPKB/PMcore/pull/259))

## [0.23.0](https://github.com/LAPKB/PMcore/compare/v0.22.2...v0.23.0) - 2026-03-24

### Other

- Bump pharmsol to 0.24 ([#251](https://github.com/LAPKB/PMcore/pull/251))

## [0.22.2](https://github.com/LAPKB/PMcore/compare/v0.22.1...v0.22.2) - 2025-12-12

### Other

- Update pharmsol dependency version to 0.22.1 ([#236](https://github.com/LAPKB/PMcore/pull/236))
- Update criterion requirement from 0.7 to 0.8 ([#233](https://github.com/LAPKB/PMcore/pull/233))
- Update pharmsol requirement from =0.21.0 to =0.22.0 ([#232](https://github.com/LAPKB/PMcore/pull/232))

## [0.22.1](https://github.com/LAPKB/PMcore/compare/v0.22.0...v0.22.1) - 2025-11-18

### Added

- methods needed to be able to separate problem from fit in Pmetrics ([#228](https://github.com/LAPKB/PMcore/pull/228))

## [0.22.0](https://github.com/LAPKB/PMcore/compare/v0.21.1...v0.22.0) - 2025-11-17

### Added

- [**breaking**] Update NPResult to contain the posterior and predictions ([#224](https://github.com/LAPKB/PMcore/pull/224))

### Other

- Remove unsed dependency (argmin-math) ([#225](https://github.com/LAPKB/PMcore/pull/225))

## [0.21.1](https://github.com/LAPKB/PMcore/compare/v0.21.0...v0.21.1) - 2025-11-12

### Other

- Update field name in NPPredictionrow to cens ([#222](https://github.com/LAPKB/PMcore/pull/222))

## [0.21.0](https://github.com/LAPKB/PMcore/compare/v0.20.0...v0.21.0) - 2025-11-05

### Added

- *(exa)* [**breaking**] exa now requires the path where the template is going to be deployed ([#219](https://github.com/LAPKB/PMcore/pull/219))
- Implement BestDose ([#163](https://github.com/LAPKB/PMcore/pull/163))

### Fixed

- Remove algorithms from .gitignore ([#220](https://github.com/LAPKB/PMcore/pull/220))

### Other

- Refactor algorithm trait ([#196](https://github.com/LAPKB/PMcore/pull/196))
- Algorithm is Send+static

## [0.20.0](https://github.com/LAPKB/PMcore/compare/v0.19.1...v0.20.0) - 2025-10-24

### Other

- Update field to censoring and bump pharmsol
- Add censoring to output data
- Breaking Changes in Pharmsol
- Bolus are not given automatically anymore

## [0.19.1](https://github.com/LAPKB/PMcore/compare/v0.19.0...v0.19.1) - 2025-10-23

### Other

- Bump pharmsol ([#211](https://github.com/LAPKB/PMcore/pull/211))

## [0.19.0](https://github.com/LAPKB/PMcore/compare/v0.18.1...v0.19.0) - 2025-10-22

### Added

- New version of pharmsol ([#208](https://github.com/LAPKB/PMcore/pull/208))
- Implement serialize for NPResult ([#202](https://github.com/LAPKB/PMcore/pull/202))

### Other

- Remove writing of the op.csv ([#205](https://github.com/LAPKB/PMcore/pull/205))
- Add more tests ([#199](https://github.com/LAPKB/PMcore/pull/199))
- More informative error for Cholesky decomposition ([#198](https://github.com/LAPKB/PMcore/pull/198))

## [0.18.1](https://github.com/LAPKB/PMcore/compare/v0.18.0...v0.18.1) - 2025-10-09

### Added

- Expose methods on Theta ([#200](https://github.com/LAPKB/PMcore/pull/200))

## [0.18.0](https://github.com/LAPKB/PMcore/compare/v0.17.0...v0.18.0) - 2025-09-30

### Added

- all optimization routines moved to pharmsol, it makes more sense for them to be there since there are somoe optimization routines that belong to the model and not to a population algorithm

### Other

- Update argmin requirement from 0.10.0 to 0.11.0 ([#192](https://github.com/LAPKB/PMcore/pull/192))

## [0.17.0](https://github.com/LAPKB/PMcore/compare/v0.16.0...v0.17.0) - 2025-09-29

### Added

- Refactor outputs ([#178](https://github.com/LAPKB/PMcore/pull/178))

### Fixed

- Duplicate predictions ([#187](https://github.com/LAPKB/PMcore/pull/187))

### Other

- Greco model ([#190](https://github.com/LAPKB/PMcore/pull/190))
- Update faer requirement from 0.22.4 to 0.23.1 ([#186](https://github.com/LAPKB/PMcore/pull/186))

## [0.15.1](https://github.com/LAPKB/PMcore/compare/v0.15.0...v0.16.0) - 2025-09-07

### Added

- Support pharmsol fixed error factors ([#176](https://github.com/LAPKB/PMcore/pull/176))
- Update calculation of predictions ([#159](https://github.com/LAPKB/PMcore/pull/159))

### Other

- Drusano Greco model ([#182](https://github.com/LAPKB/PMcore/pull/182))
- Update pharmsol requirement from =0.16.0 to =0.17.0 ([#183](https://github.com/LAPKB/PMcore/pull/183))
- Update pharmsol requirement from =0.15.0 to =0.16.0 ([#177](https://github.com/LAPKB/PMcore/pull/177))
- Improve test coverage ([#172](https://github.com/LAPKB/PMcore/pull/172))
- Bump actions/checkout from 4 to 5 ([#175](https://github.com/LAPKB/PMcore/pull/175))
- Update pharmsol requirement from =0.14.0 to =0.15.0 ([#173](https://github.com/LAPKB/PMcore/pull/173))
- Improve benchmark coverage ([#174](https://github.com/LAPKB/PMcore/pull/174))
- Change log-level of output folder destination ([#158](https://github.com/LAPKB/PMcore/pull/158))
- Update criterion requirement from 0.6 to 0.7 ([#169](https://github.com/LAPKB/PMcore/pull/169))

## [0.15.0](https://github.com/LAPKB/PMcore/compare/v0.14.0...v0.15.0) - 2025-07-23

### Added

- v0.15.0

### Other

- support for pharmsol 0.14.0

## [0.14.0](https://github.com/LAPKB/PMcore/compare/v0.13.1...v0.14.0) - 2025-07-14

### Added

- Update output files API ([#149](https://github.com/LAPKB/PMcore/pull/149))

## [0.13.1](https://github.com/LAPKB/PMcore/compare/v0.13.0...v0.13.1) - 2025-07-09

### Added

- support for pharmsol 0.13.1 ([#153](https://github.com/LAPKB/PMcore/pull/153))

## [0.13.0](https://github.com/LAPKB/PMcore/compare/v0.12.1...v0.13.0) - 2025-06-25

### Added

- More informative status for algorithm and stop reason ([#138](https://github.com/LAPKB/PMcore/pull/138))

### Fixed

- Add gamma/lambda for each output equation to cycle.csv ([#147](https://github.com/LAPKB/PMcore/pull/147))

### Other

- Update Cargo.toml ([#150](https://github.com/LAPKB/PMcore/pull/150))
- Add validation of parameters ([#136](https://github.com/LAPKB/PMcore/pull/136))

## [0.12.1](https://github.com/LAPKB/PMcore/compare/v0.12.0...v0.12.1) - 2025-06-19

### Other

- Update Cargo.toml ([#145](https://github.com/LAPKB/PMcore/pull/145))
- Use pharmsol 0.11.0

## [0.12.0](https://github.com/LAPKB/PMcore/compare/v0.11.0...v0.12.0) - 2025-06-11

### Added

- Deprecate fixed but unknown ([#118](https://github.com/LAPKB/PMcore/pull/118))

### Other

- Error model ([#139](https://github.com/LAPKB/PMcore/pull/139))

## [0.10.0](https://github.com/LAPKB/PMcore/compare/v0.9.0...v0.10.0) - 2025-03-28

### Added

- API changes ([#112](https://github.com/LAPKB/PMcore/pull/112))

### Other

- Update README.md ([#114](https://github.com/LAPKB/PMcore/pull/114))

## [0.9.0](https://github.com/LAPKB/PMcore/compare/v0.8.2...v0.9.0) - 2025-03-25

### Added

- Use `faer` for linear algebra ([#108](https://github.com/LAPKB/PMcore/pull/108))

## [0.8.2](https://github.com/LAPKB/PMcore/compare/v0.8.1...v0.8.2) - 2025-03-17

### Fixed

- Error in logic for output folder ([#109](https://github.com/LAPKB/PMcore/pull/109))

## [0.8.1](https://github.com/LAPKB/PMcore/compare/v0.8.0...v0.8.1) - 2025-03-12

### Fixed

- Parameters from Vec<Parameter> ([#106](https://github.com/LAPKB/PMcore/pull/106))

## [0.8.0](https://github.com/LAPKB/PMcore/compare/v0.7.6...v0.8.0) - 2025-03-12

### Added

- Refactor settings API ([#101](https://github.com/LAPKB/PMcore/pull/101))

### Other

- Update QR-decomposition ([#97](https://github.com/LAPKB/PMcore/pull/97))
