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

Bump flask-session from 0.4.0 to 0.8.0 #171

Merged
merged 2 commits into from
May 15, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2024

Bumps flask-session from 0.4.0 to 0.8.0.

Release notes

Sourced from flask-session's releases.

0.8.0

Add DynamodDB backend and other minor fixes.

Full release notes: https://flask-session.readthedocs.io/en/latest/changes.html#id1

0.7.0

Changelog: https://flask-session.readthedocs.io/en/latest/changes.html#id1

0.5.0

This fixes compatibility with Flask 2.3.

Flask-Session has joined the Pallets Community Ecosystem, https://github.com/pallets-eco. Any community member interested in helping maintain this project may contribute by joining the #flask-session channel on https://discord.gg/pallets.

0.4.1

Version 0.4.1 was already released to PyPI on April 29, 2023. We are creating a release record here in GitHub while tagging it.

Changelog

Sourced from flask-session's changelog.

0.8.0 - 2024-03-26

Added

-   Add DynamoDB session interface (`[#214](https://github.com/pallets-eco/flask-session/issues/214) <https://github.com/pallets-eco/flask-session/pull/214>`_).
-   Add ability to install client libraries for backends using optional dependencies (extras) (`[#228](https://github.com/pallets-eco/flask-session/issues/228) <https://github.com/pallets-eco/flask-session/pull/228>`_).

Fixed

-   Include prematurely removed ``cachelib`` dependency. Will be removed in 1.0.0 to be an optional dependency (`[#223](https://github.com/pallets-eco/flask-session/issues/223) &lt;https://github.com/pallets-eco/flask-session/issues/223&gt;`_).

0.7.0 - 2024-03-18

Changed
</code></pre>
<ul>
<li>Access session interfaces via subfolder, for example <code>flask_session.redis.RedisSessionInterface</code> (<code>2bc7df &lt;https://github.com/pallets-eco/flask-session/commit/2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li>
<li>Deprecate <code>pickle</code> in favor of <code>msgspec</code>, which is configured with <code>SESSION_SERIALIZATION_FORMAT</code> to choose between <code>'json'</code> and <code>'msgpack'</code>. All sessions will convert to msgspec upon first interaction with 0.7.0. Pickle is still available to read existing sessions, but will be removed in 1.0.0. (<code>c7f8ce &lt;https://github.com/pallets-eco/flask-session/commit/c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;em>, <code>c7f8ce &lt;https://github.com/pallets-eco/flask-session/commit/c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;/em&gt;)&lt;/li>
<li>Deprecate <code>SESSION_USE_SIGNER</code> (<code>a5dba7 &lt;https://github.com/pallets-eco/flask-session/commit/a5dba7022f806c8fb4412d0428b69dd4a077e4a7&amp;gt;&lt;/code&gt;_).&lt;/li>
<li>Deprecate :class:<code>flask_session.filesystem.FileSystemSessionInterface</code> in favor of the broader :class:<code>flask_session.cachelib.CacheLibSessionInterface</code> (<code>2bc7df &lt;https://github.com/pallets-eco/flask-session/commit/2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li>
</ul>
<p>Added</p>
<pre><code>- Add time-to-live expiration for MongoDB (9acee3 &amp;lt;https://github.com/pallets-eco/flask-session/commit/9acee3c5fb7072476f3feea923529d19d5e855c3&amp;gt;_).

  • Add retry for SQL based storage ([#211](https://github.com/pallets-eco/flask-session/issues/211) &amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;_).
  • Add flask session_cleanup command and alternatively, SESSION_CLEANUP_N_REQUESTS for SQLAlchemy or future non-TTL backends ([#211](https://github.com/pallets-eco/flask-session/issues/211) &amp;lt;https://github.com/pallets-eco/flask-session/pull/211&amp;gt;_).
  • Add type hints (7d7d58 &amp;lt;https://github.com/pallets-eco/flask-session/commit/7d7d58ce371553da39095a421445cf639a62bd5f&amp;gt;_).
  • Add logo and additional documentation.
  • Add vary cookie header when session modified or accessed as per flask's built-in session (7ab698 &amp;lt;https://github.com/pallets-eco/flask-session/commit/7ab6980c8ba15912df13dd1e78242803e8104dd6&amp;gt;_).
  • Add regenerate method to session interface to mitigate fixation ([#27](https://github.com/pallets-eco/flask-session/issues/27) &amp;lt;https://github.com/pallets-eco/flask-session/pull/27&amp;gt;, [#39](https://github.com/pallets-eco/flask-session/issues/39) &amp;lt;https://github.com/pallets-eco/flask-session/issues/39&amp;gt;)(80df63 &amp;lt;https://github.com/pallets-eco/flask-session/commit/80df635ffd466fa7798f6031be5469b4d5dae069&amp;gt;_).

Removed
</code></pre>
<ul>
<li>Remove null session in favour of relevant exception messages (<code>#107 &lt;https://github.com/pallets-eco/flask-session/issues/107&amp;gt;&lt;/code&gt;&lt;em>, <code>#182 &lt;https://github.com/pallets-eco/flask-session/issues/182&amp;gt;&lt;/code&gt;&lt;/em&gt;)(&lt;code&gt;d7ed1c &lt;https://github.com/pallets-eco/flask-session/commit/d7ed1c6e7eb3904888b72f0d6c006db1b9b60795&amp;gt;&lt;/code&gt;_).&lt;/li>
<li>Drop support for Python 3.7 which is end-of-life and precludes use of msgspec (<code>bd7e5b &lt;https://github.com/pallets-eco/flask-session/commit/bd7e5b0bbfc10cdfa9c83b859593c69cc4381571&amp;gt;&lt;/code&gt;_).&lt;/li>
</ul>
<p>Fixed</p>
<pre><code>- Prevent session identifier reuse on storage miss ([#76](https://github.com/pallets-eco/flask-session/issues/76) &amp;lt;https://github.com/pallets-eco/flask-session/pull/76&amp;gt;_).

  • Abstraction to improve consistency between backends.
  • Enforce PERMANENT_SESSION_LIFETIME as expiration consistently for all backends ([#81](https://github.com/pallets-eco/flask-session/issues/81) &amp;lt;https://github.com/pallets-eco/flask-session/issues/81&amp;gt;)(86895b &amp;lt;https://github.com/pallets-eco/flask-session/commit/86895b523203ca67c9f87416bdbf028852dcb357&amp;gt;).
  • Specifically include backend session interfaces in public API and document usage ([#210](https://github.com/pallets-eco/flask-session/issues/210) &amp;lt;https://github.com/pallets-eco/flask-session/issues/210&amp;gt;_).
  • Fix non-permanent sessions not updating expiry ([#221](https://github.com/pallets-eco/flask-session/issues/221) &amp;lt;https://github.com/pallets-eco/flask-session/issues/221&amp;gt;_).

0.6.0 - 2024-01-16

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

<ul>
<li><a href="https://github.com/pallets-eco/flask-session/commit/65c05eae0e6d679047394b39a8d6e2bce8195ac3&quot;&gt;&lt;code&gt;65c05ea&lt;/code&gt;&lt;/a> Prep release</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/475cc038376d4d5c2949edf7751a61ed64b7f33c&quot;&gt;&lt;code&gt;475cc03&lt;/code&gt;&lt;/a> Merge branch 'erik' into development</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/1af5cb223bcb4bb556cf8b49e803700ac332ab89&quot;&gt;&lt;code&gt;1af5cb2&lt;/code&gt;&lt;/a> Remind the correct PR branch</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/b7a219bcac97e74276d8e419e6174aea2c4ffdad&quot;&gt;&lt;code&gt;b7a219b&lt;/code&gt;&lt;/a> Reduce documentation and remove filesystem extra</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/6c9a698b61ead380988ba4b69b0f161de47e1886&quot;&gt;&lt;code&gt;6c9a698&lt;/code&gt;&lt;/a> Fix docs announcement overflow</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/f8f5ad15f787c5b30b663f84883ad2c8108b8314&quot;&gt;&lt;code&gt;f8f5ad1&lt;/code&gt;&lt;/a> implemented DynamoDBSessionInterface and tests. (<a href="https://redirect.github.com/pallets-eco/flask-session/issues/214&quot;&gt;#214&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/5a3413b9b1d67a4116404f23022b58326a60fbdf&quot;&gt;&lt;code&gt;5a3413b&lt;/code&gt;&lt;/a> Add changelog and contributor</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/17369528b45d9b5a59003ec006ede35ced40f694&quot;&gt;&lt;code&gt;1736952&lt;/code&gt;&lt;/a> Fix docs requirements</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/a92914ed1196acc2eab4d562996ac944413fb19c&quot;&gt;&lt;code&gt;a92914e&lt;/code&gt;&lt;/a> Add docs</li>
<li><a href="https://github.com/pallets-eco/flask-session/commit/ab9a756a18de87033cf6d3b2d86c6dc46e006800&quot;&gt;&lt;code&gt;ab9a756&lt;/code&gt;&lt;/a> Tidy up dynamo db, add docker and requirements</li>
<li>Additional commits viewable in <a href="https://github.com/pallets-eco/flask-session/compare/0.4.0...0.8.0&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [flask-session](https://github.com/pallets-eco/flask-session) from 0.4.0 to 0.8.0.
- [Release notes](https://github.com/pallets-eco/flask-session/releases)
- [Changelog](https://github.com/pallets-eco/flask-session/blob/main/CHANGES.rst)
- [Commits](pallets-eco/flask-session@0.4.0...0.8.0)

---
updated-dependencies:
- dependency-name: flask-session
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner April 1, 2024 17:23
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 1, 2024
@tcarmet tcarmet enabled auto-merge (squash) May 15, 2024 23:50
@codecov-commenter
Copy link

codecov-commenter commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.52%. Comparing base (b908588) to head (12a887d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   87.33%   78.52%   -8.82%     
==========================================
  Files          71       71              
  Lines       10077    10077              
==========================================
- Hits         8801     7913     -888     
- Misses       1276     2164     +888     
Flag Coverage Δ
all-tests ?
api-mock 36.82% <ø> (ø)
server 36.82% <ø> (ø)
tests-noqueue 76.97% <ø> (ø)
unittests 36.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tcarmet tcarmet merged commit 33999cc into main May 15, 2024
7 checks passed
@tcarmet tcarmet deleted the dependabot/pip/flask-session-0.8.0 branch May 15, 2024 23:57
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.

2 participants