- Implement `resin.logs.history()`. - Implement `resin.models.device.register()`. - Implement `resin.settings`. - Start making use of a CHANGELOG. - Improve unit testing. - Add promise support. - Check that a device exists before attempting `rename` operation. - Reference devices by `uuid` instead of by name. - Markdown JSDoc documentation in `DOCUMENTATION.md`.
Changed
- Change interface and internal workings of `resin.logs.subscribe()`. - "get all" functions now return an empty array if no resources instead of yielding an error. - Update JSDoc annotations to use promises.
Removed
- Remove HTML generated JSDoc documentation.
1.7.0
Added
- Implement `device.get_dashboard_url()` that return the Resin Dashboard URL for a specific device. - Implement `device_os.get_config()` that retrieves an application config.json. - Implement `application.enable_device_urls()` and `application.disable_device_urls()` that enable/disable the URL for all devices belong to an application. - Implement methods at device and application level for granting and revoking support access. - Implement `application.generate_provisioning_key()` that generates a device provisioning key for a specific application.
Changed
- Upgrade Pine endpoint to Resin API v3. - Add validation for environment variable name. - Update `device.register()`, device registration now uses provisioning key.
1.6.3
Changed
- Add additional API endpoints: `resin.models.application.enable_rolling_updates()`, `resin.models.application.disable_rolling_updates()`, `resin.models.device.get_all_by_application_id()` and `resin.models.device.set_to_build()` by [amirfuhrmann](https://github.com/amirfuhrmann)
1.6.2
Changed
- Fix issue with auth.is_logged_in() raises Unauthorized exception.
1.6.1
Added
- Implement resin.models.environment_variables.device.get_all_by_application(). - Implement Build class (`resin.models.build.get()` and `resin.models.build.get_all_by_application()`). - Implement `resin.models.device.set_custom_location()` and `resin.models.device.unset_customer_location()`. - Implement `resin.models.device.generate_device_key()` that can generate a device specific key for use by a device. - Implement `resin.models.application.get_config()` for downloading an application config.json file.
Changed
- Deprecated `resin.models.application.get_api_key()`. - Make all device env vars consistently return names as .name. - Ensure application and device .get handle arguments clearly.
1.5.4
Changed
- Allow passing option to force device reboot and shutdown. - Specify version of pubnub lib since pubnub v4 is not supported yet. - Remove unused import.