Releases: w3c/yml2vocab
Releases · w3c/yml2vocab
New features
Main additions:
- Added the possibility to add a
containerto a property, with possible values oflist,set, orgraph - 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
.editorconfiginstructions 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
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
Generation bug: Property was put into a wrong namespace.
Added datatypes, deprecation, context generations...
Main new features since previous release
- Optional generation of JSON-LD
@contextfiles for the vocabulary - Properties can be explicitly defined as graph containers in JSON-LD (to be used when
@contextis 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
First formal release