Contact Us 1-800-596-4880

Anypoint Code Builder Release Notes

logo cloud IDE Cloud IDE

logo desktop IDE Desktop IDE

Open Beta Release: The cloud IDE and AsyncAPI implementation support are in open beta. Any use of Anypoint Code Builder in its beta state is subject to the applicable beta services terms and conditions, available from the IDE.

Use the Anypoint Code Builder integrated development environment (IDE) for your API designs, implementations, and integration development. Work locally with Anypoint Code Builder for Desktop on Microsoft Visual Studio Code (VS Code) or from your browser with Anypoint Code Builder on Anypoint Platform. The IDEs support the development lifecycle:

  • API specification design (OAS or RAML), a mocking service for testing, source control, and publication to Anypoint Exchange

  • API implementation features for importing supported API specifications (OAS, RAML, and GraphQL) and autogenerating interfaces (scaffolding) for flows and error handlers within a Mule application

  • Integration development to connect systems, transform data to required formats, and provide business logic to manage messages and events programmatically within a Mule application

July 2, 2024

This patch release addresses Anypoint Code Builder issues.

Fixed Issues

Issue Resolution ID

You no longer have to update the runtime version when deploying a Mule application with Mule runtime version 4.6 or 4.7. This issue occurred when deploying to CloudHub from the IDE.

W-15902597

A tooling client error no longer appears after creating a Java class, adding a New operation from the Java Module to a flow, selecting the class, and then refreshing Constructor.

W-15877062

The XML now reflects changes after configuring the Send operation of Anypoint Connector for Email (Email Connector) from the component configuration panel.

W-15906937

After changing the class setting in the Class field, you no longer have to refresh the Method field before selecting from the list of methods in the class. This issue occurred when updating the Invoke, Invoke Static, or New operations from the Java Module in the configuration panel.

W-15111695

To import DataWeave libraries when using functions outside of the Core library, you no longer have to use the Quick Fix option. The DataWeave libraries are now imported automatically.

W-15673127

The feedback button for the open beta of AsyncAPI support to implement event-driven architecture now consistently appears in the canvas.

W-16084084

Patching the desktop IDE extensions requires a manual update or installation of the Anypoint Extension Pack. The cloud IDE is updated automatically.

  • Extension pack version: 1.2.2

    To use this extension pack in the desktop IDE, see Set up the Desktop IDE.

  • Cloud IDE version: 1.2.4

    This cloud IDE version runs the 1.2.2 extension pack.

For extension versions, see Change Log in the VS Code Marketplace.

For more information, see Known Issues and Compatibility.

June 24, 2024

AsyncAPI Beta: AsyncAPI 2.6 and 2.0 implementation features are now available for use in Anypoint Code Builder. The minimum Mule runtime engine requirement for this feature is Mule 4.6.

Before you can use these features, your Anypoint Platform organization administrator must accept the Beta terms and conditions from the Anypoint Code Builder landing page in Anypoint Platform. For guidance, see Implementing AsyncAPI Specifications.

Anypoint Extension Pack has not changed since the June 4, 2024 release. If you installed or upgraded your extensions on the desktop IDE in that release, no installation or upgrade is required. The cloud IDE was updated automatically in that release.

To learn about the AsyncAPI journey, see AsyncAPI Support to Implement Event-Driven Architecture.

For more information, see Known Issues and Compatibility.

June 4, 2024

Anypoint Code Builder releases new features in the Anypoint Extension Pack and the cloud IDE.

  • Extension pack version: 1.2.1

    To use this extension pack in the desktop IDE, see Set up the Desktop IDE.

  • Cloud IDE version: 1.2.1

    This cloud IDE version runs the 1.2.1 extension pack.

For extension versions, see Change Log in the VS Code Marketplace.

What’s New

The release introduces the following features:

For more information, see Known Issues and Compatibility.

DataWeave Expression Builder

Use the DataWeave expression builder when configuring your integrations and implementations from the UI.

DataWeave is a programming language designed for transforming data. Most components in Mule application flows use DataWeave expressions to select and transform messages (payload and attributes) or Mule variables.

The DataWeave expression builder helps you configure fields of components that accept expressions (fx fields). For each expression field, the feature provides an extra panel with the following tabs:

  • Data for selecting a value (payload, attributes, or a Mule variables)

  • Functions for selecting DataWeave functions to use in your expressions

    Function documentation is available from this tab by mousing over a function and getting details, including parameter descriptions and examples.

  • Preview for running the expression on sample data

In addition, you can use autocomplete from an expression (fx) field for a component to select DataWeave functions from the Core module and other values accepted in this field.

For more information about DataWeave and the Mule event structure, see DataWeave Overview and Mule Events.

Component Configuration Enhancements

Configure more of your integrations and implementations from the canvas UI. The configuration panel for components adds:

  • An Input/Output tab to existing tabs (General, Advanced, and Notes) for Mule event metadata from the payload, attributes, Mule variables

  • Support for additional data types in the configuration fields:

    • File selectors

    • Passwords

    • Array (primitive types only)

    • Union for some configurable data sets

Support for Multiple Mule Runtime Versions with Java 17 or 11

Anypoint Code Builder now supports Mule runtime versions 4.4, 4.6, and 4.7 and compatible Java versions (Java 11 or Java 17) to run Mule apps for your implementation and integration projects (see supported Mule and Java versions). In addition, when you create an integration project from a template or example project in Anypoint Exchange, the asset search displays assets set to use Mule 4.4 or higher, instead of 4.4 only.

Select the versions to run when creating or importing Mule applications in Anypoint Code Builder and when scaffolding an API specification into an implementation project.

The following settings are new in this release:

  • Mule > Application: Default Mule Runtime And Java Versions: Sets default Mule and Java versions for all projects.

  • Project Properties tabs for setting and changing Mule runtime, Java, and connector versions in an implementation or integration project.

    This feature is useful for updating to the latest minor version or when importing projects that use unsupported versions.

  • Mule: Home Directory: Set the home directory for Mule runtime and Java downloads.

    This setting replaces the runtime settings Mule > Runtime: Mule Home and Mule > Runtime: Mule Runtimes Directory, which are no longer present in the Settings tab. In addition, the IDE no longer uses the directory ${user.home}/muleRuntimes/ to store Mule runtime versions.

Anypoint Code Builder - Mule Runtime Extension (salesforce.mule-dx-mule-runtime) is removed from Anypoint Extension Pack in this release. Instead of supplying a bundled runtime, the IDE provides an interface for downloading and installing runtime versions to use in your projects.

To remove the runtime extension from VS Code, open the Extensions panel, click Anypoint Code Builder - Mule Runtime Extension, and select Uninstall.

See Version Settings for Mule, Java, and Connectors for project and default version settings.

Custom Java Classes and Code

The Java module is now bundled into Anypoint Code Builder.

When you create a new Java class in a project, Anypoint Code Builder automatically adds the necessary dependencies to the project’s pom.xml and the namespace and schema locations to the configuration XML for the project.

New integration and implementation projects now add the directories src/main/java and /src/test/java for your custom Java work.

To use auto-complete from the application XML to find module configuration options and to display lists of available Java classes and methods in a selected class, install Extension Pack for Java from Microsoft to the IDE.

Maven Settings

To avoid changing any of your preferred Maven settings in settings.xml, Anypoint Code Builder now creates a separate settings file, acb_settings.xml.

The setting Mule: Home Directory, in the Settings tab, configures the location of this file. By default, the full path to the file is {user.home}/AnypointCodeBuilder/maven/acb_settings.xml.

MUnit Support

Anypoint Code Builder introduces limited support for testing with MUnit.

Run, modify, and create MUnit tests for your implementation and integration projects in Anypoint Code Builder. Import projects that contain MUnit test files. Test configuration is supported through the XML editor only at this time. For more information, see Testing Projects with MUnit.

Some MUnit features supported by Anypoint Studio are not supported by Anypoint Code Builder in this release.

API Governance for REST APIs

Anypoint Code Builder now supports API Governance for REST APIs:

  • Check conformance status of a project.

  • Add rulesets to your project.

    You can also remove rulesets, change ruleset versions, and review ruleset configurations.

  • Run and re-run validations against your API specifications.

    For supported specifications, see Compatibility.

  • Monitor the progress of a validation.

  • Fix conformance issues.

April 19, 2024

Anypoint Code Builder updates the built-in Mule runtime engine to patch version 4.4.0-20240408.

The Mule version is updated automatically in the cloud IDE but requires a manual update or installation of the Anypoint Extension Pack in the desktop IDE.

  • Extension pack version: 1.0.8

    To use this extension pack in the desktop IDE, see Set up the Desktop IDE.

  • Cloud IDE version: 1.1.4

    This cloud IDE version runs the 1.0.8 extension pack.

For extension versions, see Change Log in the VS Code Marketplace.

For more information, see Known Issues and Compatibility.

February 14, 2024

Anypoint Code Builder releases new features in the Anypoint Extension Pack and the cloud IDE.

  • Extension pack version: 1.0.7

    To use this extension pack in the desktop IDE, see Set up the Desktop IDE.

  • Cloud IDE version: 1.1.3

    This cloud IDE version runs the 1.0.7 extension pack.

For extension versions, see Change Log in the VS Code Marketplace.

What’s New

The release introduces the following features:

Component Configuration Panel in the UI

Anypoint Code Builder introduces a configuration panel in the UI for components, such as connector operations, within integration and implementation projects. This feature simplifies component configuration.

The component configuration panel provides configuration options that are also available through the configuration XML files for your projects. Some components and fields continue to require configuration through the XML in this release. Continue to use XML for complex fields, identified as read-only fields in the UI, and for global configurations, such as connection configurations.

You can open the configuration panel from the canvas or from a configuration XML file within your project. See Add a Component to Your Project and Open a Component in the Canvas from the XML Editors.

Integration Project Creation from Templates and Examples

Anypoint Code Builder adds the ability to import a template or example from Anypoint Exchange into an integration project within Anypoint Code Builder. After importing, you can continue to develop your integration. For information about templates and examples in Exchange, see Asset Types.

For guidance with importing from Exchange, click the tab Start with a Project Template or Example in the procedure Create an Integration Project.

API Design Project Improvements

This release introduces improvements and simplifications to the design process:

  • Import API design projects from Design Center into Anypoint Code Builder. For details, see Import an API Specification from Design Center.

  • Publish your API specifications and fragments to Anypoint Exchange without first syncing your code changes with the Anypoint source control management (SCM) system.

    Creating an API design project from scratch in Anypoint Code Builder no longer spawns a corresponding design project in Design Center or creates a connection to the Anypoint SCM. For details, see Source Control for API Design Projects.

  • Set a business group for your API design project when you publish to Exchange instead of when you create the design project. For example, see the steps in Publish an API Spec to Exchange.

Configuration XML File Creation Enhancement

Anypoint Code Builder enables you to create one or more additional configuration XML files from within your integration or implementation projects. This feature is useful for adding an implementation for an interface. The feature also enables you to split complex project code into more manageable pieces. For more information, see Create an Additional Configuration XML File.

For more information, see Known Issues and Compatibility.

December 6, 2023

Anypoint Code Builder releases a patch to Anypoint Extension Pack and the cloud IDE.

  • Extension pack version: 1.0.6

    To use this extension pack in the desktop IDE, see Set up the Desktop IDE.

  • Cloud IDE version: 1.0.3

    This cloud IDE version runs on the 1.0.6 extension pack.

The patch addresses the following issues:

Description Issue

When you open the IDE, the exception dw-lang-server-language-0" java.lang.NoClassDefFoundError: org/jboss/shrinkwrap/resolver/api/maven/Maven in the Mule DX Server logs no longer occurs because of an open workspace that contains a non-Mule project, such as an API spec project or other folders or files.

W-14268344

The issue java.io.FileNotFoundException no longer occurs due to attempted parsing of files that do not exist.

W-14254505

After scaffolding an API spec into an interface within an implementation project, the IDE no longer produces the syntax validation issue Configuration type reference is not compatible (INVALID_CONFIG_REFERENCE) within the configuration XML for config-ref attribute-value pairs. Previously affected components include <http:listener/>, <apikit:router/>, and <apikit:console/>.

W-14243529

A test connection no longer fails with the error 'Invalid Connection ElementDeclaration is declaring an extension: 'HTTP' that is not part of the session: '[]' after you copy and paste an HTTP Listener configuration (<http:listener-config/>) into a new project.

W-14252415

For more information, see Known Issues and Compatibility.

October 19, 2023

Anypoint Code Builder releases a patch to the cloud IDE:

  • 1.0.2 (Cloud IDE): The cloud IDE removes the proxy for security purposes. URLs that trigger flows in the cloud IDE through the proxy no longer work. To trigger locally hosted flows that use an HTTP listener, see Triggering Flows in Your Development Environment.

There are no changes to the desktop IDE, which remains version 1.0.5.

October 16, 2023

Anypoint Code Builder releases these versions:

  • 1.0.5 (Desktop IDE): Anypoint Code Builder for Desktop (desktop IDE) is generally available (GA) in this release.

  • 1.0.1 (Cloud IDE): The cloud IDE for Anypoint Code Builder remains in open beta:

    Any use of an Anypoint Code Builder IDE in its beta state is subject to the applicable beta services terms and conditions, available from the cloud IDE.

The desktop IDE version 1.0.5 and cloud IDE version 1.0.1 both run on the same versions of the Anypoint Code Builder extensions, described in Change Log, and provide the same features.

To set up and gain access to the IDEs, see Getting Started with Anypoint Code Builder.

What’s New

This release introduces:

Open Beta

Prior to the Oct 16, 2023 release, MuleSoft released these open beta versions of Anypoint Code Builder:

September 2023 (Open Beta)

This update to the open beta introduces Anypoint Code Builder for Desktop on Windows and new features for desktop and cloud IDEs.

August 2023 (Open Beta)

This update to the open beta introduces Anypoint Code Builder for Desktop on MacOS and a new feature for desktop and cloud IDEs.

  • Anypoint Extension Pack on Visual Studio Marketplace to support API specification design (OAS 3 and RAML), API implementation, and integration development

    Install the pre-release_version. Attempting to install the _release version produces an error.

  • Support for the Mac operating system running on Intel or ARM (M1 or M2) processors (see Compatibility)

  • Desktop and cloud IDE support for the following features:

June 2023 (Open Beta)

The update to the open beta for the web-based IDE introduces these features and improvements:

  • Support for EU Cloud: EU Cloud users of Anypoint Platform can now use Anypoint Code Builder from their management plane.

    See Getting Started with Anypoint Code Builder for more information.

  • Synchronization between a local API specification and Mule project: You can now work on your API specification and its Mule project implementation simultaneously.

    Anypoint Code Builder enables you to scaffold your API specification into a Mule project without publishing it to Exchange. You can work on your Mule project, then edit the API specification, and re-scaffold it to reflect your new changes. Both API design and API implementation tasks are now synchronized. You can then publish your API specification and deploy your Mule project from there.

  • Updated UI canvas and code snippet support:

    • Directly import connectors from the canvas instead of using the dedicated command.

    • Use code snippets. See Working with Code Snippets for more information.

April 24, 2023 (Open Beta)

The update to the open beta for the cloud IDE introduces a number of features and improvements:

  • Anypoint Code Builder migrated to a new underlying architecture.

  • The URL for your cloud IDE instance changed. You can get the new URL by launching the cloud IDE from the central page or checking the IDE details.

  • Your session cookie changed, so you must update it when pinging a locally deployed application from a REST client.

April 2023 (Open Beta)

The update to the open beta for the cloud IDE introduces these features and improvements:

  • Business group support enables you to control access to resources when working with assets from Anypoint Exchange.

  • Search filters enable you to refine your search results when looking for an API asset from Anypoint Exchange. See Filtering Search Results for more information.

  • The canvas UI enables you to add components to flows in your integration.

Compatibility

Application/Service IDE Version

Anypoint Platform

Both IDEs

US and EU clouds only (not supported by MuleSoft Government Cloud or Anypoint Platform PCE at this time)

API Governance

Both IDEs

Validations for REST API specifications (OAS, OAS components, JSON schema, RAML, RAML fragments only)

CloudHub

Both IDEs

1.0 only (for deployments to the Sandbox environment)

code-server

Cloud IDE

v4.17.1 (built-in)

DataWeave

Both IDEs

Bundled with Mule runtime engine (built-in)

Java

Both IDEs

Multiple versions supported. See supported Mule and Java versions.

Maven

Both IDEs

3.9.4 (built-in)

Mule runtime engine

Both IDEs

Multiple versions supported. See supported Mule and Java versions.

Operating system

Desktop IDE

Mac OS Intel and ARM (M1 or M2), Windows 10

Visual Studio Code

Desktop IDE

Minimum version: 1.76.1
Tested versions:

  • 1.89.1 (Mac)

  • 1.82.0 (Windows)

Web browser

Both IDEs

Browser Support for Anypoint Platform

In Anypoint Code Builder, Mule applications for your implementation and integration projects are compatible with the following Mule runtime engine (Mule) and Java versions:

Supported Mule and Java versions:

Mule runtime version Java version

Mule 4.7

Java 11, Java 17

Mule 4.6

Java 11, Java 17

Mule 4.4

Java 11

Minor and major version changes to Mule require a manual update to your projects. Patch updates to Mule occur automatically when you open the project in the IDE.

Known Issues

The latest release has these known issues and workarounds:

Limitation ID

When the desktop IDE launches for the first time, a corrupted dependency (.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.pom) can block the Anypoint Code Builder - Integration Extension when extracting the Mule runtime operation.

Workaround: Delete the dependency from .m2\repository\net\minidev\accessors-smart, and re-launch the IDE.

W-14047707

When launching the cloud IDE for the first time from Anypoint Code Builder, you must allow popups.

None

The list of trusted authors for a directory or file is not persistent across different browsers.

W-12408476

The UI does not provide a notification after you change the region in settings.json.

W-13184670

Due to unfinished internal processing, the error message Mule DX API Component was not installed often occurs after you click Design an API from the Anypoint Code Builder panel in the IDE.

Workaround: Wait for the processing to complete. See Mule DX API Component Was Not Installed for more guidance.

W-14096381

The API Console ignores examples that are defined in a JSON schema.

W-14096158

There is no command to delete dependencies related to assets that you import from Exchange to an API design project.

Workaround: Remove the dependency from the dependencies node in the exchange.json file.

W-13822075

Moving the editors while searching for components from the UI canvas causes your search to be canceled.

Workaround:
Avoid rearranging your editors when using the component palette in the canvas.

W-13172200

Using autocompletion to create a parameter for the value field in the XML adds an extra #[] statement.

W-12444650

Autocompletion does not work properly when more than one connector has the same prefix.

W-10667510

If more than one project folder is open in a VS Code workspace, a project’s Governance Rulesets and Governance Results panels can fail to update because the VS Code client needs to store the state by workspace URI and retrieve the correct state for the active workspace.

When multiple project folders are in a workspace, you must select a project folder before running governance commands (such as MuleSoft: Run Governance Validation with all Rulesets and Rules) to run the command on the intended project.

Workarounds:

  • If possible, open only one project per workspace at the project’s root directory. You can open another project in a different VS Code window.

  • To update the panels, close and reopen VS Code.

W-15677742 (added 06/04/24)

Anypoint Connector for Apache Kafka (Apache Kafka Connector) does not display the Test Connection option.

W-12553536

After iteratively scaffolding an API spec into an implementation project, the Data and Functions tabs in the expression builder display the "loading" animation. This issue occurs for every field that supports DataWeave expressions.

Workaround: Run the command Developer: Reload Window.

W-15828343 (added 06/04/24)

If you configure an attribute of a component’s child element in the XML editor and that attribute accepts DataWeave expressions, the Preview tab for the corresponding field in the expression builder UI produces an Internal Error message. This issue affects all components with child attributes that accept expressions. The following example displays a child element with an attribute that contains a DataWeave expression:

Attribute with an expression in nested element of a component

W-15906886 (added 06/04/24)

When you import a Mule project from Studio to Anypoint Code Builder, a DataWeave expression can produce syntax errors (identifiable by a red, wavy underline) in the configuration XML. The issue occurs because the IDE’s tooling is unable to automatically fetch the required dependencies from Mule runtime when the project loads.

Workaround: In the pom.xml file for the imported project, add this dependency as a child of the <dependencies/> element:

<dependency>
  <groupId>com.mulesoft.services</groupId>
  <artifactId>mule-service-weave-ee</artifactId>
  <version>2.4.0-20221212</version>
  <scope>runtime</scope>
</dependency>

W-14037343

DataSense doesn’t identify functions provided by a connector.

W-12448776

DataSense doesn’t reflect array structures at the payload’s root level.

W-12263085

DataSense doesn’t work when a tag spans multiple lines.

W-12482310

DataWeave doesn’t recognize the larger context to which samples belong. So DataWeave requests sample data for all scripts within a single component.

None

DataWeave validations to produce Invalid input errors on some multiline scripts because Anypoint Code Builder does not decode Unicode characters for new lines in XML (&#10;). This limitation does not interrupt the correct execution of your Mule application.

W-11750473

Code highlighting breaks when you define a DataWeave multiline expression. This limitation does not interrupt the correct execution of your Mule application.

W-11492623

Ending a second thread in a Scatter-Gather component before the first thread finishes freezes processing in Anypoint Code Builder.

Workaround: Manually select the other thread to continue processing.

W-10601367

Updates to metadata in one component don’t trigger metadata validation in subsequent components. This issue causes Anypoint Code Builder to display potential issues in the subsequent components.

W-12215165

The Batch Job processor is not supported by the UI canvas or through auto-complete in the configuration XML.

None

DataSense occasionally doesn’t work as expected. This issue occurs when a project is created with runtime version 4.4, and other runtime versions haven’t been downloaded.

Workaround:

  1. Run the command Mulesoft: Download Mule Runtime and Java Versions.

  2. Select either runtime version 4.6 or 4.7 to download.

  3. Reopen the project. You don’t need to update the runtime version associated with the project.

W-16117373

See Also