All Versions
72
Latest Version
Avg Release Cycle
83 days
Latest Release
861 days ago
Changelog History
Page 7
Changelog History
Page 7
-
v0.11.1 Changes
June 08, 2015π Changed
* 0οΈβ£ Action aliases are registered by default. (improvement) π Fixed ~~~~~ * Repair failing pack installation. (bug-fix)
-
v0.11.0 Changes
June 05, 2015β Added
* π Allow user to configure the CLI using an ini style config file located at ``~/.st2rc``. (new-feature) * β Add support for caching of the retrieved auth tokens to the CLI. (new-feature) * β‘οΈ Update CLI so it displays the error at the top level when using ``run``, ``execution run`` or ``execution get`` when executed workflow fails. (improvement) * β Add new API endpoint for re-running an execution (``POST /executions/<id>/re_run/``). (new-feature) * CLI now has ``get`` and ``list`` commands for triggerinstance. (new-feature) * CLI now has ``re-emit`` command for triggerinstance. (new-feature) π Changed
- π» Throw a more-user friendly exception when enforcing a rule if an action referenced inside the rule definition doesn't exist. (improvement)
- Rules should be part of a pack. (improvement)
- β‘οΈ Update Windows runner code so it also works with a newer versions of winexe (> 1.0). (improvement) [James SigurΓ°arson]
- Validate parameters during rule creation for system triggers. (improvement)
π Fixed
* π Fix a bug with the rule evaluation failing if the trigger payload contained a key with a dot in the name. (bug-fix) * π Fix a bug with publishing array (list) values as strings inside the action chain workflows. (bug-fix) * Action trigger now contains execution id as opposed to liveaction id. (bug-fix)
-
v0.9.2 Changes
May 26, 2015π Fixed
* π Fix broken ``packs.download`` action. (bug-fix)
-
v0.9.1 Changes
May 12, 2015β Added
* π Allow option to bypass SSL Certificate Check (improvement) π Changed
- π§ Return HTTP BAD REQUEST when TTL requested for token > Max configured TTL (improvement)
π Fixed
* π Fix a bug with alias parser to support empty formats (bug-fix)
-
v0.9.0 Changes
April 29, 2015β Added
* Sensor container now can dynamically load/reload/unload sensors on data model changes. (new-feature) * β Add ``-t`` / ``--only-token`` flag to the ``st2 auth`` command. (new-feature) * β Add ability to best-effort cancel actions and actionchain via API. (new-feature) * β Add new ``windows-cmd`` and ``windows-script`` runners for executing commands and PowerShell scripts on Windows hosts. (new-feature) * β‘οΈ Update all the Python services to re-open log files on the ``SIGUSR1`` signal. (new-feature) π Changed
- Report a more user-friendly error if an action-chain task references an invalid or inexistent action. Also treat invalid / inexistent action as a top-level action-chain error. (improvement)
- Report a more user-friendly error if an action-chain definition contains an invalid type. (improvement)
- π Rename all st2 processes to be prefixed by st2. (sensor_container is now st2sensorcontainer, rules_engine is now st2rulesengine, actionrunner is now st2actionrunner) (improvement)
- Return a user friendly error on no sensors found or typo in sensor class name in single sensor mode. (improvement)
- Check if internal trigger types are already registered before registering them again. (improvement)
- β‘οΈ Update runner names so they follow a consistent naming pattern. For backward compatibility reasons, runners can still be referenced using their old names. (improvement)
π Fixed
* Sensor container now returns non-zero exit codes for errors. (bug-fix) * π Fix a bug in datastore operations exposed in st2client. (bug-fix) * π» Catch exception if rule operator functions throw excepton and ignore the rule. (bug-fix) * β Remove expected "runnertype not found" error logs on action registration in clean db. (improvement) * π² Clean up rule registrar logging. (improvement) * ``register`` param in packs.install should be passed to packs.load. (bug-fix) * π Fix validation code to validate value types correctly. (bug-fix) * Internal trigger types registered using APIs should use auth token. (bug-fix) π Security
- π¦ Enable authentication by default for package based installations.
-
v0.8.3 Changes
March 23, 2015π Changed
* Don't allow ``run-remote-script`` actions without an ``entry_point`` attribute - throw an exception when running an action. (improvement) π Fixed ~~~~~ * π Fix ``packs.setup_virtualenv`` command so it works correctly if user has specified multiple packs search paths. (bug-fix) * β‘οΈ Update sensor container to use ``auth.api_url`` setting when talking to the API (e.g. when accessing a datastore, etc.). This way it also works correctly if sensor container is running on a different host than the API. (bug-fix)
-
v0.8.2 Changes
March 10, 2015π Fixed
* π Fix a bug with python-runner actions sometimes not correctly reporting the action's ``stdout``. (bug-fix) * π Fix a bug in the ``run-remote-script`` runner - the runner ignored environment variables and authentication settings which were supplied to the action as parameters. (bug-fix)
-
v0.8.1 Changes
March 10, 2015β Added
* π Allow user to exclude particular attributes from a response by passing ``?exclude_attributes=result,trigger_instance`` query parameter to the ``/actionexecutions/`` and ``/actionexecutions/<execution id>/`` endpoint (new-feature) * β Add new ``/actionexecutions/<id>/attribute/<attribute name>`` endpoint which allows user to retrieve a value of a particular action execution attribute. (new-feature) π Changed
- β‘οΈ Update
execution get
CLI command so it automatically detects workflows and returns more user-friendly output by default. (improvement) - β‘οΈ Update
run
,action execute
,execution get
andexecution re-run
CLI commands to take the same options and return output in the same consistent format. - π Throw a more friendly error in the action chain runner if it fails to parse the action chain definition file. (improvement)
π Fixed
* π Fix a bug with http runner not parsing JSON HTTP response body if the content-type header also contained a charset. (bug-fix) * Indent workflow children properly in CLI (bug-fix) * π Make sure that wait indicator is visible in CLI on some systems where stdout is buffered. (bug-fix) * π Fix a bug with ``end_timestamp`` attribute on the ``LiveAction`` and ``ActionExecution`` model containing an invalid value if the action hasn't finished yet. (bug-fix) * Correctly report an invalid authentication information error in the remote runner. (bug-fix) * π Fix a bug in the action chain runner and make sure action parameters are also available for substitution in the ``publish`` scope. (bug-fix)
- β‘οΈ Update
-
v0.8.0 Changes
March 02, 2015β Added
* π Allow user to specify current working directory (``cwd`` parameter) when running actions using the local or the remote runner (``run-local``, ``run-local-script``, ``run-remote``, ``run-remote-script``). (new-feature) * 0οΈβ£ Default values of the parameter of an Action can be system values stored in kv-store. (new-feature) * π Allow users to specify additional paths where StackStorm looks for integration packs using ``packs_base_paths`` setting. (new-feature) * π Allow user to specify which Python binary to use for the Python runner actions using ``actionrunner.python_binary`` setting (new-feature) * 0οΈβ£ Default Python binary which is used by Python runner actions to be the Python binary which is used by the action runner service. Previous, system's default Python binary was used. * Vars can be defined in the ActionChain. (new-feature) * Node in an ActionChain can publish global variables. (new-feature) * π Allow user to provide authentication token either inside headers (``X-Auth-Token``) or via ``x-auth-token`` query string parameter. (new-feature) * π Allow user to override authentication information (username, password, private key) on per action basis for all the remote runner actions. (new-feature) * π Allow user to pass ``--inherit-env`` flag to the ``st2 action run`` command which causes all the environment variables accessible to the CLI to be sent as ``env`` parameter to the action being executed. (new-feature) * β± Cast params of an execution before scheduling in the RulesEngine. This allows non-string parameters in an action. (new-feature) * CLI commands to return non-zero exit codes for failed operations (new-feature) * β Add new ``nequals`` (``neq``) rule criteria operator. This criteria operator performs not equals check on values of an arbitrary type. (new-feature) * β Add new ``execution re-run <execution id>`` CLI command for re-running an existing action. (new-feature) * Dispatch an internal trigger when a sensor process is spawned / started (``st2.sensor.process_spawn``) and when a process exits / is stopped (``st2.sensor.process_exit``). (new-feature) * β‘οΈ Update HTTP runner to automatically parse JSON response body if Content-Type is ``application/json`` (new-feature) * π Support for filtering by timestamp and status in executions list. (new-feature) * π Ability to see child tasks of any execution. (new-feature) * π Allow sensors to manage global datastore items via sensor_service by passing ``local=False`` argument to the ``get_value``, ``set_value`` and ``delete_value`` methods. (new-feature) * Allow sensors to list datastore items using ``list_values`` sensor_service method. (new-feature) * π Allow users to filter datastore items by name prefix by passing ``?prefix=<value>`` query parameter to the ``/keys`` endpoint. (new-feature) π Changed
- π¨ Rename ActionExecution to LiveAction. (refactor)
- π¨ Rename ActionExecutionHistory to ActionExecution. (refactor)
- π¨ POST to
/v1/executions
take LiveActionAPI but returns ActionExecutionAPI (refactor) - π¨ Execution list shows only top level executions by default to see full list use --showall. (refactor)
β Removed
* β‘οΈ A separate history process is no longer required. ActionExecution updates are carried at time of update to LiveAction. (refactor) π Deprecated
- π¨ API url
/v1/actionexecutions/
is now deprecated in favor of/v1/executions/
(refactor) - π¨ API url change
/v1/history/execution
to/v1/executions
(refactor) - π¨ API url change
/v1/history/execution/views/filters
to/v1/executions/views/filters
(refactor)
π Fixed
* π Fix a race-condition / bug which would occur when multiple packs are installed at the same time. (bug-fix) * π Allow actions without parameters. (bug-fix) * π Fix a bug with rule matching not working for any triggers with parameters. (bug-fix) * Require ``cmd`` parameter for the following actions: ``core.remote``, ``core.remote_sudo``, ``core.local``, ``core.local_sudo`` (bug-fix) * π Use QuerySet.count() instead of len(QuerySet) to avoid the caching of the entire result which improve running time of API request. (bug-fix) * π Fix a bug with template rendering, under some conditions, ending in an infinite loop. (bug-fix) * Mistral subworkflows kicked off in st2 should include task name. (bug-fix) * π Fix non-string types to be rendered correctly in action parameters when used in rule. (bug-fix) * π Allow user to specify default value for required attributes in the definition of action parameters. (bug-fix) * When running with auth enabled, correctly preserve the username of the authenticated user who has triggered the action execution. (bug-fix)
-
v0.7 Changes
January 16, 2015β Added
* Python runner and all the fabric based runners (``run-local``, ``run-local-script``, ``run-remote``, ``run-remote-script``) now expose the ``timeout`` argument. With this argument users can specify action timeout. Previously, the action timeout was not user-configurable and a system-wide default value was used. * The time when an action execution has finished is now recorded and available via the ``end_timestamp`` attribute on the ``ActionExecution`` model. * π Allow polling sensors to retrieve current poll interval and change it using ``get_poll_interval`` and ``set_poll_interval`` methods respectively. (new-feature) * β Add support for a ``standalone`` mode to the st2auth service. In the standalone mode, authentication is handled inside the st2auth service using the defined backend. (new feature) * β Add new rule criteria comparison operators: ``iequals``, ``contains``, ``icontains``, ``ncontains``, ``incontains``, ``startswith``, ``istartswith``, ``endswith``, ``iendswith``, ``exists``, ``nexists`` (new-feature) * Allow sensors to store temporary data in the datastore using the ``get_value``, ``set_value`` and ``delete_value`` methods exposed by sensor_service. (new-feature) * π Allow user to specify TTL for datastore values by sending ``ttl`` attribute in the body of a ``PUT /keys/<key id>`` request. (new feature) * Add new ``key delete_by_prefix --prefix=<prefix>`` client command. This command allows deletion of all the keys with names starting with the provided prefix. (new-feature) * β Add ability to attach tags to Action, Rule and TriggerType. * β Add ability to query results asynchronously from external services. (new-feature) * β Add ``rule_tester`` tool which allows users to test rules in an offline mode without any services running (new-feature) π Changed
- π¨ Refactor local runners so they are more robust, efficient and easier to debug. Previously, local actions were executed through SSH, now they are executed directly without the overhead of SSH.
- π¨ Timer is not a sensor anymore. It is launched as part of the
rules_engine
process (refactor) - π¨ Action models now use ContentPackResourceMixin so we can get them by ref. (refactor)
- st2api only requires st2common and dependencies defined in
requirements.txt
to be available on the pythonpath thus making it possible to run st2api standalone. - π¨ Change default mode for authentication to standalone. (refactor)
π Fixed
* Status code 400 (bad request) is now returned if user doesn't provide a body to API endpoints which require it. Previously 500 internal server error was returned (bug-fix). * π Fix local runner so it correctly executes a command under the provided system user if ``user`` parameter is provided. (bug-fix) * π Fix a bug with a Trigger database object in some cases being created twice when registering a rule. (bug-fix) * π Fix a bug with child processes which run sensor code not being killed when stopping a sensor container service. (bug-fix) * π Fix a bug and allow user to use non-ascii (unicode) values in the parameter substitution values. (bug-fix) * π Fix a bug with action registration where actions with invalid schema for parameters get registered. (bug-fix) * π Fix a bug with ``default`` param values inheritance in runner/actions. (bug-fix) * π Fix a bug where trigger objects weren't created for triggers with different parameters. (bug-fix)