CHANGES.md in ruby-jss-0.11.0 vs CHANGES.md in ruby-jss-0.12.0

- old
+ new

@@ -1,14 +1,34 @@ # Change History +## v 0.12.0, 2018-04-16 + +- Simplification: when building .pkg's with JSS::Composer.mk_pkg, only two params are related to Package Signing: 'signing_identity:' the name of the signing identity to use, and and 'signing_options:' a string of all other signing-related CLI options that will be passed to the pkgbuild command, e.g. keychain locations, timestamps, certs, etc. For details, see `man pkgbuild` + +- Improvement: Now augmenting ruby Hashes with an embeded 'recursive-open-struct' version of themselves. This simplifies accessing values from deeply-nested Hash structures, e.g. JSS::Computer#hardware instead of `computer_instance.hardware[:storage].first[:partition][:percentage_full]` you can do `computer_instance.hardware.jss_ros.storage.first.partition.percentage_full`. See http://www.rubydoc.info/gems/ruby-jss/Hash for details. Uses the [recursive-open-struct gem](https://github.com/aetherknight/recursive-open-struct). + +- Add: The computerapplications/application endpoint is now implemented as the JSS::Computer.application_installs class method so you can query lists of computers that have certain apps installed. + +- Improvement: the JSS::Computer class is now defined in multiple files. The single computer.rb file was getting far to unwieldy. + +- Fix: Setting the first icon of a newly-created JSS::Policy now works. Thanks @christopher.kemp for reporting this one + +- Add: JSS::MobileDeviceConfigurationProfile is now more fleshed-out and is Updatable. + +- Improvement: JSS::MobileDeviceConfigurationProfile and JSS::OSXConfigurationProfile now share an abstract parent class, JSS::ConfigurationProfile, containing common code. + +- Fix: the SelfServable module was mis-handling 'user-removability' data for config profiles. + +- Fix: Typo and missing method alias, caught by csfjeff @ github, issue #23 + ## v 0.11.0, 2018-03-12 - Fix: NoMethod error when saving JSS::Policy was due to a typo in a method call. - Fix: Initialization of Creatable objects using certain mixins (Extendable, Sitable, Categorizable) either failed, or errored when trying to set their values. Now fixed. Thanks @mylescarrick for reporting this one. - Improvement: Updated general attributes for computers and mobile devices - +s - Improvement: Computers and MobileDevices are now Creatable. Use the .make class method to create an unsaved instance, then .create/.save instance method to create the JSS record. Note: Mobile Devices need both a unique serial number and unique udid to be accepted by the API. - Improvement: Handling of 'site' data is now done via the JSS::Sitable mixin module - Improvement: When the JSS server's hostname ends with 'jamfcloud.com' default to SSL port 443 (vs 8443 for locally hosted JSSs)