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

Release 5.2.2

25 mars 2022 à 13h08

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

mis à jour 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.

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.

étendu 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.

ajouté 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]]
}}}>

corrigé 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.

corrigé 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

Translation improvements

  • Polish
  • Chinese
  • French

Usability Improvements

  • amélioré wording of drag and drop banner (from "drop here" to "drop now")
  • corrigé wrapping and wikification of field names in field viewer
  • corrigé missing whitespace between description and MIME type in edit template dropdown for the type field
  • corrigé incorrect usage of code view for certain system tiddlers
  • corrigé 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: