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

Changelog for Flask-session 0.6.0 missing #210

Closed
potiuk opened this issue Jan 21, 2024 · 4 comments
Closed

Changelog for Flask-session 0.6.0 missing #210

potiuk opened this issue Jan 21, 2024 · 4 comments

Comments

@potiuk
Copy link

potiuk commented Jan 21, 2024

Flask 0.6.0 broke Airflow installation (which is not a huge issue as we use constraints and recommend our users to use them). Temporarily - for the upcoming version we also added < 0.6.0 limit for Flask-Session, but we would like to be able to support 0.6.0 and beyond, but seems that we miss changelog:

It's not present in any of those:

We track this in Airflow here apache/airflow#36897 - would be great to get it out so that we can add support for it

@Lxstr
Copy link
Contributor

Lxstr commented Jan 22, 2024

HI @potiuk thanks for the issue. Apologies for missing the rc1 at the end of the version number as I intended only a release candidate as there have been a lot of changes There is a change log here https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst and the updated docs are also there, just not published yet.

        config.setdefault("SESSION_ID_LENGTH", 32)
        # SQLAlchemy settings
        config.setdefault("SESSION_SQLALCHEMY", None)
        config.setdefault("SESSION_SQLALCHEMY_TABLE", "sessions")
        config.setdefault("SESSION_SQLALCHEMY_SEQUENCE", None)
        config.setdefault("SESSION_SQLALCHEMY_SCHEMA", None)
        config.setdefault("SESSION_SQLALCHEMY_BIND_KEY", None)

You rightly noted in the airflow issue that the parameters are now all mandatory for extending the session interfaces. I did remove the parameter defaults in the class definitions for maintainability so that the defaults are not being defined twice in different places in our source code. There may be a more elegant way to do this, let me know if you have any input.

Taking a quick look at your code it seems as though you may be attempting to fix a historical flask-session issue where sessions were created before having added anything to the session (in the case of permanent session which is default in flask-session) such as #80. In 0.6.0 an empty session should now not be set. If that is what you were trying to fix, are you able to check if that is no longer required?

@potiuk
Copy link
Author

potiuk commented Jan 22, 2024

HI @potiuk thanks for the issue. Apologies for missing the rc1 at the end of the version number as I intended only a release candidate as there have been a lot of changes There is a change log here https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst and the updated docs are also there, just not published yet.

Just for your information - PyPI will not let you re-publish the 0.6.0 version - PyPI is write-once-only. If you published 0.6.0 then you won't be able to publish updated 0.6.0 again. So if you think you will need a new rc, it will have to be 0.6.1, and I'd recommend you to yank the 0.6.0 if you know it is problematic. Yanking will also prevent users to install 0.6.0 by simply pip install apache-airflow or any other application using flask session also having similar problems.

You rightly noted in the airflow issue that the parameters are now all mandatory for extending the session interfaces. I did remove the parameter defaults in the class definitions for maintainability so that the defaults are not being defined twice in different places in our source code. There may be a more elegant way to do this, let me know if you have any input.

The problem with it is that it is - by-definition - backwards incompatible if someone creates the sessions manually and skips those default parameters. Of course it's debatable whether you "intended" fort those sessions to be created outside and leave those parameters unset, but I'd say they were there as defaults,so it was intention to get those values set as defaults.

Easy way will be to simply

DEFAULT_USE_SIGNER = False
DEFAULT_PERMANENT = True
DEFAULT_SID_LENGTH = ....

And use them in all your __init__'s :

def __init__(self, cache_dir, threshold, mode, key_prefix,
                 use_signer=DEFAULT_USE_SIGNER, permanent=DEFAULT_PERMANENT, sid_length=DEFAULT_SID_LENGTH):

Sounds easy-enough and backwards-compatible.

Taking a quick look at your code it seems as though you may be attempting to fix a historical flask-session issue where sessions were created before having added anything to the session (in the case of permanent session which is default in flask-session) such as #80. In 0.6.0 an empty session should now not be set. If that is what you were trying to fix, are you able to check if that is no longer required?

Possibly @jedcunningham and @Taragolis might comment on that, but I think it was more than that - we really wanted to avoid any sessions being created at all for those API calls.

But it also does not matter, the bit of a problem that you have now that 0.6.0 introduced breaking change and all released Airflow versions will have this issue (unless our users would use constraints as we recommend them of course).

So my recommendation would be to:

  • yank 0.6.0 - since it was supposed to be rc
  • pre[are 0.6.1 - and restore the defaults

Happy to test RC of 0.6.1 if you follow that route

@Lxstr
Copy link
Contributor

Lxstr commented Mar 4, 2024

I have gone with a 0.7.0rc1 as there were a few other changes I'd also been working on. There should be backward compatibility with the parameter defaults as you requested. However, I did change the path of the interface to flask_session.sqlalchemy.SqlAlchemySessionInterface because there was no way I could find to make that available at the top level without sacrificing maintainability and we are technically both below 1.0.0 and in beta lifecycle stage on pypi so I think I could justify it. I also noted in the docs that this is officially part of the API and should be stable and quickly move towards 1.0.0 pending your responses.

SQLAlchemy interface has been the most difficult to deal with for me as it requires a very different implementation to all of the other backends which are more or less the same.

@Lxstr
Copy link
Contributor

Lxstr commented Mar 10, 2024

Closing this in favour of apache/airflow#36897

@Lxstr Lxstr closed this as completed Mar 10, 2024
DanielTsiang pushed a commit to DanielTsiang/traffic-sign-classifier that referenced this issue May 1, 2024
…in /services/flask (#75)

Updates the requirements on
[flask-session](https://github.com/pallets-eco/flask-session) to permit
the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/releases">flask-session's
releases</a>.</em></p>
<blockquote>
<h2>0.8.0</h2>
<p>Add DynamodDB backend and other minor fixes.</p>
<p>Full release notes: <a
href="https://flask-session.readthedocs.io/en/latest/changes.html#id1">https://flask-session.readthedocs.io/en/latest/changes.html#id1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst">flask-session's
changelog</a>.</em></p>
<blockquote>
<h2>0.8.0 - 2024-03-26</h2>
<p>Added</p>
<pre><code>- Add DynamoDB session interface
(`[#214](pallets-eco/flask-session#214)
&lt;https://github.com/pallets-eco/flask-session/pull/214&gt;`_).
- Add ability to install client libraries for backends using optional
dependencies (extras)
(`[#228](pallets-eco/flask-session#228)
&lt;https://github.com/pallets-eco/flask-session/pull/228&gt;`_).
<p>Fixed</p>
<pre><code>- Include prematurely removed ``cachelib`` dependency. Will
be removed in 1.0.0 to be an optional dependency
(`[#223](pallets-eco/flask-session#223)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/223&amp;gt;`_).


0.7.0 - 2024-03-18
------------------

Changed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Access session interfaces via subfolder, for example
&lt;code&gt;flask_session.redis.RedisSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;pickle&lt;/code&gt; in favor of
&lt;code&gt;msgspec&lt;/code&gt;, which is configured with
&lt;code&gt;SESSION_SERIALIZATION_FORMAT&lt;/code&gt; to choose between
&lt;code&gt;'json'&lt;/code&gt; and &lt;code&gt;'msgpack'&lt;/code&gt;.
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. (&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;SESSION_USE_SIGNER&lt;/code&gt;
(&lt;code&gt;a5dba7
&amp;lt;pallets-eco/flask-session@a5dba7022f806c8fb4412d0428b69dd4a077e4a7&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate
:class:&lt;code&gt;flask_session.filesystem.FileSystemSessionInterface&lt;/code&gt;
in favor of the broader
:class:&lt;code&gt;flask_session.cachelib.CacheLibSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- 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](pallets-eco/flask-session#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](pallets-eco/flask-session#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](pallets-eco/flask-session#27)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/27&amp;gt;`_,
`[#39](pallets-eco/flask-session#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
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Remove null session in favour of relevant exception messages
(&lt;code&gt;[#107](pallets-eco/flask-session#107)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/107&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;[#182](pallets-eco/flask-session#182)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/182&amp;gt;&lt;/code&gt;&lt;/em&gt;)(&lt;code&gt;d7ed1c
&amp;lt;pallets-eco/flask-session@d7ed1c6e7eb3904888b72f0d6c006db1b9b60795&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Drop support for Python 3.7 which is end-of-life and precludes
use of msgspec (&lt;code&gt;bd7e5b
&amp;lt;pallets-eco/flask-session@bd7e5b0bbfc10cdfa9c83b859593c69cc4381571&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixed&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Prevent session identifier reuse on storage
miss (`[#76](pallets-eco/flask-session#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](pallets-eco/flask-session#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](pallets-eco/flask-session#210)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/210&amp;gt;`_).
- Fix non-permanent sessions not updating expiry
(`[#221](pallets-eco/flask-session#221)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/221&amp;gt;`_).


0.6.0 - 2024-01-16
------------------

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

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

&lt;br /&gt;
</code></pre>


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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
DanielTsiang pushed a commit to DanielTsiang/traffic-sign-classifier that referenced this issue May 1, 2024
…in /services/flask (#75)

Updates the requirements on
[flask-session](https://github.com/pallets-eco/flask-session) to permit
the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/releases">flask-session's
releases</a>.</em></p>
<blockquote>
<h2>0.8.0</h2>
<p>Add DynamodDB backend and other minor fixes.</p>
<p>Full release notes: <a
href="https://flask-session.readthedocs.io/en/latest/changes.html#id1">https://flask-session.readthedocs.io/en/latest/changes.html#id1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets-eco/flask-session/blob/development/CHANGES.rst">flask-session's
changelog</a>.</em></p>
<blockquote>
<h2>0.8.0 - 2024-03-26</h2>
<p>Added</p>
<pre><code>- Add DynamoDB session interface
(`[#214](pallets-eco/flask-session#214)
&lt;https://github.com/pallets-eco/flask-session/pull/214&gt;`_).
- Add ability to install client libraries for backends using optional
dependencies (extras)
(`[#228](pallets-eco/flask-session#228)
&lt;https://github.com/pallets-eco/flask-session/pull/228&gt;`_).
<p>Fixed</p>
<pre><code>- Include prematurely removed ``cachelib`` dependency. Will
be removed in 1.0.0 to be an optional dependency
(`[#223](pallets-eco/flask-session#223)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/223&amp;gt;`_).


0.7.0 - 2024-03-18
------------------

Changed
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Access session interfaces via subfolder, for example
&lt;code&gt;flask_session.redis.RedisSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;pickle&lt;/code&gt; in favor of
&lt;code&gt;msgspec&lt;/code&gt;, which is configured with
&lt;code&gt;SESSION_SERIALIZATION_FORMAT&lt;/code&gt; to choose between
&lt;code&gt;'json'&lt;/code&gt; and &lt;code&gt;'msgpack'&lt;/code&gt;.
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. (&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;c7f8ce
&amp;lt;pallets-eco/flask-session@c7f8ced0e1532dea87850d34b3328a3fcb769988&amp;gt;&lt;/code&gt;&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Deprecate &lt;code&gt;SESSION_USE_SIGNER&lt;/code&gt;
(&lt;code&gt;a5dba7
&amp;lt;pallets-eco/flask-session@a5dba7022f806c8fb4412d0428b69dd4a077e4a7&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Deprecate
:class:&lt;code&gt;flask_session.filesystem.FileSystemSessionInterface&lt;/code&gt;
in favor of the broader
:class:&lt;code&gt;flask_session.cachelib.CacheLibSessionInterface&lt;/code&gt;
(&lt;code&gt;2bc7df
&amp;lt;pallets-eco/flask-session@2bc7df1be7b8929e55cb25f13845caf0503630d8&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- 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](pallets-eco/flask-session#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](pallets-eco/flask-session#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](pallets-eco/flask-session#27)
&amp;lt;https://github.com/pallets-eco/flask-session/pull/27&amp;gt;`_,
`[#39](pallets-eco/flask-session#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
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;Remove null session in favour of relevant exception messages
(&lt;code&gt;[#107](pallets-eco/flask-session#107)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/107&amp;gt;&lt;/code&gt;&lt;em&gt;,
&lt;code&gt;[#182](pallets-eco/flask-session#182)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/182&amp;gt;&lt;/code&gt;&lt;/em&gt;)(&lt;code&gt;d7ed1c
&amp;lt;pallets-eco/flask-session@d7ed1c6e7eb3904888b72f0d6c006db1b9b60795&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;li&gt;Drop support for Python 3.7 which is end-of-life and precludes
use of msgspec (&lt;code&gt;bd7e5b
&amp;lt;pallets-eco/flask-session@bd7e5b0bbfc10cdfa9c83b859593c69cc4381571&amp;gt;&lt;/code&gt;_).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixed&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Prevent session identifier reuse on storage
miss (`[#76](pallets-eco/flask-session#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](pallets-eco/flask-session#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](pallets-eco/flask-session#210)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/210&amp;gt;`_).
- Fix non-permanent sessions not updating expiry
(`[#221](pallets-eco/flask-session#221)
&amp;lt;https://github.com/pallets-eco/flask-session/issues/221&amp;gt;`_).


0.6.0 - 2024-01-16
------------------

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

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

&lt;br /&gt;
</code></pre>


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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants