<commit_before>Changelog
=========

in development
--------------

Added
~~~~~

* Add pack config into action context. This is made available under the ``config_context`` key.
  #3183
* Add new ``?events``, ``?action_refs`` and ``?execution_ids`` query params to ``/v1/stream/``
  API endpoint. Those query parameters allow user to filter out which events to receive based
  on the event type, action ref and execution id. By default, when no filters are provided, all
  events are returned. (new feature)

Changed
~~~~~~~

* Install scripts and documentation has been updated to install MongoDB 3.4 by default (previously
  3.2 was installed by default). If you want to upgrade an existing installation, please follow
  official instructions at https://docs.mongodb.com/v3.4/release-notes/3.4-upgrade-standalone/.<commit_msg>Update changelog.<commit_after>Changelog
=========

in development
--------------

Added
~~~~~

* Add pack config into action context. This is made available under the ``config_context`` key.
  #3183
* Add new ``?events``, ``?action_refs`` and ``?execution_ids`` query params to ``/v1/stream/``
  API endpoint. Those query parameters allow user to filter out which events to receive based
  on the event type, action ref and execution id. By default, when no filters are provided, all
  events are returned. (new feature)
* Add new feature which allows Python runner action output (stdout and stderr) to be streamed
  and consumed in real-time by using one of the following approaches:
    * ``/v1/executions/<execution id>/stdout`` and ``/v1/executions/<execution id>/stderr`` API
      endpoint.
    * ``/v1/stream/`` stream endpoint and listening for ``st2.execution.stdout__create`` and
      ``st2.execution.stdout__create`` events.
    * ``st2 execution tail <execution id>`` CLI command (underneath it uses stream API endpoint).
  (new feature) #2175 #3657

Changed
~~~~~~~

* Install scripts and documentation has been updated to install MongoDB 3.4 by default (previously
  3.2 was installed by default). If you want to upgrade an existing installation, please follow
  official instructions at https://docs.mongodb.com/v3.4/release-notes/3.4-upgrade-standalone/.
{'fraction_non_alphanumeric': 0.11965423111919928, 'fraction_numerical': 0.018198362147406732, 'mean_word_length': 4.02054794520548, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5779483', 'n_tokens_mistral': 621, 'n_tokens_neox': 590, 'n_words': 260}