20th March 2023 at 6:43pm
See GitHub for detailed change history of this release
Congratulations to StS for their winning design for the banner for this release (here is the competition thread and the voting thread).
Major Improvements
Improved Markdown Plugin
- updated the Markdown Plugin to use the newer and better maintained markdown-it library. The previous Markdown plugin remains available as "markdown-legacy"
Better Handling of Loss of Network Connectivity with Client Server Configuration
- added integration between the BrowserStorage Plugin and the client-server configuration to allow changes to be made while offline and then later resynchronised with the server
New Diff-Match-Patch Primitives
- added three new operators exposing previously hidden features of the Diff-Match-Patch library that is integrated with TiddlyWiki:
- new levenshtein Operator to calculate the similarity of two strings as the number of characters that need to be inserted, deleted or modified in order to turn one into the other
- new makepatches Operator and applypatches Operator that can be used to make and apply patches that represent the difference between two different texts. See the examples
Translation Improvements
Improvements to the following translations:
- Chinese
- German
- Italian
- Polish
Plugin Improvements
- fixed Innerwiki Plugin to allow the
<$data>
widget to override existing tiddler fields - fixed, here and here problem preventing Share Plugin from working properly
- updated XLSX Plugin to handle importing numeric fields
- fixed Dynannotate plugin crash when using the fake DOM used for static rendering
- fixed bug where pasting text into the CodeMirror editor also opened an
$:/Import
tiddler - improved documentation for the Railroad Plugin
Accessibility Improvements
- improved appearance of save wiki button so that it is accessible to users without colour vision
Usability Improvements
- improved consistency of tiddler deletion by allowing missing tiddlers to be 'deleted', which just results in them being closed
- improved layout switcher to include an optional icon for each layout
- removed improvements to table layout from v5.2.5 that have proved to not be backwards compatible
- added support for
$
HTML entity
Widget Improvements
- extended EditTextWidget to support
focusSelectFromStart
andfocusSelectFromEnd
attributes to give better control over text selection
Filter improvements
- extended encodeuricomponent Operator to encode characters such as
*
that are illegal in Windows filenames - added encodebase64 Operator and decodebase64 Operator
Hackability Improvements
- extended the pragma syntax to allow them to be indented with whitespace
- improved readability of tag-picker Macro and keyboard-driven-input Macro
- improved reliability of list-links-draggable Macro and list-tagged-draggable Macro by using the new GenesisWidget instead of textual substitution
- improved external JavaScript core support to make it possible to save an external JS wiki as a standard single file wiki
- added a warning message in the browser console when the Zoomin storyview fails due to the tiddler view template lacking a single containing element
Bug Fixes
- fixed bug with the DropzoneWidget that prevented all the available formats being pasted
- updated PDF rendering to use an
<iframe>
instead of the older<embed>
- fixed issue with
.tid
files with fieldnames containing hash characters by saving such tiddlers in.json
format - fixed (and here) overriding
toc-caption
macro for Table-of-Contents Macros - fixed rendering of $:/core/ui/MoreSideBar/Tags when viewed within the story river
- fixed undefined variable crash in reduce Operator, filter Operator and sortsub Operator
- improved GenesisWidget not to create anything if the
$type
attribute is blank or missing - fixed GenesisWidget to pass
isBlock
flag to the generated widget - fixed crash using jsonget Operator with "fixed" as key name
- fixed importing of MP3 files to match current browser implementations
- fixed crash when attempting to create an element with a blank tag name
- fixed layout issue with "save tiddler" button
- fixed (and here) handling of whitespace in lists to cover all Unicode whitespace characters
- fixed test spacing of parser rule checkboxes in control panel
- fixed CSS classes assigned to edit toolbar buttons
- fixed usage of broken CSS class
tc-storyview-zoomin-tiddler
in Zoomin story view - fixed usage of
importTitle
andautoOpenOnImport
options for WidgetMessage: tm-import-tiddlers - fixed fixed text editor refresh when the palette is changed
- fixed crash with LetWidget when referencing a variable that exists but has an undefined value
- fixed unwanted double braces around tags specified in $:/config/NewTiddler/Tags when using "new here" button
Node.js Improvements
- fixed duplicate fields in internal templates used in client-server configuration
- fixed lazy loading not triggering a sync from the server
- fixed crash on creating a new tiddler if anonymous users manage to create syncable tiddlers in a read only wiki
- improved handling of logout in the client-server configuration to avoid 404 errors
- fixed problem with saving tiddlers with
_canonical_uri
field as.tid
files - fixed missing meta viewport to static river template
Performance Improvements
- improved field indexer to more efficiently process lookups
Acknowledgements
@Jermolene would like to thank the contributors to this release who have generously given their time to help improve TiddlyWiki: