Skip to content

Commit

Permalink
chore(deps): bump redis from 5.1.0b7 to 5.2.0 (#91)
Browse files Browse the repository at this point in the history
Bumps [redis](https://github.com/redis/redis-py) from 5.1.0b7 to 5.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/redis/redis-py/releases">redis's
releases</a>.</em></p>
<blockquote>
<h2>5.2.0</h2>
<h1>Changes</h1>
<h2>🚀 New Features</h2>
<ul>
<li>Extend AggregateRequest with scorer argument (<a
href="https://redirect.github.com/redis/redis-py/issues/3409">#3409</a>)</li>
</ul>
<h2>🧰 Maintenance</h2>
<ul>
<li>Pin pytest-profiling version due to the bug (<a
href="https://redirect.github.com/redis/redis-py/issues/3417">#3417</a>)</li>
</ul>
<h2>Contributors</h2>
<p>We'd like to thank all the contributors who worked on this
release!</p>
<p><a href="https://github.com/uglide"><code>@​uglide</code></a> <a
href="https://github.com/rbs333"><code>@​rbs333</code></a> <a
href="https://github.com/vladvildanov"><code>@​vladvildanov</code></a>
<a
href="https://github.com/dwdougherty"><code>@​dwdougherty</code></a></p>
<h2>5.1.1</h2>
<h1>Changes</h1>
<h2>5.1.1</h2>
<h3>🐛 Bug Fixes</h3>
<ul>
<li>Fixed return type for Redis Set commands to be Set instead of List
(<a
href="https://redirect.github.com/redis/redis-py/issues/3399">#3399</a>)</li>
<li>Fixed bug with partial Hiredis availability (<a
href="https://redirect.github.com/redis/redis-py/issues/3400">#3400</a>)</li>
<li>Fixed bug with async pipeline and cluster fails with some commands
(<a
href="https://redirect.github.com/redis/redis-py/issues/3402">#3402</a>)</li>
</ul>
<h2>5.1.0</h2>
<h3>🚀 New Features</h3>
<ul>
<li>Client-side caching (<a
href="https://redirect.github.com/redis/redis-py/issues/3350">#3350</a>,
<a
href="https://redirect.github.com/redis/redis-py/issues/3110">#3110</a>,
<a
href="https://redirect.github.com/redis/redis-py/issues/3102">#3102</a>,
<a
href="https://redirect.github.com/redis/redis-py/issues/3099">#3099</a>,
<a
href="https://redirect.github.com/redis/redis-py/issues/3089">#3089</a>,
<a
href="https://redirect.github.com/redis/redis-py/issues/3038">#3038</a>)</li>
</ul>
<h4>How to start with Client-side caching?</h4>
<ol>
<li>Install redis-py 5.1.0</li>
<li>Use the following code snippet:</li>
</ol>
<pre lang="python"><code>r = Redis(protocol=3,
cache_config=CacheConfig())
<p>cache = r.get_cache()<br />
r.set(&quot;foo&quot;, &quot;bar&quot;)</p>
<h1>get key from redis and save in local cache</h1>
<p>print(r.get(&quot;foo&quot;))</p>
<h1>get key from local cache</h1>
<p>print(cache.get(CacheKey(command=&quot;GET&quot;,
redis_keys=(&quot;foo&quot;,))).cache_value)</p>
<h1>change key in redis (cause invalidation)</h1>
<p>r.set(&quot;foo&quot;, &quot;barbar&quot;)</p>
<h1>Retrieves a new value from server and cache it</h1>
<p>print(r.get(&quot;foo&quot;))</p>
<h1>Make sure that new value was cached</h1>
<p>&lt;/tr&gt;&lt;/table&gt;<br />
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/redis/redis-py/commit/166ae7bfd79a88cdfbd7959b2c28cd79aa0eaf0c"><code>166ae7b</code></a>
Updated package version (<a
href="https://redirect.github.com/redis/redis-py/issues/3418">#3418</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/00f5be420b397adfa1b9aa9c2761f7d8a27c0a9a"><code>00f5be4</code></a>
adds scorer to AggregateRequest (<a
href="https://redirect.github.com/redis/redis-py/issues/3409">#3409</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/4c4d4afd2b31b5c36a2d5e22419bcbf584265a17"><code>4c4d4af</code></a>
Pin pytest-profiling (<a
href="https://redirect.github.com/redis/redis-py/issues/3417">#3417</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/d6ddb0d66bc4bd28c99d9cf148c9085117cc8ce9"><code>d6ddb0d</code></a>
DOC-4199: add TCEs to the combined query page (<a
href="https://redirect.github.com/redis/redis-py/issues/3380">#3380</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/17db62e3c9ea796f5705d2857f49e52799057af7"><code>17db62e</code></a>
DOC-4200: add TCEs to the aggregation query page (<a
href="https://redirect.github.com/redis/redis-py/issues/3381">#3381</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/700045c7a7db6d986df6610d61239375a2211053"><code>700045c</code></a>
Backport 5.1 changes into master (<a
href="https://redirect.github.com/redis/redis-py/issues/3406">#3406</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/2e46613dcdf9db7f948f3258fee1c9199da8cbfa"><code>2e46613</code></a>
Client side caching refactoring (<a
href="https://redirect.github.com/redis/redis-py/issues/3350">#3350</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/7d73d742d6df4b3d6f6a1f0ec73e72d4a02add74"><code>7d73d74</code></a>
DOC-4197: add TCEs to the geospatial query page (<a
href="https://redirect.github.com/redis/redis-py/issues/3378">#3378</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/c7483b3d63a2001508a2ff2c9952ad50d9252732"><code>c7483b3</code></a>
DOC-4196: add TCEs to the full-text query page (<a
href="https://redirect.github.com/redis/redis-py/issues/3377">#3377</a>)</li>
<li><a
href="https://github.com/redis/redis-py/commit/64d4bb8040718f8e5fa30481d0b7409ecb1b0d67"><code>64d4bb8</code></a>
DOC-4194: add TCEs to the range query page (<a
href="https://redirect.github.com/redis/redis-py/issues/3374">#3374</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/redis/redis-py/compare/v5.1.0b7...v5.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=redis&package-manager=pip&previous-version=5.1.0b7&new-version=5.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)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>
  • Loading branch information
nataliagranato authored Nov 19, 2024
2 parents 18039ee + 50b300e commit 103005f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chainguard/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
redis==5.1.0b7
redis==5.2.0
prometheus-client==0.21.0
Werkzeug==3.0.4
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==3.0.3
redis==5.1.0b7
redis==5.2.0
prometheus-client==0.21.0
Werkzeug==3.0.4

0 comments on commit 103005f

Please sign in to comment.