StackStorm v1.5.0 Release Notes
Release Date: 2016-06-24 // almost 8 years ago-
โ Added
* TriggerInstances now have statuses to help track if a TriggerInstance has been processed, is being processed or failed to process. This bring out some visibility into parts of the TriggerInstance processing pipeline and can help identify missed events. (new-feature) * ๐ Allow user to enable service debug mode by setting ``system.debug`` config file option to ``True``. Note: This is an alternative to the existing ``--debug`` CLI flag which comes handy when running API services under gunicorn. (improvement) * โ Add new API endpoint and corresponding CLI commands (``st2 runner disable <name>``, ``st2 runner enable <name>``) which allows administrator to disable (and re-enable) a runner. (new feature) * โ Add RBAC support for runner types API endpoints. (improvement) * ๐ Add ``get_fixture_content`` method to all the base pack resource test classes. This method enforces fixture files location and allows user to load raw fixture content from a file on disk. (new feature) future, pack configs will be validated against the schema (if available). (new feature) * โ Add data model and API changes for supporting user scoped variables. (new-feature, experimental) * โ Add ``-y`` / ``--yaml`` flag to the CLI ``list`` and ``get`` commands. If this flag is provided, command response will be formatted as YAML. (new feature) * Ability to migrate api keys to new installs. (new feature) * Introduce a new concept of pack config schemas. Each pack can now contain a ``config.schema.yaml`` file. This file can contain an optional schema for the pack config. Site-specific pack configuration is then stored outside the pack directory, in ``/opt/stackstorm/configs/<pack name>.yaml``. Those files are similar to the existing pack configs, but in addition to the static values they can also contain dynamic values. Dynamic value is a value which contains a Jinja expression which is resolved to a datastore item during run-time. (new feature) * ๐ Allow administrator user whose context will be used when running an action or re-running an action execution. (new feature) * ๐ฒ Store action execution state transitions (event log) in the ``log`` attribute on the ActionExecution object. (new feature) * Admins will now be able pass ``--show-secrets`` when listing api keys to get the ``key_hash`` un-masked on the CLI. (new-feature) * โ Add ``--register-triggers`` flag to the ``st2-register-content`` script and ``st2ctl``. When this flag is provided, all triggers contained within a pack triggers directory are registered, consistent with the behavior of sensors, actions, etc. This feature allows users to register trigger types outside the scope of the sensors. (new-feature) [Cody A. Ray] ๐ Changed
- Lazily establish SFTP connection inside the remote runner when and if SFTP connection is needed. This way, remote runner should now also work under cygwin on Windows if SFTP related functionality (file upload, directory upload, etc.) is not used. (improvement) Reported by Cody A. Ray
- API and CLI allow rules to be filtered by their enable state. (improvement)
- Send out a clear error message when SSH private key is passphrase protected but user fails to supply passphrase with private_key when running a remote SSH action. (improvement)
โ Removed
* โ Remove now deprecated Fabric based remote runner and corresponding ``ssh_runner.use_paramiko_ssh_runner`` config option. (cleanup) * โ Remove support for JSON format for resource metadata files. YAML was introduced and support for JSON has been deprecated in StackStorm v0.6. Now the only supported metadata file format is YAML. ๐ Fixed ~~~~~ * ๐ Fix for ``data` is dropped if ``message`` is not present in notification. (bug-fix) * ๐ Fix support for password protected private key files in the remote runner. (bug-fix) * ๐ Allow user to provide a path to the private SSH key file for the remote runner ``private_key`` parameter. Previously only raw key material was supported. (improvement) * ๐ Allow ``register-setup-virtualenvs`` flag to be used in combination with ``register-all`` in the ``st2-register-content`` script. * โ Add missing ``pytz`` dependency to ``st2client`` requirements file. (bug-fix) * Fix datastore access on Python runner actions (set ``ST2_AUTH_TOKEN`` and ``ST2_API_URL`` env variables in Python runner actions to match sensors). (bug-fix) * Alias names are now correctly scoped to a pack. This means the same name for alias can be used across different packs. (bug-fix) * ๐ Fix a regression in filtering rules by pack with CLI. (bug-fix) * ๐ Make sure ``st2-submit-debug-info`` cleans up after itself and deletes a temporary directory it creates. (improvement) #2714 [Kale Blankenship] * ๐ Fix string parameter casting - leave actual ``None`` value as-is and don't try to cast it to a string which would fail. (bug-fix, improvement) * โ Add a work-around for trigger creation which would case rule creation for CronTrigger to fail under some circumstances. (workaround, bug-fix) * ๐ Make sure ``-a all`` / ``--attr=all`` flag works for ``st2 execution list`` command (bug-fix) * ๐ Fix SSH bastion host support by ensuring the bastion parameter is passed to the paramiko ssh client. (bug-fix) #2543 [Adam Mielke] ๐ Security
- ๐ SSL support for mongodb connections. (improvement)