Skip to content

Releases: mikaello/avrodoc-plus

v1.4.1

19 Oct 18:43
Compare
Choose a tag to compare
  • fix: lookup shared schemas by fully qualified name (#132)

v1.4.0 - `--title` option

02 Apr 18:22
Compare
Choose a tag to compare

Added CLI option --title for specifying page title in the generated HTML.

Example:

npx @mikaello/avrodoc-plus --input schemata/ --output avrodoc.html --title "My precious title"

image

v1.3.0 - Pretty printing

29 Nov 07:27
Compare
Choose a tag to compare

Add stylesheet for printing, hiding the left menu and making a more clean printout.

Previously:

image

After this release:

image

v1.2.0

11 Jun 06:35
Compare
Choose a tag to compare

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"
    }
  ]
}

Result:
image

v1.1.0

26 Apr 16:03
Compare
Choose a tag to compare

Added option --ignore-invalid, when set avrodoc-plus will ignore schemas that can not be parsed as JSON.

v1.0.2

26 Apr 06:24
Compare
Choose a tag to compare

Upgrade bootstrap-popover and bootstrap-tooltip to v3.4.1 from v2.1.1

v1.0.0

24 Apr 14:49
Compare
Choose a tag to compare

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