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

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

Added
~~~~~

* Add ``regex_substring`` Jinja filter for searching for a pattern in a provided string and
  returning the result. (improvement)

  Contributed by mierdin. #3482
* Add test coverage and test timing capabilities to ``st2-run-pack-tests``.
  The ``-c`` option enables test coverage and the ``-t`` option enables test timings.
  These capabilities have also been enabled in the ci pipeline for packs in the exchange.

  Contributed by <NAME>. #3508
* Update ``st2`` CLI so it also displays "there are more results" note when ``-n`` flag is
  used and there are more items available. (improvement) #3552

Changed
~~~~~~~

Fixed
~~~~~

* Fix st2client to display unicode characters in pack content description. (bug-fix) #3511
* Don't automatically append ``.git`` suffix to repo URIs passed to ``packs.download`` action.
  This fixes a bug and now action also works with repo urls which don't contain ``.git`` suffix.
  (bug fix)

  Contributed by carbineneutral. #3534 #3544
* st2 pack commands now work when StackStorm servers are behind a HTTP/HTTPS proxy. You can set
  ``http_proxy`` or ``https_proxy`` environment variables for ``st2api`` and ``st2actionrunner``
  processes and pack commands will work with proxy. Refer to documentation for details on
  proxy configuration. (bug-fix) #3137


2.3.1 - July 07, 2017
---------------------

Added
~~~~~

* Add support for ``passphrase`` parameter to ``remote-shell-script`` runner and as such, support
  for password protected SSH key files. (improvement)

  Reported by <NAME>, <NAME>.
* Add ``json_escape`` Jinja filter for escaping JSON strings. (improvement)

  Contributed by mierdin. #3480
* Print a note to stderr if there are more entries / results on the server side which are displayed
  to the user for the following ``list`` CLI commands: ``rule``, ``execution``,<commit_msg>Update changelog<commit_after>Changelog
=========

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

Added
~~~~~

* Add ``regex_substring`` Jinja filter for searching for a pattern in a provided string and
  returning the result. (improvement)

  Contributed by mierdin. #3482
* Add test coverage and test timing capabilities to ``st2-run-pack-tests``.
  The ``-c`` option enables test coverage and the ``-t`` option enables test timings.
  These capabilities have also been enabled in the ci pipeline for packs in the exchange.

  Contributed by <NAME>. #3508
* Update ``st2`` CLI so it also displays "there are more results" note when ``-n`` flag is
  used and there are more items available. (improvement) #3552

Changed
~~~~~~~

Fixed
~~~~~

* Fix st2client to display unicode characters in pack content description. (bug-fix) #3511
* Don't automatically append ``.git`` suffix to repo URIs passed to ``packs.download`` action.
  This fixes a bug and now action also works with repo urls which don't contain ``.git`` suffix.
  (bug fix)

  Contributed by carbineneutral. #3534 #3544
* st2 pack commands now work when StackStorm servers are behind a HTTP/HTTPS proxy. You can set
  ``http_proxy`` or ``https_proxy`` environment variables for ``st2api`` and ``st2actionrunner``
  processes and pack commands will work with proxy. Refer to documentation for details on
  proxy configuration. (bug-fix) #3137
* Fix no-member linting error on U16 by ignoring mistralclient.api.v2.executions module.


2.3.1 - July 07, 2017
---------------------

Added
~~~~~

* Add support for ``passphrase`` parameter to ``remote-shell-script`` runner and as such, support
  for password protected SSH key files. (improvement)

  Reported by <NAME>, <NAME>.
* Add ``json_escape`` Jinja filter for escaping JSON strings. (improvement)

  Contributed by mierdin. #3480
* Print a note to stderr if there are more entries / results on the server side which are displayed
  to the user for the following ``list`` CLI commands: ``rule``, ``execution``,
{'fraction_non_alphanumeric': 0.11761710794297352, 'fraction_numerical': 0.02469450101832994, 'mean_word_length': 3.9235588972431077, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3042959', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1079, 'n_words': 520}