January 25, 2018
It’s a New Year, and time for a new version of StackStorm. 2.6 is available for download now. The biggest change is moving the Web UI to the React JS framework, but of course there’s also multiple user- and developer-friendly fixes and enhancements in the backend. Read on to hear more about what’s changed:
Our Web UI was originally written using Angular. That served us well, but we had a number of issues, and we wanted to move to newer, more flexible framework. Thanks to a lot of work from a few clever developers, we’ve switched this to React. At first glance, you might think it looks pretty similar to before:
But as you start poking around you’ll notice a few changes. We’ve closed a number of long-standing issues. Small things that make a difference – e.g. remembering the state of the “Wrap newlines” button, more filters for the History tab, and key-bindings to make life easier.
This also sets us up for further enhancements, such as better support for colorblind users. We’re also planning a bigger overhaul of the UX, and now we’re in a position to do that.
Workflow Composer users will also see that we’ve started switching colors and logos:
This is not yet complete. You’ll still see a few Brocade references around the place. We’re planning to complete this migration in the next release.
On to the other changes!
Here’s some of the improvements and fixes that developers will appreciate:
lib
directory to share code between actions and sensors. See the docs to understand how to use this.st2.conf
.And here’s more user-facing changes:
st2 {run|action execute|execution re-run}
commands now support the --tail
flag. This will automatically follow the requested action output.core.local
and core.remote
now support password-protected sudo
using the sudo_password
runner parameter.st2 execution list
using the --last -1
flag.\n
characters were showing up in some execution outputs. This has been been cleaned up.Other changes of note:
from st2actions.runners.pythonrunner import Action
, this should be updated to use from st2common.runners.base_action import Action
. The legacy style is deprecated, and will be removed in 2.7.0. All packs on the Exchange have been updated to use the newer style. Make sure you update our packs, including the core st2 pack. Run st2 pack install st2
to pull down the latest version.As always, full details in the changelog.
Thank you to everyone that contributed in some way towards this release.
Packages are now available in apt
and yum
repos. Make sure you backup first, and follow the General Upgrade Procedure to upgrade. We also recommend checking your packs for updates.
As always, if you run into any problems, get in touch via Slack or GitHub.