pallets-eco / flask-session

Server side session extension for Flask
https://flask-session.readthedocs.io
BSD 3-Clause "New" or "Revised" License
507 stars 238 forks source link

`SESSION_FILE_THRESHOLD` deprecation not reported in changes #261

Closed galassimarco closed 3 months ago

galassimarco commented 3 months ago

It seems that the SESSION_FILE_THRESHOLD flag was deprecated in 0.7.0.

SESSION_FILE_THRESHOLD The maximum number of items the session stores before it starts deleting some. Default: 500 Deprecated since version 0.7.0.

But in the changes page this doesn't seem to be reported.

From my understanding this means that if you were using the flag in flask_session <0.7.0 and upgrade to >= 0.7.0, you'll see the session table not be upper bound anymore to whatever value you had set in that flag.