# Changelog

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

## [0.6.0] - 2026-03-19

### Bug Fixes

- Correct ffi pointer casts for arm64/Linux ([#475](https://github.com/molpopgen/demes-rs/pull/475))

### Features

- Add support for TOML input ([#399](https://github.com/molpopgen/demes-rs/pull/399))

### Miscellaneous Tasks

- Various doc and ecosystem fixes ([#398](https://github.com/molpopgen/demes-rs/pull/398))
- Update corrosion submodules ([#456](https://github.com/molpopgen/demes-rs/pull/456))

### Refactor

- Forward_graph_get_demes_graph now returns *mut c_char ([#383](https://github.com/molpopgen/demes-rs/pull/383))
- [**breaking**] Change argument order for forward_graph_model_end_time ([#384](https://github.com/molpopgen/demes-rs/pull/384))
- Manually implement std::error::Error ([#459](https://github.com/molpopgen/demes-rs/pull/459))

### Testing

- CI updates ([#396](https://github.com/molpopgen/demes-rs/pull/396))

## [0.5.0] - 2024-04-16

### Features

- Add forward_graph_get_demes_graph ([#377](https://github.com/molpopgen/demes-rs/pull/377))

### Miscellaneous Tasks

- Bump version number of all crates ([#354](https://github.com/molpopgen/demes-rs/pull/354))

### Testing

- Run demes-forward-capi tests through valgrind ([#379](https://github.com/molpopgen/demes-rs/pull/379))

## [0.4.1] - 2023-09-26

### Styling

- Fix clippy lints from 1.72.0 ([#304](https://github.com/molpopgen/demes-rs/pull/304))

### Testing

- Fix stacked borrow UB found by miri ([#292](https://github.com/molpopgen/demes-rs/pull/292))

## [0.4.0] - 2023-03-30

### Documentation

- Update README.md for workspace and crates ([#226](https://github.com/molpopgen/demes-rs/pull/226))

### Features

- Round epoch stard/end sizes ([#244](https://github.com/molpopgen/demes-rs/pull/244))

### Miscellaneous Tasks

- Reorganize as a cargo workspace ([#215](https://github.com/molpopgen/demes-rs/pull/215))
- Update Cargo.toml to point to correct homepage/repo. ([#223](https://github.com/molpopgen/demes-rs/pull/223))

### Refactor

- Handle null pointer as error case ([#228](https://github.com/molpopgen/demes-rs/pull/228))
- [**breaking**] OpaqueForwardGraph is no longer Send/Sync ([#245](https://github.com/molpopgen/demes-rs/pull/245))
- [**breaking**] Handle time conversion/rounding with callbacks ([#251](https://github.com/molpopgen/demes-rs/pull/251))

### Testing

- Add test of importing model with bad epoch rounding ([#236](https://github.com/molpopgen/demes-rs/pull/236))

## [0.3.0] - 2022-10-27

### Bug Fixes

- Fix tag_version in cliff.toml

### Miscellaneous Tasks

- Bump demes-forward version to ~0.2 ([#35](https://github.com/molpopgen/demes-forward-capi/pull/35))
- Add .github/dependabot.yml ([#37](https://github.com/molpopgen/demes-forward-capi/pull/37))
- Bump crate version to 0.3.0 ([#36](https://github.com/molpopgen/demes-forward-capi/pull/36))
- Bump jwlawson/actions-setup-cmake from 1.12 to 1.13 ([#38](https://github.com/molpopgen/demes-forward-capi/pull/38))
- Bump actions/checkout from 2 to 3 ([#39](https://github.com/molpopgen/demes-forward-capi/pull/39))
- Bump styfle/cancel-workflow-action from 0.6.0 to 0.11.0 ([#40](https://github.com/molpopgen/demes-forward-capi/pull/40))

### Styling

- Cargo +nightly clippy --fix ([#41](https://github.com/molpopgen/demes-forward-capi/pull/41))

### Testing

- Add tests to help establish iteration patterns. ([#33](https://github.com/molpopgen/demes-forward-capi/pull/33))
- Test that deme size pointers aren't NULL. ([#34](https://github.com/molpopgen/demes-forward-capi/pull/34))

## [0.2.0] - 2022-08-07

### Miscellaneous Tasks

- Bump crate version to 0.2.0
- Add cliff.toml

### Refactor

- Build the normal rust lib. Facilitates re-exports. ([#32](https://github.com/molpopgen/demes-forward-capi/pull/32))

<!-- generated by git-cliff -->
