This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Release 5.2.2

 25th March 2022 at 1:08pm

See GitHub for detailed change history of this release

Congratulations to Elise Springer for her winning design for the banner for this release (here is the competition thread).

Highlights

updated Highlight Plugin to use highlight.js v11.4.0

This is a major upgrade to the latest version of highlight.js. The new version has many improvements, including better support for Fortran.

Warning
The new version of the Highlight Plugin requires a modern browser that fully supports JavaScript ES6 (released in 2015). The older version is still available as the highlight-legacy plugin for users who need to use an older browser.

extended support for secondary windows

The WidgetMessage: tm-open-window now supports an optional windowID parameter so that opened windows can be closed with the new WidgetMessage: tm-close-window message. There is also a new WidgetMessage: tm-close-all-windows message which closes all secondary windows.

added support for line breaks within filtered transcluded attributes

To improve readability, it is now possible to use newlines as whitespace within filtered transcluded attributes of HTML elements and widgets. For example:

<span class={{{
	[<currentTiddler>addsuffix[-primaryList]]
	:except[<searchListState>get[text]]
	:and[then[]else[tc-list-item-selected]]
}}}>

fixed inconsistent ordering of tagged tiddlers

This was a long standing bug that manifested itself in several ways.

The root cause was that the order in which tiddlers were enumerated depended upon the order in which they had been added to the store.

The effect was that lists based on enumerating tiddlers would show different results depending upon whether new tiddlers were added since the wiki was reloaded.

For example, adding a new tiddler with a given tag previously caused the new tiddler to appear at the bottom of the tag pill listing for that tag. Saving and reloading the wiki would reorder the list to put the new tiddler in the correct position.

The fix ensures that the enumeration order remains consistent.

fixed some incorrectly nested <span> and <div> elements

TiddlyWiki's core page layout has historically included several instances of inline <span> elements containing block <div> elements, something that is technically invalid HTML. In practice, browsers have always handled these cases leniently to make the page work but it has also been unhelpful for developers to encountering invalid HTML constructions in their first interactions with TiddlyWiki.

The immediate prompt for starting to fix these issue now is that Chrome v100 includes a change that causes some of these misnested elements to be rendered correctly visually but to be unclickable in some situations. (The change is reverted in Chrome v102, but it still makes sense to fix it)

Plugin Improvements

  • fixed issue with LaTeX content within Markdown tiddlers
  • fixed incorrect handling of dropdown classes in the menu bar plugin
  • updated the Dynannotate plugin to use the new View Template Body Cascade to avoid modifying the default view template.

Translation improvements

  • Polish
  • Chinese
  • French

Usability Improvements

  • improved wording of drag and drop banner (from "drop here" to "drop now")
  • fixed wrapping and wikification of field names in field viewer
  • fixed missing whitespace between description and MIME type in edit template dropdown for the type field
  • fixed incorrect usage of code view for certain system tiddlers
  • fixed sidebar plugin listing to be sorted by name rather than description

Widget Improvements

Filter improvements

Hackability Improvements

Developer Improvements

Node.js Improvements

Performance Improvements

Bug Fixes

Acknowledgements

@Jermolene would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki:

  1. @benwebber
  2. @BramChen
  3. @btheado
  4. @cdruan
  5. @CodaCodr
  6. @damscal
  7. @davout1806
  8. @EvidentlyCube
  9. @FlashSystems
  10. @flibbles
  11. @FSpark
  12. @ibnishak
  13. @jc-ose
  14. @joshuafontany
  15. @linonetwo
  16. @Marxsal
  17. @nilslindemann
  18. @oflg
  19. @pmario
  20. @rryan
  21. @saqimtiaz
  22. @slaymaker1907
  23. @tw-FRed
  24. @twMat