Skip to content

v0.1.0

Latest
Compare
Choose a tag to compare
@vipera vipera released this 07 Dec 17:47

0.1.0 (2020-12-07)

Feature changes

  • Renamed rails5 format to rails_4 and added rails_5_1 format for decoding
    authenticated & encrypted session cookies used by Rails 5.1+.
  • Changed the result of any decrypt method to include the cookie format detected
    to allow disambiguation between randomly decrypted sessions for further
    processing.
  • Minimal platform requirement moving up to OTP 22 due to use of new crypto
    API.

New features

  • Added support for Rails 5.1+ session decoding.
  • Added auto format for automatically infering the Rails version from the
    cookie format.
  • Added infer_rails_version/1 for programatically inferring Rails version from
    a cookie payload.
  • Added crypto properties for specifying custom salts, HMAC algorithms and
    ciphers, to support non-default Rails configurations.

Misc

  • Added config for use with rebar3.
  • Added .gitignore, GitHub workflow and simple test for ensuring correct
    behaviour.
  • Added types and specs for API methods.