Beaker v1.8.1 Release Notes

Release Date: 2016-10-23 // about 5 years ago
  • ๐Ÿš€ 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.