Redevil10 / fastapi-jwt

FastAPI with JWT authentication demo
0 stars 0 forks source link

Bump rapidfuzz from 2.15.1 to 3.2.0 #25

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rapidfuzz from 2.15.1 to 3.2.0.

Release notes

Sourced from rapidfuzz's releases.

Release 3.2.0

Changed

  • build x86 with sse2/avx2 runtime detection

Release 3.1.2

Changed

  • upgrade to Cython==3.0.0

Release 3.1.1

Changed

  • upgrade to taskflow==3.6

Fixed

  • replace usage of isnan with std::isnan which fixes the build on NetBSD

Release 3.1.0

Changed

  • added keyword argument pad to Hamming distance. This controls whether sequences of different length should be padded or lead to a ValueError
  • improve consistency of exception messages between the C++ and pure Python implementation
  • upgrade required Cython version to Cython==3.0.0b3

Fixed

  • fix missing GIL restore when an exception is thrown inside process.cdist
  • fix incorrect type hints for the process module

Release 3.0.0

Changed

  • allow the usage of Hamming for different string lengths. Length differences are handled as insertions / deletions

  • remove support for boolean preprocessor functions in rapidfuzz.fuzz and rapidfuzz.process. The processor argument is now always a callable or None.

  • update defaults of the processor argument to be None everywhere. For affected functions this can change results, since strings are no longer preprocessed. To get back the old behaviour pass processor=utils.default_process to these functions. The following functions are affected by this:

    • process.extract, process.extract_iter, process.extractOne
    • fuzz.token_sort_ratio, fuzz.token_set_ratio, fuzz.token_ratio, fuzz.partial_token_sort_ratio, fuzz.partial_token_set_ratio, fuzz.partial_token_ratio, fuzz.WRatio, fuzz.QRatio
  • rapidfuzz.process no longer calls scorers with processor=None. For this reason user provided scorers no longer require this argument.

  • remove option to pass keyword arguments to scorer via **kwargs in rapidfuzz.process. They can be passed via a scorer_kwargs argument now. This ensures this does not break when extending function parameters and prevents naming clashes.

  • remove rapidfuzz.string_metric module. Replacements for all functions are available in rapidfuzz.distance

Added

  • added support for arbitrary hashable sequence in the pure Python fallback implementation of all functions in rapidfuzz.distance
  • added support for None and float("nan") in process.cdist as long as the underlying scorer supports it. This is the case for all scorers returning normalized results.

Fixed

  • fix division by zero in simd implementation of normalized metrics leading to incorrect results
Changelog

Sourced from rapidfuzz's changelog.

Changelog

[3.2.0] - 2023-08-02 ^^^^^^^^^^^^^^^^^^^^ Changed

- build x86 with sse2/avx2 runtime detection

[3.1.2] - 2023-07-19 ^^^^^^^^^^^^^^^^^^^^ Changed

  • upgrade to Cython==3.0.0

[3.1.1] - 2023-06-06 ^^^^^^^^^^^^^^^^^^^^ Changed

- upgrade to ``taskflow==3.6``

Fixed

- replace usage of ``isnan`` with ``std::isnan`` which fixes the build on NetBSD

[3.1.0] - 2023-06-02
^^^^^^^^^^^^^^^^^^^^
Changed
</code></pre>
<ul>
<li>added keyword argument <code>pad</code> to Hamming distance. This controls whether sequences of different
length should be padded or lead to a <code>ValueError</code></li>
<li>improve consistency of exception messages between the C++ and pure Python implementation</li>
<li>upgrade required Cython version to <code>Cython==3.0.0b3</code></li>
</ul>
<p>Fixed</p>
<pre><code>- fix missing GIL restore when an exception is thrown inside ``process.cdist``
- fix incorrect type hints for the ``process`` module

[3.0.0] - 2023-04-16
^^^^^^^^^^^^^^^^^^^^
Changed
</code></pre>
<ul>
<li>allow the usage of <code>Hamming</code> for different string lengths. Length differences are handled as
insertions / deletions</li>
<li>remove support for boolean preprocessor functions in <code>rapidfuzz.fuzz</code> and <code>rapidfuzz.process</code>.
The processor argument is now always a callable or None.</li>
<li>update defaults of the processor argument to be <code>None</code> everywhere. For affected functions this can change results, since strings are no longer preprocessed.
To get back the old behaviour pass <code>processor=utils.default_process</code> to these functions.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/ece13872864f63173171601ae39f80a527c5059c"><code>ece1387</code></a> release 3.2.0</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/e81b9e9c3b82574fe37c6a26ecc7f8d0269a0cfc"><code>e81b9e9</code></a> improve x86 support (fixes <a href="https://redirect.github.com/maxbachmann/RapidFuzz/issues/342">#342</a>)</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/b23067f659c605ba6ca31df823d1a2603c258b6b"><code>b23067f</code></a> release 3.1.2</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/0c8f175490c24517ea9396a85e5cb28979b4e741"><code>0c8f175</code></a> upgrade to cython 3.0</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/a43deeb823e0575eda22a1d7641e62c41170b016"><code>a43deeb</code></a> improve changelog for breaking change in 3.0.0</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/70d69446514e0fe778adbb08e5a6f2f6912d2516"><code>70d6944</code></a> link to API differences</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/3aef2363c076e7bd2743e6aa106a92f6ddbf5e04"><code>3aef236</code></a> document API differences</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/9ea22697945d5672bd71ef73f13ee7a07d8a9202"><code>9ea2269</code></a> release 3.1.1</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/2db511010d03c6453c239066cba85ee1b84dcc1e"><code>2db5110</code></a> mark function as noexcept</li>
<li><a href="https://github.com/maxbachmann/RapidFuzz/commit/887bc7076899ece81c3caf84d1d90ac1e92086b7"><code>887bc70</code></a> release v3.1.0</li>
<li>Additional commits viewable in <a href="https://github.com/maxbachmann/RapidFuzz/compare/v2.15.1...v3.2.0">compare view</a></li>
</ul>
</details>

<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rapidfuzz&package-manager=pip&previous-version=2.15.1&new-version=3.2.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 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 year ago

Superseded by #32.