DataWeave 2.7.0 Release Notes

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

For more detail, see DataWeave Language.

September 2024

DataWeave 2.7.3 is bundled with the Mule 4.7.3 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.7.0 Release Notes.

August 2024

DataWeave 2.7.2 is bundled with the Mule 4.7.2 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.7.0 Release Notes.

July 2024

DataWeave 2.7.1 is bundled with the Mule 4.7.1 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.7.0 Release Notes.

June 4, 2024

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

What’s New

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

DataWeave module features:

  • The Mime module (dw::module::Mime) is new.

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.6.0 DataWeave release through May 2024:

Issue Resolution ID

Validation for type parameter usage in non-generic types now works as expected.

W-15206030

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

W-14589732

MIME type module is now added to operate over MIME types.

W-15523246

Processing of large union and intersection types is now improved.

W-15510515

Referencing of types defined in the script now works as expected.

W-15160402

DataWeave verifier no longer hangs with recursive Union Types.

W-15111303

Validation for type references in constrained generics is now added.

W-14757325

Type check for function generics now works as expected.

W-15083938

Recursive detection of type parameters now works as expected.

W-15161985

Configurable caching service is now added.

W-14894233

Support for metadata as Objects is now added.

W-14901297

Validation of type wildcards now takes into account additional fields.

W-14380720

IndexOutOfBoundsException no longer occurs with Lambdas on pattern matching.

W-14489821

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

Compilation error now works as expected with type parameters in functions.

W-15520252

Upgrade

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

See Also