Skip to content

Upgrading rack-protection 1 to 2

Unknown1.5.5 → 2.2.4

Fetching 23 releases from GitHub…0 / 23
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Ruby source. Not mixed with prose notes.

  • removed: const Protection.SIGNATURE
  • removed: static method Protection.<=>(_)
  • removed: static method Protection.version()
  • removed: method Base.bytesize(_)
  • added: class ContentSecurityPolicy < Base
  • added: class CookieTossing < Base
  • added: class ReferrerPolicy < Base
  • added: class StrictTransport < Base
  • added: const AuthenticityToken.TOKEN_LENGTH
  • added: const ContentSecurityPolicy.DIRECTIVES
  • added: const ContentSecurityPolicy.NO_ARG_DIRECTIVES
  • added: method AuthenticityToken.mask_authenticity_token(_, path: …, method: …)
  • added: method ContentSecurityPolicy.call(_)
  • added: method ContentSecurityPolicy.csp_policy()
  • added: method CookieTossing.accepts?(_)
  • added: method CookieTossing.bad_cookies()
  • added: method CookieTossing.call(_)
  • added: method CookieTossing.cookie_paths(_)
  • added: method CookieTossing.empty_cookie(_, _)
  • added: method CookieTossing.redirect(_)
  • added: method CookieTossing.remove_bad_cookies(_, _)
  • added: method CookieTossing.session_key()
  • added: method JsonCsrf.close_body(_)
  • added: method JsonCsrf.react_and_close(_, _)
  • added: method ReferrerPolicy.call(_)
  • added: method StrictTransport.call(_)
  • added: method StrictTransport.strict_transport()
  • added: static method AuthenticityToken.random_token()
  • added: static method AuthenticityToken.token(_, path: …, method: …)