Skip to content

Releases

v10.3.0

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 19 Nov 12:26

Features

  • transactionalPush now references its MobilePush application as r__mobilePushApp_key and r__mobilePushApp_name instead of storing applicationId, like mobilePush and journey activities. On deploy the key is tried first and the name is used when the key does not exist on the target BU, so transactional push messages can be deployed across BUs without swapping the application ID by hand. Files that still carry a plain applicationId are deployed unchanged. Addresses #2722.
  • The key of a mobilePushApp is now its ID, the value the Marketing Cloud GUI shows for an application, instead of an encoded text that appeared nowhere in the GUI and that the API did not accept. Application files are named by ID, and r__mobilePushApp_key in mobilePush, journey and transactionalPush holds that ID. mcdev retrieve <bu> mobilePushApp <id> now works. Addresses #2723.

Migration

Re-retrieve the four affected types once, on every branch you keep, and commit the result:

mcdev retrieve <cred>/<bu> "journey,mobilePush,transactionalPush,mobilePushApp"

This rewrites the references and replaces the application files, including their file names. Nothing breaks if you deploy first: references in the old form are still understood on deploy. See the migration guide in the wiki.

Full Changelog: v10.2.0...v10.3.0

v10.2.0

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 16 Nov 20:45

Features

  • Support create, update and delete for attributeGroup and attributeSet. Addresses #2712.
  • Multi-step journeys no longer cause their own mobilePush and mobileMessage items (created by Journey Builder when a journey is published) to be retrieved or deployed. They are skipped, and the journey keeps referencing them. Addresses #2717.

Bugfixes

  • Deploying journey folders no longer fails with API Permission Failed (Code 7). Updating journey, automation and triggered send journeybuilder folders is skipped. Addresses #2716.
  • Formatting on retrieve and deploy no longer corrupts code next to personalization strings or AMPscript inside <script> strings (prettier-plugin-sfmc 2.2.1). Addresses #2719.

Dependencies

  • Update prettier-plugin-sfmc to 2.2.1 and eslint-plugin-sfmc to 5.3.0.
  • Refresh compatible runtime and development dependencies, including Mocha 12.0.3. Unicorn stays at 76.0.0 within the analyzed SFMC compatibility ceiling.

Full Changelog: v10.1.1...v10.2.0

v10.1.1

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 26 Oct 15:51

Bugfixes

  • Offer an optional asset-migration hand-off after successfully upgrading a pre-v10 project. Unattended upgrades warn without launching migration. Addresses #2696.
  • Correct shared Data Extension repair selection and boolean --purge / --no-purge handling for build and clone commands. See #2698.
  • Push the current branch during initial Git setup instead of assuming master. See #2694.

Dependencies

  • Refresh compatible runtime and development dependencies, including follow-redirects 1.16.2.
  • Retain Mocha 11.8.0 for editor test-adapter compatibility and Unicorn 76.0.0 within the analyzed SFMC compatibility ceiling.

Full Changelog: v10.1.0...v10.1.1

v10.1.0

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 14 Oct 11:14

Added

  • Git is now optional for init and upgrade. If Git is unavailable, mcdev shows a warning and continues without Git-specific steps. mcdev join and Git-backed delta generation still require Git to be installed separately.
  • Improved support for bundled installations, preparing mcdev to run from the VS Code extension without a separate global installation.

Fixed

  • Updated sfmc-sdk to 4.0.2, fixing the authentication blocker caused by newly added Salesforce Marketing Cloud scopes. Unknown scopes no longer cause SDK validation errors; this does not grant missing permissions.
  • Recursive commands now use the active mcdev installation and Node.js runtime rather than another installation on PATH.
  • The SFMC formatter plugin now resolves from the active mcdev package.
  • Bundled installations now show appropriate upgrade guidance instead of recommending a global installation update.

Full changelog: v10.0.0...v10.1.0

v9.0.4

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 14 Oct 22:04

Fixed

  • Resolved an authentication blocker caused by newly introduced Salesforce Marketing Cloud scopes. Updated sfmc-sdk to 4.0.2 so previously unknown scopes no longer cause authentication to fail.

Requirements

  • Node.js ^22.22.2 || >=24.15.0 is now required. Node.js 20 is no longer supported. Upgrade Node.js before installing this release.

Staying on mcdev v9

This maintenance release brings the authentication fix to v9 without requiring migration to mcdev v10.

Install or update using the dedicated maintenance channel:

npm install --global mcdev@legacy-v9

The v9 release workflow explicitly publishes to the legacy-v9 npm dist-tag, leaving the v10 latest channel unchanged.

Full Changelog: v9.0.3...v9.0.4

v10.0.0

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 11 Oct 14:56

Breaking Changes

Before upgrading, review the v10 migration guide for complete migration steps, tooling changes, and asset-layout updates.

  • Raised the minimum Node.js version to 22.22.2 within Node.js 22, or 24.15.0 and newer (^22.22.2 || >=24.15.0). Node.js 20, 21, and 23, and earlier patches of Node.js 22/24, are no longer supported. Update your local, CI/container, and editor runtimes before upgrading. (#2643)
  • Replaced legacy formatting and linting tooling with prettier-plugin-sfmc and eslint-plugin-sfmc. Beauty AMP formatter helpers and .beautyamp.json are removed, and generated projects now use the SFMC formatter defaults unless overridden. See the migration guide for upgrading existing project configuration. (#2641, #2643)
  • Reorganized asset groups and local folder paths: message → email, jsonmessage → mobile, and web-related assets → webstudio. jsonmessagetemplate remains in the template group. Use the new mcdev migrate <cred/bu> command to migrate existing retrieve folders. (#2646) @JoernBerkefeld
  • Changed the local file layout for mobile jsonmessage assets. Supported push, SMS, and in-app message content is now extracted into editable .amp files alongside the asset JSON rather than kept inline. See the migration guide before using existing retrieved files. (#2677)
  • Removed the deprecated retrieveAsTemplate command. Update scripts to use the supported retrieve and buildTemplate workflow described in the migration guide. (#2680)
  • Removed automatic update notifications. mcdev no longer performs background npm registry checks or displays passive “new version available” notifications. (#2654)

Features

  • Added mcdev migrate <cred/bu> to migrate one Business Unit’s existing retrieve tree to the v10 asset layout without server calls. Deploy and template trees are left untouched; conflicting destinations are reported and the affected asset is left in place rather than partially moved. (#2646)
  • Added automatic asset sharing during deployment, including a --shareAsset option for template building and deployment. Also expanded templating support for nested stringification paths with wildcards. By @kacperkruger. (#2528)
  • Added reverse dependency lookup for asset refresh. Refreshing a content block can now find the emails that reference it and refresh their linked triggered sends in the selected Business Unit. Run it independently with mcdev refresh or after deployment with --refresh. By @yuliialikhyt. (#2547)
  • Added regular-expression market variables for templating. Configure search, replace, and an optional template replacement with capture groups for more selective substitutions. Existing scalar market variables remain compatible. (#2668)
  • Added parsing for mobile jsonmessage assets, extracting push/in-app titles and messages and SMS message content into editable .amp files and merging them back during deployment. (#2677)
  • Added metadata support for previously unsupported asset subtypes: packagedefinition, packagedeployment, enhanceddynamicblock, iccloudpageblock, einsteincontentselectionblock, einsteincontenttesting, jsonmessagetemplate, and jbtemplate. These additions do not include subtype-specific code parsing. (#2520)
  • Unified output formatting through Prettier and prettier-plugin-sfmc, including AMPscript, SSJS, SQL, HTML, and JSON. Unsupported or unresolved file types are preserved unchanged rather than blocking output generation. (#2641)

Bug Fixes

  • Fixed production-only installations with npm ci --omit=dev by declaring missing runtime dependencies. (#2647)
  • Fixed retrieval by key for metadata types that require fetching the full list first. (#2652)
  • Allowed assets to be retrieved again even when their existing local JSON is invalid. (#2669)
  • Reset the verification key map before retrieving automations to prevent stale state from carrying over between retrievals. (#2678)
  • Updated createDeltaPkg to ignore byte-identical asset-regrouping moves while keeping moved-and-edited assets actionable at their new paths. (#2646)

Chores

  • Simplified templating logs when an asset’s name and key are identical. (#2671)
  • Updated VS Code file-nesting patterns for the new asset groups and removed the retired AMPscript extension recommendation. (#2646)
  • Reduced startup overhead by loading Prettier, prettier-plugin-sfmc, and the XML parser only when needed. (#2654)
  • Updated CI actions: actions/checkout 6 → 7, actions/setup-node 6 → 7, and dawidd6/action-download-artifact 19 → 27 across successive updates. (#2627, #2631, #2600, #2661)

Dependencies

  • Refreshed runtime and development dependencies for v10, including additional updates beyond the individual Dependabot PRs below. (#2650)
  • Removed update-notifier, toposort, cli-progress, yocto-spinner, and simple-git; replaced sorting, terminal progress, and Git integration with internal implementations. (#2654)
  • Updated HTTP/XML dependencies: axios, fast-xml-builder, fast-xml-parser, and fast-uri. (#2606, #2604, #2599, #2611, #2662, #2605)
  • Updated linting, formatting, and type-checking dependencies: eslint, eslint-plugin-unicorn, eslint-plugin-jsdoc, globals, prettier, and @types/node. (#2608, #2582, #2612, #2609, #2614, #2613)
  • Updated inquirer and picomatch. (#2610, #2579)
  • Updated simple-git during development before removing it in favor of native Git integration. (#2602, #2597, #2654)

New Contributors

Full Changelog: v9.0.3...v10.0.0

v9.0.3 - dataExtensions

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 24 Mar 22:11
7697057

Bugfixes

  • #1838 fix shared dataExtensions not resolved if linking type is retrieved together with dataExtensions in #2545
  • #2544 fix shared dataExtension fields not resolved in journey UPDATECONTACTDATA activity in #2546
  • #2568 fix type filter referencing dataFilter with wrong name breaking build --dependencies by @JoernBerkefeld in #2569
  • #1834 fix build not finding shared dataExtensions when run on child BU in #2552

Chores

  • #2145 Warn about dataExtension fields needing manual deletion after deploy in #2548
  • #2549 create copilot-instructions.md and update branch/hook support for copilot agents in #2550

Dependencies

Full Changelog: v9.0.2...v9.0.3

v9.0.2 - dependencies

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 10 Mar 11:09

Dependencies

Full Changelog: v9.0.1...v9.0.2

v9.0.1 - folder fixes

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 07 Mar 19:30

Bugfixes

  • #2400: prevent folder creation skip when same path exists in another BU in #2533
  • #1781: fix folder path when folder name contains slash character in #2534

Dependencies

Full Changelog: v9.0.0...v9.0.1

v9.0.0 - dependencies

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 20 Feb 15:53

Breaking Change

Dependencies

Full Changelog: v8.4.0...v9.0.0