Repository navigation
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
szrepresentation. Node IDs are generated only when required -
List items are now represented as
(ITEM attr ...)instead of(BLOCK ...) -
Descriptions now use explicit
TERM,DETAIL, andENTRYstructures -
Table rows now start with
ROW, followed by attributes and cells -
syntax: nonecontent is empty when accessed through the API. The previous metadata-based interpretation is now only used by the WebUI -
box-numberhas been removed. Usebox-nameinstead -
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
szstructures for lists, descriptions, tables - Replace
box-numberwithbox-name, most often used in queries. - Stop generating zettel using the YAML separator (
---), update parsing file-based zettel