- SSL support for mongodb connections. (improvement)
- 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) - Fix for
data
is dropped ifmessage
is not present in notification. (bug-fix) - Remove now deprecated Fabric based remote runner and corresponding
ssh_runner.use_paramiko_ssh_runner
config option. (cleanup) - 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) - 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)
- Allow
register-setup-virtualenvs
flag to be used in combination withregister-all
in the
st2-register-content
script. - 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 missing
pytz
dependency tost2client
requirements file. (bug-fix) - Fix datastore access on Python runner actions (set
ST2_AUTH_TOKEN
andST2_API_URL
env
variables in Python runner actions to match sensors). (bug-fix) - 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. - Add
-y
/--yaml
flag to the CLIlist
andget
commands. If this flag is provided,
command response will be formatted as YAML. (new feature) - Alias names are now correctly scoped to a pack. This means the same name for alias can be used
across different packs. (bug-fix) - 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. In the - Introduce support for pack configs which are located outside of the pack directory in
/opt/stackstorm/configs/<pack name>.yaml
files. 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 the datastore item during
run-time. (new feature) - 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) - Allow administrator user who's context will be used when running an action or re-running an
action execution. (new feature) - Add a work-around for trigger creation which would case rule creation for CronTrigger to fail
under some circumstances. (workaround, bug-fix) - Store action execution state transitions (event log) in the
log
attribute on the
ActionExecution object. (new feature) - Make sure
-a all
/--attr=all
flag works forst2 execution list
command (bug-fix) - 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)
- Fix SSH bastion host support by ensuring the bastion parameter is passed to the paramiko ssh
client. (bug-fix) #2543 [Adam Mielke] - 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) - Admins will now be able pass
--show-secrets
when listing api keys to get thekey_hash
un-masked on the CLI. (new-feature) - Add
--register-triggers
flag to thest2-register-content
script andst2ctl
.
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]