From 07d5f55abe2df89d36d81b2e00565b482ddb0023 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 22 Jul 2026 15:43:20 +0100 Subject: [PATCH] Impact notes for the colour macro alpha suffix idiom and the lingo macro --- .../5.5.0/#8702 - lingo-currenttiddler.tid | 11 +++++++++++ .../5.5.0/#8702 - wikitext-palette-entries.tid | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - lingo-currenttiddler.tid diff --git a/editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - lingo-currenttiddler.tid b/editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - lingo-currenttiddler.tid new file mode 100644 index 0000000000..c5af8f9ff7 --- /dev/null +++ b/editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - lingo-currenttiddler.tid @@ -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. diff --git a/editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - wikitext-palette-entries.tid b/editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - wikitext-palette-entries.tid index 023bbc2eed..78c4f02d91 100644 --- a/editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - wikitext-palette-entries.tid +++ b/editions/tw5.com/tiddlers/releasenotes/5.5.0/#8702 - wikitext-palette-entries.tid @@ -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 `<>` 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 `<>` 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 `<>` 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 `<>AA`, no longer works. The equivalent filter expression is `[tf.colour[primary]colour-set-alpha[0.667]]`.