Releases: unjs/unenv
Releases · unjs/unenv
v2.0.0-rc.6
🩹 Fixes
- Use
node:process
for polyfill (#453) - Resolve tree-shaking issues with
node/util
(#458) - Allow tree-shaking with default exports (#459)
- Circular dependency between node and web
performance.now()
(#463)
💅 Refactors
- process:
⚠️ ExtractnextTick
to a separate file (#454) - Mark
process
internals as side-effect free (#455) - Improve
node:util
tree-shaking (#456) - Overhaul node constants (#460)
Types
- Rename internal node type imports (#461)
- DefineEnv returns a
ResolvedEnvironment
(#451) - process: refine types (#452)
❤️ Contributors
v2.0.0-rc.5
🩹 Fixes
- console: Rename
_time
to_times
(#443) - util: Import
types
fromnode:util/types
(#447) - DefineEnv returns a ResolvedEnvironment where inject values are never
false
(#448)
💅 Refactors
⚠️ Add all npm shims with opt-innpmShims
(#444)⚠️ Remove extra node exports (#445)⚠️ Rewriteprocess
as class (#450)
📦 Build
- Copy non
.ts
files as is (5d18c2b)
⚠️ Breaking Changes
⚠️ Add all npm shims with opt-innpmShims
(#444)⚠️ Remove extra node exports (#445)⚠️ Rewriteprocess
as class (#450)
❤️ Contributors
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 exportdefineEnv
from main (#421)- Use same
builtinModules
from runtime (041d4f6) - Mark
notImplemented
calls as side-effect free (#422) - Explicit imports with extension (#416)
- Use
satisfies T
when possible (#423) ⚠️ Reduceinject
andpolyfill
for 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
[email protected]
types (#414)
🩹 Fixes
- node:async_hooks: Remove extra methods from
AsyncHook
class (#415) - node:timers: Avoid circular dependency in internals (#418)
- node:crypto: Fix
randomBytes
returning zero values (#420)
💅 Refactors
❤️ Contributors
v1.10.0
v1.9.0
v1.8.0
🚀 Enhancements
- Polyfill
node:module
(#148) - Add polyfill for
node:https
with named exports (5917a50) - Support
consola/utils
subpath (#149)
🩹 Fixes
- node:net: Add missing new exports (2b805b1)
- node:net/socket: Add new
destroySoon
andautoSelectFamilyAttemptedAddresses
(311c72b)
🏡 Chore
🎨 Styles
- Format with prettier (b31444d)
❤️ Contributors
- Pooya Parsa (@pi0)
v1.7.4
v1.7.3
🩹 Fixes
- Add
AbortController
export fromnode-fetch
(230385c)
❤️ Contributors
Thanks to @dario-piotrowicz for reporting this issue!