Skip to content

v0.19.0

Latest

Choose a tag to compare

@gimalay gimalay released this 08 Aug 04:03

You can now bootstrap an Open Knowledge Format bundle with a single command — iwe init --okf writes the conformance schemas, binds them in the configuration, and creates the bundle-root document for you. Schema bindings also understand gitignore-style ! negation now, so a single catch-all pattern can cover a whole folder while carving out reserved documents.

iwe

Added

  • iwe init --okf scaffolds an Open Knowledge Format v0.2 bundle: it writes the three conformance schemas into .iwe/schemas/, binds them in the configuration, sets refs_extension to .md, and creates a bundle-root index.md carrying okf_version when none exists. An existing index.md is left alone, and an explicit --refs-extension still wins.
  • ! negation in schema binding match patterns in .iwe/config.toml — patterns apply in order and the last matching one decides, gitignore-style, so a catch-all binding like match = ["data/**", "!data/index"] skips a reserved key and a later pattern can re-include what an earlier ! removed.

iwec

Added

  • Schema bindings honor !-negated match patterns in .iwe/config.toml, so a document a negated pattern unbinds is no longer validated on write.
Library crates (liwe, diwe)

diwe

Added

  • Negated glob patterns in SchemaBinding::match — a !-prefixed pattern unbinds keys an earlier pattern matched. SchemaBindings::schemas_for applies patterns in order and the last matching one decides, gitignore-style, so a later pattern can re-include what a ! removed; \! escapes a literal leading !.