Repository navigation
What's Changed
-
BREAKING: Only support namespaced Rails credentials under
codeword(e.g.codeword.codeword,codeword.hint,codeword.cookie_lifetime_in_weeks) -
BREAKING: Drop support for Rails < 7.2
-
BREAKING: Rename
check_for_codewordtorequire_codeword! -
BREAKING: Deprecate Rails secrets in favor of Rails credentials
-
BREAKING: Remove lowercase ENV variable support (only uppercase ENV variables are now supported)
-
Prevent open redirects by using
allow_other_host: false -
Harden cookie with
httponly: true,same_site: :lax, andsecure: request.ssl? -
codeword_cookie_lifetimenow returns anActiveSupport::Duration; cookie expiry usesfrom_now -
Updated crawler detection regex (removed duplicate
spiderand genericclicktoken)
Migration: see UPGRADE-0.2.md for steps to upgrade from 0.1.x to 0.2.0.
Full Changelog: v0.1.1...v0.2.0