Recent Releases of https://github.com/accenture/sfmc-devtools
https://github.com/accenture/sfmc-devtools - v8.0.2
Bugfixes
- #2308 parentfolder id 7280 already has a child folder named generic des please select a different name by @JoernBerkefeld @anna-ema and in https://github.com/Accenture/sfmc-devtools/pull/2309
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v8.0.1...v8.0.2
- JavaScript
Published by JoernBerkefeld about 1 year ago
https://github.com/accenture/sfmc-devtools - v8.0.1
Bugfixes
- #2078 if folders paths exist on parent and child bu only one remains in cache by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2303
- #2296 exits with unsuccessful code if prettierrc not present by @JoernBerkefeld and @justinjxzhang in https://github.com/Accenture/sfmc-devtools/pull/2304
- #2305 ensure cross BU asset folders are correctly identified by @JoernBerkefeld and @LaurisBahs in https://github.com/Accenture/sfmc-devtools/pull/2306
Chores
- #2263 gracefully handle key-not-found when retrieving journeys by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2289
- #2261 mark
retrieveAsTemplateas deprecated by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2292 - #2264 avoid showing "event not used" warning for newly created events by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2294
- #2293 turn "skipping folder" warning into an info message to lower perceived severity by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2295
Dependencies
- Bump eslint from 9.25.1 to 9.28.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2302
- Bump @eslint/js from 9.25.1 to 9.28.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2300
- Bump eslint-plugin-prettier from 5.2.6 to 5.4.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2299
- Bump eslint-plugin-jsdoc from 50.6.11 to 50.7.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2298
- Bump @types/node from 22.15.3 to 22.15.29 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2301
- Bump mocha from 11.1.0 to 11.5.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2287
- Bump globals from 16.0.0 to 16.2.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2286
- Bump fast-xml-parser from 5.2.1 to 5.2.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2277
- Bump eslint-plugin-unicorn from 59.0.0 to 59.0.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2273
- Bump dawidd6/action-download-artifact from 9 to 10 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2297
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v8.0.0...v8.0.1
- JavaScript
Published by JoernBerkefeld about 1 year ago
https://github.com/accenture/sfmc-devtools - v8.0.0
Breaking Changes
- #2221 dropping support for node 19
- #2220 removed empty automationId and filterDefinitionId from events
- #1903 removed journey activity ids from JSONs. They were auto-renewed during each deployment but prevented easy before & after git comparisons
Features
- #1384 retrieve code resources and published URLs of cloudpages (asset-coderesource, asset-cloudpage) by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2208
- #1812 add audit method to retrieve journey audit log by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2240
Bugfixes
- #2110 if scheduling an automation fails the error is not returned by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2198
- #2199 retry getting detailed info for automation and importFile based on error code 'ERRBADRESPONSE' and throttle requests more by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2200
- #2080 unable to retrieve WhatsApp importFile activity by @JoernBerkefeld and @Beryl-18 in https://github.com/Accenture/sfmc-devtools/pull/2213
- #2214 allow resuming and pausing older journey versions by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2215
- #2207 allow updating dataExtension retention policy by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2222
- #2233 fix event.c__blankFileProcessing not always created by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2237
- #2238 journeys couldn't be retrieved with --like option by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2239
- #2241 fix for stop journey not working if status is "Finishing" by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2243
- #2158 if keys and types are retrieved together the type folders are not reset by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2248
- #1833 folder matching (for create vs update) is case sensitive but should not be by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2249
Chores
- #2111 re-retrieve automation after pause/schedule by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2201
- #2209 remove eslint-config-prettier from being a direct dev-dependency by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2210
- #2211 drop node 19 support, add test for node 23 by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2212
- #2220 remove empty automationId and filterDefinitionId from events by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2221
- #1707 clearly defined which objectAPIName field is used and how in journey and event by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2223
- #2242 no longer auto-fix bad dataExtension field updates but instead log an error by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2244
- #2234 show an easier to understand message when running
createDeltaPkgagainst a branch thats not locally existing by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2250 - #1903 remove journey activity id on retrieve and re add it during deploy by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2251
Dependencies
- Bump eslint from 9.21.0 to 9.23.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2206
- Bump @eslint/js from 9.21.0 to 9.23.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2204
- Bump yocto-spinner from 0.2.0 to 0.2.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2166
- Bump typescript from 5.7.3 to 5.8.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2164
- Bump eslint-plugin-unicorn from 56.0.1 to 58.0.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2203
- Bump lint-staged from 15.4.3 to 15.5.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2192
- Bump @types/node from 22.13.9 to 22.13.13 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2205
- Bump inquirer from 12.4.2 to 12.5.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2193
- Bump eslint from 9.23.0 to 9.25.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2246
- Bump @eslint/js from 9.23.0 to 9.25.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2247
- Bump eslint-plugin-jsdoc from 50.6.3 to 50.6.9 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2219
- Bump eslint-plugin-prettier from 5.2.3 to 5.2.6 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2232
- Bump prettier-plugin-sql from 0.18.1 to 0.19.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2229
- Bump inquirer from 12.5.0 to 12.6.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2257
- Bump eslint-plugin-unicorn from 58.0.0 to 59.0.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2256
- Bump prettier-eslint from 16.3.0 to 16.4.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2255
- Bump @types/node from 22.13.13 to 22.15.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2258
- Bump yocto-spinner from 0.2.1 to 0.2.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2260
- Bump fast-xml-parser from 5.0.8 to 5.2.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2254
- Bump typescript from 5.8.2 to 5.8.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2230
- Bump lint-staged from 15.5.0 to 15.5.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2236
- Bump eslint-plugin-mocha from 10.5.0 to 11.0.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2259
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.10.1...v8.0.0
- JavaScript
Published by JoernBerkefeld about 1 year ago
https://github.com/accenture/sfmc-devtools - v7.10.1
Bugfixes
- #2169 ensure deploy --refresh runs synchronously before other deployments by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2170
- #2171 correct fileLocation 404 error message for importFile deployments by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2172
- #2181 validation rule filter now also applies to extracted code files by @JoernBerkefeld and @LaurisBahs in https://github.com/Accenture/sfmc-devtools/pull/2182
- #2183 skip synced dataExtensions in validation rule noRootFolder by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2184
- #2109 refresh automations after deployment to avoid issues with schedule format and notifications by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2185
- #2186 show proper error message when deploying event without DE or schema by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2187
- #2108 enable scheduling automations regardless of their interval (minutes, hours, days, weeks, months, years) by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2194
- #2195 dont fix validation issue if --skipValidation was set by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2196
Chores
- #2121 resolve dataExtension as dependency of dataExtract by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2173
- #2176 sort types in response of buildTemplate and buildDefinition alphabetically by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2177
- #2178 get domainVerifications via dependencyGraph of senderProfiles by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2179
- #2176 sort bdb return value by type by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2180
- #2168 handle 404 during deletions consistently across types by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2188
- #1835 add created and modified info to automations by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2189
- #1424 add last-paused to automations by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2190
- #874 remove custom automation.deploy method in favor of generic version by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2191
- JavaScript
Published by JoernBerkefeld about 1 year ago
https://github.com/accenture/sfmc-devtools - v7.10.0
Feature / breaking change
- #2112 handle redeploy of automation with verification by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2157
The key field of verifications has been changed to a custom value that is dependent on the automation it belongs to. This move was necessary to enable easy deployment across BUs. Unfortunately, this metadata type does not have its own key.
Chores
- #2155 improve eslint settings for JavaScript and SSJS by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2156
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.9.0...v7.10.0
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.9.0
Features
- #2152 allow bulk-creating domainVerifications by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2153
Bugfixes
- #2146 mcdev upgrade fails due to new createdeltapkg config by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2149
- #2147 correct prompt to run npm install instead of npm update to fix project version being higher than app version by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2150
Chores
- #2148 disable retrieving triggeredSend by default as its details reside in journeys by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2151
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.8.0...v7.9.0
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.8.0
Features
- #2138 allow filtering what metadata types will be looked at by createDeltaPkg by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2141
- #2140 add --fix option to retrieve for helping with cleanups of BUs by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2142
- #2139 show delete command to clean up higher environment after cdp-based deployment by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2143
Dependencies
- Bump prettier from 3.5.0 to 3.5.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2134
- Bump eslint from 9.20.0 to 9.21.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2117
- Bump @eslint/js from 9.20.0 to 9.21.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2118
- Bump @types/node from 22.13.1 to 22.13.9 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2137
- Bump chai from 5.1.2 to 5.2.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2081
- Bump inquirer from 12.4.1 to 12.4.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2087
- Bump globals from 15.14.0 to 16.0.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2105
- Bump fast-xml-parser from 4.5.1 to 5.0.8 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2123
- Bump dawidd6/action-download-artifact from 8 to 9 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2136
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.7.2...v7.8.0
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.7.2
Bugfixes
- #1636: locally delete renamed or removed asset parts upon retrieve by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2126
- #1232 ensure old asset content blocks get removed if the file type changed by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2127
- #2119 stop build if buildTemplate did not find any items by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2130
Chores
- #2124 improve readability of validation rule messages by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2125
- #1941 delete local file if retrieve-by-key cannot find the item on the server by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2128
- #2120 recommend installing mcdev vsce for mcdev projects by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2129
- #2131 improve recognition of fixable validation rules by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2132
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.7.1...v7.7.2
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.7.1
Bugfixes
- #2088 fix javascript error when running deploy by @JoernBerkefeld and @filomichal in https://github.com/Accenture/sfmc-devtools/pull/2095
- #2098 await file purging before building definitions by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2099
- #2100 deleting transactional journeys now also locally deletes the associated transactionalEmail file locally. The API automatically deletes it on the server internally by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2101
Chores
- #2102 add validation rule config setting 'fix' (next to already existing options 'off', 'warn', 'error') by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2103
- #2090 enhanced eslint rules for mcdev projects by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2091
- #2093 no longer auto-recognize vscode extension running mcdev to enable colors in test runs by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2094
- #2096 auto-check config whenever it's loaded by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2097
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.7.0...v7.7.1
Details
Advanced Configuration
Validation rules
You can define validation rules for retrieve, buildDefinition and deploy.
Possible rule settings are:
- not set, which implicitly turns off the rule
- "off" explicitly turns off the rule
- "warn" shows a log message of type warning
- "error" shows a log message of type error AND blocks further execution
- for
retrievethat prevents download - for
buildDefintion(andbuild) that prevents the creation of the corresponding file in the deploy folder - for
deploythis will prevent deployment.
- for
- "fix" can either lead to skipping the component or to updating parts of the metadata (JSON) - that depends on the rule's algorithm. If fixing means skipping then the outcome is the same as with "error", except that no error code is returned by mcdev which can be relevant if you execute mcdev as part of a CI/CD pipeline where an error code signals a problem.
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.7.0
Features
- #1461 add new option
--purgeand--no-purgetocreateDeltaPkg,build,buildDefinition,buildDefinitionBulkby @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2023 - #1467 create templates only temporarily when running
build-command by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2024 - #1678 add
--fixoption todeploy,build,buildDefinition,buildDefinitionBulk,createDeltaPkgby @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2077 - #1703 add new
clone-command that internally usesbuild-command but without applying templating by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2025 - #1918 extend
createDeltaPkg-command logic to understand multiple key-value pairs in the source-target-mapping by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2045 - #1989 retrieve sendClassification by default from now on by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2062
- #2031 auto-
pause&resumetransactional journey to allow updating it by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2058 - #2047 extend
createDeltaPkgwith options frombuild-command:--dependencies,--retrieve,--skipValidationand add new option--rangefor enhanced flexibility by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2053 - #2064 check and auto-create new type domainVerification (From Name Management) entries for
senderProfilesby @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2065 - #2067 prevent cloudpage
assets(asset-asset with assetType.name == 'webpage') from being created via mcdev because they couldnt be used by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2068
Bugfixes
- #2011 throttle
createDeltaPkgto prevent it from failing for 100+ changes by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2012 - #2028 handle event 404 when trying to
deletegracefully by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2033 - #2030 no longer stop after first no-delta-found source-target map in
createDeltaPkgby @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2055 - #2032 auto-re-retrieve journeys after they were
publishedby @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2056 - #2035
deployasset failed if pre-existingContentBlockByKey()-dependencies are not also deployed by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2051 - #2036 fix regression that blocked creation of transactional send journeys by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2040
- #2075 if
ContentblockByKey()was not found other references in json were ignored by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2076 - #2061 print error if
.mcdev.validations.jscould not be loaded due to a syntax error by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2063 - #1772
deployingtemplate and template-based email in one go resulted in error "does not have field 'id'" by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2079
Chores
- #2013 ensure
createDeltaPkguses--metadataandbuild-command internally by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2022 - #2027 move
deltapackage.logfromdocs/folder intologs/folder by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2054 - #2034 fix weird "publishing" log output by ordering execution based on journey-definitionType of the journeys by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2057
Dependencies
- Bump dawidd6/action-download-artifact from 7 to 8 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2015
- update github workflows for action/upload-artifact, action/download-artifact and dawidd6/action-download-artifact by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2041
- Bump eslint from 9.18.0 to 9.20.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2073
- Bump @eslint/js from 9.18.0 to 9.20.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2072
- Bump eslint-plugin-jsdoc from 50.6.2 to 50.6.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2019
- Bump prettier from 3.4.2 to 3.5.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2069
- Bump inquirer from 12.3.2 to 12.4.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2043
- Bump semver from 7.6.3 to 7.7.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2074
- Bump lint-staged from 15.4.1 to 15.4.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2018
- Bump mocha from 11.0.1 to 11.1.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2017
- Bump @types/node from 22.10.7 to 22.13.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2070
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.6.3...v7.7.0
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.6.3
Bugfixes
- #1877 ensure we don't lose event.schema information when creating new SF events by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2007
Chores
- #1992 resolve fileNamePatternType in automations by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1993
- #2005 resolve locationTypeId on fileLocation by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2006
- #1990 improve error on filename and key mismatch by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/2008
Dependencies
- Bump @eslint/js from 9.17.0 to 9.18.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2002
- Bump @types/node from 22.10.6 to 22.10.7 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2003
- Bump eslint-config-prettier from 9.1.0 to 10.0.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2004
- Bump eslint-plugin-jsdoc from 50.6.1 to 50.6.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1997
- Bump eslint-plugin-prettier from 5.2.1 to 5.2.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1996
- Bump fs-extra from 11.2.0 to 11.3.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/2001
- Bump lint-staged from 15.3.0 to 15.4.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1998
- Bump yocto-spinner from 0.1.2 to 0.2.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1999
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.6.2...v7.6.3
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.6.2 - journey patches
Bugfixes
- #1859 ensure upserted dataExtract are saved with created and modified dates by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1962
- #1857 ensure upserted sendClassification are saved with created and modified date by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1963
- #1856 ensure upserted senderProfiles are saved with CreatedDate, ModifiedDate, createdBy and modifiedBy by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1964
- #1796 ensure upserted events are saved with createdDate, createdBy, modifiedDate, modifiedBy by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1966
- #1768 fix dataExtension Fields getting set to empty string after changeKeyField and dataExtension documentation not updated by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1969
- #1790 allow re-deploying transactional journeys without transactionalEmail present as long as they are in Draft by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1971
- #1972 calling
refreshwithout defining a type results in unhandled error by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1974 - #1771 auto-retrieving transactional journeys after publishing them failed to find transactionalEmails by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1975
- #1803
deploy --publishdid not update local event jsons after success by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1977 - #1902 update cc and bcc value on transactional journeys from transactionalEmail by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1973
- #1943 refreshing transactional send journeys now changes the lastmodified timestamp on transactionalEmail and journey by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1983
Chores
- #1960 hide prettier error log behind config option.formatErrorLog by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1961
- #1967 remove folder info from sub-contentblocks in assets to avoid deployment blockers by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1968
- #1923 support transactional send journeys for auto-refresh when publish is run on already published journeys by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1970
- #1976 Guide VSCE users what to do when project and app version are out of sync by @JoernBerkefeld and @Dipasree-ghosh in https://github.com/Accenture/sfmc-devtools/pull/1987
- #1965 include vsce peacock in recommended extensions by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1988
Dependencies
- Bump @types/node from 22.10.2 to 22.10.6 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1979
- Bump c8 from 10.0.0 to 10.1.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1950
- Bump dawidd6/action-download-artifact from 6 to 7 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1906
- Bump eslint from 9.17.0 to 9.18.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1980
- Bump fast-xml-parser from 4.4.1 to 4.5.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1953
- Bump inquirer from 12.1.0 to 12.3.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1986
- Bump ldez/gha-mjolnir from 1.4.1 to 1.5.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1958
- Bump lint-staged from 15.2.10 to 15.3.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1957
- Bump p-limit from 6.1.0 to 6.2.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1951
- Bump typescript from 5.7.2 to 5.7.3 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1978
- Bump yocto-spinner from 0.1.1 to 0.1.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1952
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.6.1...v7.6.2
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.6.1
Bugfixes
- #1942
refreshtriggeredsend fails with "no keys provided" error by @JoernBerkefeld and @PriyajitGhosh1995 in https://github.com/Accenture/sfmc-devtools/pull/1945
Chores
- #1940: resolve fileLocation in GCP triggered automations by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1946
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.6.0...v7.6.1
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.6.0
Features
- #1746 support
pauseandresumefor transactional send journeys by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1765 - #1919 reroute
stopjourney topausejourney for transactional send journeys because these don't support stop by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1920 - #1921 allow updating emails for selected journeys using the
refreshcommand (transactional + multi-step) by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1922 - #1879 Allow
stoppingall versions of a multi-step journey by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1929
Bugfixes
- #1881 handle bad journey retrieve-by-key responses gracefully by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1887
- #1774 show proper error when no keys were provided to
build / bt / bd / bdbby @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1888 - #1889 throttle
refreshto 10 concurrent triggeredSends/journeys to avoid timeouts; add icons for pause/publish/start by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1890 - #1914 make dataExtension-not-found error easier to understand when trying to delete by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1915
- #1916 keys with ":" in could not be found before by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1917
- #1836 Ensure automatic new version creation during deploy only happens to multi-step jourmeys without a draft version - but not for transactional send journeys which are not versioned by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1930
- #1837
deletingtransactional send journey no longer asks for a version by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1931
Chores
- #1882 set maxKeyLength for journey and transactionalEmail by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1883
- #1880 hint to using --ignoreSfFields / --isf to skip
deployerror by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1886
Dependencis
- Bump winston from 3.15.0 to 3.17.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1871
- Bump @eslint/js from 9.10.0 to 9.15.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1875
- Bump husky from 9.1.6 to 9.1.7 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1872
- Bump chai from 5.1.1 to 5.1.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1873
- Bump eslint from 9.10.0 to 9.15.0 and eslint-plugin-unicorn from 56.0.0 to 56.0.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1874
- Bump eslint-plugin-jsdoc from 50.5.0 to 50.6.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1937
- Bump @types/node from 22.9.0 to 22.10.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1936
- Bump eslint from 9.15.0 to 9.17.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1935
- Bump globals from 15.12.0 to 15.14.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1938
- Bump @eslint/js from 9.15.0 to 9.17.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1934
- Bump prettier from 3.3.3 to 3.4.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1925
- Bump typescript from 5.6.3 to 5.7.2 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1895
- Bump mocha from 10.7.3 to 11.0.1 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1912
- Bump conf from 13.0.1 to 13.1.0 by @dependabot in https://github.com/Accenture/sfmc-devtools/pull/1926
Full Changelog: https://github.com/Accenture/sfmc-devtools/compare/v7.5.0...v7.6.0
Details
Standard Commands
refresh
Command: mcdev refresh <business unit> [type] [external key] [--metadata]
Alias: mcdev re
This command lets you refresh emails in journeys and triggeredSends to ensure that updates made to the email or loaded content blocks get reflected when the emails are send out. This is only relevant is your journey is already "running" / your triggeredSend is "active".
If you do not specify keys, for triggeredSend, it will refresh all running ("Active") triggered sends on the given BU. It will also check if all dependencies for that triggered send are available to ensure it can be published & restarted after it was paused. However, if you made changes to the email that caused issues, you might still get an error, which prevents you from restarting it.
Currently supported types:
| Name | CLI Argument | Effect |
| :-- | :-- | :-- |
| Triggered Send | triggeredSend | Refreshes emails in active triggeredSends and, thereby, any emails in Journeys. |
| Journey | journey | Refreshes emails in multi-step journeys (by refreshing associated triggered sends) and transactional send journeys. |
Refreshing a multi-step journey will not be reflected in the journey's 'json. However, if you refresh a transactional send journey, it will affect the last modified date.
Example:
```bash mcdev refresh MyProject/ParentBU -m triggeredSend mcdev refresh MyProject/ParentBU -m triggeredSend:myTsKey
mcdev refresh MyProject/ParentBU -m journey:key1 journey:key2 ```
stop
Command: mcdev stop <business unit> [type] [key] [--like] [--metadata]
Alias: -
This command lets you stop metadata of a given type and key.
Currently supported types:
| Name | CLI Argument | Effect |
| :-- | :-- | :-- |
| Journey | journey | stops running journey |
For journeys you can choose to specify a specific version to stop by appending "/4" (to stop version 4). If you do not append a version, mcdev will attempt to stop the latest version. Alternatively, you can stop all versions by appending "/*".
Example (stopping highest version):
batch
mcdev stop MyProject/DEV -m journey:keyA journey:keyB journey:keyC
Example (stopping specific version):
batch
mcdev stop MyProject/DEV -m journey:keyA/3 journey:keyB/2
Example (stopping all versions):
batch
mcdev stop MyProject/DEV -m journey:keyC/*
stop with --like operator:
Instead of specifying a key, you can use the --like option to find your target. This is equal to not specifying a version and will default to the highest version.
batch
mcdev stop MyProject/DEV -m journey --like.key "myprefix_%"
mcdev stop MyProject/DEV -m journey --like.key "myprefix_%" --like.r__folder_Path "my Journeys/Testing%"
stop on all BUs:
This variation of the stop command allows you to stop specified items on all BUs. mcdev will look for the items of defined types and keys on all BUs and stop them.
Example:
batch
mcdev stop MyProject/* -m journey:keyA journey:keyB
mcdev stop MyProject/* -m journey:keyA/2 journey:keyB/3
mcdev stop MyProject/* -m journey:keyA/* journey:keyB/*
- JavaScript
Published by JoernBerkefeld over 1 year ago
https://github.com/accenture/sfmc-devtools - v7.5.0
Features
- #37 add support to
deploy(update/create) automation wait activities by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1829 - #1729 option to disable auto-formatting on save via config (
options.formatOnSave) and--no-formatoption for when you want or need to retain whatever manual formatting you applied. inspired by @AndrewEllis91, code by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1846 - #1850 add method
validate journeyfor multi-step journeys by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1860 - #1851 add
--ignoreFolderoption todeploy --matchNameby @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1863 - #1852 add option
--ignoreSfFields/--isfto deploy, allowing you to skip false-positive errors about missing Salesforce fields for Salesforce-triggered journeys/events by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1864 - #1294 include dataExtension retention policy in the created markdown file by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1865
- #1825 add auto-renaming to avoid duplicate-name error for automation, query and senderProfile if
deployedwithout--matchName. This already existed for dataExtension and asset before. by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1827
Bugfixes
- #1802
publishingmultiple non-Salesforce-triggered journeys looked messy by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1817 - #1806 fix
createDeltaPackagefailing due to incorrect call tobuildTemplateby @dnivara-0 and @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1821 - #1868 fix
createDeltaPackagefailing due to incorrect call tobuildDefinitionBulkby @anasilva105 and @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1869 - #1826 fix importFile no longer deployable since last SFMC release by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1828
- #1839 limit
noRootFolder validation ruleto types other than cloudpages by @JoernBerkefeld in https://github.com/Accenture/sfmc-devtools/pull/1843 - #1866 fix
buildTemplate/buildDefintiion/buildcreating SSJS files with unwanted