Skip to content

Releases: bbangert/beaker

Version 1.13.0

11 Apr 20:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.12.1...1.13.0

Version 1.12.1

04 Feb 16:24
Compare
Choose a tag to compare

What's Changed

  • Fix ext:database backend failing to initialize.
  • docs: Fix a few typos by @timgates42 in #223
  • Add some code documentation in the crypto module by @libnoon in #204
  • Ignore the .eggs directory by @libnoon in #203

New Contributors

Full Changelog: 1.12.0...1.12.1

Version 1.12.0

07 Dec 00:49
Compare
Choose a tag to compare
  • Enabled testing on Python 3.10 and 3.11
  • Fixed issue #122 - Session ignores deserializer json
  • Remove ID generation fallback for when the uuid module is not found
  • Port testing from nose to pytest
  • Fixed issue #180 - KeyError when loading deleted session

Version 1.11.0

26 Aug 22:02
Compare
Choose a tag to compare
  • Fixed cookie path option not being properly set (self._path was removed, only self.path exists)
  • Documented SameSite option
  • Fixed cookie expiration being localised when it shouldn't.

Version 1.10.1

21 Feb 19:43
Compare
Choose a tag to compare
  • Fix issue with Redis namespace manager TTL
  • Fix for SameSite cookie option not being set in some cases
  • Fix for memcached tests on Python3

Version 1.10.0

04 Jun 22:12
Compare
Choose a tag to compare

Release 1.10.0 (2018-06-04)

  • Redis namespace manager now supports providing a TTL for session entries that had a timeout provided.
    This will remove the need to manually clear expired sessions from the redis storage.
  • nsscrypto backend is now properly identified as providing AES support.
  • When a crypto backend doesn't support AES it will no longer crash if the encrypt_key is None.
  • Session cookies will now provide support for SameSite through the samesite option.
    By default this will be Lax, but can be set to Strict or None to disable it.

Version 1.9.1

09 Apr 20:07
Compare
Choose a tag to compare

Release 1.9.1 ( 2018-04-09 )

  • When decorating a function with @cache_region decorator the function generated to update the cached value
    will be named like the decorated function. So that during debugging it's easy to know which function is involved.
  • Removed usage of async as a variable in code, this fixes a compatibility problem with Python 3.7 where it's a keyword.
  • Fixed a race condition in FileNamespaceManager.
  • ext.database backend will now properly close connections.
  • Do not leave bhind corrupted files if FileNamespaceManager is interrupted while writing a new file.
    Replacing content of a file or writing a new one is now always an atomic operation.
  • DBMNamespaceManager and FileSynchronizer will now deal with directories disappearing while they try to write to them.
  • The Redis and MongoDB backends are not exposed in documentation.

Version 1.9.0

18 Jun 21:35
Compare
Choose a tag to compare

Release 1.9.0 (2017-06-19)

  • Beaker now provides builtin ext:mongodb and ext:redis namespace managers.
    Both come with a Synchronizer implemented on the storage backend instead of relying on file one.
  • Fixed an issue where cookie options like Secure, Domain and so on where lost.
  • Improved support for cache entries expiration. NamespaceManagers that support it will expire their key automatically.
  • Pycryptodome can be used instead of pycrypto.
  • An issue with Cookie module import on case insensitive file systems should have been resolved.
  • Cryptography module is now as a crypto function provider instead of pycrypto

Version 1.8.1

23 Oct 23:41
Compare
Choose a tag to compare

Release 1.8.1 (2016-10-24)

  • Sessions have a new option save_accessed_time which defaults to true for
    backwards compatibility. Set to false to tell beaker not to update
    _accessed_time if the session hasn't been changed, for non-cookie sessions
    stores. This lets you avoid needless datastore writes. _accessed_time will
    always be updated when the session is intentionally saved.
  • data_serializer parameter in Session accepts a custom object with dumps and loads methods.
  • Fixed a TypeError in exception reporting when failing to load a NamespaceManager
  • Allow to change Cookie Expiration from a value back to None, previously it had no effect.
  • Allow SessionMiddleware to setup a custom Session class through the session_class argument.
  • Added invalidate_corrupt option to CookieSessions too for valid cookies containing invalid data.