Pundit v2.1.1 Release Notes
Release Date: 2021-08-13 // over 3 years ago-
๐ Friday 13th-release!
๐ Careful! The bugfix below (#626) could break existing code. If you rely on the return value for
authorize
and namespaced policies you might need to do some ๐ changes.๐ Fixed
.authorize
and#authorize
return the instance, even for namespaced policies (#626)
๐ Changed
- Generate application scope with
protected
attr_readers. (#616)
โ Removed
- โฌ๏ธ Dropped support for Ruby end-of-life versions: 2.1 and 2.2. (#604)
- โฌ๏ธ Dropped support for Ruby end-of-life versions: 2.3 (#633)
- โฌ๏ธ Dropped support for Ruby end-of-life versions: 2.4, 2.5 and JRuby 9.1 (#676)
- โฌ๏ธ Dropped support for RSpec 2 (#615)
Previous changes from v2.1.0
-
๐ Fixed
- Avoid name clashes with the Error class. (#590)
๐ Changed
- 0๏ธโฃ Return a safer default NotAuthorizedError message. (#583)