Unreleased

No notable changes.

0.6.0 - 2022-07-01

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.

0.5.0 - 2022-06-09

Added

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

0.4.0 - 2022-06-03

Added

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

Changed

  • Minor documentation fixes (#21)

0.3.0 - 2022-05-13

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

0.2.0 - 2022-05-12

Changed

0.1.0 - 2022-05-12

Added

  • Initial implementation of Cerbos::Client (#2)