CHANGES.md in ruby-jss-3.0.0 vs CHANGES.md in ruby-jss-3.1.0b1

- old
+ new

@@ -13,9 +13,28 @@ __Please update all installations of ruby-jss to at least v1.6.0.__ Many many thanks to actae0n of Blacksun Hackers Club for reporting this issue and providing examples of how it could be exploited. -------- +## \[3.1.0] 2023-06-05 + +### Added + - Jamf::Computer.filevault_info and Jamf::Computer#filevault_info can retrieve FileVault info from v1/computer-inventory/filevault and related endpoints + - Jamf::Computer.recovery_lock_password and Jamf::Computer#recovery_lock_password can retrieve stored recovery lock passwords + - There are now several ways to set scopes to all targets. + - The original #include_all has been renamed #set_all_targets, and #include_all is an alias to it + - The symbol :all can be passed to the #set_targets, and #add_target methods as they 'key' parameter, and they will just call #set_all_targets + - There is now a setter #all_targets=(bool) which calls #set_all_targets, or sets @all_targets to false + +### Fixed + - Fixed a bug in Jamf::Pager#initialize when constructing the query-path of the paged resource URL + - Fixed a bug in Jamf::Pager#initialize: The instantiate: parameter takes a class, not a boolean + - Fixed a bug in Jamf::CollectionResource.pager: The instantiate: parameter takes a boolean, but must pass a class to Jamf::Pager#initialize + - Jamf::OAPIObject base-class: can now instantiate objects that hold a single value + +### Changed + - Auto-generated OAPISchemas have been refreshed from Jamf Pro 10.46.0 + ## \[3.0.0] - 2023-05-22 Major version bump because changes to policy log flushing are not backward compatible. ### Added