Skip to content

v0.3.0

Choose a tag to compare

@CatchMe2 CatchMe2 released this 02 May 15:15
· 31 commits to main since this release

⚠️ Breaking Change

The parseEnv function no longer includes environment flags (isProduction, isTest, isDevelopment) in its return value.

🔧 Migration Guide

If you relied on config.isProduction or similar flags, update your code like this:

Before

const config = parseEnv(process.env, {});
if (config.isProduction) {
  // ...
}

After

const config = parseEnv(process.env, {});
const nodeEnv = detectNodeEnv(process.env);

if (nodeEnv.isProduction) {
  // ...
}

What's Changed

  • chore: improve ci trigger events by @CatchMe2 in #4
  • feat: move node env flag detection to dedicated function by @CatchMe2 in #5

Full Changelog: v0.2.0...v0.3.0