SwissDataScienceCenter / renku-notebooks

An API service to provide jupyter notebooks for the Renku platform.
https://renkulab.io
Apache License 2.0
6 stars 7 forks source link

chore: bump python-ulid from 1.1.0 to 2.6.0 #1890

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps python-ulid from 1.1.0 to 2.6.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.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

* 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.

  .. code-block:: bash
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/mdomke/python-ulid/commit/e25f43862bc6c95069b251308bec3375303f3c8f"><code>e25f438</code></a> Stricter validation for user provided ULID values</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/76d5740c88a319bc4e49d1556f38ea673afc9858"><code>76d5740</code></a> chore: Add release date</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/14222beaad2e1773d5845a2140b0deda0a324e40"><code>14222be</code></a> Add more accurate JSON schema for Pydantic (<a href="https://redirect.github.com/mdomke/python-ulid/issues/25">#25</a>)</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/f6a761b66eb9e739e67380269849c200ba1533d1"><code>f6a761b</code></a> Add project.urls section for display on PyPI (<a href="https://redirect.github.com/mdomke/python-ulid/issues/19">#19</a>)</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/2a249fc67d038fb667d18659e57c8dd62bb7e163"><code>2a249fc</code></a> chore: Add projects URLs</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/bcbf3e8bbac5747207375acbc980d6e65e57aed0"><code>bcbf3e8</code></a> chore: Add changelog for 2.4 release</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/14b48854df40acda90760df41ae73cff44e2768e"><code>14b4885</code></a> Added pydantic serialization to ULID (<a href="https://redirect.github.com/mdomke/python-ulid/issues/21">#21</a>)</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/76f9741cdb1f3213c95183d0775de5b9e4b5d8c4"><code>76f9741</code></a> chore: Allow to use X | Y syntax for older Python versions</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/7abf3c71d72ce84bb39a214dd88d92ae7376b42a"><code>7abf3c7</code></a> Add CLI tests</li>
<li><a href="https://github.com/mdomke/python-ulid/commit/c86cb9d53058ff8a50c9528eb3509095e59ab11f"><code>c86cb9d</code></a> chore: Add names to jobs</li>
<li>Additional commits viewable in <a href="https://github.com/mdomke/python-ulid/compare/1.1.0...2.6.0">compare view</a></li>
</ul>
</details>

<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=python-ulid&package-manager=pip&previous-version=1.1.0&new-version=2.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) ---
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)
dependabot[bot] commented 1 month ago

Superseded by #1904.