Skip to content

Releases: Accenture/sfmc-devtools

v4.0.0 - July 7, 2022

07 Jul 14:41
Compare
Choose a tag to compare

BREAKING CHANGES

  • #18 instead of retrieveAsTemplate we now use buildTemplate when executing createDeltaPkt - by @JoernBerkefeld in #301
  • #154 Switched from FuelSDK to SFMC-SDK lib to boost performance. Therefore, numbers and booleans in retrieved files will now be auto-converted to no longer be strings. In practice "123" becomes 123 and "true" becomes true. This will impact git diff requests as well as any scripts you might have built around mcdev that were parsing the retrieve output - by @DougMidgley in #109 and #315
  • #166 SQL formatting is now done via prettier which might lead to slight formatting changes - by @DougMidgley in #167
  • #244 standard roles are now documented only optionally (default: off). Before, we always included them in the documentation This only affects the old exattarget roles as the ones prefixed with "Marketing Cloud" cannot be exported/documented due to SFMC limitations_- by @DougMidgley in #245_
  • #252 format of .mcdev-auth.json changed - by @DougMidgley in #268
  • #300 no more key-name swapping in retrieveAsTemplate - by @JoernBerkefeld in #301
  • #308 In VSCode, metadata consisting of multiple files is now displayed aggregated, with potential Markdown files being shown first - by @JoernBerkefeld in #309
  • #338 disable automatic execution of badkeys upon retrieve - by @JoernBerkefeld in #340

Features

  • #17 correct exit code sent to CI/CD - by @JoernBerkefeld in #258
  • #19 added mcdev buildtemplate based on rt command that uses retrieve folder and not server as source - by @JoernBerkefeld in #299
  • #34 added delete support for dataExtensionField, emailSendDefinition, list, triggeredSend - by @JoernBerkefeld in #165
  • #73 added mcdev document support for automation for auditing - by @JoernBerkefeld in #305
  • #80 deploy specific asset subtype (e.g. deploy ../.. asset-block) - by @JoernBerkefeld in #311
  • #125 ensure eslint + prettier are installed with the same version in the project as in mcdev - by @JoernBerkefeld in #370
  • #159 added support for mobileKeyword (retrieve/deploy/template) and mobileCode (retrieve only) - by @DougMidgley in #174
  • #253 speed up asset deployments by caching only relevant asset-subtypes - by @JoernBerkefeld in #311
  • #281 retrieving changelog (via mcdev.retrieve("../..", null, null, true)) made available for all metadata types, allowing better integration of mcdev into 3rd party tools - by @JoernBerkefeld in #285
  • #288 allow retrieving+deploying multiple types via CLI (e.g. retrieve ../.. "dataExtension,query" or deploy ../.. "automation,script") - by @JoernBerkefeld in #289
  • #310 add key parameter to deploy, allowing to deploy only specific items (e.g. deploy ../.. dataExtension myDesKey) - by @JoernBerkefeld in #311
  • #321 add key parameter to retrieve, allowing to retrieve only specific items (e.g. retrieve ../.. dataExtension myDesKey) - by @JoernBerkefeld in #333
  • #322 allow deploy from retrieve folder, granting developers a quicker way to update things on their DEV BU, (e.g. deploy ../.. dataExtension myDesKey true) - by @JoernBerkefeld in #339
  • #341 support cloning Content Builder files (asset) across BUs. This was previously not possible because the external key had to be unique per instance - by @JoernBerkefeld in #345

Bugfixes

Chores

Read more

v3.1.3

25 Jan 10:18
Compare
Choose a tag to compare

Bugfixes

  • #185 - Fix "this._setLoggingLevel is not a function" bug when running createDeltaPkg by @gdman in #186

New Contributors

Full Changelog: v3.1.2...v3.1.3

v3.1.2

13 Jan 08:14
Compare
Choose a tag to compare

Bugfixes

Full Changelog: v3.1.1...v3.1.2

v3.1.1

10 Jan 17:12
Compare
Choose a tag to compare

Bugfixes

Dependencies

  • bumped cli-progress to 3.10.0 (removes colors dependency)
  • bumped winston to 3.3.4 (fixes colors dependency)

Full Changelog: v3.1.0...v3.1.1

v3.1.0

27 Dec 17:44
Compare
Choose a tag to compare

Features

  • #55 added user / roles documentation
  • #64 Added accountUser (system users) support (retrieve)
  • #103 Add rename dataExtensionField option (via Name_new)
  • #130 offer retrieveChangelog option to other node packages including mcdev (see retrieveChangelog.js for a how-to)
  • #133 dataExtensionField validation during DE update (see README for details)
  • #136 enable including mcdev in other node packages (see README for a how-to)
  • #144 added file type .ai to asset - thanks to @fbellgr

Bugfixes

  • #112 add (unknown) new type 783 to defintion of importFile
  • #117 queries not deployable when target is shared DE
  • #118 automation start not auto-retried during deploy
  • #119 fixed list dependency for importFile
  • #122 ECONNRESET on caching metadata during deploy
  • #128 dataExtension json not equal for retrieve/deploy
  • #129 script json not equal for retrieve/deploy
  • #140 avoid issues when retrieving dataExtensions that do not have a folder ID (edge case) - thanks to @fbellgr
  • #144 improved handling high volumes of asset - thanks to @fbellgr
  • #149 handle errors on upsert of data extensions gracefully

Chores

  • #5 removed postinstall msg after npm 7 dropped support for that
  • #127 bad message "info: updated automation: undefined"
  • #132 dataExtension.SendableSubscriberField.Name now has a slightly more readable value
  • #137 docs for installing a specific version were incorrect
  • #138 make issues and pull requests clickable in gitfork
  • change mcdev document to take the cred/BU first and then the type to align it with other commands
  • improved error handling of document role command
  • #146 remove AccountUser retrieve as a default retrieve option

Dependencies

  • bumped cli-progress to 3.9.1
  • bumped eslint to 8.4.1
  • bumped eslint-plugin-mocha to 10.0.1
  • bumped eslint-plugin-prettier to 4.0.0
  • bumped fs-extra to 10.0.0
  • bumped husky to 7.0.4
  • bumped inquirer to 8.2.0
  • bumped jsdoc-to-markdown to 7.1.0
  • bumped lint-staged to 12.1.2
  • bumped mocha to 9.1.3
  • bumped mustache to 4.2.0
  • bumped prettier to 2.5.1
  • bumped semver to 7.3.5
  • bumped simple-git to 2.48.0
  • bumped yargs to 17.3.0

Cheers

@JoernBerkefeld & @DougMidgley

New Contributors

Full Changelog: v3.0.3...v3.1.0

v3.0.3 - 2021-08-11

27 Dec 16:21
Compare
Choose a tag to compare

Bugfixes

  • #100 Handle ECONNRESET errors across various types (incl. Data Extensions)
  • #102 block deployment attempt for synchronized Data Extensions with proper error message
  • #104 block deployment of shared data extensions on child BUs (existing solution broke somewhere down the line)

Chores

  • #107 rewrite folder to use generic update/create to help with ECONNRESET issue
  • #108 return full API error messages for create & update via SOAP
  • #110 improve error message for missing dependencies
  • enhanced Pull Request Template with note on npm run docs

Dependencies

  • bumped jsdoc-to-markdown to 7.0.1
  • bumped eslint-plugin-mocha to 9.0.0
  • bumped eslint-plugin-prettier to 3.4.0
  • bumped eslint-config-prettier to 8.3.0
  • bumped eslint to 7.32.0

Cheers

@JoernBerkefeld & @DougMidgley

Full Changelog: v3.0.2...v3.0.3

v3.0.2 - 2021-08-03

27 Dec 16:19
Compare
Choose a tag to compare

Bugfixes

  • #26 retrieving asset subtypes via r ... asset-xyz actually saves result to disk
  • #45 connection errors for automations fixed
  • #46 (temp fix) campaigns break entire retrieve - disabled for now
  • #48 connection errors for dataExtensions and other types are now handled gracefully
  • #49 connection errors for asset subtypes no longer restart downloading all subtypes
  • #51 retrieving asset subtypes now always uses the default list of subtypes
  • #52 no more endless retries in case of connection errors

Cheers

@JoernBerkefeld & @DougMidgley

Full Changelog: v3.0.1...v3.0.2

v3.0.1 - 2021-04-11

27 Dec 16:17
Compare
Choose a tag to compare

Bugfixes

  • fix #4: retrieveAsTemplate led to fatal error if target metadata was not found - @JoernBerkefeld
  • migration from prior internal version was not handled gracefully before

Cheers

@JoernBerkefeld & @DougMidgley

New Contributors

Full Changelog: v3.0.0...v3.0.1

v3.0.0 - 2021-03-26

27 Dec 16:15
Compare
Choose a tag to compare

Initial public release.

Cheers

@JoernBerkefeld & @DougMidgley