All Versions
72
Latest Version
Avg Release Cycle
83 days
Latest Release
861 days ago

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 and execution 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)
    
  • 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)