Closed pietersap closed 3 months ago
Hi @pietersap,
Thanks for the feedback. The tokenPattern
was not documented in the breaking changes because it's a breaking change from v3 to v4 :smile:
Since i wrote 2 posts to help user migrate (https://github.com/qetza/replacetokens-task/discussions/33 & https://github.com/qetza/replacetokens-task/discussions/34) I'll update the readme to make it more visible (espcially if you're going from v3 to v6)
We've upgraded from v3 to v6. In the v3, we used a custom tokenPrefix and tokenSuffix, but we did not set a value for tokenPattern.
In the v6, this turned out to be broken. Here, we also need to add "tokenPattern: custom" to make it work again. This could be clarified in the list of breaking changes for v6 that I found here . The list of breaking changes is otherwise very clear, thank you.
Code before upgrade:
Code after upgrade (broken)
Code after upgrade (fixed again)