A lot of effort was put in 3.6 to upgrade our libraries stack. Even though we try to stay innovative, it doesn’t make sense to reinvent the wheel all the time, so we use a lot of third-party libraries. However, keeping those up-to-date while maintaining our strict backwards compatibility policy is something that’s really difficult to do. As a result, we haven’t always managed to keep up.
For 3.6, we decided it was time to catch up! So, here’s a comprehensive list of the upgrades on our libraries stack, and some tips on how to handle migration.
Jersey was upgraded from version 1.6 to 2.11, which implements jax-rs 2.0. Applications using the jersey module will need upgrading. For further reference see Jersey’s migration guide visiting this link.
Groovy was upgraded to version 2.3.7-indy. If this produces any compatibility issues with an existing script you should either update your script (recommended) or go back to a prior version by replacing the groovy jar at MULE_HOME/lib/opt
Jython 2.7.3b3 is now part of the distribution. You no longer need to install the scripting pack or include it on your app. If this produces any compatibility issues with an existing script you should either update your application/installation (recommended) or replace/delete the jython jar at MULE_HOME/lib/opt
Rhino 1.7R4 is now part of the distribution. You no longer need to install the scripting pack or include it on your app. If this produces any compatibility issues with an existing script you should either update your application/installation (recommended) or replace/delete the rhino and js-engine jars at MULE_HOME/lib/opt
Apache commons libraries were upgraded as follows:
- commons-beanutils: from version 1.8.0 to 1.9.2
- commons-codec: from version 1.3 to 1.9
- commons-exec: from version 1.1 to 1.2
- commons-net: from version 2.0 to 2.2
The dependency org.kitchen-eel:json-schema-validator was removed and replaced with com.github.fge:json-schema-validator:2.2.5. If you still need to use that dependency, you can safely add it back to your application/runtime.
Kryo (EE users only)
Kryo was upgraded from version 2.22 to 3.0.0 (shaded). kryo-serializers was also upgraded from version 0.26 to 0.27.
Java annotations API
javax.annotation:javax.annotation-api was upgraded to version 1.2. We’re now importing this dependency directly while before we did it through the geronimo-specs project.
No longer in the distribution
The following dependencies were removed from the distribution since they’re no longer necessary:
Other minor upgrades
- Guava has been upgraded to version 18.0
- xmlunit has been upgraded to version 1.5
- jackson-databind: from version 2.1.1 to 2.4.3
- joda-time: from version 1.6 to 2.5
- saxon: from version 18.104.22.168 to 22.214.171.124-HE
- woodstox-core-asl: from version 4.1.4 to 4.4.1
- stax2-api: from version 3.1.1 to 3.1.4
- XStream was upgraded from version 1.4.2 to 1.4.7
That’s all, folks
That’s it. Hope this quick guide is useful. For a more conprehensive description please visit the 3.6 Release notes ».