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

Changelog History
Page 5

  • v1.5.1 Changes

    July 13, 2016

    โž• Added

    
    * โž• Add support for default values when a new pack configuration is used. Now if a default value
      is specified for a required config item in the config schema and a value for that item is not
      provided in the config, default value from config schema is used. (improvement)
    * โž• Add support for posixGroup to the enterprise LDAP auth backend. (improvement, bug-fix)
    
    ๐Ÿ”„ Changed
    
    • ๐Ÿ‘ Allow user to prevent execution parameter merging when re-running an execution by passing ?no_merge=true query parameter to the execution re-run API endpoint. (improvement)

    ๐Ÿ›  Fixed

    
    * ๐Ÿ›  Fix trigger registration when using st2-register-content script with ``--register-triggers``
      flag. (bug-fix)
    * ๐Ÿ›  Fix an issue with CronTimer sometimes not firing due to TriggerInstance creation failure.
      (bug-fix)
      Reported by Cody A. Ray
    
  • v1.5.0 Changes

    June 24, 2016

    โž• 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)
  • v1.4.0 Changes

    April 18, 2016

    โž• Added

    
    * ๐Ÿ‘ Passphrase support for the SSH runner. (improvement)
    * โž• Add ``extra`` field to the ActionAlias schema for adapter-specific parameters. (improvement)
    * ๐Ÿ‘ Allow user to pass a boolean value for the ``cacert`` st2client constructor argument. This way
      it now mimics the behavior of the ``verify`` argument of the ``requests.request`` method.
      (improvement)
    * โž• Add datastore access to Python runner actions via the ``action_service`` which is available
      to all the Python runner actions after instantiation. (new-feature) #2396 #2511
      [Kale Blankenship]
    * โšก๏ธ Update ``st2actions.runners.pythonrunner.Action`` class so the constructor also takes
      ``action_service`` as the second argument.
    * Display number of seconds which have elapsed for all the executions which have completed
      when using ``st2 execution get`` CLI command. (improvement)
    * Display number of seconds elapsed for all the child tasks of a workflow action when using
      ``st2 execution get`` CLI command. (improvement)
    * Various improvements in the ``linux.wait_for_ssh`` action:
    
      * Support for password based authentication.
      * Support for non-RSA SSH keys.
      * Support for providing a non-default (22) SSH server port.
      * Support for using default system user (stanley) ssh key if neither ``password`` nor
        ``keyfile`` parameter is provided.
    * ๐Ÿ‘Œ Support for leading and trailing slashes in the webhook urls. (improvement)
    * ๐Ÿ‘ Introduce new ``matchwildcard`` rule criteria operator. This operator provides supports for Unix
      shell-style wildcards (``*``, ``?``). (new feature)
    * ๐Ÿ‘ Allow user to pass ``verbose`` parameter to ``linux.rm`` action. For backward compatibility
      reasons it defaults to ``true``. (improvement)
    * โž• Add ``--output`` and ``--existing-file`` options to ``st2-submit-debug-info``. [Kale Blankenship]
    * ๐Ÿ‘ Allow user to specify a timezone in the CLI client config (``~/.st2/config``). If the timezone is
      specified, all the timestamps displayed by the CLI will be shown in the configured timezone
      instead of a default UTC display. (new feature)
    * โž• Add ``attachments`` parameter to the ``core.sendmail`` action. (improvement) [Cody A. Ray]
    * โž• Add ``--register-setup-virtualenvs`` flag to the ``register-content`` script and ``st2ctl``.
      When this flag is provided, Python virtual environments are created for all the registered packs.
      This option is to be used with distributed setup where action runner services run on multiple
      hosts to ensure virtual environments exist on all those hosts. (new-feature)
    * โšก๏ธ Update ``core.st2.CronTimer`` so it supports more of the cron-like expressions (``a-b``, ``*/a``,
      ``x,y,z``, etc.). (improvement)
    * โž• Add new ``regex`` and ``iregex`` rule criteria operator and deprecate ``matchregex`` in favor of
      those two new operators. (new-feature) [Jamie Evans]
    * โž• Add support for better serialization of the following parameter types for positional parameters
      used in the local and remote script runner actions: ``integer``, ``float``, ``boolean``,
      ``list``, ``object``. Previously those values were serialized as Python literals which made
      parsing them in the shell scripts very cumbersome. Now they are serialized based on the simple
      rules described in the documentation which makes it easy to use just by using simple shell
      primitives such as if statements and ``IFS`` for lists. (improvement, new feature)
    * โž• Add ``-v`` flag (verbose mode) to the ``st2-run-pack-tests`` script. (improvement)
    * โž• Add support for additional SSH key exchange algorithms to the remote runner via upgrade to
      paramiko 1.16.0. (new feature)
    * โž• Add initial code framework for writing unit tests for action aliases. For the usage, please refer
      to the "Pack Testing" documentation section. (new feature)
    * โž• Add custom ``use_none`` Jinja template filter which can be used inside rules when invoking an
      action. This filter ensures that ``None`` values are correctly serialized and is to be used when
      TriggerInstance payload value can be ``None`` and ``None`` is also a valid value for a particular
      action parameter. (improvement, workaround)
    
    ๐Ÿ”„ Changed
    
    • ๐Ÿ‘Œ Improvements to ChatOps deployments of packs via pack deploy [Jon Middleton]
    • ๐Ÿ‘ Allow /v1/webhooks API endpoint request body to either be JSON or url encoded form data. Request body type is determined and parsed accordingly based on the value of Content-Type header. Note: For backward compatibility reasons we default to JSON if Content-Type header is not provided. #2473 [David Pitman]
    • โšก๏ธ Update matchregex rule criteria operator so it uses "dot all" mode where dot (.) character will match any character including new lines. Previously * didn't match new lines. (improvement)
    • ๐Ÿšš Move stream functionality from st2api into a new standalone st2stream service. Similar to st2api and st2auth, stream is now a standalone service and WSGI app. (improvement)
    • Record failures to enforce rules due to missing actions or parameter validation errors. A RuleEnforcement object will be created for failed enforcements that do not lead to an ActionExecution creation. (improvement)
    • ๐Ÿ”ง The list of required and optional configuration arguments for the LDAP auth backend has changed. The LDAP auth backend supports other login name such as sAMAccountName. This requires a separate service account for the LDAP backend to query for the DN related to the login name for bind to validate the user password. Also, users must be in one or more groups specified in group_dns to be granted access.
    • For consistency rename deploy_pack alias to pack_deploy.

    ๐Ÿ—„ Deprecated

    
    * โฌ‡๏ธ Drop deprecated and unused ``system.admin_users`` config option which has been replaced with
      RBAC.
    * ๐Ÿ—„ The ``matchregex`` rule criteria operator has been deprecated in favor of ``regex`` and
      ``iregex``.
    * ๐Ÿ—„ Mistral has deprecated the use of task name (i.e. ``$.task1``) to reference task result. It is
      replaced with a ``task`` function that returns attributes of the task such as id, state, result,
      and additional information (i.e. ``task(task1).result``).
    
    ๐Ÿ›  Fixed
    ~~~~~
    
    * ๐Ÿ› Bug fixes to allow Sensors to have their own log files. #2487 [Andrew Regan]
    * ๐Ÿ‘‰ Make sure that the ``filename``, ``module``, ``funcName`` and ``lineno`` attributes which are
      available in the log formatter string contain the correct values. (bug-fix)
    
      Reported by Andrew Regan.
    * ๐Ÿ‘‰ Make sure that sensor container child processes take into account ``--use-debugger`` flag passed
      to the sensor container. This fixes support for remote debugging for sensor processes. (bug-fix)
    * ๐Ÿ›  Fix ``linux.traceroute`` action. (bug fix)
    * ๐Ÿ›  Fix a bug with positional argument handling in the local script runner. Now the arguments with a
      no value or value of ``None`` are correctly passed to the script. (bug fix)
    * ๐Ÿ›  Fix rule criteria comparison and make sure that false criteria pattern values such as integer
      ``0`` are handled correctly. (bug-fix)
    
      Reported by Igor Cherkaev.
    * ๐Ÿ›  Fix alias executions API endpoint and make sure an exception is thrown if the user provided
      command string doesn't match the provided format string. Previously, a non-match was silently
      ignored. (bug fix)
    
  • v1.3.2 Changes

    February 12, 2016

    โœ‚ Removed

    
    * Remove ``get_open_ports`` action from Linux pack.
    
  • v1.3.1 Changes

    January 25, 2016

    ๐Ÿ”„ Changed

    
    * 0๏ธโƒฃ Dev environment by default now uses gunicorn to spin API and AUTH processes. (improvement)
    * ๐Ÿ‘ Allow user to pass a boolean value for the ``cacert`` st2client constructor argument. This way
      it now mimics the behavior of the ``verify`` argument of the ``requests.request`` method.
      (improvement)
    
    ๐Ÿ›  Fixed
    ~~~~~
    
    * ๐Ÿ“ฆ Make sure ``setup.py`` of ``st2client`` package doesn't rely on functionality which is only
      available in newer versions of pip.
    * ๐Ÿ›  Fix an issue where trigger watcher cannot get messages from queue if multiple API processes
      are spun up. Now each trigger watcher gets its own queue and therefore there are no locking
      issues. (bug-fix)
    
  • v1.3.0 Changes

    January 22, 2016

    โž• Added

    
    * ๐Ÿ‘ Allow user to pass ``env`` parameter to ``packs.setup_virtualenv`` and ``packs.install``
      action.
    
      This comes in handy if a user wants pip to use an HTTP(s) proxy (HTTP_PROXY and HTTPS_PROXY
      environment variable) when installing pack dependencies. (new feature)
    * Ability to view causation chains in Trace. This helps reduce the noise when using Trace to
      identify specific issues. (new-feature)
    * Filter Trace components by model types to only view ActionExecutions, Rules or TriggerInstances.
      (new-feature)
    * Include ref of the most meaningful object in each trace component. (new-feature)
    * Ability to hide trigger-instance that do not yield a rule enforcement. (new-feature)
    * Action and Trigger filters for rule list (new-feature)
    * โž• Add ``--register-fail-on-failure`` flag to ``st2-register-content`` script. If this flag is
      provided, the script will fail and exit with non-zero status code if registering some resource
      fails. (new feature)
    * Introduce a new ``abandoned`` state that is applied to executions that we cannot guarantee as
      completed. Typically happen when an actionrunner currently running some executions quits or is
      killed via TERM.
    * โž• Add new ``st2garbagecollector`` service which periodically deletes old data from the database
      as configured in the config. By default, no old data is deleted unless explicitly configured in
      the config.
    * All published variables can be available in the result of ActionChain execution under the
      ``published`` property if ``display_published`` property is specified.
    * ๐Ÿ‘ Allow user to specify TTL when creating datastore item using CLI with the ``--ttl`` option.
      (improvement)
    * โž• Add option to rerun one or more tasks in mistral workflow that has errored. (new-feature)
    
    ๐Ÿ”„ Changed
    
    • ๐Ÿ”„ Change the rule list columns in the CLI from ref, pack, description and enabled to ref, trigger.ref, action.ref and enabled. This aligns closer the UI and also brings important information front and center. (improvement)
    • ๐Ÿ‘Œ Support for object already present in the DB for st2-rule-tester (improvement)
    • Throw a more friendly error message if casting parameter value fails because the value contains an invalid type or similar. (improvement)
    • Display execution parameters when using st2 execution get <execution id> CLI command for workflow executions. (improvement)
    • The --tasks option in the CLI for st2 execution get and st2 run will be renamed to --show-tasks to avoid conflict with the tasks option in st2 execution re-run.
    • Replace chatops.format_result with chatops.format_execution_result and remove dependency on st2 pack from st2contrib.
    • Trace also maintains causation chain through workflows.

    ๐Ÿ—„ Deprecated

    
    * ๐Ÿ—„ Deprecated ``params`` action attribute in the action chain definition in favor of the new
      ``parameters`` attribute. (improvement)
    
    ๐Ÿ›  Fixed
    ~~~~~
    
    * โž• Add missing logrotate config entry for ``st2auth`` service. #2294 [Vignesh Terafast]
    * โž• Add a missing ``get_logger`` method to the `MockSensorService``. This method now returns an
      instance of ``Mock`` class which allows user to assert that a particular message has been
      logged. [Tim Ireland, Tomaz Muraus]
    * ๐Ÿ›  Fix validation error when None is passed explicitly to an optional argument on action
      execution. (bug fix)
    * ๐Ÿ›  Fix action parameters validation so that only a selected set of attributes can be overriden for
      any runner parameters. (bug fix)
    * ๐Ÿ›  Fix type in the headers parameter for the http-request runner. (bug fix)
    * ๐Ÿ›  Fix runaway action triggers caused by state miscalculation for mistral workflow. (bug fix)
    * ๐Ÿ‘‰ Use ``--always-copy`` option when creating virtualenv for packs from packs.setup_virtualenv
      action. This is required when st2actionrunner is kicked off from python within a virtualenv.
    * ๐Ÿ›  Fix a bug in the remote script runner which would throw an exception if a remote script action
      caused a top level failure (e.g. copying artifacts to a remote host failed). (bug-fix)
    * ๐Ÿ›  Fix execution cancellation for task of mistral workflow. (bug fix)
    * ๐Ÿ›  Fix runaway action triggers caused by state miscalculation for mistral workflow. (bug fix)
    * ๐Ÿ›  Fix a bug when removing notify section from an action meta and registering it never removed
      the notify section from the db. (bug fix)
    * ๐Ÿ‘‰ Make sure action specific short lived authentication token is deleted immediately when execution
      is cancelled. (improvement)
    * ๐Ÿš€ Ignore lock release errors which could occur while reopening log files. This error could simply
      indicate that the lock was never acquired.
    
  • v1.2.0 Changes

    December 07, 2015

    โž• Added

    
    * โž• Add SSH bastion host support to the paramiko SSH runner. Utilizes same connection parameters as
      the targeted box. (new feature, improvement) #2144, #2150 [Logan Attwood]
    * โฑ Introduce a new ``timeout`` action execution status which represents an action execution
      timeout. Previously, executions which timed out had status set to ``failure``. Keep in mind
      that timeout is just a special type of a failure. (new feature)
    * ๐Ÿ‘ Allow jinja templating to be used in ``message`` and ``data`` field for notifications.(new feature)
    * โž• Add tools for purging executions (also, liveactions with it) and trigger instances older than
      certain UTC timestamp from the db in bulk.
    * Introducing ``noop`` runner and ``core.noop`` action. Returns consistent success in a WF regardless of
      user input. (new feature)
    * โž• Add mock classes (``st2tests.mocks.*``) for easier unit testing of the packs. (new feature)
    * โž• Add a script (``./st2common/bin/st2-run-pack-tests``) for running pack tests. (new feature)
    * ๐Ÿ‘Œ Support for formatting of alias acknowledgement and result messages in AliasExecution. (new feature)
    * ๐Ÿ‘Œ Support for "representation+value" format strings in aliases. (new feature)
    * ๐Ÿ‘Œ Support for disabled result and acknowledgement messages in aliases. (new feature)
    * โž• Add ability to write rule enforcement (models that represent a rule evaluation that resulted
      in an action execution) to db to help debugging rules easier. Also, CLI bindings to list
      and view these models are added. (new-feature)
    
    ๐Ÿ”„ Changed
    
    • ๐Ÿ”จ Refactor retries in the Mistral action runner to use exponential backoff. Configuration options for Mistral have changed. (improvement)
    • โšก๏ธ Update action chain runner so it performs on-success and on-error task name validation during pre_run time. This way common errors such as typos in the task names can be spotted early on since there is no need to wait for the run time.
    • ๐Ÿ”„ Change headers and params core.http action paramer type from string to object.
    • Don't allow action parameter type attribute to be an array since rest of the code doesn't support parameters with multiple types. (improvement)
    • โšก๏ธ Update local runner so all the commands which are executed as a different user and result in using sudo set $HOME variable to the home directory of the target user. (improvement)
    • Include state_info for Mistral workflow and tasks in the action execution result. (improvement)
    • --debug flag no longer implies profiling mode. If you want to enable profiling mode, you need to explicitly pass --profile flag to the binary. To reproduce the old behavior, simply pass both flags to the binary - --debug --profile.
    • ๐Ÿ“œ Modify ActionAliasFormatParser to work with regular expressions and support more flexible parameter matching. (improvement)
    • ๐Ÿšš Move ChatOps pack to st2 core.
    • Purge tool now uses delete_by_query and offloads delete to mongo and doesn't perform app side explicit model deletion to improve speed. (improvement)

    ๐Ÿ›  Fixed

    
    * ๐Ÿ›  Fix trigger parameters validation for system triggers during rule creation - make sure we
      validate the parameters before creating a TriggerDB object. (bug fix)
    * ๐Ÿ›  Fix a bug with a user inside the context of the live action which was created using alias
      execution endpoint incorrectly being set to the system user (``stanley``) instead of the
      authenticated user which triggered the execution. (bug fix)
    * ๐Ÿ›  Fix policy loading and registering - make sure we validate policy parameters against the
      parameters schema when loading / registering policies. (bug fix, improvement)
    * ๐Ÿ›  Fix policy trigger for action execution cancellation. (bug fix)
    * ๐Ÿ‘Œ Improve error reporting for static error in ActionChain definition e.g. incorrect reference
      in default etc. (improvement)
    * ๐Ÿ›  Fix action chain so it doesn't end up in an infinite loop if an action which is part of the chain
      is canceled. (bug fix)
    * ๐Ÿ›  Fix json representation of trace in cli. (bug fix)
    * Add missing indexes on trigger_instance_d_b collection. (bug fix)
    
  • v1.1.1 Changes

    November 13, 2015

    โž• Added

    
    * ๐Ÿ‘ Allow user to specify URL which Mistral uses to talk to StackStorm API using ``mistral.api_url``
      configuration option. If this option is not provided it defaults to the old behavior of using the
      public API url (``auth.api_url`` setting). (improvement)
    
    ๐Ÿ”„ Changed
    
    • ๐Ÿ‘Œ Improve speed of st2 execution list command by not requesting result and trigger_instance attributes. The effect of this change will be especially pronounced for installations with a lot of large executions (large execution for this purpose is an execution with a large result).
    • ๐Ÿ‘Œ Improve speed of st2 execution get command by not requesting result and trigger_instance attributes.
    • Now when running st2api service in debug mode (--debug) flag, all the JSON responses are pretty indented.
    • When using st2 execution list and st2 execution get CLI commands, display execution elapsed time in seconds for all the executions which are currently in "running" state.

    ๐Ÿ›  Fixed

    
    * ๐Ÿ›  Fix a race condition in sensor container where a sensor which takes <= 5 seconds to shut down
      could be respawned before it exited. (bug fix) #2187 [Kale Blankenship]
    * โž• Add missing entry for ``st2notifier`` service to the logrotate config. (bug fix)
    * ๐Ÿ‘ Allow action parameter values with type ``object`` to contain special characters such as
      ``.`` and ``$`` in the parameter value. (bug fix, improvement)
    
  • v1.1.0 Changes

    October 27, 2015

    โž• Added

    
    * โž• Add YAQL v1.0 support to Mistral. Earlier versions are deprecated. (improvement)
    * ๐Ÿšš Move st2auth service authentication backends to a "repo per backend" model. Backends are now also
      dynamically discovered and registered which makes it possible to easily create and use custom
      backends. For backward compatibility reasons, ``flat_file`` backend is installed and available by
      default. (new feature, improvement)
    * ๐Ÿ†• New st2auth authentication backend for authenticating against LDAP servers -
      https://github.com/StackStorm/st2-auth-backend-ldap. (new feature)
    * Enable Mistral workflow cancellation via ``st2 execution cancel``. (improvement)
    * ๐Ÿ‘ Allow action-alias to be created and deleted from CLI.
    * โž• Add support for ``--profile`` flag to all the services. When this flag is provided service runs
      in the profiling module which means all the MongoDB queries and query related profile data is
      logged. (new-feature)
    * Introduce API Keys that do not expire like Authentication tokens. This makes it easier to work
      with webhook based integrations. (new-feature)
    * ๐Ÿ‘ Allow user to define trigger tags in sensor definition YAML files. (new feature) #2000
      [Tom Deckers]
    * โšก๏ธ Update CLI so it supports caching tokens for different users (it creates a different file for each
      user). This means you can now use ``ST2_CONFIG_FILE`` option without disabling token cache.
      (improvement)
    * โž• Add option to verify SSL cert for HTTPS request to the core.http action. (new feature)
    * ๐Ÿ‘ Allow user to update / reinstall Python dependencies listed in ``requirements.txt`` inside the
      pack virtual environment by passing ``update=True`` parameter to ``packs.setup_virtualenv``
      action or by using new ``packs.update_virtualenv`` action. (new feature)
      [jsjeannotte]
    * Pack on install are now assigned an owner group. The ``pack_group`` property allows to pick this
      value and default is ``st2packs``. (new feature)
    
    ๐Ÿ”„ Changed
    
    • โšก๏ธ Update CLI so st2 run / st2 execution run and st2 execution re-run commands exit with non-zero code if the action fails. (improvement)
    • 0๏ธโƒฃ Default to rule being disabled if the user doesn't explicitly specify enabled attribute when creating a rule via the API or inside the rule metadata file when registering local content (previously it defaulted to enabled).
    • Include parameters when viewing execution via the CLI. (improvement)
    • ๐Ÿ‘ CLI renders parameters and output as yaml for better readability. (improvement)
    • ๐Ÿ‘Œ Support versioned APIs for auth controller. For backward compatibility, unversioned API calls get redirected to versioned controllers by the server. (improvement)
    • โšก๏ธ Update remote runner to include stdout and stderr which was consumed so far when a timeout occurs. (improvement)
    • โฌ‡๏ธ Reduce the wait time between message consumption by TriggerWatcher to avoid latency (improvement)
    • ๐Ÿ‘ Allow user to specify value for the From field in the sendmail action by passing from parameter to the action. (improvement) [pixelrebel]

    ๐Ÿ—„ Deprecated

    
    * ๐Ÿ—„ YAQL versions < 1.0 are deprecated.
    
    ๐Ÿ›  Fixed
    ~~~~~
    
    * Fix ``timestamp_lt`` and ``timestamp_gt`` filtering in the ``/executions`` API endpoint. Now we
      return a correct result which is expected from a user-perspective. (bug-fix)
    * ๐Ÿ‘‰ Make sure that alias execution endpoint returns a correct status code and error message if the
      referenced action doesn't exist.
    * ๐Ÿ‘ Allow user to select ``keystone`` backend in the st2auth service. (bug-fix)
    * ๐Ÿ›  Fix ``packs.info`` action so it correctly exits with a non-zero status code if the pack doesn't
      exist or if it doesn't contain a valid ``.gitinfo`` file. (bug-fix)
    * ๐Ÿ›  Fix ``packs.info`` action so it correctly searches all the packs base dirs. (bug-fix)
    * ๐Ÿ›  Fix a bug in ``stdout`` and ``stderr`` consumption in paramiko SSH runner where reading a fixed
      chunk byte array and decoding it could result in multi-byte UTF-8 character being read half way
      resulting in UTF-8 decode error. This happens only when output is greater than default chunk size
      (1024 bytes) and script produces utf-8 output. We now collect all the bytes from channel
      and only then decode the byte stream as utf-8.
    * ๐Ÿšš Cleanup timers and webhook trigger definitions once all rules referencing them are removed. (bug-fix)
    * Enable pseudo tty when running remote SSH commands with the paramiko SSH runner. This is done
      to match existing Fabric behavior. (bug-fix)
    * ๐Ÿ›  Fix CLI so it skips automatic authentication if credentials are provided in the config on "auth"
      command. (bug fix)
    * Strip the last '\r' or '\r\n' from both ``stdout`` and ``stderr`` streams from paramiko and local
      runner output. This is done to be compatible with fabric output of those streams. (bug-fix)
    * Set env variables (user provided and system assigned) before running remote command or script
      action with paramiko. (bug-fix)
    * ๐Ÿ›  Fix a bug in Paramiko SSH runner where ``cwd`` could just be accessed in sudo mode but ``cd``
      was outside scope of ``sudo`` in the command generated. Now, ``cd`` is inside the scope of
      ``sudo``. (bug-fix)
    * ๐Ÿ›  Fix a bug in Paramiko SSH runner where kwargs keys in script arguments were not shell
      injection safe. For example, kwarg key could contain spaces. (bug-fix)
    * ๐Ÿ›  Fix a bug in Paramiko SSH runner where JSON output in ``stdout`` or ``stderr`` wasn't transformed
      to object automatically. (bug-fix)
    * Paramiko SSH runner no longer runs a remote command with ``sudo`` if local user and remote user
      differ. (bug-fix)
    * ๐Ÿ›  Fix a bug with the CLI token precedence - now the auth token specified as an environment variable
      or as a command line argument has precedence over credentials in the CLI config. (bug fix)
    * ๐Ÿ›  Fix st2-self-check script to check whether to use http/https when connecting to st2, to disable
      Windows test by default, and to check test status correctly. (bug-fix)
    * ๐Ÿ‘‰ Use exclusive messaging Qs for TriggerWatcher to avoid having to deal with old messages
      and related migration scripts. (bug-fix)
    * ๐Ÿ‘‰ Make sure sensor container child processes (sensor instance processes) are killed and cleaned up
      if the sensor container is forcefully terminated (SIGKILL). (bug fix, improvement)
    
  • v0.13.2 Changes

    September 09, 2015

    ๐Ÿ”„ Changed

    
    * Last newline character (``\n``) is now stripped from ``stdout`` and ``stderr`` fields in local
      and remote command/shell runners. (improvement)
    * ๐Ÿ‘‰ Make sure sensor processes correctly pick up parent ``--debug`` flag. This makes debugging a lot
      easier since user simply needs to start sensor container with ``--debug`` flag and all the sensor
      logs with level debug or higher will be routed to the container log. (improvement)
    
    ๐Ÿ›  Fixed
    ~~~~~
    
    * ``private_key`` supplied for remote_actions is now used to auth correctly. The ``private_key``
      argument should be the contents of private key file (of user specified in username argument).
      (bug-fix)
    * ๐Ÿ›  Fix sensor container service so the ``config`` argument is correctly passed to the sensor
      instances in the system packs. Previously, this argument didn't get passed correctly to the
      FileWatchSensor from the system linux pack. (bug-fix)