Skip to content

Releases: kentcdodds/cross-env

v10.0.0

25 Jul 21:55
Compare
Choose a tag to compare

10.0.0 (2025-07-25)

TL;DR: You should probably not have to change anything if:

  • You're using a modern maintained version of Node.js (v20+ is tested)
  • You're only using the CLI (most of you are as that's the intended purpose)

In this release (which should have been v8 except I had some issues with automated releases πŸ™ˆ), I've updated all the things and modernized the package. This happened in #261

Was this needed? Not really, but I just thought it'd be fun to modernize this package.

Here's the highlights of what was done.

  • Replace Jest with Vitest for testing
  • Convert all source files from .js to .ts with proper TypeScript types
  • Use zshy for ESM-only builds (removes CJS support)
  • Adopt @epic-web/config for TypeScript, ESLint, and Prettier
  • Update to Node.js >=20 requirement
  • Remove kcd-scripts dependency
  • Add comprehensive e2e tests with GitHub Actions matrix testing
  • Update GitHub workflow with caching and cross-platform testing
  • Modernize documentation and remove outdated sections
  • Update all dependencies to latest versions
  • Add proper TypeScript declarations and exports

The tool maintains its original functionality while being completely modernized with the latest tooling and best practices

BREAKING CHANGES

  • This is a major rewrite that changes the module format from CommonJS to ESM-only. The package now requires Node.js >=20 and only exports ESM modules (not relevant in most cases).

v7.0.3

01 Dec 20:25
bb0287b
Compare
Choose a tag to compare

7.0.3 (2020-12-01)

Bug Fixes

  • add maintenance mode notice (fe80c84)

v7.0.2

05 Mar 20:32
Compare
Choose a tag to compare

7.0.2 (2020-03-05)

Reverts

v7.0.1

03 Mar 18:38
8a9cf0e
Compare
Choose a tag to compare

7.0.1 (2020-03-03)

Bug Fixes

v7.0.0

25 Jan 18:40
Compare
Choose a tag to compare

7.0.0 (2020-01-25)

Features

BREAKING CHANGES

  • Drop Node 8 support

v6.0.3

02 Oct 16:20
Compare
Choose a tag to compare

6.0.3 (2019-10-02)

Bug Fixes

  • do not compile anything (67f21c3)

v6.0.2

01 Oct 16:56
Compare
Choose a tag to compare

6.0.2 (2019-10-01)

Bug Fixes

  • table of contents in README (a825e9c)

v6.0.1

01 Oct 16:53
Compare
Choose a tag to compare

6.0.1 (2019-10-01)

Bug Fixes

  • update all packages, tests, and README (36bb6c3)

v6.0.0

17 Sep 17:18
Compare
Choose a tag to compare

6.0.0 (2019-09-17)

Bug Fixes

BREAKING CHANGES

  • Drop support for Node.js < 7.

v5.2.1

31 Aug 18:29
Compare
Choose a tag to compare

5.2.1 (2019-08-31)

Bug Fixes