Nviron Release Notes

Changelog

A clean timeline of changes shipped in nviron.

Mar 21, 2026

v 2.1.9

Compare changes

Changed

  • Reduced `packages/nviron/README.md` to a concise docs-first format.
  • Updated package metadata with improved keywords and repository fields.

Fixed

  • CI type-check reliability for docs by including generated docs source in build outputs.
Mar 21, 2026

v 2.1.8

Compare changes

Changed

  • Streamlined root `README.md` and moved detailed guidance to docs site.
Nov 18, 2025

v 2.1.7

Compare changes

Fixed

  • Disabled ANSI color wrapping in browser environments to avoid raw escape codes in console output.
  • Improved environment detection to distinguish browser and Node runtimes more safely.
Nov 15, 2025

v 2.1.6

Compare changes

Fixed

  • Updated Vite/browser behavior to throw validation errors instead of exiting the process.
Oct 20, 2025

v 2.1.5

Compare changes

Fixed

  • Rebuilt and republished package artifacts to include required build output.
Oct 20, 2025

v 2.1.4

Compare changes

Fixed

  • Validation error output now shows both original and normalized env keys (for example `VITE_PORT` and `PORT`).

Internal

  • Updated env normalization mapping and validator reporting flow.
Oct 18, 2025

v 2.1.3

Compare changes

Added

  • Optional `EnvConfig` argument for `defineEnv` with `source` and `prefix` support.
  • Type exports for `EnvConfig`, `EnvSchema`, and `ValidatedEnv`.
  • Re-export of `z` for simplified imports.
Oct 16, 2025

v 2.1.1

Compare changes

Documentation

  • Added package README to published package output.
Oct 16, 2025

v 2.1.0

Compare changes

Changed

  • Merged internal core package into main `nviron` package.
  • Refactored logger to class-based structure.
  • Improved package structure and internal organization.
Oct 15, 2025

v 2.0.0

Compare changes

Breaking

  • Moved to Zod-first schema validation and monorepo architecture.

Added

  • Dedicated documentation site.
  • Stronger type-safe environment configuration workflow.
Aug 22, 2025

v 1.5.0

Compare changes

Added

  • Introduced `defineEnv` for centralized environment configuration.
Aug 22, 2025

v 1.4.0

Compare changes

Added

  • Early improvements around typed env setup and package synchronization.
Aug 22, 2025

v 1.3.1

Compare changes

Changed

  • Patch release with no notable feature changes.
Aug 22, 2025

v 1.3.0

Compare changes

Changed

  • Version synchronization improvements.
Jul 14, 2025

v 1.2.1

Compare changes

Fixed

  • Type definitions and TypeScript support updates.
Jul 12, 2025

v 1.1.1

Compare changes

Changed

  • Patch release with no notable feature changes.
Jul 12, 2025

v 1.1.0

Added

  • Initial test coverage with Vitest.
  • TypeScript project setup.
  • First `env` utility implementation.