Releases: mikaello/avrodoc-plus
Releases · mikaello/avrodoc-plus
v1.4.1
v1.4.0 - `--title` option
v1.3.0 - Pretty printing
v1.2.0
Added partial support for referencing types in other schemata. This is partial because it only works if the schema to be referenced is parsed first. I.e. if you have a schema A that reference a type in B, B has to be parsed first. In practice this means that you have to be careful when ordering the schemata on the command line when you run this tool. This may be fixed in the future.
Responsible commit: 3b3dc94
Minimal example:
Schemata that reference type in external schema:
{
"name": "TheReferrer",
"doc": "A complex object referencing object from another schema",
"namespace": "com.example_referrer",
"type": "record",
"fields": [
{
"name": "externalObject",
"type": "com.example_referent.ToBeReferred",
"doc": "An object from another schema"
}
]
}
Schema that is referenced:
{
"name": "ToBeReferred",
"type": "record",
"namespace": "com.example_referent",
"doc": "A simple object provided as a building block",
"fields": [
{
"name": "value",
"type": "boolean",
"doc": "The value of the object to be referenced"
}
]
}
v1.1.0
v1.0.2
v1.0.0
Changes
- Upgraded almost all dependencies with major versions.
- Changed minifier from UglifyJS to ESBuild, which made compile time go from 4 seconds to less than 100ms (and about same minified file size)
- Removed Underscore dependency, using ES6 or later instead
- Added test (checking if able to build and that output contains expected content)
Breaking changes
- No IE support (in favor of removing Underscore dependency)
- CLI requires NodeJS v14 or higher