|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file.
|
4 | 4 |
|
| 5 | +## [0.15.1] - 2025-01-23 |
| 6 | + |
| 7 | +### Features |
| 8 | + |
| 9 | +- Added keep intervals for tables and tree sequences ([#635](https://github.com/tskit-dev/tskit-rust/pull/635)) |
| 10 | +- Add TreeSequence::tables ([#648](https://github.com/tskit-dev/tskit-rust/pull/648)) |
| 11 | + |
| 12 | +### Miscellaneous Tasks |
| 13 | + |
| 14 | +- Bump serde from 1.0.199 to 1.0.203 ([#639](https://github.com/tskit-dev/tskit-rust/pull/639)) |
| 15 | +- Bump serde_json from 1.0.115 to 1.0.117 ([#637](https://github.com/tskit-dev/tskit-rust/pull/637)) |
| 16 | +- Bump thiserror from 1.0.58 to 1.0.61 ([#638](https://github.com/tskit-dev/tskit-rust/pull/638)) |
| 17 | +- Bump cc from 1.0.96 to 1.0.98 ([#640](https://github.com/tskit-dev/tskit-rust/pull/640)) |
| 18 | +- Bump libc from 0.2.154 to 0.2.155 ([#636](https://github.com/tskit-dev/tskit-rust/pull/636)) |
| 19 | +- Bump anyhow from 1.0.81 to 1.0.86 ([#641](https://github.com/tskit-dev/tskit-rust/pull/641)) |
| 20 | +- Bump bitflags from 2.5.0 to 2.6.0 ([#645](https://github.com/tskit-dev/tskit-rust/pull/645)) |
| 21 | +- Bump serde_json from 1.0.117 to 1.0.120 ([#646](https://github.com/tskit-dev/tskit-rust/pull/646)) |
| 22 | +- Bump cc from 1.0.98 to 1.0.104 ([#643](https://github.com/tskit-dev/tskit-rust/pull/643)) |
| 23 | + |
| 24 | +### Refactor |
| 25 | + |
| 26 | +- [**breaking**] Use Into<Idtype> for metadata retrieval fns ([#633](https://github.com/tskit-dev/tskit-rust/pull/633)) |
| 27 | +- Separate keep_intervals from simplify ([#647](https://github.com/tskit-dev/tskit-rust/pull/647)) |
| 28 | +- Update to proc_macro_error2 ([#661](https://github.com/tskit-dev/tskit-rust/pull/661)) |
| 29 | +- Bump to syn 2.0 ([#663](https://github.com/tskit-dev/tskit-rust/pull/663)) |
| 30 | + |
| 31 | +### Styling |
| 32 | + |
| 33 | +- Remove duplicated attribute ([#642](https://github.com/tskit-dev/tskit-rust/pull/642)) |
| 34 | +- Fix lints from rust 1.80.0 ([#650](https://github.com/tskit-dev/tskit-rust/pull/650)) |
| 35 | +- Fix lints from rust 1.81.0 ([#662](https://github.com/tskit-dev/tskit-rust/pull/662)) |
| 36 | +- Clippy lints for rustc 1.84.0 ([#699](https://github.com/tskit-dev/tskit-rust/pull/699)) |
| 37 | + |
| 38 | +## [0.15.0-alpha.0] - 2024-05-07 |
| 39 | + |
| 40 | +### Documentation |
| 41 | + |
| 42 | +- Fix incomplete sentence in metadata_advanced.md ([#529](https://github.com/tskit-dev/tskit-rust/pull/529)) |
| 43 | +- Remove visible use of namespace from flags doc tests ([#618](https://github.com/tskit-dev/tskit-rust/pull/618)) |
| 44 | +- Fix lints from rustdoc ([#631](https://github.com/tskit-dev/tskit-rust/pull/631)) |
| 45 | + |
| 46 | +### Features |
| 47 | + |
| 48 | +- Allow tree iteration to start at a given position/tree index ([#613](https://github.com/tskit-dev/tskit-rust/pull/613)) |
| 49 | +- Sys::NodeTable::raw_metadata ([#628](https://github.com/tskit-dev/tskit-rust/pull/628)) |
| 50 | + |
| 51 | +### Miscellaneous Tasks |
| 52 | + |
| 53 | +- Add cargo-semver checks + caching to CI ([#493](https://github.com/tskit-dev/tskit-rust/pull/493)) |
| 54 | +- Update bindgen requirement from 0.63.0 to 0.65.1 ([#499](https://github.com/tskit-dev/tskit-rust/pull/499)) |
| 55 | +- [**breaking**] Update tskit C files to C API 1.1.2 ([#501](https://github.com/tskit-dev/tskit-rust/pull/501)) |
| 56 | +- Move sys into subdir ([#503](https://github.com/tskit-dev/tskit-rust/pull/503)) |
| 57 | +- Move bindings into sys ([#504](https://github.com/tskit-dev/tskit-rust/pull/504)) |
| 58 | +- Reorganize tables code in sys ([#511](https://github.com/tskit-dev/tskit-rust/pull/511)) |
| 59 | +- Reorganize treeseq code in sys ([#512](https://github.com/tskit-dev/tskit-rust/pull/512)) |
| 60 | +- Move flags into sys and re-export ([#513](https://github.com/tskit-dev/tskit-rust/pull/513)) |
| 61 | +- Reorganize tree/treeseq code ([#515](https://github.com/tskit-dev/tskit-rust/pull/515)) |
| 62 | +- Update bindgen requirement from 0.65.1 to 0.66.1 ([#523](https://github.com/tskit-dev/tskit-rust/pull/523)) |
| 63 | +- Update delegate requirement from 0.9.0 to 0.10.0 ([#525](https://github.com/tskit-dev/tskit-rust/pull/525)) |
| 64 | +- Bump dependencies ([#533](https://github.com/tskit-dev/tskit-rust/pull/533)) |
| 65 | +- Bump serde from 1.0.185 to 1.0.188 ([#538](https://github.com/tskit-dev/tskit-rust/pull/538)) |
| 66 | +- Bump actions/checkout from 2 to 4 ([#544](https://github.com/tskit-dev/tskit-rust/pull/544)) |
| 67 | +- Bump libc from 0.2.147 to 0.2.148 ([#543](https://github.com/tskit-dev/tskit-rust/pull/543)) |
| 68 | +- Bump serde_json from 1.0.105 to 1.0.107 ([#542](https://github.com/tskit-dev/tskit-rust/pull/542)) |
| 69 | +- Bump thiserror from 1.0.47 to 1.0.49 ([#541](https://github.com/tskit-dev/tskit-rust/pull/541)) |
| 70 | +- Bump bindgen from 0.66.1 to 0.68.1 ([#540](https://github.com/tskit-dev/tskit-rust/pull/540)) |
| 71 | +- Audit and remove unused dependencies ([#545](https://github.com/tskit-dev/tskit-rust/pull/545)) |
| 72 | +- Bump clap version ([#548](https://github.com/tskit-dev/tskit-rust/pull/548)) |
| 73 | +- Replace cargo-msrv with cargo check + specific version ([#549](https://github.com/tskit-dev/tskit-rust/pull/549)) |
| 74 | +- Pin clap in Cargo.toml ([#550](https://github.com/tskit-dev/tskit-rust/pull/550)) |
| 75 | +- Bump thiserror from 1.0.49 to 1.0.50 ([#559](https://github.com/tskit-dev/tskit-rust/pull/559)) |
| 76 | +- Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 ([#556](https://github.com/tskit-dev/tskit-rust/pull/556)) |
| 77 | +- Bump serde_json from 1.0.107 to 1.0.108 ([#558](https://github.com/tskit-dev/tskit-rust/pull/558)) |
| 78 | +- Bump libc from 0.2.148 to 0.2.149 ([#557](https://github.com/tskit-dev/tskit-rust/pull/557)) |
| 79 | +- Bump serde from 1.0.188 to 1.0.190 ([#560](https://github.com/tskit-dev/tskit-rust/pull/560)) |
| 80 | +- Bump libc from 0.2.149 to 0.2.150 ([#561](https://github.com/tskit-dev/tskit-rust/pull/561)) |
| 81 | +- Bump serde from 1.0.190 to 1.0.193 ([#563](https://github.com/tskit-dev/tskit-rust/pull/563)) |
| 82 | +- Bump bindgen from 0.68.1 to 0.69.1 ([#562](https://github.com/tskit-dev/tskit-rust/pull/562)) |
| 83 | +- Bump serde_json from 1.0.108 to 1.0.109 ([#568](https://github.com/tskit-dev/tskit-rust/pull/568)) |
| 84 | +- Bump thiserror from 1.0.50 to 1.0.56 ([#572](https://github.com/tskit-dev/tskit-rust/pull/572)) |
| 85 | +- Bump libc from 0.2.150 to 0.2.151 ([#565](https://github.com/tskit-dev/tskit-rust/pull/565)) |
| 86 | +- Bump pkg-config from 0.3.27 to 0.3.28 ([#567](https://github.com/tskit-dev/tskit-rust/pull/567)) |
| 87 | +- Bump anyhow from 1.0.75 to 1.0.79 ([#571](https://github.com/tskit-dev/tskit-rust/pull/571)) |
| 88 | +- Bump delegate from 0.10.0 to 0.12.0 ([#566](https://github.com/tskit-dev/tskit-rust/pull/566)) |
| 89 | +- Bump shlex from 1.1.0 to 1.3.0 ([#574](https://github.com/tskit-dev/tskit-rust/pull/574)) |
| 90 | +- Bump bindgen from 0.69.1 to 0.69.2 ([#577](https://github.com/tskit-dev/tskit-rust/pull/577)) |
| 91 | +- Bump serde from 1.0.193 to 1.0.196 ([#579](https://github.com/tskit-dev/tskit-rust/pull/579)) |
| 92 | +- Bump libc from 0.2.151 to 0.2.153 ([#576](https://github.com/tskit-dev/tskit-rust/pull/576)) |
| 93 | +- Bump pkg-config from 0.3.28 to 0.3.29 ([#578](https://github.com/tskit-dev/tskit-rust/pull/578)) |
| 94 | +- Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 ([#575](https://github.com/tskit-dev/tskit-rust/pull/575)) |
| 95 | +- Bump serde from 1.0.196 to 1.0.197 ([#583](https://github.com/tskit-dev/tskit-rust/pull/583)) |
| 96 | +- Bump bindgen from 0.69.2 to 0.69.4 ([#584](https://github.com/tskit-dev/tskit-rust/pull/584)) |
| 97 | +- Bump serde_json from 1.0.109 to 1.0.114 ([#586](https://github.com/tskit-dev/tskit-rust/pull/586)) |
| 98 | +- Bump cc from 1.0.83 to 1.0.88 ([#585](https://github.com/tskit-dev/tskit-rust/pull/585)) |
| 99 | +- Bump thiserror from 1.0.56 to 1.0.57 ([#581](https://github.com/tskit-dev/tskit-rust/pull/581)) |
| 100 | +- Bump pkg-config from 0.3.29 to 0.3.30 ([#582](https://github.com/tskit-dev/tskit-rust/pull/582)) |
| 101 | +- Bump all dependencies ([#593](https://github.com/tskit-dev/tskit-rust/pull/593)) |
| 102 | +- Bump baptiste0928/cargo-install from 2 to 3 ([#580](https://github.com/tskit-dev/tskit-rust/pull/580)) |
| 103 | +- Bump serde from 1.0.197 to 1.0.199 ([#626](https://github.com/tskit-dev/tskit-rust/pull/626)) |
| 104 | +- Bump cc from 1.0.90 to 1.0.96 ([#625](https://github.com/tskit-dev/tskit-rust/pull/625)) |
| 105 | +- Bump libc from 0.2.153 to 0.2.154 ([#627](https://github.com/tskit-dev/tskit-rust/pull/627)) |
| 106 | + |
| 107 | +### Refactor |
| 108 | + |
| 109 | +- [**breaking**] Remove TSK_NODE_IS_SAMPLE ([#505](https://github.com/tskit-dev/tskit-rust/pull/505)) |
| 110 | +- [**breaking**] Remove tsk_flags_t from lib.rs and prelude ([#506](https://github.com/tskit-dev/tskit-rust/pull/506)) |
| 111 | +- [**breaking**] Remove tsk_size_t ([#507](https://github.com/tskit-dev/tskit-rust/pull/507)) |
| 112 | +- [**breaking**] Remove TSK_NULL ([#508](https://github.com/tskit-dev/tskit-rust/pull/508)) |
| 113 | +- [**breaking**] Remove tsk_id_t ([#509](https://github.com/tskit-dev/tskit-rust/pull/509)) |
| 114 | +- [**breaking**] C API bindings are now feature gates ([#510](https://github.com/tskit-dev/tskit-rust/pull/510)) |
| 115 | +- LLTreeSeq impl now takes flag types directly ([#514](https://github.com/tskit-dev/tskit-rust/pull/514)) |
| 116 | +- Add sys::LLTree ([#516](https://github.com/tskit-dev/tskit-rust/pull/516)) |
| 117 | +- [**breaking**] Mark all pub enums non_exhaustive. ([#519](https://github.com/tskit-dev/tskit-rust/pull/519)) |
| 118 | +- Remove unneeded private feilds from struct Tree ([#521](https://github.com/tskit-dev/tskit-rust/pull/521)) |
| 119 | +- Replace MBox with TskBox for "owning" table types ([#536](https://github.com/tskit-dev/tskit-rust/pull/536)) |
| 120 | +- Drop MBox for the storage behing TableCollection. ([#539](https://github.com/tskit-dev/tskit-rust/pull/539)) |
| 121 | +- Remove unsafe label from fn that is now safe ([#552](https://github.com/tskit-dev/tskit-rust/pull/552)) |
| 122 | +- TskBox::new now returns Result ([#553](https://github.com/tskit-dev/tskit-rust/pull/553)) |
| 123 | +- Sys::TskBox<T> now requires that T implement a private trait. ([#573](https://github.com/tskit-dev/tskit-rust/pull/573)) |
| 124 | +- [**breaking**] EdgeTable implemented using sys::EdgeTable ([#595](https://github.com/tskit-dev/tskit-rust/pull/595)) |
| 125 | +- [**breaking**] NodeTable implemented using sys::NodeTable ([#604](https://github.com/tskit-dev/tskit-rust/pull/604)) |
| 126 | +- [**breaking**] MutationTable implemented using sys::MutationTable ([#606](https://github.com/tskit-dev/tskit-rust/pull/606)) |
| 127 | +- [**breaking**] SiteTable implemented using sys::SiteTable ([#607](https://github.com/tskit-dev/tskit-rust/pull/607)) |
| 128 | +- [**breaking**] MigrationTable implemented using sys::MigrationTable ([#608](https://github.com/tskit-dev/tskit-rust/pull/608)) |
| 129 | +- [**breaking**] IndividualTable implemented using sys::IndividualTable ([#609](https://github.com/tskit-dev/tskit-rust/pull/609)) |
| 130 | +- [**breaking**] Population and Provenance tables use new sys:: types. ([#610](https://github.com/tskit-dev/tskit-rust/pull/610)) |
| 131 | +- [**breaking**] TreeSequence::dump_tables now consumes self. ([#612](https://github.com/tskit-dev/tskit-rust/pull/612)) |
| 132 | +- Use TSK_TREE_OK in StreamingIterator impl for Tree ([#614](https://github.com/tskit-dev/tskit-rust/pull/614)) |
| 133 | +- Move newtype definitions to sys module. ([#616](https://github.com/tskit-dev/tskit-rust/pull/616)) |
| 134 | +- Move TskitError to sys and reexport ([#617](https://github.com/tskit-dev/tskit-rust/pull/617)) |
| 135 | +- Use newtypes and generics for sys::NodeTable ([#619](https://github.com/tskit-dev/tskit-rust/pull/619)) |
| 136 | +- Sys:: tree sequence now uses TskBox ([#620](https://github.com/tskit-dev/tskit-rust/pull/620)) |
| 137 | +- Low level tables/tree sequences ([#622](https://github.com/tskit-dev/tskit-rust/pull/622)) |
| 138 | +- Mark TskBox::into_raw safe ([#623](https://github.com/tskit-dev/tskit-rust/pull/623)) |
| 139 | +- [**breaking**] Remove deprecated items ([#624](https://github.com/tskit-dev/tskit-rust/pull/624)) |
| 140 | +- [**breaking**] Bump bitflags to 2.5.x ([#630](https://github.com/tskit-dev/tskit-rust/pull/630)) |
| 141 | + |
| 142 | +### Styling |
| 143 | + |
| 144 | +- Address clippy lints due to rust 1.72.0 ([#535](https://github.com/tskit-dev/tskit-rust/pull/535)) |
| 145 | +- Fix lints from rustc 1.77.1 ([#592](https://github.com/tskit-dev/tskit-rust/pull/592)) |
| 146 | +- Fix lints from rust 1.78 ([#629](https://github.com/tskit-dev/tskit-rust/pull/629)) |
| 147 | + |
| 148 | +### Testing |
| 149 | + |
| 150 | +- Add explicit tests of empty bitflags types ([#527](https://github.com/tskit-dev/tskit-rust/pull/527)) |
| 151 | +- Rewrite test without proptest ([#534](https://github.com/tskit-dev/tskit-rust/pull/534)) |
| 152 | +- Verify MSRV in CI ([#546](https://github.com/tskit-dev/tskit-rust/pull/546)) |
| 153 | +- Remove CI pinned to an explicit MSRV ([#547](https://github.com/tskit-dev/tskit-rust/pull/547)) |
| 154 | + |
5 | 155 | ## [0.14.1] - 2023-04-16
|
6 | 156 |
|
7 | 157 | ### Bug Fixes
|
|
0 commit comments