Impact notes for the colour macro alpha suffix idiom and the lingo macro

This commit is contained in:
Jeremy Ruston committed 2026-07-22 15:43:20 +01:00
1 parent 1dfa09267b
commit 07d5f55abe
2 files changed
+14 -1

No files matched your search

@@ -0,0 +1,11 @@
title: $:/changenotes/5.5.0/#8702/impacts/lingo-currenttiddler
changenote: $:/changenotes/5.5.0/#8702
created: 20260722160000000
modified: 20260722160000000
tags: $:/tags/ImpactNote
description: The lingo macro no longer changes the current tiddler while rendering a language string
impact-type: compatibility-break
Before v5.5.0, the <<.var lingo>> macro transcluded the language string tiddler directly, which set the <<.var currentTiddler>> variable to the language tiddler for the duration of the transclusion.
From v5.5.0 onwards, the language string is transcluded as a template, leaving <<.var currentTiddler>> unchanged. Most language strings are plain text and are unaffected. A language string that references <<.var currentTiddler>>, or uses a field reference such as `{{!!caption}}`, now resolves against the tiddler from which <<.var lingo>> was called rather than the language tiddler itself.
@@ -1,7 +1,7 @@
title: $:/changenotes/5.5.0/#8702/impacts/wikitext-palette-entries
changenote: $:/changenotes/5.5.0/#8702
created: 20250901000000000
modified: 20260720103000000
modified: 20260722160000000
tags: $:/tags/ImpactNote
description: Palette entries using WikiText other than the `<<colour ...>>` macro will no longer work
impact-type: compatibility-break
@@ -9,3 +9,5 @@ impact-type: compatibility-break
Before v5.5.0, TiddlyWiki palette entries were interpreted as WikiText. In practice this was almost always used for the familiar `<<colour ...>>` macro, but any valid WikiText could be used, including widgets and conditionals.
From v5.5.0 onwards, palette entries are treated as filter expressions. Entries using the `<<colour ...>>` macro continue to work unchanged: they are automatically transformed into the equivalent filter expression `[tf.colour[...]]`. However, any other WikiText constructs are not supported and will not function correctly.
In particular, the idiom of appending a hexadecimal alpha value to the macro, as in `<<colour primary>>AA`, no longer works. The equivalent filter expression is `[tf.colour[primary]colour-set-alpha[0.667]]`.