Skip to content

v3.0.0

Latest

Choose a tag to compare

@t73fde t73fde released this 26 Sep 14:33
· 255 commits to master since this release
Immutable release. Only release title and notes can be modified.

Version 3.0.0 is a breaking release with major changes to the API and data encoding. The release simplifies several internal representations, makes zettel identifiers consistently string-based, and introduces box-name as the replacement for box-number.

Breaking Changes

The following changes may require updates to clients, integrations, or scripts using the API or data encoding:

  • Zettel identifiers are encoded as strings instead of numbers:

    (zettel "ZID" ...)
    
  • Zettel retrieval encoding now combines encoding and content into a single list:

    (content "" "Change data encoding ...")
    
  • Access rights changed from numeric values to symbols:

    (rights create read update delete)
    
  • Headings and inline marks use a simplified sz representation. Node IDs are generated only when required

  • List items are now represented as (ITEM attr ...) instead of (BLOCK ...)

  • Descriptions now use explicit TERM, DETAIL, and ENTRY structures

  • Table rows now start with ROW, followed by attributes and cells

  • syntax: none content is empty when accessed through the API. The previous metadata-based interpretation is now only used by the WebUI

  • box-number has been removed. Use box-name instead

  • Writing or encoding zettel with the YAML separator (---) is no longer supported. Reading YAML-separated zettel is still supported for now, but will be removed in a future major release

Other Changes

  • Block transclusions are only wrapped in a region block when they specify attributes
  • Inline transclusions are only wrapped in an inline span when they specify attributes
  • Zettel content can now be retrieved using data encoding
  • Various smaller bug fixes and improvements across the software and documentation

Upgrade Notes

If you use the API or data encoding, review your integration before upgrading to version 3.0.0.

In particular:

  • Update code that expects numeric zettel IDs
  • Update code consuming the changed sz structures for lists, descriptions, tables
  • Replace box-number with box-name, most often used in queries.
  • Stop generating zettel using the YAML separator (---), update parsing file-based zettel