Releases: Accenture/sfmc-devtools
Releases · Accenture/sfmc-devtools
v6.0.1
Bugfixes
- #1157 content before and after script tags is stripped from
assets
upon retrieval by @JoernBerkefeld in #1158
Dependencies
- Bump actions/setup-node from 3 to 4 by @dependabot in #1137
- Bump axios from 1.5.0 to 1.6.5 by @dependabot in #1166
- Bump dawidd6/action-download-artifact from 2 to 3 by @dependabot in #1151
- Bump eslint from 8.50.0 to 8.56.0 by @dependabot in #1150
- Bump eslint-plugin-jsdoc from 46.8.2 to 48.0.2 by @dependabot in #1159
- Bump eslint-plugin-prettier from 5.0.0 to 5.1.2 by @dependabot in #1154
- Bump eslint-plugin-unicorn from 48.0.0 to 50.0.1 by @dependabot in #1161
- Bump follow-redirects from 1.15.2 to 1.15.4 by @dependabot in #1165
- Bump lint-staged from 14.0.1 to 15.2.0 by @dependabot in #1145
- Bump prettier from 3.0.3 to 3.1.1 by @dependabot in #1163
- Bump prettier-eslint from 15.0.1 to 16.2.0 by @dependabot in #1155
- Bump simple-git from 3.20.0 to 3.22.0 by @dependabot in #1160
- Bump winston from 3.10.0 to 3.11.0 by @dependabot in #1126
Thank you
Thanks go out to @Beryl-18 for reporting issue #1157.
Full Changelog: v6.0.0...v6.0.1
v6.0.0
BREAKING CHANGES
With version 6 we are dropping support for CommonJS modules (require('mcdev')
) in favor of ES6 modules (import mcdev from 'mcdev'
). Please consider upgrading your solution to ES6 modules or your will have to require a version prior to 6.0.0, with 5.3.0 being the latest available one that still supports CommonJS.
Features
- #354 es6 module support by @DougMidgley in #918
- #1108 allow importing certain parts of mcdev directly via es6-import by @JoernBerkefeld in #1116
Dependencies
- Bump actions/checkout from 3 to 4 by @dependabot in #1100
- Bump assert from 2.0.0 to 2.1.0 by @dependabot in #1113
- Bump axios-mock-adapter from 1.21.5 to 1.22.0 by @dependabot in #1105
- Bump c8 from 7.14.0 to 8.0.1 by @dependabot in #1121
- Bump chai from 4.3.8 to 4.3.10 by @dependabot in #1120
- Bump eslint from 8.48.0 to 8.50.0 by @dependabot in #1106 & #1119
- Bump eslint-plugin-jsdoc from 46.5.0 to 46.8.2 by @dependabot in #1103 & #1107 & #1114
- Bump eslint-plugin-prettier from 4.2.1 to 5.0.0 by @dependabot in #1101
- Bump eslint-plugin-mocha from 10.1.0 to 10.2.0 by @dependabot in #1115
- Bump fast-xml-parser from 4.2.7 to 4.3.2 by @dependabot in #1111 & #1118
- Bump prettier from 2.8.8 to 3.0.3 by @dependabot in #1101
- Bump prettier-plugin-sql from 0.14.0 to 0.15.1 by @dependabot in #1101
- Bump simple-git from 3.19.0 to 3.20.0 by @dependabot in #1112
Full Changelog: v5.3.0...v6.0.0
v5.3.0
Features
- #940 add deploy-option
--fixShared
to automatically update data designer on child BUs when fields are added to shared data extensions by @JoernBerkefeld in #1074 - #21 / #325 feature add support for
verification
activity inautomation
by @JoernBerkefeld in #1083 - #1090: make
attributeGroup
andattributeSet
be retrieved by default by @JoernBerkefeld in #1091
Bugfixes
- #1088:
attributeSet
cannot find shared data extension folders by @JoernBerkefeld in #1089 - #1097
dataExtension
decimal fields' length were misrepresented in their markdown files, showing only the part before the decimal by @JoernBerkefeld in #1098
Dependencies
- Bump eslint from 8.46.0 to 8.48.0 by @dependabot in #1076 & #1095
- Bump eslint-plugin-jsdoc from 46.4.6 to 46.5.0 by @dependabot in #1085
- Bump lint-staged from 13.2.3 to 14.0.1 by @dependabot in #1078 & #1086
- Bump inquirer from 8.2.5 to 8.2.6 by @dependabot in #1077
- Bump fsevents from 2.3.2 to 2.3.3 by @dependabot in #1087
- Bump chai from 4.3.7 to 4.3.8 by @dependabot in #1096
Thank you
Thanks go out to Maciej Barnaś for reporting issue #1097.
Full Changelog: v5.2.0...v5.3.0
v5.2.0
Features
- #982 added option
--execute
afterdeploy
by @phjulia in #986 - #987 allow using
--like
option similar to SQL'sLIKE
logic by @JoernBerkefeld in #1006 - #870
execute automation
command to start scheduledautomations
by @JoernBerkefeld in #1019 - #1018 add command to
pause
a scheduledautomation
by @JoernBerkefeld in #1019 - #711 improve support for
attributeGroup
andattributeSet
(renamed fromsetDefinition
) by @JoernBerkefeld in #776 - #1025 add command
schedule
and optionsdeploy --schedule
&deploy --execute=schedule
forautomations
by @JoernBerkefeld in #1026 - #38 add command
fixkeys
to quickly sync name and key of metadata by @phjulia in #1022 - #162 show execution time for
retrieve
anddeploy
by @JoernBerkefeld in #1056 - #78 add warning not to put project folders into cloud-synced folders by @JoernBerkefeld in #1063
- #1034 package-integration:
pause
,execute
,schedule
now return the list of keys that were affected by @JoernBerkefeld in #1035
Bugfixes
- #991 group command-options in --help to make it easier to read by @JoernBerkefeld in #996
- #988 regression fix:
deploy --refresh
by @phjulia in #992 - #985 ensure trailing commas in key/type lists do not lead to unforeseen executions by @JoernBerkefeld in #1004
- #1043 log files no longer include color codes, improving readability by @JoernBerkefeld in #1044
- #934 handle authentication errors during mcdev join gracefully by @JoernBerkefeld in #1047
- #1052 if single
automations
are not retrieved due to too many timeouts, the overall retrieve failed by @JoernBerkefeld in #1053 - #1048 rate limit
automation
retrieval & improve automation schedule representation in markdown files by @JoernBerkefeld in #1054 - #1008 package integration: ensure deploy returns deployed items instead of the complete cache by @JoernBerkefeld in #1009
- #1045 do not create
...-error.log
file if there were no errors by @JoernBerkefeld in #1046
Chores
- #1003 contributors: run lint:fix if npm install was required by @JoernBerkefeld in #1005
- #1010 contributors: ensure test load more specific soap response files by @JoernBerkefeld in #1011
- #843 contributors: add test class for type
script
by @JoernBerkefeld in #1024 - #925 contributors: improve test class for query by @JoernBerkefeld in #1036
- #850 contributors: add test class for
fileTransfer
by @JoernBerkefeld in #1037 - #846 contributors: add test class for
dataExtract
by @JoernBerkefeld in #1040 - #1041 contributors: strip colors from log output for vscode extension by @JoernBerkefeld in #1042
- #854 contributors: add basic test class for
triggeredSend
by @JoernBerkefeld in #1072 - #852 contributors: add test class for type
importFile
by @JoernBerkefeld in #1038 - #1012 fix potential security issue regarding passwords in log files by @JoernBerkefeld in #1013
- #1028 refactoring for fromRetrieve option by @JoernBerkefeld in #1029
Dependencies
- Bump axios-mock-adapter from 1.21.3 to 1.21.5 by @dependabot in #995
- Bump deep-equal from 2.2.1 to 2.2.2 by @dependabot in #1033
- Bump eslint from 8.42.0 to 8.46.0 by @dependabot in #993 & #1017 & #1032 & #1061
- Bump eslint-config-prettier from 8.7.0 to 9.0.0 by @dependabot in #1071
- Bump eslint-plugin-jsdoc from 46.2.5 to 46.4.6 by @dependabot in #998 & #1016 & #1030 & #1070
- Bump eslint-plugin-unicorn from 47.0.0 to 48.0.0 by @dependabot in #1049
- Bump fast-xml-parser from 4.2.4 to 4.2.7 by @dependabot in #997 & #1050 & #1057
- Bump lint-staged from 13.2.2 to 13.2.3 by @dependabot in #1015
- Bump semver from 7.5.0 to 7.5.4 by @dependabot in #999 & #1031
- Bump winston from 3.9.0 to 3.10.0 by @dependabot in #1051
Full Changelog: v5.1.0...v5.2.0
v5.1.0
Features
- #730 add
execute query
command to easily run SQL from within VSCode by @phjulia in #919 - #553 support getting+setting
automation notification
emails by @JoernBerkefeld in #904 - #969 option
--noLogFile
allows disabling logfiles completely by @JoernBerkefeld in #971
Bugfixes
- #734
automation
wasn't documented via markdown file after deploy by @JoernBerkefeld in #956 - #964 allow more than 36 chars for keys when changing it via
changeKeyValue
orchangeKeyField
(automation
&dataExtension
&event
: 200;user
: 50) by @JoernBerkefeld in #970 - #207 prevent mcdev from creating log files when running
mcdev explainTypes
ormcdev --help
by @JoernBerkefeld in #971
Chores
- #978 contributors: The coverage github actions failed due to insufficient access if triggered by dependabot by @JoernBerkefeld in #979
- #969 contributors: log was truncated during test execution due to an issue with winston-logger by @JoernBerkefeld in #971
- #951 contributors: fix test for
user
-documentation by @JoernBerkefeld in #952 - #844 contributors: add test class for
automation
by @JoernBerkefeld in #953 - #959 contributors: ensure commit msg template ends on a space by @JoernBerkefeld in #960
- #957 debugging: add executed command including all parameters to log files by @JoernBerkefeld in #963
- #975 contributors: enable dependabot for github-actions by @JoernBerkefeld in #976
Dependencies
- Bump winston from 3.8.2 to 3.9.0 by @dependabot in #968
- Bump eslint-plugin-jsdoc from 45.0.0 to 46.2.5 by @dependabot in #980
- Bump eslint from 8.41.0 to 8.42.0 by @dependabot in #966
- Bump fast-xml-parser from 4.2.2 to 4.2.4 by @dependabot in #973
- #972 Bump report-nyc-coverage GitHub action from 1.2.6 to 1.2.7 by @JoernBerkefeld in #974
New Contributors
Full Changelog: v5.0.2...v5.1.0
v5.0.2 - include mobileCode in mobileKeyword's key
Bugfixes
- #889: if
mobileKeyword
existed multiple times due to multiplesmobileCode
s then not all were saved by @JoernBerkefeld in #932 - #892: delete old interaction folder on retrieve of
journey
by @JoernBerkefeld in #930 - #12: JSON saved to retrieve folder was incorrect after deploy for type
automation
by @JoernBerkefeld in #935 - #945: saved SQL file for type
query
was not correctly formatted when other types were retrieved first by @JoernBerkefeld in #946 - #923: corrected
dataExtensionField
rename log message by @JoernBerkefeld in #929 - #909: clarify that
bd
andbdb
require the template's file name by @JoernBerkefeld in #931 - #893: retrieving
mobileKeyword
lead to endlessly requesting next batches on some BUs by @JoernBerkefeld in #941 - #800:
document
was executed even though doing so created an incorrect overview file when retrieving a specific key (typeuser
&role
) @JoernBerkefeld in #942
Chores
- #906: ensure
explainTypes
CLI output is valid JSON with double-quotes by @JoernBerkefeld in #907 - #912: for contributors: ensure mcdev contributors auto-update their dependencies on git-pull by @JoernBerkefeld in #913
- #914: for contributors: allow standard GitHub branch names to also update
.git/templatemessage
by @JoernBerkefeld in #916 and #917 - #936: for contributors: allow "Revert ..." commit messages by @JoernBerkefeld in #937
Dependencies
- Bump deep-equal from 2.1.0 to 2.2.1 by @dependabot in #899
- Bump eslint from 8.39.0 to 8.41.0 by @dependabot in #921
- Bump eslint-plugin-jsdoc from 43.1.1 to 45.0.0 by @dependabot in #908 and #939
- Bump eslint-plugin-unicorn from 46.0.0 to 47.0.0 by @dependabot in #897
- Bump lint-staged from 13.2.0 to 13.2.2 by @dependabot in #901
- Bump sfmc-sdk from 1.0.0 to 1.0.1 by @JoernBerkefeld in #941
- Bump simple-git from 3.16.0 to 3.18.0 by @dependabot in #900
- Bump yargs from 17.6.0 to 17.7.2 by @dependabot in #922
Full Changelog: v5.0.1...v5.0.2
v5.0.1 - SSO Federation ID fix
Bugfixes
- #896 Federation IDs are not getting updated while trying to update users for SSO by @JoernBerkefeld in #902
Full Changelog: v5.0.0...v5.0.1
v5.0.0
Breaking Changes
- #713: turn
createDeltaPkg
paramfilter
into option--filter
to be able to use it withoutrange
set by @JoernBerkefeld in #714 - #723: convert
deploy
paramfromRetrieve
into option--fromRetrieve
(previously you would have appendedtrue
at the end to enable this) by @JoernBerkefeld in #724 - #774: rename type
ftpLocation
tofileLocation
by @JoernBerkefeld in #793 - #777: rename type
eventDefinition
toevent
by @JoernBerkefeld in #794 - #778 rename type
triggeredSendDefinition
totriggeredSend
by @JoernBerkefeld in #795 - #779: rename type
emailSendDefinition
toemailSend
by @JoernBerkefeld in #797 - #817 rename type
interaction
tojourney
by @JoernBerkefeld in #857 - #139 rename type
accountUser
touser
by @JoernBerkefeld in #749 - #829: increase minimum node version from 14.16 to 15.0.0 by @JoernBerkefeld in #831 & #858
Features
- #61:
retrieve
(& cache) support forsendClassification
by @JoernBerkefeld in #720 - #732
delete
support forquery
by @JoernBerkefeld in #733 - #735
delete
support forautomation
by @JoernBerkefeld in #736 - #139
deploy
support foruser
by @JoernBerkefeld in #749 & #814 - #712 allow setting commit history value for
createDeltaPkg
via--commitHistory <number>
by @JoernBerkefeld in #714 - #706: refresh
triggeredSends
and therefore journey emails automatically when updating emailassets
via new deploy option--refresh
by @JoernBerkefeld in #721 & #818 - #819 add CLI option to get API request & response printed to CLI or logfile (
--api=log
or--api=cli
) by @JoernBerkefeld in #820 - #789 add full support for MobileConnect SMS (
mobileMessage
) by @JoernBerkefeld in #790 - #782
update
anddelete
support formobileKeyword
and extract responseMessage to AMP-file by @JoernBerkefeld in #825 - #782 extract
responseMessage
field ofmobileKeyword
to AMP-file by @JoernBerkefeld in #825 - #884 return list of supported metadata types via --json param by @JoernBerkefeld in #886
- #90 add option to change the key by @JoernBerkefeld in #876
Bugfixes
- #737: deleted
query
caused issues when new query with same key was supposed to be created because they are not actually deleted internally and can still be retrieved via API by @JoernBerkefeld in #738 - #801: fix
query
targetkey not updated on change of CustomerKey of dataExtension by @JoernBerkefeld in #833 - #859: SQL no longer auto-uppercased in
query
by @JoernBerkefeld in #860* #744: fix "Interaction matching criteria not found. 30003" duringjourney
retrieve by @JoernBerkefeld in #773 - #871: fix update for type
event
by @JoernBerkefeld in #872 - #885: make explainTypes work with folder-subtypes by @JoernBerkefeld in #886
- #198 import file activity missing by @JoernBerkefeld in #891
Chores
- #768: enhance role documentation readability by @JoernBerkefeld in #770
- #769: remove outdated recommendations for VSCode extensions to increase performance by @JoernBerkefeld in #771
- #830: replaced recommendation for vscode ext sergey-agadzhanov.ampscr… by @JoernBerkefeld in #832
- #861: automatically add code-coverage comments to PRs via Github action by @JoernBerkefeld in #862 & #864 & #865 & #866 & #867
- #861: ensure svelte-to-html is installed & steps are properly named by @JoernBerkefeld in #873
Dependencies
- Bump axios-mock-adapter from 1.21.2 to 1.21.3 by @dependabot in #824
- Bump eslint from 8.32.0 to 8.39.0 by @dependabot in #740 & #783 & #805 & #881
- Bump eslint-config-prettier from 8.6.0 to 8.7.0 by @dependabot in #787
- Bump eslint-plugin-jsdoc from 39.6.4 to 43.1.1 by @dependabot in #743 & #887
- Bump eslint-plugin-unicorn from 45.0.2 to 46.0.0 by @dependabot in #803
- Bump fast-xml-parser from 4.0.15 to 4.2.2 by @JoernBerkefeld in #790 & #879
- Bump inquirer from 8.2.2 to 8.2.5 by @dependabot in #821
- Bump lint-staged from 13.1.0 to 13.2.0 by @dependabot in #804
- Bump prettier from 2.8.3 to 2.8.8 by @dependabot in #880
- Bump prettier-plugin-sql from 0.12.1 to 0.14.0 by @dependabot in #785 & #840
- Bump sfmc-sdk from 0.6.3 to 1.0.0 by @dependabot & @JoernBerkefeld in #788 & #790
- Bump semver from 7.3.8 to 7.5.0 by @dependabot in #869
- Bump yaml from 2.1.3 to 2.2.2 by @dependabot in #883
Full Changelog: v4.3.4...v5.0.0
v4.3.4 - fixes for assets & createDeltaPkg
Bugfixes
- #750: fix deploying only specified
asset
subtype by @JoernBerkefeld in #751 - #748:
asset-template
can have code in fields that are not extracted yet by @JoernBerkefeld in #752 - #747: SSJS support for
asset
subtype codesnippets by @JoernBerkefeld in #754 - #757:
createDeltaPkg
command does not identify changes in files of a certain type by @JoernBerkefeld in #762 - #761: purge deploy folder in
createDeltaPkg
by @JoernBerkefeld in #762 - #753: fix retrieve
asset
-subtype key by @JoernBerkefeld in #763
Full Changelog: v4.3.3...v4.3.4
v4.3.3 - fixes for automation auto-start & folder auto-creation
Bugfixes
- #726: regression fix for
folders
not getting auto-created duringdeploy
by @JoernBerkefeld in #727 - #728: scheduled
automation
not auto-started ondeploy
by @JoernBerkefeld in #729
Full Changelog: v4.3.2...v4.3.3