DataWeave 2.6.0 Release Notes

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

For more detail, see DataWeave Language.

October 2024

DataWeave 2.6.8 is bundled with the Mule 4.6.8 release. The Mule patch release addresses the following DataWeave issues:

Issue Resolution ID

DataWeave descendant selector performance is now improved.

W-16343577

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

For details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

September 2024

DataWeave 2.6.7 is bundled with the Mule 4.6.7 release. The Mule patch release addresses the following DataWeave issues:

Issue Resolution ID

DataWeave now preserves MimeType properties correctly.

W-16161736

For details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

August 2024

DataWeave 2.6.6 is bundled with the Mule 4.6.6 release. The Mule patch release addresses the following DataWeave issues:

Issue Resolution ID

Argument materialization is now improved at the dw::Runtime::try function.

W-15323897

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

W-16125755

For details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

July 2024

DataWeave 2.6.5 is bundled with the Mule 4.6.5 release. The Mule patch release addresses the following DataWeave issues:

Issue Resolution ID

Enforced Java accessibility restrictions only for Mule apps with DataWeave language level version 2.6 and later and executing with Java 17 and later.

W-15832793

Materialization issues no longer occur with schema properties.

W-15839190

The Flat File module now adds the substituteCharacterAsMissingValue reader property.

W-15571377

The Flat File module now adds the fillRedefinesByMaxLength writer property.

W-15973636

For details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

June 2024

DataWeave 2.6.4 is bundled with the Mule 4.6.4 release. The Mule patch release addresses the following DataWeave issues:

Issue Resolution ID

A java.io.IOException exception no longer occurs when writing the same binary input multiple times for JSON and XML formats.

W-14589732

The Excel writer now generates XLSX files using ZIP specification 2.0.

W-15534640

When comparing a Date with a String representation of a date, the Date format is now used to coerce the String accordingly.

W-15478713

Access error messages for Java 17 encapsulation errors are now improved.

W-15705596

For details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

May 2024

DataWeave 2.6.3 is bundled with the Mule 4.6.3 release. The Mule patch release addresses the following DataWeave issues:

Issue Resolution ID

ArithmeticException no longer executes toHex with non-integer numbers.

W-15006840

Performance degradation no longer occurs when an array is concatenated.

W-15399854

For details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

April 2024

DataWeave 2.6.2 is bundled with the Mule 4.6.2 release. The Mule 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 ndjson now works as expected.

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 details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

March 2024

DataWeave 2.6.1 is bundled with the Mule 4.6.1 release. The Mule patch release addresses the following DataWeave issues:

Issue Resolution ID

Performance is now improved when coercing addition and subtraction operations.

W-14927555

For details about the Mule release and patch updates, see Mule Runtime Engine 4.6.0 Release Notes.

February 6, 2024

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

What’s New

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.

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.5.0 DataWeave release through January 2024:

Issue Resolution ID

Caching now works correctly when coercing for addition and subtraction operations.

W-14591653

do scope declarations with pattern matching now properly reflect variable names when variables are optimized with common subexpression elimination.

W-14514837

The minInflateRatio property is now added to Excel format to control the zip bomb check threshold.

W-14315728

Upgrade

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

See Also