Releases: cerbos/cerbos-sdk-ruby
v0.9.1
v0.9.0
Changed
-
Use
attr
for principal and resource attributes (#157)This makes the API consistent with policy expressions.
attributes
is still supported for backwards compatibility, but is now deprecated. -
Increased
google-protobuf
version requirement to 3.21.12+ to avoid failure to loadprotovalidate
extension field descriptors (#159)
Removed
- Support for Ruby 3.0 (#158)
v0.8.0
v0.7.0
v0.6.1
v0.6.0
Added
-
Support for schema validation in
Cerbos::Client#plan_resources
(#32)Requires Cerbos 0.19+.
Cerbos::Output::PlanResources#validation_errors
will always return an empty array if the client is connected to an earlier version of Cerbos.As a result,
Cerbos::Output::CheckResources::Result::ValidationError
has moved toCerbos::Output::ValidationError
.
Attempting to access the class via the old namespace will print a deprecation warning and return the new class.