Consul v1.1.0 Release Notes
Release Date: 2021-09-28 // over 3 years ago-
๐ฅ Breaking changes
- โ remove no longer supported ruby versions (2.3.8, 2.4.5)
- ๐ Consul no longer depends on the whole rails framework
Compatible changes
- โ add Ruby 3 compatibility
Previous changes from v1.0.3
-
๐ Security fix
๐ This releases fix a security issue where in a controller with multiple
power
directives, the:only
and:except
options of the last directive was applied to all directives.Affected code looks like this:
class UsersController < ApplicationController power :foo power :bar, only: :index ... end
In this example both the powers
:foo
and:bar
were only checked for the#index
action. Other actions were left unprotected by powers checks.Controllers with a single
power
directive are unaffected. Contollers where neitherpower
uses:only
or:except
options are unaffected.This vulnerability has been assigned the CVE identifier CVE-2019-16377.
Compatible changes
- ๐ The RSpec matcher
check_power
now also sees powers inherited by a parent controller.
- ๐ The RSpec matcher