NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4717 most downloaded on npm
A set of primitives to build Vercel Edge Runtime.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 5 months
Most releases are documented
notes for 32 of 38 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
101 releases · first in 2022
One column per quarter.
### Major Changes - drop node16
force bumping primitives as format changed and it didn't trigger a rebuild
remove custom entries() iterator in favor of Undici's default implementation
remove custom entries() iterator in favor of Undici's default implementation (#942)
The difference will be that set-cookie headers will be emitted independently.
const headers = new Headers()
headers.append('set-cookie', 'a=1')
headers.append('set-cookie', 'b=2')
const entries = [...headers.entries()]
// previous implementation
console.log(entries) // [["set-cookie", "a=1, b=2"]]
// new implementation (undici's native implementation)
console.log(entries) // [["set-cookie", "a=1"], ["set-cookie", "b=2"]]
fix(cookies): set options when deleting cookies
Updated dependencies \[`b1e3795`]:
Add cookies partitioned attribute
fix: expose performance constructor
feat(primitives): remove atob/btoa implementation, use native implementation.
Updated dependencies \[`c3978db`]:
c3978db]:
fix: don't expose \_\_conditionallyUpdatesHandlerList
Updated dependencies \[`6a869f12121f80cc6490ec2b81484453672b7b6b`]:
6a869f12121f80cc6490ec2b81484453672b7b6b]:
Headers#getSetCookie (#650)NodeJS.Timer from setTimeout and setInterval (#622)Updated dependencies \[`0ca58d72e7c6969fcee2287e9a3ee9d0a24d232a`]:
0ca58d72e7c6969fcee2287e9a3ee9d0a24d232a]:
Headers#getAll introduced in #586 for compatibility reasons. It is still marked as deprecated, as Headers.getSetCookie is the preferred method now. (#597)Updated dependencies \[`b1e3795`]:
b1e3795]:
892741faf806d5f5a201331fe31e8f26a4816ac6]:
Updated dependencies \[`fb34f31`]:
fb34f31]:
drop node14 support (`7cc92cc`)
### Patch Changes - Updated dependencies \[]: - @edge-runtime/vm@4.0.4
8d21ddc]:
Updated dependencies \[`c3978db`]:
c3978db]:
44aaa5706fb45df468d72531e27930552e882701]:
Updated dependencies \[`6a869f12121f80cc6490ec2b81484453672b7b6b`]:
6a869f12121f80cc6490ec2b81484453672b7b6b]:
print stack trace by default when logging errors
0ca58d72e7c6969fcee2287e9a3ee9d0a24d232a]:
### Major Changes - use MIT license
892741faf806d5f5a201331fe31e8f26a4816ac6]:
remove .require helpers. This is not necessary as people can add dependencies (#355)
to the context and instanceof should just work.
we don't use the vm as a security boundary, so we don't need to worry about people adding malicious code to the context.
instanceof tests, upgrade undici and revamp how we import stuff into the VM (#309)simplify primitives loading in VM (#324)
Extract a @edge-runtime/primitives/load entrypoint that loads the primitives given a scoped global context (#327)
Updated dependencies [a6b6124, 9cc5d75, a373606, 8b1dee4, 2a2c018, a9054f7, e3cf3f8, 9f35416, ed225b3, 2f930a6, 8d4f786, 7da12a7, 1d8b6ce, b02cec8, 0114cf4]:
use node's webcrypto when available (#326)
Fix instanceof tests, upgrade undici and revamp how we import stuff into the VM (#309)
Don't remove Blob from global scope, and use global Blob if available (#359)
bugfix: Request can now be extended (#322)
update patching of undici request (#363)
Use path.join instead of path.resolve, if possible (#344)
Don't use require.resolve for the custom import resolution (#324)
expose primitives/load (#336)
Extract a @edge-runtime/primitives/load entrypoint that loads the primitives given a scoped global context (#327)
Fix @/primitives/load types by externalizing @/primitives/index in the type definition (#338)
remove dynamism in imports: add a ${primitive}.text.js file that will be (#351)
required, instead of using fs to read the file at runtime.
This will help bundlers to statically analyze the code.
Remove dynamic path manipulation (#353)
bump undici to v5.22.1 (#357)
fix entries iteration on Headers (#346)
Updated dependencies \[`0114cf4`]:
0114cf4]:
remove specific-polyfill entrypoints
a6b6124]:
Don't remove Blob from global scope, and use global Blob if available
a594675]:
### Patch Changes - bump undici to v5.22.1
Updated dependencies \[`7da12a7`]:
7da12a7]:
Updated dependencies \[`8d4f786`]:
8d4f786]:
remove dynamism in imports: add a ${primitive}.text.js file that will be (#351)
required, instead of using fs to read the file at runtime.
This will help bundlers to statically analyze the code.
Updated dependencies \[`b02cec8`]:
b02cec8]:
Updated dependencies \[`2a2c018`]:
2a2c018]:
Updated dependencies \[`2f930a6`]:
2f930a6]:
@/primitives/load types by externalizing @/primitives/index in the type definition (#338)Updated dependencies \[`e3cf3f8`]:
e3cf3f8]:
9f35416]:
Extract a @edge-runtime/primitives/load entrypoint that loads the primitives given a scoped global context
@edge-runtime/primitives/load entrypoint that loads the primitives given a scoped global context (#327)simplify primitives loading in VM
a9054f7]:
### Patch Changes - Updated dependencies \[]: - @edge-runtime/vm@2.2.0-beta.1
9cc5d75]:
Fix instanceof tests, upgrade undici and revamp how we import stuff into the VM
Updated dependencies \[`586de6e`]:
586de6e]:
fc425d2]:
chore(cookies): expose .splitCookiesString
574edea]:
Fix instanceof tests, upgrade undici and revamp how we import stuff into the VM
instanceof tests, upgrade undici and revamp how we import stuff into the VM (#309)instanceof tests, upgrade undici and revamp how we import stuff into the VM (#309)TextDecoderStream and TextEncoderStream (#267)605f849]:
Updated dependencies \[`726be10`]:
726be10]:
Updated dependencies \[`029c6af`]:
029c6af]:
Use valid SPDX license expression
eef6b34]:
We are already falling back in code, the types just need to reflect this correctly
Use valid SPDX license expression
### Major Changes - use MIT license
Fix instanceof tests, upgrade undici and revamp how we import stuff into the VM
instanceof tests, upgrade undici and revamp how we import stuff into the VM (#309)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →