Skip to content

Releases: ezzatron/austenite

v0.12.0

07 Nov 22:57
v0.12.0
4f0729a
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release

Changed

  • [BREAKING] In order to trigger Markdown usage generation, you must now use AUSTENITE_MODE=usage/markdown instead of AUSTENITE_SPEC=true. This allows for new modes to be added in the future without breaking existing behavior, and more closely matches the behavior of Ferrite.

v0.11.1

06 Nov 04:04
v0.11.1
b8e0470
Compare
Choose a tag to compare
v0.11.1 Pre-release
Pre-release

Fixed

  • Markdown spec generation code is now imported conditionally, so that build tools can potentially exclude spec generation support from the final bundle when it's not needed.

v0.11.0

05 Nov 06:44
v0.11.0
4c78cdc
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

Changed

  • [BREAKING] The initialize() function has moved to the austenite/node sub-path export. You can now import it from austenite/node instead of austenite.

Fixed

  • This library now works better with Next.js. Previously Next.js would complain about various imports that were incompatible with the Edge Runtime. This has been improved in two ways:
    • The initialize() function, which uses some Node.js APIs, has been moved to the austenite/node sub-path export. Importing declaration functions from the main austenite module will no longer cause these Node.js APIs to be included in the Next.js server bundle.
    • Any remaining Node.js API imports have been updated to use the node: protocol, which allows Next.js to provide Edge Runtime polyfills. An example of this is the use of the buffer module, which is essential for binary() declarations, and can only be polyfilled by Next.js when imported as node:buffer.
  • Fixed incorrect CommonJS type definitions.

v0.10.1

30 Mar 05:56
v0.10.1
e6029c5
Compare
Choose a tag to compare
v0.10.1 Pre-release
Pre-release

Fixed

  • Removed unused mdast dependency.

v0.10.0

30 Mar 05:41
v0.10.0
f94af6f
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

Added

  • Custom constraints can now be defined for all declarations.

Changed

  • [BREAKING] The initialize() function is now async.
  • If you have Prettier installed in your project, Austenite will now use it to format generated Markdown specification output.
  • The generated specification output has been improved.
  • Markdown phrasing content is now supported in variable and constraint descriptions.

v0.9.1

24 Mar 22:07
v0.9.1
c9ebb24
Compare
Choose a tag to compare
v0.9.1 Pre-release
Pre-release

Fixed

  • Replaced usage of node: imports to avoid issues when Austenite is included in a Webpack server bundle.

v0.9.0

24 Mar 12:42
v0.9.0
da18800
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

Added

  • Example values can now be overridden in any declaration.

Changed

  • [BREAKING] Explicit examples must be provided in a declaration if the declaration uses constraints that would make the auto-generated examples invalid.

v0.8.0

23 Mar 12:04
v0.8.0
10fa1ee
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release

Added

  • Declarations can now be marked as sensitive, which will cause their default values and actual values to be redacted in validation summaries, generated specifications, and exception messages.
  • Length constraints can now be set on binary and string variable declarations.
  • Range constraints can now be set on number, integer, bigInteger, networkPortNumber, and duration variable declarations.

Changed

  • The generated specification output has been improved to be easier to read.
  • The validation summary output uses "not set" instead of "undefined" to describe values that are not set, or are set to empty values.

v0.7.0

15 Mar 05:08
v0.7.0
68d4a34
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Added

  • Added binary variable declarations.

v0.6.2

15 Oct 10:32
v0.6.2
d9fb3d6
Compare
Choose a tag to compare
v0.6.2 Pre-release
Pre-release

Fixed

  • Fixed badge images and links in the README.