Contact Us 1-800-596-4880

Mule Runtime Engine 4.8.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.

October 8, 2024

What’s New

The 4.8.0 version of Mule runtime introduces the following enhancements:

Release cadence support coverage:

  • The LTS channel now offers 18 months of Standard Support and 6 months of Extended Support, with a six-month overlap between minor LTS versions, starting with Mule 4.6 LTS. The Edge channel now provides 5 months of Standard Support and 3 months of Extended Support, ensuring a one-month overlap between minor Edge versions, starting with Mule 4.8 Edge.
    See Edge and LTS Releases for Mule.

Feature Flagging Mechanism:

  • Mule 4.8 incorporates new feature flags. See Feature Flagging for a detailed description of each feature flag and configuration instructions.

Runtime Manager agent:

General improvements:

  • The org.apache.maven.plugins:maven-compiler-plugin dependency is upgraded to 3.13.0.

  • The commons-io:commons-io is upgraded to 2.16.1.

  • The dependency org.jruby:jruby-complete is upgraded to 9.4.7.0.

  • The io.opentelemetry:opentelemetry-bom is upgraded to 1.37.0.

  • The org.springframework.security:spring-security-core is upgraded to 5.7.12.

  • The dependency com.google.code.gson:gson is upgraded to 2.11.0.

DataWeave Features

The 2.8.0 version of DataWeave introduces the following new features and enhancements:

Reuse types:

General improvements:

Fixed Issues

The release addresses the following Mule issues and incorporates all patch updates from the 4.7.0 Mule release through September 2024:

Issue Resolution ID

The io.opentelemetry:opentelemetry-bom is upgraded to 1.37.0.

W-15478554

The org.springframework.security:spring-security-core is upgraded to 5.7.12.

W-15761385

The dependency com.google.code.gson:gson is upgraded to 2.11.0.

W-15838633

A validation is added to ensure that domains using the import target have the same top-level element as the importing file.

W-15509819

InitialisationException is no longer thrown when using the Raise Error component with an extra space at the end of the type field.

W-16237424

The configuration-properties encoding parameter is no longer ignored.

W-12228892

ChainInputResolver annotations are no longer ignored if there are no input, output, or metadata key resolvers.

W-16408471

WSC consume operation no longer fails when there’s an HTTP TLS transport configuration.

W-16288302

Properties are now resolved during application packaging.

W-15959903

java.lang.InstantiationError : java.util.Map is no longer thrown when applying an authentication policy.

W-16595277

Fatal errors no longer occur when loading native libraries in Java 17.

W-16787783

Kryo serialization now works as expected when executing the Rate Limit policy in Java17.

W-16843706

When the feature flag anypoint.platform.keep.default.policy.format is set to true or the policy min Mule version is at least 4.5.0, the policy name format is ${policyName} @ ${artifactName} - ${flowName}.

W-16169887

The logging for the analytics .db files cleanup is now improved.

W-16624763

Mule Gateway applies Gatekeeper between editions of policy configuration.

W-16225792

DataWeave 2.8.0 is bundled with the Mule 4.8.0 release. This release addresses the following DataWeave issues:

Issue Resolution ID

Configuring a writer as deferred now requires Mule runtime privileges.

W-15398837

The avroschema! module loader is created to enable metadata extraction from Avro schemas.

W-15518930

Type error messages generated in Lambda functions are now improved.

W-16082839

Type inference is now improved when accessing properties of objects.

W-14222927

Type inference inside if/then branches is now improved.

W-15607520

The Avro type now maps to Java’s ArrayBuffer instead of BigDecimal.

W-15607759

The regression is now resolved allowing references to types defined later in the script.

W-15197016

Streaming capability for arguments at sum, countBy, and sumBy functions is now enabled.

W-16125755

Input/output MimeType properties are now preserved as expected.

W-16161736

Access error for Java 17 encapsulation errors is now improved.

W-15705596

Coercion error is now caught inside try as expected.

W-15323897

Bundled Components

  • DataWeave version 2.8.0

  • Runtime Manager Agent plugin version 2.6.5

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.11.1

APIkit for OData

2.3.0

APIkit for OData 4

1.5.2

APIkit for SOAP

1.5.1

APIkit for GraphQL

1.1.0

Spring module

1.4.0

MUnit plugin

3.3.1

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.