dag-hammarskjold-library / dlx-rest

UNDHL Files and Metadata Manager
1 stars 1 forks source link

Bump python-ulid from 1.1.0 to 3.0.0 #1560

Closed dependabot[bot] closed 2 weeks ago

dependabot[bot] commented 4 weeks ago

Bumps python-ulid from 1.1.0 to 3.0.0.

Release notes

Sourced from python-ulid's releases.

3.0.0

Changed

  • Raise TypeError instead of ValueError if constructor is called with value of wrong type.
  • Update ruff linter rules and switch to hatch fmt.

Added

Fixed

2.7.0

Changed

  • 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

Internal

2.3.0

Added

  • ULID objects can now be converted to bytes with bytes(ulid).
  • The Pydantic v2 protocol is now supported, so that the ULID class can be directly used as type annotations in Pydantic models

Changed

  • The type annotations have been adapted, so that the classmethod constructors properly reflect the type for ULID subclasses. Thanks to @​johnpaulett #9
  • Use time.time_ns() when generating ULIDs for improved performance #16 #12

2.2.0

Added

  • Added a new flag --uuid4 to the CLI show command, that converts the provided ULID into an RFC 4122 compliant UUID.
  • The ulid build command allows the use of the special value - for all options to read its inputs from stdin. E.g.
  $ date --iso-8601 | python -m ulid build --from-datetime -
  01HAT9PVR02T3S13XB48S7GEHE
</tr></table> 

... (truncated)

Changelog

Sourced from python-ulid's changelog.

3.0.0_ - 2024-10-11

Changed

* 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 &lt;https://github.com/perrotuerto&gt;`_.

Fixed
  • Documentation bug in the example of :meth:.ULID.milliseconds @tsugumi-sys &lt;https://github.com/tsugumi-sys&gt;_.

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
  • bd08a09 chore: Fix pipeline dependency
  • 70742fb feat(coverage): Combine coverge from matrix runs
  • 99b64a9 chore: Brainfart
  • fc02f34 feat(cli): Fix CLI entrypoint
  • c60e7f2 feat(ci): Use pypi/hatch install action
  • 85835a6 feat(ruff): Update linter, rules and fix code accordingly
  • a8108b7 feat(devbox): Add Devbox for general Python setup
  • 7d6d38e fix invalid parameter reference: milliseconds (#30)
  • ca8857c Implement ULID.parse() (#29)
  • Additional commits viewable in compare view


Dependabot compatibility score

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)