Contact Free trial Login

Mule Runtime 4.2.2 Release Notes

November 15, 2019

Mule Runtime 4.2.2 includes the following enhancements, changes, and fixes.

New Features and Enhancements

DataWeave:

  • Tree and Value function modules are new in this release.

  • Support for xsi:types and the xsiType function in the Core function module.

  • Support streaming by Excel reader.

API Gateway:

  • General performance improvements and issues fixed.

Changes

Not applicable.

Known Limitations and Workarounds

Not applicable.

Upgrade Requirements

Not applicable.

Fixed Issues

Issue Description

MULE-17692

TypedValue throws a NPE when calling .toString() on null value.

MULE-17689

DefaultMetadataCacheManager is not reusing the ObjectStore partition.

MULE-17686

NPE when stream is re-managed after previous managing decorator is collected.

MULE-17661

NPE when trying to retrieve metadata using JMS connector.

MULE-17588

Lazy init: <notifications ..> component was not being initialized.

MULE-17560

DefaultPersistentMetadataCacheManager is created per application context, so the shared OS partitioned fails with concurrency.

MULE-17541

Lazy init: <object class="…​" '/> not lazy initialized.

MULE-17510

MetadataOutputDelegate was always setting isDynamic to false for MetadataAttributes.

MULE-17486

System.gc() called multiple times when disposing ClassLoaders.

MULE-17466

Maps should not be required to have getters.

MULE-17463

Improve performance of creating FlowBackPressureException.

MULE-17461

Improve performance of DataType cloning.

MULE-17451

Top-level object stores should be started sooner.

MULE-17449

ManagedCursors allow access to unmanaged provider.

MULE-17429

Workaround for MMP-499 in runtime.

MULE-17409

MetadataCacheIdGenerator for configuration elements is not taking into account parameters and only using DslTagId hash.

MULE-17401

Scheduler source should route emitted message through FlowProcessMediator.

MULE-17384

Extensions Maven plugin not honoring extensions dependencies.

MULE-17383

High CPU usage by VM listeners with persistent queues.

MULE-17373

Final "catch-all" check for error handlers does not account for ANY matcher.

MULE-17344

Connections associated with InputStreams should be released when stream is fully consumed.

MULE-17341

Referenced subflows are not being started after stop-start of the application.

MULE-17333

Missing hashCode method in TypedValueTypeAnnotation.

MULE-17330

Race condition when the same CursorProvider is managed twice.

MULE-17322

ComponentResultJsonSerializer uses TCCL to load by SPI type annotations contributed by extensions-api.

MULE-17313

Transaction began by using TryScope are not switching to IO.

MULE-17312

Upgrade commons-pool2 to 2.6.2.

MULE-17311

Services started by an app plugin retain app classloader after reploy/undeploy.

MULE-17300

DefaultArchiveDeployer#deployPackagedArtifact doesn’t redeploy when receiving a URI.

MULE-17298

Splash screen does not list odd-named patches.

MULE-17296

CursorProvider wrongly marked as a consumable class.

MULE-17288

CacheId for fetching metadata keys should be broader.

MULE-17277

Websockets dropped after 30 seconds idle.

MULE-17267

Race condition on source shutdown and restart on connection exception.

MULE-17264

Reintroduce the event buffering when dispatching to a flow.

MULE-17246

Deadlock when building collection DataTypes.

MULE-17240

MultiMap is losing the order when converting to ImmutableMultiMap.

MULE-17225

Loader constraint violation when trying to deploy application.

MULE-17223

MuleApp with Salesforce connector leaking MuleApplicationClassLoader after an undeploy or hotdeploy.

MULE-17218

Mule SDK is leaking extensions configurations over the time.

MULE-17182

CursorProvider set in variables are not managed.

MULE-17168

Remove soft references for app classloaders to avoid OOM on redeploy.

MULE-17166

Wrong group id for HTTP Connector in BundlePluginDependenciesResolver

MULE-17112

Internal libraries of a plugin are overridden by a sharedLib from an app.

MULE-17110

NTLM authentication with dynamic credentials is successful despite credentials changes

MULE-17102

Composite Converters which contain the same transformer chain not filtered out

MULE-17096

NullPointerException when lazy initializing subflow with async scope

MULE-17091

Object streams not automatically closed if <non-repeatable-iterable> option is selected

MULE-17081

PipelineMessageNotificationListener returns a PipelineMessageNotification with null event when an exception is raised in the Mule flow.

MULE-17080

Upgrade SLF4J to 1.7.26

MULE-17077

PersistentQueueTransactionContext#poll not honoring timeout

MULE-17065

Scatter gather and Parallel Foreach are not working inside error handler

MULE-17048

Race condition when stopping a flow with an inflight event in an async block

MULE-17045

Connections are not closed when streaming operation fails

MULE-17025

ErrorHandler raising error not working

MULE-17023

Nested Try is rolling back tx created by outer try

MULE-17019

Unauthorize operation does not reset ConnectionProviders

MULE-16994

Use of cache instead of WeakHashMap to avoid infinite loop in DefaultLifecycleInterceptor

MULE-16979

Review choice

MULE-16974

FTP reconnection strategy repeat the "start delay" wait time

MULE-16920

"Cannot process event as 'flow' is stopped" when disposing and reinitializing source

MULE-16890

AdoptJDK shown as un unsupported vendor

MULE-16889

DefaultDomainManager#getDomain should retrieve a compatible version of the required domain

MULE-16817

Pooled connections are not removed from the pool when they should evict.

MULE-16786

Dynamic configurations eviction should consider sources as in-flight operations.

MULE-16285

Interception API: Smart connectors inside scopes are not skipped properly.

MULE-15991

No transformers for Iterator to byte[] or String cause error.

MULE-10347

Generics are not resolved for Map implementations.

MULE-17281

SDK needs to allow operations to obtain the effective retry policy.

MULE-17257

Add more detail to FlowBackpressureException.

MULE-17185

Flowref flatmap removal leads to a notorious throughput decrease in the static-flow-ref-subflow case.

MULE-17161

Allow SDK to specify that certain configs should never be used in an implicit way.

MULE-17114

Add the notImported information from MULE-17112 into the plugins packager.

MULE-17111

Create API to propagate a whole custom event when an error occurs in a Processor.

MULE-17079

Remove flatMap from ProactorStreamProcessingStrategy#proactor.

MULE-17001

Avoid unneeded message creation in source callback.

MULE-16980

Allow Maven dependency resolution to always update snapshot dependencies.

MULE-16954

Improve logging infrastructure performance.

MULE-16513

Perform flow back-pressure check before source policies are applied.

MULE-16215

Make infrastructure parameters to appear as not required for metadata.

EE-6968

Avoid references to application classloader in grizzly/reactor static fields in backtrace.

EE-6927

EE version is loading mule-service-weave and mule-service-weave-ee.

EE-6889

JdbcMapStore#loadAll(keys) should only load keys passed as parameter.

EE-6871

Choice performance degradation for Java use case.

EE-6866

When thread waiting in Hz is interrupted, and InterruptedException is not thrown immediately.

EE-6860

Escape table names in Microsoft SQL database store query builder strategy.

EE-6857

File leak when getting dw file for transformation.

EE-6852

Unlock hazelcast lock in the same thread where it was locked.

EE-6834

HTTP Policy module has no Extension model.

EE-6830

Tracking processors are marked as UNKNOWN instead of OPERATION.

EE-6377

Batch Aggregator does not support a JSON payload.

EE-6338

A project using NetSuite fails with OOM after a few redeployments.

EE-6898

Add a way to configure the hazelcast property MERGE_FIRST_RUN_DELAY_SECONDS.

EE-6873

Replace slashes with underscores in TableNameNormalizer.

EE-6867

HazelcastLockProvider should call MapNameNormalizer method to normalize map names.

EE-6864

Escape table names in PostgresSQL database store query builder strategy.

AGW-3506

Analytics are only notified for only one app.

AGW-3409

Analytics events are set with HTTP status code to zero when a request arrives and the policy is being disposed of.

AGW-3375

Fixes the issue when the local contracts database is corrupted.

AGW-3074

Fixes inconsistent error messages and status codes for Basic Auth LDAP-based policy.

SE-13232

Rate limiting SLA policies taking up huge heap in Mule 4.1.5.

SE-13091

JWT policy high performance issue.

DataWeave

  • Fix (SE-12381): Execute simple script on startup to warm up class loader.

  • Fix (SE-12381):Load DataFormats on startup and load other modules.

  • MDF-338: Add com.mulesoft.dw.directbuffer.disable to disable direct buffer.

  • Fix NullPointerException when capture groups don’t match on an optional block.

  • Fix: Avoid memory leak when automatic coercion of operations.

  • Fix (SE-12381) Make Core load at startup time.

  • Fix (SE-13172) Fix the CSV parser for files that are larger than 2G.

  • Fix (SE-13334): Fix documentation of the max function.

  • Fix (SE-13071): DataWeaveTypeEmitter should escape literal strings.

  • Fix: Periods should support seconds and fractions of seconds.

  • Fix: Start using Long instead of Int to capture the size of elements and for index selectors.

  • Provide one runtime API to execute DW scripts. Document APIs. Improve DataWeaveScriptingEngine.

  • Try to make WeaveLang ModuleParser global to all apps.

  • Fix #386: Upgrade Java mail (#448).

  • Fix: Read consecutive backslashes correctly in CSV.

  • Fix issue with Excel reader.

  • Improve performance of documentation parsing.

  • Fix (SE-12787): Add support for xsi:types. This type needs to be semantically interpreted.

  • Fix (SE-12627): Fix issue writer properties with camel case needs to be to lower case

  • Fix (SE-12654): Excel streaming feature

  • Fix #425: Support coercion to generics and wrap in optional.

  • Fix #440: Iterator throwing Stream Already Closed.

  • Fix: Avoid bubbling Java exceptions when using sleep and readUrl.

  • Fix #434: Descendant selector is not taking into account child keys.

  • Fix #435: Fix type equality. typeOf("a") == String should be true.

  • Add: Implementations of Tree and Values module.

  • Fix (SE-12733): Fix importing a Mule connector module from another module.

  • Fix: Support for dynamic names on attributes.

  • Fix (SE-12518): Writer Properties not working in Logger.

  • Fix: Try function should make sure that everything is being executed eagerly.

  • Fix: Type pattern matcher with union types and Any.

  • Fix #433: Fix type inference for type pattern matching.

  • Add a system property to identify what closes the stream.

  • Fix #432: Descendant selector was returning non-consumed iterators.

  • Fix (SE-12393): Improve performance on looking for a DataFormat from ID.

  • Fix (SE-12327): Improve performance on divideBy performance. Also increase append performance and prepend performance.

  • Fix (SE-12393): Add system property com.mulesoft.dw.coercionexception.verbose to turn off verbose messages.

  • Fix: Binary data should be written in base64 by the Weave writer

  • Add new DataWeave reader that is more performant.

This version of Mule runtime is bundled with the Runtime Manager Agent plugin version 2.4.3.

Was this article helpful?

💙 Thanks for your feedback!