This repository was archived by the owner on Jun 21, 2024. It is now read-only.
Tags: customcommander/tagtical
Tags
refactor: deprecate tags composition and user-defined tags This simplifies a few things and some code has been deleted as a result. BREAKING CHANGE: users cannot define their own tags or compose tags anymore These two features have never been "advertised" anyway so there is very little risk that anybody ever used them. However this is in effect a breakin change and therefore warrants a major release.
feat: defaults tag now consider number 0 or NaN as "empty" value it is wrong to consider 0 as an empty value for a number in general but in the context of the defaults tag it would make sense to relax this principle. defaults`Hey ${name} you have ${num}/no new emails` you probably want for name="John" and num=0 "Hey John you have no new emails" instead of "Hey John you have 0 new emails" BREAKING CHANGE: it is now impossible to have a default value for an interpolated number equals to 0 or NaN.
PreviousNext