v3.6.0
https://stackstorm.com/2021/12/16/stackstorm-v3-6-0-released/
3.6.0 - October 29, 2021
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 forst2api
,st2auth
, andst2stream
.We replaced the static
.socket
sytemd units in deb and rpm packages with a python-based generator for the
st2api
,st2auth
, andst2stream
services. The generators will get<ip>:<port>
fromst2.conf
to create the.socket
files dynamically. #5286 and st2-packages#706Contributed 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 #5299Contributed 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, #5341Contributed 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. #5376Contributed 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. #5199Contributed 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. #5358Contributed 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. #5309Contributed by @guzzijones
-
core.inject_trigger
: resolvetrigger
payload shadowing by deprecatingtrigger
param in favor oftrigger_name
.
trigger
param is still available for backwards compatibility, but will be removed in a future release. #5335 and #5383Contributed by @mjtice