v4.0.0
4.0.0 (2019-12-16)
Bug Fixes
- i18n: use correct file name format (43a74f4)
- markdown: constraint values can be zero now (2e057fd)
- markdown: handle null as a constant value (e652e11)
- proxy: remove logging statements (616a1d9)
- schemas: remove references going nowhere (2186142)
Build System
- dependencies: remove unused dependencies (dbc9192)
Code Refactoring
- cli: remove bluebird, lodash, simplify arg parsing (b6b1822)
Continuous Integration
- test: require node 10 (ba4a947)
Documentation
- changelog: mention changes for v4 (4dfe90c), closes #126 #174 #72 #73 #94 #52 #20 #125 #177 #34 #123
Features
- cli: generate JSON schema output (dd18f3b), closes #176
- formats: add support for formats: json-pointer, relative-json-pointer, regex, and uri-template (689c158)
- i18n: new internationalization system (1a664de)
- i18n: provide complete en_US translation (5eb0c89)
- markdown: add header surpression (6225b9f)
- markdown: add support for
default
keyword (72a0fde) - markdown: add support for comments (07bb52f)
- markdown: add YAML frontmatter support (4df92e6)
- markdown: create and write markdown (e521541)
- markdown: generate additional detail (cc07df2)
- markdown: generate header again (011427c)
- markdown: generate some property details (fa34cf1)
- markdown: generate type details (c9f19e1)
- markdown: highlight keyword usage for documentation (d35e4ed), closes #100
- markdown: list nested schemas in README (608674b)
- markdown: list nested schemas in README (87e8489)
- markdown: show examples (c8e8dfa)
- markdown: show extensibility and abstraction in header (90a9a8e)
- markdown: show id and status in header (08e1923)
- markdown: show id and status in header (b6fcf53)
- markdown: show join types (12af018)
- markdown: show some info about properties, switch i18n library (f8a32df)
- markdown: show type, link, additional and custom properties in header (eff129a)
- markdown: show value constraints (515969c)
- markdown: support item arrays and additionalItems (c9fbcdf), closes #31
- markdown: support patternProperties and additionalProperties (1386ee3), closes #95 #180
- proxy: generate meta information (ac65ac6)
- proxy: generate slugs (eacbf38)
- proxy: resolve references (4cea068)
- readme: generate readme again (d6b9e5e)
- readme: mention the most common schema version (fc583d7)
- schema: add full support for "A Vocabulary for the Contents of String-Encoded Data" (96ca3a6)
- schema: add support for keyword
$defs
(70b63c8) - schema: add support for keyword
deprecated
(934b856) - schema: add support for readOnly and writeOnly schemas and properties (7452882)
BREAKING CHANGES
- changelog:
- i18n: The file format for the i18n files has changed
You can now specify the language to use using -l
and jsonschema2md
will pick up the correct language configuration.
- test: Node 8 is no longer supported
- dependencies: Removes the JSON schema validation feature entirely
- cli: Repaces lodash with ferrum, removed bluebird, changes the meaning of
--schema-out
or-x
to be no longer relative to output dir
The --schema-out
or -x
command line option is no longer relative to the output path (specified with -o
or --out
)