Repository navigation
Releases
v10.3.0
Features
transactionalPushnow references its MobilePush application asr__mobilePushApp_keyandr__mobilePushApp_nameinstead of storingapplicationId, likemobilePushand 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 plainapplicationIdare deployed unchanged. Addresses #2722.- The key of a
mobilePushAppis 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, andr__mobilePushApp_keyinmobilePush,journeyandtransactionalPushholds 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
Features
- Support create, update and delete for
attributeGroupandattributeSet. Addresses #2712. - Multi-step journeys no longer cause their own
mobilePushandmobileMessageitems (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-sfmc2.2.1). Addresses #2719.
Dependencies
- Update
prettier-plugin-sfmcto 2.2.1 andeslint-plugin-sfmcto 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
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-purgehandling 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-redirects1.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
Added
- Git is now optional for
initandupgrade. If Git is unavailable, mcdev shows a warning and continues without Git-specific steps.mcdev joinand 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-sdkto 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
Fixed
- Resolved an authentication blocker caused by newly introduced Salesforce Marketing Cloud scopes. Updated
sfmc-sdkto 4.0.2 so previously unknown scopes no longer cause authentication to fail.
Requirements
- Node.js
^22.22.2 || >=24.15.0is 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
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-sfmcandeslint-plugin-sfmc. Beauty AMP formatter helpers and.beautyamp.jsonare 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.jsonmessagetemplateremains in thetemplategroup. Use the newmcdev migrate <cred/bu>command to migrate existing retrieve folders. (#2646) @JoernBerkefeld - Changed the local file layout for mobile
jsonmessageassets. Supported push, SMS, and in-app message content is now extracted into editable.ampfiles alongside the asset JSON rather than kept inline. See the migration guide before using existing retrieved files. (#2677) - Removed the deprecated
retrieveAsTemplatecommand. Update scripts to use the supported retrieve andbuildTemplateworkflow 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
--shareAssetoption 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 refreshor after deployment with--refresh. By @yuliialikhyt. (#2547) - Added regular-expression market variables for templating. Configure
search,replace, and an optionaltemplatereplacement with capture groups for more selective substitutions. Existing scalar market variables remain compatible. (#2668) - Added parsing for mobile
jsonmessageassets, extracting push/in-app titles and messages and SMS message content into editable.ampfiles and merging them back during deployment. (#2677) - Added metadata support for previously unsupported asset subtypes:
packagedefinition,packagedeployment,enhanceddynamicblock,iccloudpageblock,einsteincontentselectionblock,einsteincontenttesting,jsonmessagetemplate, andjbtemplate. 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=devby 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
createDeltaPkgto 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/checkout6 → 7,actions/setup-node6 → 7, anddawidd6/action-download-artifact19 → 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, andsimple-git; replaced sorting, terminal progress, and Git integration with internal implementations. (#2654) - Updated HTTP/XML dependencies:
axios,fast-xml-builder,fast-xml-parser, andfast-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
inquirerandpicomatch. (#2610, #2579) - Updated
simple-gitduring development before removing it in favor of native Git integration. (#2602, #2597, #2654)
New Contributors
- @kacperkruger made their first contribution in #2528
Full Changelog: v9.0.3...v10.0.0
v9.0.3 - dataExtensions
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 --dependenciesby @JoernBerkefeld in #2569 - #1834 fix
buildnot 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
- Bump sfmc-sdk from 3.0.1 to 3.0.2 by @dependabot[bot] in #2561
- Bump sfmc-sdk from 3.0.2 to 3.0.3 by @dependabot[bot] in #2576
- Bump fast-xml-parser from 5.4.2 to 5.5.6 by @dependabot[bot] in #2554
- Bump fast-xml-parser from 5.5.7 to 5.5.9 by @dependabot[bot] in #2571
- Bump prettier-plugin-sql from 0.19.2 to 0.20.0 by @dependabot[bot] in #2564
- Bump @types/node from 25.3.5 to 25.5.0 by @dependabot[bot] in #2559
- Bump eslint-plugin-jsdoc from 62.7.1 to 62.8.0 by @dependabot[bot] in #2558
- Bump lint-staged from 16.3.2 to 16.4.0 by @dependabot[bot] in #2557
- Bump simple-git from 3.32.3 to 3.33.0 by @dependabot[bot] in #2555
- Bump inquirer from 13.3.0 to 13.3.2 by @dependabot[bot] in #2553
- Bump eslint from 10.0.3 to 10.1.0 by @dependabot[bot] in #2572
- Bump dawidd6/action-download-artifact from 16 to 19 by @dependabot[bot] in #2573
Full Changelog: v9.0.2...v9.0.3
v9.0.2 - dependencies
Dependencies
- Bump sfmc-sdk from 3.0.0 to 3.0.1 by @dependabot[bot] in #2541
- Bump fast-xml-parser from 5.4.1 to 5.4.2 by @dependabot[bot] in #2537
- Bump lint-staged from 16.3.1 to 16.3.2 by @dependabot[bot] in #2538
- Bump @types/node from 25.3.3 to 25.3.5 by @dependabot[bot] in #2536
- Bump eslint from 10.0.2 to 10.0.3 by @dependabot[bot] in #2539
- Bump fs-extra from 11.3.3 to 11.3.4 by @dependabot[bot] in #2540
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #2527
- Bump dawidd6/action-download-artifact from 14 to 16 by @dependabot[bot] in #2526
- Bump actions/download-artifact from 4 to 8 by @dependabot[bot] in #2525
Full Changelog: v9.0.1...v9.0.2
v9.0.1 - folder fixes
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
- Bump simple-git from 3.31.1 to 3.32.2 by @dependabot[bot] in #2510
- Bump inquirer from 13.2.5 to 13.3.0 by @dependabot[bot] in #2509
- Bump eslint from 10.0.1 to 10.0.2 by @dependabot[bot] in #2512
- Bump c8 from 10.1.3 to 11.0.0 by @dependabot[bot] in #2518
- Bump simple-git from 3.32.2 to 3.32.3 by @dependabot[bot] in #2514
- Bump @types/node from 25.3.0 to 25.3.2 by @dependabot[bot] in #2515
- Bump fast-xml-parser from 5.3.7 to 5.4.1 by @dependabot[bot] in #2517
- Bump eslint-plugin-jsdoc from 62.7.0 to 62.7.1 by @dependabot[bot] in #2516
- Bump fast-xml-parser from 5.3.7 to 5.3.8 by @dependabot[bot] in #2521
- Bump lint-staged from 16.2.7 to 16.3.1 by @dependabot[bot] in #2522
- Bump @types/node from 25.3.2 to 25.3.3 by @dependabot[bot] in #2523
- Bump globals from 17.3.0 to 17.4.0 by @dependabot[bot] in #2524
Full Changelog: v9.0.0...v9.0.1
v9.0.0 - dependencies
Breaking Change
- #2490 drop node 18 support by @JoernBerkefeld in #2491
Dependencies
- Bump eslint-plugin-jsdoc from 50.7.1 to 62.5.4 by @dependabot[bot] in #2461
- Bump p-limit from 6.2.0 to 7.3.0 by @dependabot[bot] in #2476
- Bump inquirer from 12.6.0 to 13.2.2 by @dependabot[bot] in #2463
- Bump conf from 13.1.0 to 15.1.0 by @dependabot[bot] in #2469
- Bump yargs from 17.7.2 to 18.0.0 by @dependabot[bot] in #2411
- Bump @types/inquirer from 9.0.7 to 9.0.9 by @dependabot[bot] in #2493
- Bump @types/yargs from 17.0.33 to 17.0.35 by @dependabot[bot] in #2494
- Bump simple-git from 3.30.0 to 3.31.1 by @dependabot[bot] in #2497
- Bump fast-xml-parser from 5.3.5 to 5.3.6 by @dependabot[bot] in #2498
- Bump inquirer from 13.2.2 to 13.2.5 by @dependabot[bot] in #2499
- Bump fast-xml-parser from 5.3.5 to 5.3.6 by @dependabot[bot] in #2500
- Bump eslint-plugin-jsdoc from 62.5.4 to 62.7.0 by @dependabot[bot] in #2503
- Bump @types/node from 25.2.3 to 25.3.0 by @dependabot[bot] in #2502
- Bump fast-xml-parser from 5.3.6 to 5.3.7 by @dependabot[bot] in #2504
- Bump eslint from 9.39.2 to 10.0.0 by @dependabot[bot] in #2467
- Bump eslint-plugin-unicorn from 59.0.1 to 63.0.0 by @dependabot[bot] in #2488
- Bump @eslint/js from 9.28.0 to 10.0.1 by @dependabot[bot] in #2468
- Bump eslint from 10.0.0 to 10.0.1 by @dependabot[bot] in #2507
- Bump sfmc-sdk from 2.1.4 to 3.0.0 by @dependabot[bot] in #2506
Full Changelog: v8.4.0...v9.0.0