Releases: unjs/c12
Releases · unjs/c12
v4.0.0-beta.5
v3.3.4
v4.0.0-beta.4
🩹 Fixes
- Bust ESM module cache for native js config imports (#306)
- loader: Use statSync to detect directories with dots in name (#305)
❤️ Contributors
- Terminalchai (@terminalchai)
- Daniel Roe (@danielroe)
v4.0.0-beta.3
v4.0.0-beta.2
📦 Package Improvements
c12 install size is now down to 380kB from 3.44MB (20 deps to 7 deps).
Loading TypeScript files is significantly faster (on cold cache) — simple TS config loads ~2.5x faster (bench).
🚀 Migration
- If you need
extendsfeature with remote/git source, installgigetas a peer dependency (docs) - If you are using
watchConfig, installchokidaras a peer dependency (docs). - If you need legacy TypeScript support (mixed ESM/CJS, no import extensions, etc.), install
jitias a peer dependency (c12 automatically falls back) or provide a customimportconfig (docs). - Dotenv parsing now uses native runtime features (see #296). You might need to add
dotenvas a peer dependency only for legacy/Deno support.
Other changes
🚀 Enhancements
🔥 Performance
📦 Build
- Make
chokidaroptional peer dependency (8b7c6a2)
🏡 Chore
- Use oxlint and oxfmt (7874678)
❤️ Contributors
- Pooya Parsa (@pi0)
- Volodymyr Stelmashchuk (@VovaStelmashchuk)
v4.0.0-beta.1
v3.3.3
v3.3.2
v3.3.1
🩹 Fixes
- Extend with explicit extensions only (#276)
❤️ Contributors
- Pooya Parsa (@pi0)
- Ígor Jacaúna (@igorjacauna)
v3.3.0
🚀 Enhancements
🩹 Fixes
- loadDotenv:
cwdis optional (#273)
📖 Documentation
- Improve
dotenvsection with multiple files example (#270)
❤️ Contributors
- Pooya Parsa (@pi0)
- Carson (@carson2222)
- Igal Klebanov (@igalklebanov)
- @devbro1
Previous Next