diff --git a/CHANGELOG.md b/CHANGELOG.md index 93aacf0..a61ed44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht ## [Unreleased] +## [0.5.0] - 2026-05-03 + ### Added - **First-class strategies** `email`, `name`, `first_name`, `last_name`, and `phone` in config (same generators as `faker = "internet::SafeEmail"`, `name::Name`, `name::FirstName`, `name::LastName`, and locale-aware phone). Strategy names are normalized to lowercase at load. @@ -16,6 +18,10 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht - **Random-path faker/phone/PII**: one reused `StdRng` on `AnonymizerRegistry` instead of re-seeding per cell. - **`faker` locale resolution**: `resolved_locale_key` avoids allocating a `String` per faker call when locale is `en` or absent. +### Performance + +- Larger default I/O buffers; fewer per-line and per-row allocations on the SQL stream path (INSERT/COPY parsing and row filters). + ## [0.4.3] - 2026-05-03 ### Fixed @@ -83,6 +89,7 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht - Configurable output scan severities and per-category thresholds via `[output_scan]`. - JSON report section for output scan findings including category, count, threshold, severity, and sample locations. +[0.5.0]: https://github.com/ababic/dumpling/compare/v0.4.3...v0.5.0 [0.4.3]: https://github.com/ababic/dumpling/compare/v0.4.2...v0.4.3 [0.4.2]: https://github.com/ababic/dumpling/compare/v0.4.1...v0.4.2 [0.4.1]: https://github.com/ababic/dumpling/compare/v0.4.0...v0.4.1 diff --git a/Cargo.lock b/Cargo.lock index f24390c..af05259 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -262,7 +262,7 @@ dependencies = [ [[package]] name = "dumpling" -version = "0.4.3" +version = "0.5.0" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 35b7cbb..46d377f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dumpling" -version = "0.4.3" +version = "0.5.0" edition = "2021" [dependencies] diff --git a/docs/src/releasing.md b/docs/src/releasing.md index a199ccb..358a297 100644 --- a/docs/src/releasing.md +++ b/docs/src/releasing.md @@ -11,7 +11,7 @@ This project uses **tag-driven releases**. ## Maintainer checklist 1. Ensure `main` is green in CI. -2. Update `Cargo.toml` version and `CHANGELOG.md`. +2. Update `Cargo.toml` and `pyproject.toml` versions and `CHANGELOG.md`. 3. Open and merge a release preparation PR. 4. Create and push a tag from `main`: diff --git a/pyproject.toml b/pyproject.toml index 3670dab..bd32101 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "dumpling-cli" -version = "0.4.3" +version = "0.5.0" description = "Static anonymizer for plain SQL dumps (PostgreSQL, SQLite, SQL Server)." readme = "README.md" requires-python = ">=3.8"