NullPointerException
no longer occurs when deploying domains.
Mule Runtime Engine 4.6.0 Release Notes
Mule runtime engine (Mule) is a lightweight integration engine that runs Mule applications and supports domains and policies.
This version of Mule provides important enhancements and fixes. Deploy all your new and existing applications to the latest version to benefit from the improvements.
April 2024
Patch release version: 4.6.2
This patch update addresses the following Mule issues:
Issue Resolution | ID |
---|---|
W-15159880 |
|
Hazelcast is upgraded to 5.2.5. |
W-15274674 |
Spring is upgraded to 5.3.33. |
W-15260752 |
GraalJS is upgraded to 22.3.5. |
W-15284493 |
MUnit tests using tracing module and "Set logging variable" now work as expected. |
W-14773408 |
Using |
W-15081363 |
Template parser validation is now improved. |
W-15141905 |
DataWeave 2.6.2 is bundled with the Mule 4.6.2 release. This patch release addresses the following DataWeave issues:
Issue Resolution | ID |
---|---|
Inconsistent behavior no longer occurs between in-memory and streaming XML parsers for deciding document encoding. |
W-15110015 |
Streaming for DataWeave-based data formats like |
W-15262860 |
The Excel reader no longer reads furigana characters. |
W-14991276 |
Coercion of the third parameter on the ternary function executor now works as expected. |
W-15061008 |
For guidance with the patching process, see Apply Patch Updates.
March 2024
Patch release version: 4.6.1
This patch update addresses the following Mule issues:
Issue Resolution | ID |
---|---|
Performance is now improved for certain For Each scenarios. |
W-14678431 |
HTTP Request Connector no longer throws |
W-14686211 |
Disabling the |
W-14954677 |
Multi-step batch jobs can now be correctly resumed and finished after being stopped. |
W-14726677 |
The error message is now improved for exceptions that occur when loading an extension because of Java version incompatibility. |
W-14934626 |
The error message |
W-14559071 |
Transactions' timeout is now honored. When a transaction times out, it is rolled back, and an error is thrown that can be handled with error handling. To enable this, activate the |
W-14128870 |
Memory leaks no longer occur when using the |
W-14479158 |
Java JDK |
W-14645134 |
DataWeave 2.6.1 is bundled with the Mule 4.6.1 release. This patch release addresses the following DataWeave issues:
Issue Resolution | ID |
---|---|
Performance is now improved when coercing addition and subtraction operations. |
W-14927555 |
For guidance with the patching process, see Apply Patch Updates.
February 6, 2024
What’s New
The 4.6.0 version of Mule runtime introduces the following enhancements:
Java adoption:
-
MuleSoft is adopting Java’s long-term support (LTS) release cadence, beginning with Mule runtime 4.6, which adds support for Java 17 LTS. See Java Adoption.
-
Java 17 manages memory differently than Java 8. See Application Performance.
-
Mule runtime classes are now modularized per the Java module system introduced back in Java 9 (also known as JPMS or Project Jigsaw). Reflective introspection of Mule runtime classes is now limited. To maintain backward compatibility, reflective access to classes defined within the scope of your applications and domains remains open to access.
-
Java EE libraries are now removed from Mule runtime for Java 17.
Mule Gateway improvements:
-
You can now upgrade your policies and API proxies to Java 17. See Upgrading Policies and Upgrading API Proxies.
-
Mule Gateway now supports API analytics event logging. To enable event logging, see Log Analytics Event Data.
-
Mule Gateway now supports automatically deleting cached policy files. To enable this feature, see Cached Policy Assets Deletion.
Mule SDK improvements:
-
Mule SDK (Java SDK and XML SDK) now support Java 17. See Upgrading Custom Connectors.
-
Java SDK now includes the new
@JavaVersionSupport
annotation. See Supported Java Version Concept. -
XML SDK now supports TLS. See XML SDK TLS Support.
General improvements:
-
The Joda-Time library is upgraded to version 2.12.5.
-
The GraalJS library is upgraded to 22.3.3.
DataWeave Features
The 2.6.0 version of DataWeave introduces the following new features and enhancements:
Extended format support:
-
DataWeave now supports Java 17. See Java Format.
-
Mule expression language service are now modularized.
Fixed Issues
The release addresses the following Mule issues and incorporates all patch updates from the 4.5.0 Mule release through January 2023:
Issue Resolution | ID |
---|---|
|
W-13913357 |
The Joda-Time library is upgraded to version 2.12.5. |
W-13913362 |
The GraalJS library is upgraded to 22.3.3. |
W-13961780 |
MUnit no longer fails with apps using Anypoint Connector for DotNet (DotNet Connector). |
W-14747448 |
|
W-14748090 |
Timeout is not considered for local transactions and rollbacks are silently executed. |
W-14608096 |
MediaType cache now has a maximum size to prevent leaks. |
W-14490182 |
DataWeave now uses objects as part of the Mule API. |
W-14185880 |
License installation no longer fails with |
W-14542349 |
Legacy properties builder no longer reevaluates from root resolver placeholders. |
W-14616618 |
|
W-12082402 |
HTTP Redirect no longer works on Mule runtime 4.x on HTTP Post. |
W-14619216 |
Race condition no longer results in |
W-14543363 |
Container of the Embedded Runtime no longer stops if it wasn’t created. |
W-14321634 |
Unnecessary MBeans for JMX management are no longer registered. |
W-12422473 |
Internal dependency graph is now generated only once for all validations. |
W-12421187 |
Extension model parsing no longer fails for extensions with dependencies declared as |
W-14646484 |
DataWeave 2.6.0 is bundled with the Mule 4.6.0 release. This release addresses the following DataWeave issues:
Issue Resolution | ID |
---|---|
Caching now works correctly when coercing for addition and subtraction operations. |
W-14591653 |
|
W-14514837 |
The |
W-14315728 |
Bundled Components
-
DataWeave version 2.6.0
-
Runtime Manager Agent plugin version 2.6.0
Upgrade
If you are upgrading to this version of Mule from an earlier Mule 4.x version, see Mule Upgrades and Patch Updates.
To ensure optimal performance with this version of Mule and avoid unexpected issues, update the following modules and extensions to their latest version at the time of this release:
Module or Extension | Version |
---|---|
APIkit for Mule 4 |
1.10.1 |
APIkit for OData |
2.2.1 |
APIkit for OData 4 |
1.3.4 |
APIkit for SOAP |
1.4.1 |
APIkit for GraphQL |
1.0.0 |
Spring module |
1.3.11 |
MUnit plugin |
3.1.0 |
Considerations for Mule Extension Developers
If you update the version of your parent pom.xml
file to 1.4.0 or later when you build a Mule extension, ensure that the dependencies in your pom.xml
file do not override dependencies defined in the parent pom.xml
file, and declare only the dependencies you need. If you need to declare a dependency that is already declared in the parent pom.xml
file, do not specify a version so it uses the version from the parent pom.xml
file.