DataWeave 2.8.0 Release Notes

Unresolved include directive in modules/ROOT/pages/dataweave/dataweave-2.8.0-release-notes.adoc - include::dataweave::partial$dataweave-intro.adoc[]

For more detail, see DataWeave Language.

October 8, 2024

DataWeave 2.8.0 is bundled with the Mule 4.8.0 release. For details about the Mule release, see Mule Runtime Engine 4.8.0 Release Notes.

What’s New

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

Reuse types:

General improvements:

Compatibility

The following table specifies which version of DataWeave is bundled with each Mule runtime engine release:

Mule Version DataWeave Version

4.8

2.8

4.7

2.7

4.6

2.6

4.5

2.5

4.4

2.4

4.3

2.3

4.2

2.2

4.1

2.1

3.9

1.2

3.8

1.1

3.7

1.0

Fixed Issues

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

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

Upgrade

This version of DataWeave is bundled with Mule. DataWeave upgrades take place through Mule. See Mule Upgrades and Patch Updates.

See Also