StackStorm v3.6.0 Release Notes
Release Date: 2021-10-29 // over 2 years ago-
โ Added
* โ Added possibility to add new values to the KV store via CLI without leaking them to the shell history. #5164 * ๐ง ``st2.conf`` is now the only place to configure ports for ``st2api``, ``st2auth``, and ``st2stream``. We replaced the static ``.socket`` sytemd units in deb and rpm packages with a python-based generator for the ``st2api``, ``st2auth``, and ``st2stream`` services. The generators will get ``<ip>:<port>`` from ``st2.conf`` to create the ``.socket`` files dynamically. #5286 and st2-packages#706 Contributed by @nzlosh ๐ Changed
- Modified action delete API to delete action files from disk along with backward compatibility.
From CLI
st2 action delete <pack>.<action>
will delete only action database entry. From CLIst2 action delete --remove-files <pack>.<action>
orst2 action delete -r <pack>.<action>
will delete action database entry along with files from disk.API action DELETE method with
{"remove_files": true}
argument in json body will remove database entry of action along with files from disk. API action DELETE method with{"remove_files": false}
or no additional argument in json body will remove only action database entry. #5304, #5351, #5360Contributed by @mahesh-orch.
- โ Removed --python3 deprecated flag from st2client. #5305
Contributed by Amanda McGuinness (@amanda11 Ammeon Solutions)
Contributed by @blag.
- Fixed
__init__.py
files to use double quotes to better align with black linting #5299
Contributed by @blag.
- โฌ๏ธ Reduced minimum TTL on garbage collection for action executions and trigger instances from 7 days to 1 day. #5287
Contributed by @ericreeves.
- โก๏ธ update db connect mongo connection test -
isMaster
MongoDB command depreciated, switch toping
#5302, #5341
Contributed by @lukepatrick
- ๐ท Actionrunner worker shutdown should stop Kombu consumer thread. #5338
Contributed by @khushboobhatia01
- ๐ Move to using Jinja sandboxed environment #5359
Contributed by Amanda McGuinness (@amanda11 Ammeon Solutions)
- ๐ Pinned python module
networkx
to versions between 2.5.1(included) and 2.6(excluded) because Python v3.6 support was dropped in v2.6. Also pinneddecorator==4.4.2
(dependency ofnetworkx<2.6
) to work around missing python 3.8 classifiers ondecorator
's wheel. #5376
Contributed by @nzlosh
- โ Add new
--enable-profiler
flag to all the servies. This flag enables cProfiler based profiler for the service in question and dumps the profiling data to a file on process exit.
This functionality should never be used in production, but only in development environments or similar when profiling code. #5199
Contributed by @Kami.
- โ Add new
--enable-eventlet-blocking-detection
flag to all the servies. This flag enables eventlet long operation / blocked main loop logic which throws an exception if a particular code blocks longer than a specific duration in seconds.
This functionality should never be used in production, but only in development environments or similar when debugging code. #5199
Silence pylint about dev/debugging utility (tools/direct_queue_publisher.py) that uses pika because kombu doesn't support what it does. If anyone uses that utility, they have to install pika manually. #5380
๐ Fixed version of cffi as changes in 1.15.0 meant that it attempted to load libffi.so.8. #5390
Contributed by @amanda11, Ammeon Solutions
- โก๏ธ Updated Bash installer to install latest RabbitMQ version rather than out-dated version available in OS distributions.
Contributed by @amanda11, Ammeon Solutions
๐ Fixed
* Correct error reported when encrypted key value is reported, and another key value parameter that requires conversion is present. #5328 Contributed by @amanda11, Ammeon Solutions * โก๏ธ Make ``update_executions()`` atomic by protecting the update with a coordination lock. Actions, like workflows, may have multiple concurrent updates to their execution state. This makes those updates safer, which should make the execution status more reliable. #5358 Contributed by @khushboobhatia01 * ๐ Fix "not iterable" error for ``output_schema`` handling. If a schema is not well-formed, we ignore it. Also, if action output is anything other than a JSON object, we do not try to process it any more. ``output_schema`` will change in a future release to support non-object output. #5309 Contributed by @guzzijones * ๐ ``core.inject_trigger``: resolve ``trigger`` payload shadowing by deprecating ``trigger`` param in favor of ``trigger_name``. ``trigger`` param is still available for backwards compatibility, but will be removed in a future release. #5335 and #5383 Contributed by @mjtice