v7.0.0
Beaking Changes
- #1292 enhance readability of
dataExtensionretention policy - check the wiki for how details on the field values. by @JoernBerkefeld in #1295 - #1318 auto-enable allowchildren on
foldersduring deployment of subfolders. Be aware that this will likely fix unwanted issues in most cases, it might disable intentional restrictions that you have placed on folders via SOAP API by @JoernBerkefeld in #1319 - #58 rewrite dependency variables to r__format and formalize use of custom c__ variables by @JoernBerkefeld in #1333
- impacts previously downloaded metadata from these types:
asset,attributeGroup,attributeSet,automation,dataExtension,emailSend,event,importFile,journey,mobileMessage,query,sendClassification,transactionalEmail,transactionalPush,transactionalSMS,triggeredSend,verification - This change was made in preparation of a coming deploy-dependencies-feature
- impacts previously downloaded metadata from these types:
Features
New & improved Commands
- #1238 new method
resolveIdthat shows contentblock info based on its id by @JoernBerkefeld and @PriyajitGhosh1995 in #1239 and #1252 - #1329 add new method
buildthat chainsbuildTemplateandbuildDefinitionby @JoernBerkefeld in #1330 - #1270 add method
replaceContentBlockto find & replace ContentBlockByX and Platform.Function.ContentBlockByX with one of the other options inasset,journey,script,senderProfileandtriggeredSendby @JoernBerkefeld and @PriyajitGhosh1995 in #1353 - #1334 exclude
eventfromfixKeysto avoid issues with journeys by @JoernBerkefeld in #1345
New command options
- new option
--metadata/-madded to many mcdev commands that enables a much more flexible way of specifying what type-key combos you want to work with:- #1272 add
--metadataoption todelete&retrieveby @JoernBerkefeld in #1274 - #1275 add
--metadataoption todeployby @JoernBerkefeld in #1283 - #1325 add multi-type support and
--metadataoption tobuildTemplate andbuildDefinition` by @JoernBerkefeld in #1327 - #1329 add
--metadatatobuildDefinitionBulkby @JoernBerkefeld in #1330 - #1316 add multi type support and
--metadataoption tofixKeysby @JoernBerkefeld in #1317
- #1272 add
- #1302 option
--keySuffixlets you add a custom suffix to all keys duringdeployandfixKeysby @JoernBerkefeld and @OphelieMallet01 in #1303 - #1301 option
--noMidSuffixforassetlets you disable automatically appending the MID on cross-BU deployments - useful when you have your own templating-based or --keySuffix based suffixes @JoernBerkefeld and @OphelieMallet01 in #1308
New / improved metadata support
- #745 get
mobileCodeandmobileKeywordforimportFileactivities with target SMS-list by @JoernBerkefeld in #1209 - #54 support
senderProfileby @JoernBerkefeld in #1258 and #1259 - #60 basic retrieve-support for
deliveryProfileby @JoernBerkefeld in #1264 - #1266 add support for
sendClassificationcreate/update/delete and resolve deliveryProfile and senderProfile by @JoernBerkefeld in #1267 - #164 add
deleteto support all metadata types (REST) by @JoernBerkefeld in #1192 - #1314 resolve email templates in template based emails (
asset-message) by @JoernBerkefeld in #1315 - #1320 support creating journey & automation & triggeredSend-journey
foldersby @JoernBerkefeld in #1321 - #62 resolve sendClassification & senderProfile in
triggeredSend,emailSendandjourneyby @JoernBerkefeld in #1268 and #1326
Bugfixes
- #1189 blank file behavior not retrieved for
importFileactivity by @JoernBerkefeld in #1191 - #1229 number of downloaded
assetsnot visible in vscode extension's output window by @JoernBerkefeld in #1263 - #1273 bu selection wizard should be disabled if skipinteraction is active by @JoernBerkefeld in #1279
- #1284
explainTypes --jsonreturns incorrect value for script.supports.changekey by @JoernBerkefeld in #1285 - #1306 remove empty entry from
explainTypes --jsonresponse by @JoernBerkefeld in #1309 - #1324
buildTemplate/buildDefinitionfor assets copies non-json files into subfolders that have template variables in their name by @JoernBerkefeld in #1328 - #798 replacing MIDs in JSONs break
buildTemplateby @JoernBerkefeld in #1328 - #1248 max line width breaks ampscript code in
assetsby @JoernBerkefeld in #1341 - #1332 do not refresh BUs on
mcdev jointo avoid unwanted config changes by @JoernBerkefeld in #1342 - #1298
fixKeysfails foremailSendandsenderProfileby @JoernBerkefeld in #1303
Chores
- #882 change git default branch to main as part of
mcdev initby @JoernBerkefeld in #1261 - #1201 disable color coding for tests run by GitFork and Sourcetree by @JoernBerkefeld in #1202
- #1217 moving jsdoc2md into lint-staged to speed up commits by @JoernBerkefeld in #1218
- #1244 restore vscode intellisense - required removing jsdoc2md from our stack due incompatibilities with what VSC requires by @JoernBerkefeld in #1245
- #1246 Enable enhanced typescript validation by @JoernBerkefeld in #1257
- #1227 fix test for
importfileactivities for SMS by @JoernBerkefeld in #1260 - #1200 Show dedicated messages to Accenture and non-accenture users by @JoernBerkefeld in #1262
- #1269 mention vscode extension & update copyright year by @JoernBerkefeld in #1278
- #1289 auto-exclude
dataExtension_MobileAddressApplication during retrieve by @JoernBerkefeld in #1290 - #1110 Add typescript support via auto-generated d.ts file by @JoernBerkefeld in #1344
- #1167 Add support for beautyampjson in mcdev projects by @JoernBerkefeld in #1256
- #1247 vscode setting source.fixAll.eslint needs to default to "explicit" by @JoernBerkefeld in #1256
- #1253 Add file icon to ampscript files in VSCode by @JoernBerkefeld in #1256
- #1254 Add ampscript snippets to make coding easier (MarketingThibs.ampscriptsnippets) by @JoernBerkefeld in #1256
- #1255 Remove VSCode extension recommendation for gruntfuggly.todo-tree because it was not used by most projects by @JoernBerkefeld in #1256
- #1281 add new global option
--errorLogby @JoernBerkefeld in #1282 - #905 test callout-payloads by @JoernBerkefeld in #1308
- #1350 ensure compatibility & testing with node 19 and node 20 by @JoernBerkefeld in #1351
Dependencies
- Bump @types/node from 20.12.7 to 20.12.12 by @dependabot in #1322
- Bump andstor/file-existence-action from 2 to 3 by @dependabot in #1199
- Bump beauty-amp-core2 from 0.4.5 to 0.4.6 by @dependabot in #1216
- Bump chai from 4.3.10 to 5.1.1 by @dependabot in #1212 #1311
- Bump eslint from 8.56.0 to 8.57.0 by @dependabot in #1225
- Bump eslint-plugin-jsdoc from 48.0.2 to 48.2.7 by @dependabot in #1205 #1215 #1224 #1230 #1250 #1312 #1337 #1347 #1355
- Bump eslint-plugin-mocha from 10.2.0 to 10.4.3 by @dependabot in #1221 #1231 #1276
- Bump eslint-plugin-unicorn from 50.0.1 to 53.0.0 by @dependabot in #1214 #1251 #1336
- Bump fast-xml-parser from 4.3.2 to 4.4.0 by @dependabot in #1184 #1206 #1237 #1338
- Bump fs-extra from 11.1.1 to 11.2.0 by @dependabot in #1180
- Bump husky from 8.0.3 to 9.0.11 by @dependabot in #1196 #1220
- Bump jsdoc-to-markdown from 8.0.0 to 8.0.1 by @dependabot in #1208
- Bump ldez/gha-mjolnir from 1.3.0 to 1.4.1 by @dependabot in #1349
- Bump lint-staged from 15.2.0 to 15.2.5 by @dependabot in #1204 #1348
- Bump mocha from 10.2.0 to 10.4.0 by @dependabot in #1213 #1243
- Bump p-limit from 4.0.0 to 5.0.0 by @dependabot in #1195
- Bump prettier from 3.2.4 to 3.3.0 by @dependabot in #1219 #1354
- Bump prettier-eslint from 16.2.0 to 16.3.0 by @dependabot in #1181
- Bump prettier-plugin-sql from 0.15.1 to 0.18.0 by @dependabot in #1183
- Bump semver from 7.5.4 to 7.6.0 by @dependabot in #1207
- Bump TimonVS/pr-labeler-action from 4 to 5 by @dependabot in #1211
- Bump update-notifier from 6.0.2 to 7.0.0 by @dependabot in #1182
- Bump winston from 3.11.0 to 3.13.0 by @dependabot in #1228 1240
- require node >=18.18.2 + bump beauty-amp-core2 to 0.4.9 by @JoernBerkefeld in #1341
Full Changelog: v6.0.2...v7.0.0