Skip to content

6.0.0

Compare
Choose a tag to compare
@wooorm wooorm released this 23 Feb 11:20
· 295 commits to main since this release
Changes
  • 111d3c6 (GH-26) Remove streaming — use unified-stream instead
  • 6f1b3e3 (GH-21) Remove first argument of attachers, processor — use this instead
  • 56882b0 (GH-8) Remove sync behaviour from run, process — use runSync, processSync instead
  • e73da90 (GH-29) Add plugin reconfiguring — It’s no longe possible to pass duplicate plugins. Plugins are now invoked when freezing the processor (see below)
  • e73da90 (GH-29) Rename .abstract() to .freeze()
  • e73da90 (GH-29) Processors automatically freeze on .parse, .stringify, .run, .runSync, .process, .processSync.
  • 0db0928 (GH-23) Change signatures in parser, compiler.
Features
  • b17f876 (GH-25) Add support for parser, compiler, as functions instead of constructors
  • f0427f4 (GH-22, GH-23) Add support for presets
  • 56882b0 (GH-8) Add support for returning promises from run, process
  • e73da90 (GH-29) It’s now possible to call .parse, .stringify, .run, .runSync, .process, .processSync on frozen processors