Releases: unjs/unenv
Releases · unjs/unenv
Release list
v2.0.0-rc.4
v2.0.0-rc.3
🩹 Fixes
- defineEnv: Use
import.meta.url(890c145) - Fix coverage and add
node:repl+node:inspector/promises(#424) - Full coverage for (esm) node exports (#425)
- Add missing default exports (#426)
- defineEnv: Ignore falsy ids (21dea9b)
💅 Refactors
⚠️ Only exportdefineEnvfrom main (#421)- Use same
builtinModulesfrom runtime (041d4f6) - Mark
notImplementedcalls as side-effect free (#422) - Explicit imports with extension (#416)
- Use
satisfies Twhen possible (#423) ⚠️ Reduceinjectandpolyfillfor nodeCompat (#427)
📦 Build
✅ Tests
- Make expect error better (cc5dad3)
⚠️ Breaking Changes
v2.0.0-rc.2
Note
This is first public release candidate for unenv@2.
⚠️ Breaking Changes
If directly using unenv/rumtime imports, you need to update unenv/runtime/node/{module}/index to unenv/runtime/{module}
If you have encountered any issues regarding ESM-only dist, please reach out.
🚀 Enhancements
- Compatibility with
node@22.13.1types (#414)
🩹 Fixes
- node:async_hooks: Remove extra methods from
AsyncHookclass (#415) - node:timers: Avoid circular dependency in internals (#418)
- node:crypto: Fix
randomBytesreturning zero values (#420)
💅 Refactors
❤️ Contributors
v1.10.0
v1.9.0
v1.8.0
🚀 Enhancements
- Polyfill
node:module(#148) - Add polyfill for
node:httpswith named exports (5917a50) - Support
consola/utilssubpath (#149)
🩹 Fixes
- node:net: Add missing new exports (2b805b1)
- node:net/socket: Add new
destroySoonandautoSelectFamilyAttemptedAddresses(311c72b)
🏡 Chore
🎨 Styles
- Format with prettier (b31444d)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.7.4
v1.7.3
🩹 Fixes
- Add
AbortControllerexport fromnode-fetch(230385c)
❤️ Contributors
Thanks to @dario-piotrowicz for reporting this issue!
v1.7.2
🩹 Fixes
- node:fs: Default export for
node:fs/promises(37fd173) - node:crypto: Bind crypto functions to avoid
Illegal invocationerror (#134) - node:fs: Add mock for
openAsBlob(16f6150) - node:stream: Support
asyncDisposefor readable (f8f8f46)
🏡 Chore
- Update dependencies (7731f08)
❤️ Contributors
- Pooya Parsa (@pi0)
- Brendon Matos brendonferreiradm@gmail.com