Ensure that the validation of ULID's timestamp component aligns more closely with the ULID specification. #27@somnam
2.6.0
Changed
Use stricter validation when a ULID value from user input. When using ULID.from_str() we will check if the characters match the base32 alphabet. In general, it is ensured that the timestamp part of the ULID is not out of range.
2.5.0
Changed
Generate a more accurate JSON schema with Pydantic’s BaseModel.model_json_schema(). This includes a specification for string and byte representations.
2.4.0
Added
ULID objects are now properly serialized when used as Pydantic types @Avihais12344#21
* Raise `TypeError` instead of `ValueError` if constructor is called with value of wrong type.
* Update ``ruff`` linter rules and switch to ``hatch fmt``.
Added
* Added :meth:`.ULID.parse`-method, which allows to create a :class:`.ULID`-instance from an
arbitrary supported input value. `@perrotuerto <https://github.com/perrotuerto>`_.
Fixed
Documentation bug in the example of :meth:.ULID.milliseconds@tsugumi-sys <https://github.com/tsugumi-sys>_.
2.7.0_ - 2024-06-17
Changed
Ensure that the validation of ULID's timestamp component aligns more closely with
the ULID specification.
2.6.0_ - 2024-05-26
Changed
* Use stricter validation when a :class:`.ULID` value from user input. When using
:meth:`.ULID.from_str` we will check if the characters match the base32 alphabet. In general,
it is ensured that the timestamp part of the ULID is not out of range.
2.5.0_ - 2024-04-26
Changed
Generate a more accurate JSON schema with Pydantic's BaseModel.model_json_schema(). This
includes a specification for string and byte representations.
2.4.0_ - 2024-04-02
Added
* :class:`.ULID` objects are now properly serialized when used as Pydantic types `@Avihais12344 <https://github.com/Avihais12344>`_.
2.3.0_ - 2024-03-21
Added
... (truncated)
Commits
1f1a9e1 feat: Use from_hex for strings of length 32
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps python-ulid from 1.1.0 to 3.0.0.
Release notes
Sourced from python-ulid's releases.
... (truncated)
Changelog
Sourced from python-ulid's changelog.
... (truncated)
Commits
1f1a9e1
feat: Use from_hex for strings of length 32bd08a09
chore: Fix pipeline dependency70742fb
feat(coverage): Combine coverge from matrix runs99b64a9
chore: Brainfartfc02f34
feat(cli): Fix CLI entrypointc60e7f2
feat(ci): Use pypi/hatch install action85835a6
feat(ruff): Update linter, rules and fix code accordinglya8108b7
feat(devbox): Add Devbox for general Python setup7d6d38e
fix invalid parameter reference: milliseconds (#30)ca8857c
Implement ULID.parse() (#29)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show