Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@lostfictions lostfictions released this 24 Mar 09:21

This release adds a few long-awaited features:

  • Edge runtimes and other non-Node.js environments are now supported! Import from znv/compat instead of znv.
  • Custom error formatting is now supported by passing a third parameter to parseEnv. This can be used to redact secrets in the error message, override the default terminal-friendly formatting, and more. See the documentation for the new parameter.
  • Missing env vars are now reported in a more compact form (thanks @cometkim!)
  • A longstanding type error that could arise with certain TypeScript project configurations is now fixed (thanks @adicco for reporting and @gyf304 for the fix!)
  • znv now has zero runtime dependencies.

I'm also happy to welcome as a co-maintainer for this project @BowlingX, who has previously made some great contributions and is already helping to shore up some repo tooling and maintenance work I haven't been able to take on in the past year.

As a side note, with ES module support and edge runtime compatibility now shipped, notwithstanding any new showstopping issues I expect our next release can be promoted to a stable 1.0.0. 🥳

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0