Release 7.x
7.8.0
New Features
Bug Fixes
7.7.0
New Features
Bug Fixes
7.6.0
New Features
Bug fixes
7.5.0
Package declaration message
In version 7.1.0, we introduced a Script Editor warning message for invalid/missing package declarations in script files. The message stated these invalid/missing package declarations wouldn't be supported from version 9.0.0 onwards. However, this is no longer the case. We will not do anything that breaks existing usage in future releases. See this page for more information.
Bug Fixes
7.4.0
Bug Fixes
7.3.0
New Features
Bug Fixes
7.2.0
New Features
Bug Fixes
7.1.0
Bug Fixes
7.0.0
Groovy 3 Update
This is the update you have all been waiting for, we have updated ScriptRunner for Bitbucket to Groovy 3! What comes with this update and how will it benefit you?
To start, the language parser has been reimplemented in Groovy 3 under the Parrot Parser codename. This new parser brings a number of syntax improvements which could benefit you as a user of ScriptRunner. The Groovy 3 syntax improvements include the following:
- Improvements that bring Groovy syntax closer to that of modern Java, such as interface default methods, Java style lambda syntax, Java style method references or try-with-resources statements.
- Additional operators, for example
!in
and!instanceof
,===
and!==
for identity comparison or null safe subscript operator.
In addition, there are a handful of minor general improvements, for example new GDK methods or the @NullCheck
AST transformation.
For a full list of changes see the release notes for Groovy 3.
Breaking Changes
There are a number of known breaking changes in Groovy 3. The breaking changes include relocation of some classes to different packages. All the other breaking changes for Groovy 3 are listed in the release notes. There are also some additional minor breaking changes in Groovy 3.0.5. and Groovy 3.0.8.
We don't believe that any of these changes are significant, or that they should affect a large number of ScriptRunner users. However, there is a chance this update may cause some of your scripts to fail.
If you have any issues please contact our customer support team here.
SrSpecification
is Deprecated
In the past, when writing tests, we provided an example to extend com.onresolve.scriptrunner.canned.common.admin.SrSpecification
.
SrSpecification
will be removed in a future release of ScriptRunner, but is still available in the current release. From now on please use spock.lang.Specification
as the base for your tests.
Jsoup update
We have updated our internal version of Jsoup to 1.15.3 due to a potential vulnerability. The key change is the replacement of org.jsoup.safety.Whitelist
with org.jsoup.safety.Safelist
. Please find more information at https://jsoup.org/news/release-1.15.1.