diff --git a/CHANGELOG.md b/CHANGELOG.md index fa5c8a5..c101073 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ This repository continues the `overflowdigital` `cuid2` package (`b02c8ca`); ver ## [Unreleased] +## [3.1.0] - 2026-11-21 + ### Changed - `Cuid`, `Cuid.generate`, `create_id`, and `cuid_wrapper` now normalize integer-like `length` arguments via `operator.index` on validation, so objects implementing only `__index__` (without `__gt__` or `__add__`) are supported and `cuid_wrapper` binds a plain `int` in its `functools.partial` keywords. @@ -145,7 +147,8 @@ Spans 49 commits since 2.0.1 over 2.5 years; the Python 3.8 drop (#24, merged 20 - First release from this repository, refactored to the latest CUID2 spec (`1342a13`). - Internal: GitHub Actions workflow updates. -[Unreleased]: https://github.com/gordon-code/cuid2/compare/v3.0.0...HEAD +[Unreleased]: https://github.com/gordon-code/cuid2/compare/v3.1.0...HEAD +[3.1.0]: https://github.com/gordon-code/cuid2/compare/v3.0.0...v3.1.0 [3.0.0]: https://github.com/gordon-code/cuid2/compare/v2.3.0...v3.0.0 [2.3.0]: https://github.com/gordon-code/cuid2/compare/v2.2.1...v2.3.0 [2.2.1]: https://github.com/gordon-code/cuid2/compare/v2.2.0...v2.2.1 diff --git a/local/tests/test_verify_release.py b/local/tests/test_verify_release.py index 103037b..09bea90 100644 --- a/local/tests/test_verify_release.py +++ b/local/tests/test_verify_release.py @@ -299,7 +299,7 @@ def test_cli_main_changelog_and_dist(self, tmp_path: Path, capsys: pytest.Captur == 0 ) assert notes_out.read_text(encoding="utf-8").startswith("### ") - assert gh_out.read_text(encoding="utf-8") == "version=3.0.0\n" + assert gh_out.read_text(encoding="utf-8") == "version=3.1.0\n" version = read_project_version(DEFAULT_PYPROJECT_PATH) _build_wheel(tmp_path / f"cuid2-{version}-py3-none-any.whl", expected_wheel_members(version)) diff --git a/pyproject.toml b/pyproject.toml index 6986c79..105eca7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "uv_build" [project] name = "cuid2" -version = "3.0.0" +version = "3.1.0" authors = [ {name = "Will Gordon", email = "dev@gordoncode.dev"}, ] diff --git a/uv.lock b/uv.lock index 1759df9..f1ec204 100644 --- a/uv.lock +++ b/uv.lock @@ -474,7 +474,7 @@ wheels = [ [[package]] name = "cuid2" -version = "3.0.0" +version = "3.1.0" source = { editable = "." } default-groups = ["build", "lint", "test", "typing"]