Skip to content

v10.3.1

Latest

Choose a tag to compare

@JoernBerkefeld JoernBerkefeld released this 02 Dec 22:23

Features

  • Commands that get a type or key written after the Business Unit now show a deprecation notice that suggests the -m option instead (e.g. mcdev retrieve <cred>/<bu> -m "automation:<key>"). Addresses #2010.
  • The default validation rules are exported, so other tools can reuse them. Addresses #2750.

Bugfixes

Automations

  • Notifications with several addresses of one type are deployed as one notification per address; before, Marketing Cloud refused them. Notifications removed from the JSON are now also removed in Marketing Cloud. Addresses #2789.
  • Notifications of existing automations are saved in the JSON and Markdown files after a deploy. Addresses #2436.
  • Automations started by a file drop (automation trigger) show their trigger in the Markdown file. Addresses #1948.

Assets

  • Asset types outside the standard retrieve list can be updated. Addresses #2501.
  • Retrieving one asset subtype no longer also saves the asset subtypes of its dependencies. Addresses #2741.
  • The cleanup after an update no longer deletes binary files or parent folders. Addresses #2778.
  • A key change keeps the local binary file when the deploy package only holds the JSON. Addresses #2780.
  • Build and deploy no longer add empty lines at the start of SSJS files. Addresses #2388.

Journeys and transactional messages

  • Journey retrieve no longer fails completely when the triggered send of an email activity cannot be resolved. Addresses #2729.
  • Redeploying a journey is no longer blocked by push or SMS references that publishing would create. Addresses #2764.
  • Deleting the mobile message of a transactional SMS no longer leaves an orphaned definition behind. Addresses #2732.
  • Transactional definitions that are listed but cannot be read are reported on retrieve instead of being dropped silently. Addresses #2734.

Validation

  • Validation rules get the code of the item during deploy and buildDefinition. Addresses #2746.
  • A failing custom validation() no longer applies the previous item's rules to the current item. Addresses #2747.
  • A broken .mcdev-validations.js stops the run with one clear error instead of being ignored. Addresses #2748.
  • A rule that throws blocks the item. Addresses #2749.
  • The rule noGuidKeys no longer flags every mobilePushApp. Addresses #2727.

Other

  • init and reloadBUs no longer reuse an old cached session, which made them fail with "API Permission Failed". Addresses #2742.
  • When loading the Business Units fails with "API Permission Failed", mcdev now explains which permissions the installed package needs. Addresses #791.
  • Deploying a package again with --changeKeyField or --changeKeyValue after the key was already changed now warns that the item exists under its new key and says what to do. Addresses #2601.
  • When an update after a key change fails, the old file stays in the retrieve folder. Addresses #958.
  • .mcdevrc.json saved by mcdev keeps the Prettier format, so a manual edit no longer reformats it. Addresses #2740.

Dependencies

  • sfmc-sdk 4.0.4 (fast-xml-parser 5.12.1, fixes two moderate denial-of-service advisories in XML parsing)
  • eslint-plugin-sfmc 5.7.0

Full Changelog: v10.3.0...v10.3.1