All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Import print_function to support python3 print syntax when output error message to STDERR.
- Output error messages to STDERR
- Fix issue with PubNub logs channel. If available, use device.logs_channel for PubNub channel names.
- Implement resin.models.supervisor.enable_tcp_ping().
- Implement resin.models.supervisor.disable_tcp_ping().
- Implement resin.models.supervisor.regenerate_supervisor_api_key().
- Implement resin.models.supervisor.get_device_state().
- Implement resin.models.supervisor.stop_application().
- Implement resin.models.supervisor.get_application_info().
- Implement resin.models.supervisor.start_application().
- Update all functions in resin.models.supervisor, Use device_uuid instead of device_id for ease of use.
- Implement resin.models.device.get_status()
- Patch device types to be marked as ALPHA and BETA not PREVIEW and EXPERIMENTAL.
- Fix error when reading settings by backing up old settings file and rewriting default settings.
- Fix bug of device.get_local_ip_address().
- Fix bug with return value of
resin.auth.is_logged_in().
- Implement resin.models.device.move().
- Implement Resin Supervisor which provides an easy way to interact with the Supervisor agent on your device:
- resin.models.supervisor.ping()
- resin.models.supervisor.blink()
- resin.models.supervisor.update()
- resin.models.supervisor.reboot()
- resin.models.supervisor.shutdown()
- resin.models.supervisor.purge()
- resin.models.supervisor.restart()
- resin.models.supervisor.force_api_endpoint()
- Implement basic two-factor authentication functionalities:
- resin.models.twofactor_auth.is_enabled()
- resin.models.twofactor_auth.is_passed()
- resin.models.twofactor_auth.challenge()
- resin.models.twofactor_auth.generate_code()
- resin.models.twofactor_auth.get_otpauth_secret()
- Update
setup.pyparse VERSION directly from__init__.pyinstead of importing resin.
- Implement Resin API Key. User can authorize by credentials, auth token or set Resin API key as RESIN_API_KEY environment variable.
- Implement
resin.models.device.restart() - Implement
resin.models.device.has_device_url() - Implement
resin.models.device.get_device_url() - Implement
resin.models.device.enable_device_url() - Implement
resin.models.device.disable_device_url()
- Fix
resin.auth.is_logged_in()remove auth token. - Fix bug with API endpoints in some functions.
- Implement
loginflag that marks functions only work if users authorize by credentials or auth token.
- Remove
VALID_OPTIONSin resin.models.device_os that blocks extra os parameters when downloading an image. - Remove
resin.models.config.get_pubnub_keys().