Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump python-ulid from 1.1.0 to 2.7.0 #1904

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 18, 2024

Bumps python-ulid from 1.1.0 to 2.7.0.

Release notes

Sourced from python-ulid's releases.

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

2.1.0

Added

  • The new method ULID.to_uuid4 can be used to create an RFC 4122 compliant UUID from an existing ULID #5.

Changed

  • The validate_types-decorator that is used for all ULID.from_*-methods to check type correctness at runtime has now better support for type hints. Thanks to @​johnpaulett

2.0.0

... (truncated)

Changelog

Sourced from python-ulid's changelog.

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

  • :class:.ULID objects can now be converted to bytes with bytes(ulid).
  • The Pydantic v2 protocol is now supported, so that the :class:.ULID class can be directly used as type annotations in Pydantic models <https://docs.pydantic.dev/latest/concepts/models/#basic-model-usage>_

Changed

  • The type annotations have been adapted, so that the classmethod constructors properly reflect the type for :class:.ULID subclasses. Thanks to @johnpaulett <https://github.com/johnpaulett>_

2.2.0_ - 2023-09-21

Added

... (truncated)

Commits
  • 0804c91 chore: Adapt release date
  • 1d5ed28 fix: ensure the timestamp validation checks the upper limit given in the `uli...
  • 419116f chore: Fix CHANGELOG formatting
  • e25f438 Stricter validation for user provided ULID values
  • 76d5740 chore: Add release date
  • 14222be Add more accurate JSON schema for Pydantic (#25)
  • f6a761b Add project.urls section for display on PyPI (#19)
  • 2a249fc chore: Add projects URLs
  • bcbf3e8 chore: Add changelog for 2.4 release
  • 14b4885 Added pydantic serialization to ULID (#21)
  • 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 <dependency name> 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](https://github.com/mdomke/python-ulid) from 1.1.0 to 2.7.0.
- [Release notes](https://github.com/mdomke/python-ulid/releases)
- [Changelog](https://github.com/mdomke/python-ulid/blob/main/CHANGELOG.rst)
- [Commits](mdomke/python-ulid@1.1.0...2.7.0)

---
updated-dependencies:
- dependency-name: python-ulid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner June 18, 2024 06:41
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 18, 2024

Superseded by #1907.

@dependabot dependabot bot closed this Jun 18, 2024
@dependabot dependabot bot deleted the dependabot/pip/master/python-ulid-2.7.0 branch June 18, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants