Releases: Accenture/sfmc-devtools
Releases · Accenture/sfmc-devtools
v4.1.2
Bugfixes
- #490
buildDefinition
does not rename extracted *.sql and *.ssjs files by @JoernBerkefeld in #491
Full Changelog: v4.1.1...v4.1.2
v4.1.1
Bugfixes
- #476 deploy should return list of deployed files to deal with automatic key changes by @JoernBerkefeld in #486
- #479 deploying import file should show better error when destination cannot be resolved by @JoernBerkefeld in #480
Chores
- #173 gitub workflow for npm publish did not trigger on published draft releases by @JoernBerkefeld in #473
- #474 secondary log file just with error messages added by @JoernBerkefeld in #475
- #483 auto-open markdown as preview by @JoernBerkefeld in #487
Dependencies
- #469: bump node version in github actions from 14 to 16 by @JoernBerkefeld in #470
- Bump eslint from 8.25.0 to 8.26.0 by @dependabot in #472
- Bump eslint-plugin-jsdoc from 39.3.13 to 39.3.25 by @dependabot in #471 and #478
Full Changelog: v4.1.0...v4.1.1
v4.1.0
Features
- #422 allow providing
createDeltaPkg
with an array of files by @JoernBerkefeld in #430 - #443 allow
retrieve
multiple type key combos at once pkg include by @JoernBerkefeld in #446 - #466
retrieveChangelog
should return asset subtypes by @JoernBerkefeld in #467
Bugfixes
- #435 missing husky blocks install via GitHub & slows down install when its there by @JoernBerkefeld in #445
- #449
getFilesToCommit
fails to return the right value for binary asset types by @JoernBerkefeld in #450 - #452 "filePath is not iterable"-error on
getFilesToCommit
dataExtension or asset by @JoernBerkefeld in #453 - #460
getFilesToCommit
does not check if script saved html or ssjs file by @JoernBerkefeld in #461 - #463
getFilesToCommit
broken for asset by @JoernBerkefeld in #464 - #462
retrieve
with asset subtype with key not filtering by key by @JoernBerkefeld in #465
Chores
- #451 no longer create
deployResult_<type>.json
files by @JoernBerkefeld in #455
Dependencies
- Bump mocha from 10.0.0 to 10.1.0 by @dependabot in #447
- Bump eslint-plugin-jsdoc from 39.3.6 to 39.3.13 by @dependabot in #448
Full Changelog: v4.0.2...v4.1.0
v4.0.2 - October 15, 2022
Bugfixes
- #438: fix
document automation
output broken Markdown when file trigger is used by @JoernBerkefeld in #439
Chores
- #7: fix
git commit
duringmcdev init
from showing "unsupported type" messages by @JoernBerkefeld in #440 - #441
npm init
shows too much output duringmcdev init
by @JoernBerkefeld in #442
Full Changelog: v4.0.1...v4.0.2
v4.0.1 - October 11, 2022
Feature
- #419 add file nesting in VSCode for jpeg and eps images by @JoernBerkefeld in #420
Bugfixes
- #414 createDeltaPkg does not always return a list of changes by @JoernBerkefeld in #415
- #417 createDeltaPkg not awaiting buildDefinitionBulk, causing race conditions with the following code like deploy() by @JoernBerkefeld in #418
- #400 deploy automation doesn't work if no automation exists by @JoernBerkefeld in #421
- #433 missing dependencies filter automations during retrieve by @JoernBerkefeld in #434
- #390 buildTemplate renames files based on market variables by @JoernBerkefeld in #436
Dependencies
- Bump axios-mock-adapter from 1.21.1 to 1.21.2 by @dependabot in #406
- Bump conf from 10.1.2 to 10.2.0 by @dependabot in #397
- Bump eslint from 8.19.0 to 8.25.0 by @dependabot in #382 + #426
- Bump eslint-plugin-jsdoc from 39.3.3 to 39.3.6 by @dependabot in #402
- Bump eslint-plugin-mocha from 10.0.5 to 10.1.0 by @dependabot in #388
- Bump eslint-plugin-unicorn from 43.0.0 to 44.0.2 by @dependabot in #383 + #431
- Bump mock-fs from 5.1.2 to 5.1.4 by @dependabot in #413
- Bump npm-check from 5.9.2 to 6.0.1 by @dependabot in #381
- Bump prettier-plugin-sql from 0.8.3 to 0.12.1 by @dependabot in #391 + #411
- Bump semver from 7.3.7 to 7.3.8 by @dependabot in #429
- Bump simple-git from 3.10.0 to 3.14.1 by @dependabot in #405 + #425
- Bump winston from 3.8.1 to 3.8.2 by @dependabot in #428
- Bump yargs from 17.5.1 to 17.6.0 by @dependabot in #432
Full Changelog: v4.0.0...v4.0.1
v4.0.0 - July 7, 2022
BREAKING CHANGES
- #18 instead of
retrieveAsTemplate
we now usebuildTemplate
when executingcreateDeltaPkt
- 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"
becomes123
and"true"
becomestrue
. This will impactgit 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 forautomation
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) andmobileCode
(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"
ordeploy ../.. "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
- #82 fix for running automations - by @DougMidgley in #247
- #163 removed minor bug around bad cli output when retrieving bad
fileTransfer
entries _- by @JoernBerkefeld in #165 - #187
mcdev bdb
fails to find template where name and key differ - by @JoernBerkefeld in #194 - #200 fix error on scope tests - by @JoernBerkefeld in #201
- #202 fix numeric keys not accepted - by @JoernBerkefeld in #203
- #208 asset-asset javacript error / asset-message data loss / asset-message email attributes supported - by @JoernBerkefeld in #246
- #210 Resolves issues with update of Roles - by @DougMidgley in #212
- #213 ensure docs/roles file is not overwritten during role deploy - by @JoernBerkefeld in #218
- #214 ensure that errors in preDeployTasks are handled gracefully - by @JoernBerkefeld in #220
- #215 deploy email send definition fails badly if dependent asset is missing - by @JoernBerkefeld in #224
- #216 bug econnreset not caught by sdk - by @DougMidgley in #217
- #219 inform user about field retrieve after deploy of dataExtension - by @JoernBerkefeld in #221
- #225 correcting spelling error that prevents mobileX to work on linux - by @JoernBerkefeld in #226
- #236 retrieve for more than 2500 records fails soap - by @JoernBerkefeld in #237
- #238 stop retrieve on exception - by @JoernBerkefeld in #238
- #240 document broken due to new SDKs true booleans - by @JoernBerkefeld in #241
- #242 asset-asset javacript error / asset-message data loss / asset-message email attributes supported - by @JoernBerkefeld in #246
- #251 asset-asset javacript error / asset-message data loss / asset-message email attributes supported - by @JoernBerkefeld in #246
- #254 asset-asset javacript error / asset-message data loss / asset-message email attributes supported - by @JoernBerkefeld in #246
- #255 mocha dependency causes install failure on some linux servers - by @JoernBerkefeld in #256
- #257 skip interaction does not throw error on config issues - by @JoernBerkefeld in #258
- #259 smaller issues around create delta pkg and deploy - by @JoernBerkefeld in #262 and #270
- #260 use path sep to avoid system issues - by @DougMidgley in #261
- #263 Fixes to deploy of Import FIle to all subs - by @DougMidgley in #264
- #267 retrieveAsTemplate broken for
dataExtract
activity - by @DougMidgley in #273 - #290 mcdev init fails to add 2nd credential @JoernBerkefeld in #292
- #291 mcdev init breaks on updating BUs - by @JoernBerkefeld in #292
- #295 dataextension fields not properly formatted in retrieve-folder after de-create - by @JoernBerkefeld in #296
- #320 Test Methods inverted and fixed - by @DougMidgley in #323
- #344 asset download stopped by first error - by @JoernBerkefeld in #345
- #351 bug credentials caching needs to be reset on login failed error - by @DougMidgley in #353
- #355 bug dataextensionfield and dataextension and folder is cached twice during deploy dataextension - by @JoernBerkefeld in #357
Chores
- #39 build test scripts - by @DougMidgley in #282
- #94 replace update notifier git - by @DougMidgley in #250
- #152 code ql and dependabot configuration added - by @DougMidgley in #153
- #154 Move to sfmc-sdk library - by @DougMidgley in #109 and #315
- #157 change dependabot target - by @DougMidgley in #158
- #172 option to force update of specific config files if we made crucial changes - by @JoernBerkefeld in #274
- #175 es lint and hooks - by @DougMidgley in #176
- #180 ...
v3.1.3
v3.1.2
Bugfixes
- #168 fix retrieveAsTemplate bug when using filename prefixes and suffixes @JoernBerkefeld
- #170 fix bd broken for "script" @JoernBerkefeld
Full Changelog: v3.1.1...v3.1.2
v3.1.1
Bugfixes
- #160 mcdev outputs bogus text since dependency colorjs got corrupted (background story) @JoernBerkefeld
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
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 isshared 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