Skip to content

Releases: w3c/yml2vocab

New features

09 Dec 09:37

Choose a tag to compare

Main additions:

  • Added the possibility to add a container to a property, with possible values of list, set, or graph
  • Added the possibility to add JSON-LD aliases (e.g., "type" : "@type") which will be added to the generated context file if generated
  • The format of the generated files (HTML, Turtle, JSON) are more readable: the HTML output is beautified, and for all formats the .editorconfig instructions are (partially) honored (in particular, the intendation size).

See the README.md file (or the generated documentations) for further details.

Also, the package can be used both from node.js+npm and deno, and is published both on npm and jsr.

Adding `@context` information

11 Feb 14:47

Choose a tag to compare

The main functional change is the possibility to add @context information to the terms.

Numerous small additional updates and bugs, see CHANGES.md for details.

v1.4.5: Merge pull request #17 from w3c/wrong-ns-for-Property

08 Sep 09:44
9ea0e95

Choose a tag to compare

Generation bug: Property was put into a wrong namespace.

Added datatypes, deprecation, context generations...

16 Aug 15:16
b37132b

Choose a tag to compare

Main new features since previous release

  • Optional generation of JSON-LD @context files for the vocabulary
  • Properties can be explicitly defined as graph containers in JSON-LD (to be used when @context is generated)
  • Comments in HTML
  • Cross-references for domains and ranges between properties and classes
  • Introduction of deprecated properties, and a status flag for reserved, deprecated, or stable
  • Adding the possibility to define datatypes

See the CHANGES.md file for further details

Initial release

28 Oct 12:35

Choose a tag to compare

First formal release