Skip to content

Releases: cerbos/cerbos-sdk-ruby

v0.9.1

15 Jul 14:19
v0.9.1
e59dcc5
Compare
Choose a tag to compare

Changed

v0.9.0

10 Jun 09:06
v0.9.0
9cd904f
Compare
Choose a tag to compare

Changed

Removed

  • Support for Ruby 3.0 (#158)

v0.8.0

12 Jan 11:27
v0.8.0
6396a2b
Compare
Choose a tag to compare

Added

  • grpc_metadata option to Cerbos::Client constructor and request methods to add gRPC metadata (a.k.a. HTTP headers) to requests to the policy decision point (#132)

v0.7.0

07 Jun 09:16
v0.7.0
97ce799
Compare
Choose a tag to compare

Added

  • Support for user-defined policy rule outputs (#100)

    Requires a policy decision point server running Cerbos 0.27+.

Removed

  • Support for Ruby 2.7 (#90)

v0.6.1

23 Mar 17:59
v0.6.1
66f8bfd
Compare
Choose a tag to compare

Removed

  • Unused generated code (#83)

v0.6.0

01 Jul 09:13
v0.6.0
0b412fd
Compare
Choose a tag to compare

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 to Cerbos::Output::ValidationError.
    Attempting to access the class via the old namespace will print a deprecation warning and return the new class.

v0.5.0

09 Jun 09:57
v0.5.0
7cb1433
Compare
Choose a tag to compare

Added

  • Allow symbol keys in nested attributes hashes (#28)

v0.4.0

03 Jun 14:51
v0.4.0
e1c4097
Compare
Choose a tag to compare

Added

  • on_validation_error option to Cerbos::Client#initialize (#22)

Changed

  • Minor documentation fixes (#21)

v0.3.0

03 Jun 14:51
v0.3.0
5928b46
Compare
Choose a tag to compare

Added

  • More helper methods (#11)
    • Cerbos::Client#allow? for checking a single action on a resource
    • Cerbos::Output::CheckResources#allow_all? and Cerbos::Output::CheckResources::Result#allow_all? for checking if all input actions were allowed

v0.2.0

12 May 18:34
v0.2.0
5fbee3a
Compare
Choose a tag to compare

Changed