diff --git a/Cargo.toml b/Cargo.toml index 7a72e71..1185014 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,4 +56,4 @@ license = "MIT" readme = "README.md" repository = "https://github.com/andreoliwa/fren" rust-version = "1.80" -version = "0.2.1" +version = "0.2.2" diff --git a/crates/fren-date-cli/CHANGELOG.md b/crates/fren-date-cli/CHANGELOG.md index 11bddf3..74a4b9d 100644 --- a/crates/fren-date-cli/CHANGELOG.md +++ b/crates/fren-date-cli/CHANGELOG.md @@ -6,3 +6,19 @@ 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.2.2](https://github.com/andreoliwa/fren/compare/fren-date-cli-v0.2.1...fren-date-cli-v0.2.2) - 2026-06-16 + +### Added + +- _(rename)_ add --on-conflict flag defaulting to number + +### Fixed + +- _(rename)_ exhaustive match on --on-conflict, no wildcard fallthrough + +### Other + +- _(deps)_ add pure-rust-locales, upgrade anstream 0.6 to 1 +- _(on_conflict)_ apply rustfmt +- _(cli)_ add integration tests for --on-conflict behavior diff --git a/crates/fren-date-cli/Cargo.toml b/crates/fren-date-cli/Cargo.toml index 55e27af..468f492 100644 --- a/crates/fren-date-cli/Cargo.toml +++ b/crates/fren-date-cli/Cargo.toml @@ -5,7 +5,7 @@ path = "src/main.rs" [dependencies] anstream = "1" anstyle = "1" -fren-date = {path = "../fren-date", version = "0.2.1"} +fren-date = {path = "../fren-date", version = "0.2.2"} chrono.workspace = true clap.workspace = true clap_complete.workspace = true diff --git a/crates/fren-date/CHANGELOG.md b/crates/fren-date/CHANGELOG.md index 11bddf3..c8275d0 100644 --- a/crates/fren-date/CHANGELOG.md +++ b/crates/fren-date/CHANGELOG.md @@ -6,3 +6,26 @@ 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.2.2](https://github.com/andreoliwa/fren/compare/fren-date-v0.2.1...fren-date-v0.2.2) - 2026-06-16 + +### Added + +- _(slugify)_ normalize textual month/AM-PM datetimes before numeric pipeline +- _(conflict)_ rewrite conflict resolution to be policy-aware +- _(conflict)_ add numbered_name helper with unit tests +- _(date)_ recognize unpadded and digit-surrounded dates +- _(date)_ parse datetime when followed by a trailing sequence number +- _(date)_ recognize HHmm datetimes and ISO T separator + +### Fixed + +- _(conflict)_ prevent cross-group copy-number collision and default policy to Number + +### Other + +- _(slugify)_ add tests for textual month, AM/PM normalization, and case variants +- _(deps)_ add pure-rust-locales, upgrade anstream 0.6 to 1 +- _(proptest)_ switch invariants to Number policy and fix invariant2 for within-batch collisions +- _(date)_ apply rustfmt to pre-existing format issues +- _(proptest)_ record case-only rename regression seed diff --git a/crates/fren-date/Cargo.toml b/crates/fren-date/Cargo.toml index c67b3b4..2a587a1 100644 --- a/crates/fren-date/Cargo.toml +++ b/crates/fren-date/Cargo.toml @@ -1,17 +1,17 @@ [dependencies] -slug-preserve = {path = "../slug-preserve", version = "0.2.1"} +slug-preserve = {path = "../slug-preserve", version = "0.2.2"} chrono.workspace = true +pure-rust-locales.workspace = true regex.workspace = true serde.workspace = true serde_json.workspace = true thiserror.workspace = true -pure-rust-locales.workspace = true unicode-normalization.workspace = true uuid.workspace = true walkdir.workspace = true [dev-dependencies] -slug-preserve = {path = "../slug-preserve", version = "0.2.1"} +slug-preserve = {path = "../slug-preserve", version = "0.2.2"} proptest.workspace = true tempfile.workspace = true