[TASK] Update all
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
---|---|---|---|---|---|---|---|
@types/node (source) | ^22.0.0 -> ^20.12.7 |
devDependencies | minor | ||||
@types/nodemailer (source) | 6.4.14 -> 6.4.17 |
dependencies | patch | ||||
@types/react (source) | 18.3.1 -> 18.3.18 |
devDependencies | patch | ||||
@types/react-dom (source) | 18.3.0 -> 18.3.5 |
devDependencies | patch | ||||
axios (source) | 1.6.8 -> 1.7.9 |
dependencies | minor | ||||
dotenv | 16.4.5 -> 16.4.7 |
dependencies | patch | ||||
eslint (source) | ^9.0.0 -> ^8.57.0 |
devDependencies | patch | ||||
eslint-config-next (source) | 14.2.3 -> 14.2.21 |
devDependencies | patch | ||||
framer-motion | 11.1.7 -> 11.15.0 |
dependencies | minor | ||||
next (source) | 14.2.3 -> 14.2.21 |
dependencies | patch | ||||
node |
22.0.0-bookworm-slim -> 22.12.0-bookworm-slim
|
final | minor | ||||
nodemailer (source) | 6.9.13 -> 6.9.16 |
dependencies | patch | ||||
postcss (source) | 8.4.38 -> 8.4.49 |
devDependencies | patch | ||||
react-icons | 5.1.0 -> 5.4.0 |
dependencies | minor | ||||
react-spring | 9.7.3 -> 9.7.5 |
dependencies | patch | ||||
sass | 1.75.0 -> 1.83.0 |
dependencies | minor | ||||
sharp (source, changelog) | 0.33.3 -> 0.33.5 |
dependencies | patch | ||||
tailwindcss (source) | 3.4.3 -> 3.4.17 |
devDependencies | patch | ||||
traefik |
v3.0 -> v3.2
|
minor | |||||
typescript (source) | 5.4.5 -> 5.7.2 |
devDependencies | minor |
Update dependencies
-
Clone project
-
Checkout update branch
-
run
npm install
and test everything -
If everything is fine and fixes are pushed, merge the MR
Release Notes
axios/axios (axios)
v1.7.9
Reverts
Contributors to this release
v1.7.8
Bug Fixes
- allow passing a callback as paramsSerializer to buildURL (#6680) (eac4619)
- core: fixed config merging bug (#6668) (5d99fe4)
- fixed width form to not shrink after 'Send Request' button is clicked (#6644) (7ccd5fd)
- http: add support for File objects as payload in http adapter (#6588) (#6605) (6841d8d)
- http: fixed proxy-from-env module import (#5222) (12b3295)
-
http: use
globalThis.TextEncoder
when available (#6634) (df956d1) - ios11 breaks when build (#6608) (7638952)
- types: add missing types for mergeConfig function (#6590) (00de614)
- types: export CJS types from ESM (#6218) (c71811b)
- updated stream aborted error message to be more clear (#6615) (cc3217a)
- use URL API instead of DOM to fix a potential vulnerability warning; (#6714) (0a8d6e1)
Contributors to this release
- Remco Haszing
- Jay
- Aayush Yadav
- Dmitriy Mozgovoy
- Ell Bradshaw
- Amit Saini
- Tommaso Paulon
- Akki
- Sampo Silvennoinen
- Kasper Isager Dalsgarð
- Christian Clauss
- Pavan Welihinda
- Taylor Flatt
- Kenzo Wada
- Ngole Lawson
- Haven
- Shrivali Dutt
- Henco Appel
v1.7.7
Bug Fixes
- fetch: fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; (#6584) (d198085)
- http: fixed support for IPv6 literal strings in url (#5731) (364993f)
Contributors to this release
v1.7.6
Bug Fixes
- fetch: fix content length calculation for FormData payload; (#6524) (085f568)
- fetch: optimize signals composing logic; (#6582) (df9889b)
Contributors to this release
v1.7.5
Bug Fixes
- adapter: fix undefined reference to hasBrowserEnv (#6572) (7004707)
- core: add the missed implementation of AxiosError#status property; (#6573) (6700a8a)
-
core: fix
ReferenceError: navigator is not defined
for custom environments; (#6567) (fed1a4b) - fetch: fix credentials handling in Cloudflare workers (#6533) (550d885)
Contributors to this release
v1.7.4
Bug Fixes
- sec: CVE-2024-39338 (#6539) (#6543) (6b6b605)
- sec: disregard protocol-relative URL to remediate SSRF (#6539) (07a661a)
Contributors to this release
v1.7.3
Bug Fixes
- adapter: fix progress event emitting; (#6518) (e3c76fc)
- fetch: fix withCredentials request config (#6505) (85d4d0e)
- xhr: return original config on errors from XHR adapter (#6515) (8966ee7)
Contributors to this release
v1.7.2
Bug Fixes
Contributors to this release
v1.7.1
Bug Fixes
- fetch: fixed ReferenceError issue when TextEncoder is not available in the environment; (#6410) (733f15f)
Contributors to this release
v1.7.0
Features
Bug Fixes
Contributors to this release
motdotla/dotenv (dotenv)
v16.4.7
Changed
- Ignore
.tap
folder when publishing. (oops, sorry about that everyone. - @motdotla) #848
v16.4.6
Changed
eslint/eslint (eslint)
v8.57.1
Bug Fixes
-
a19072f
fix: add logic to handle fixTypes in the lintText() method (#18900) (Francesco Trotta) -
04c7188
fix: Don't lint same file multiple times (#18899) (Francesco Trotta) -
87ec3c4
fix: do not throw when defining a global named__defineSetter__
(#18898) (Francesco Trotta) -
60a1267
fix: Provide helpful error message for nullish configs (#18889) (Milos Djermanovic) -
a0dea8e
fix: allowname
in global ignores, fix--no-ignore
for non-global (#18875) (Milos Djermanovic) -
3836bb4
fix: do not crash on error infs.walk
filter (#18886) (Milos Djermanovic) -
2dec349
fix: skip processor code blocks that match only universal patterns (#18880) (Milos Djermanovic)
Documentation
-
6a5add4
docs: v8.x Add EOL banner (#18744) (Amaresh S M) -
b034575
docs: v8.x add version support page to the dropdown (#18731) (Amaresh S M) -
760ef7d
docs: v8.x add version support page in the side navbar (#18740) (Amaresh S M) -
428b7ea
docs: Add Powered by Algolia label to the search (#18658) (Amaresh S M) -
c68c07f
docs: version selectors synchronization (#18265) (Milos Djermanovic)
Build Related
Chores
-
140ec45
chore: upgrade @eslint/js@8.57.1 (#18913) (Milos Djermanovic) -
bcdfc04
chore: package.json update for @eslint/js release (Jenkins) -
3f6ce8d
chore: pin vite-plugin-commonjs@0.10.1 (#18910) (Milos Djermanovic) -
9f07549
chore: ignore/docs/v8.x
in link checker (#18660) (Milos Djermanovic)
vercel/next.js (eslint-config-next)
v14.2.21
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Upgrade React from
14898b6
to178c267
: https://github.com/vercel/next.js/pull/74115 - Fix unstable_allowDynamic when used with pnpm: https://github.com/vercel/next.js/pull/73765
Misc Changes
- chore(docs): add missing search: '' on remotePatterns: https://github.com/vercel/next.js/pull/73927
- chore(docs): update version history of next/image: https://github.com/vercel/next.js/pull/73926
Credits
Huge thanks to @unstubbable, @ztanner, and @styfle for helping!
v14.2.20
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Fix fetch cloning bug (https://github.com/vercel/next.js/pull/73532)
Credits
Huge thanks to @wyattjoh for helping!
v14.2.19
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
Misc Changes
- Update max tag items limit in docs (#73445)
Credits
Huge thanks to @ztanner and @ijjk for helping!
v14.2.18
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Fix: (third-parties) sendGTMEvent not queueing events before GTM init (#68683) (#72111)
- Ignore error pages for cache revalidate (#72412) (#72484)
Credits
Huge thanks to @huozhi and @ijjk for helping!
v14.2.17
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Fix: revert the bad node binary handling (#72356)
- Ensure pages/500 handles cache-control as expected (#72050) (#72110)
- fix unhandled runtime error from generateMetadata in parallel routes (#72153)
Credits
Huge thanks to @huozhi, @ztanner, and @ijjk for helping!
v14.2.16
v14.2.15
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- support breadcrumb style catch-all parallel routes #65063
- Provide non-dynamic segments to catch-all parallel routes #65233
- Fix client reference access causing metadata missing #70732
- feat(next/image): add support for decoding prop #70298
- feat(next/image): add images.localPatterns config #70529
- fix(next/image): handle undefined images.localPatterns config in images-manifest.json
- fix: Do not omit alt on getImgProps return type, ImgProps #70608
- [i18n] Routing fix #70761
Credits
Huge thanks to @ztanner, @agadzik, @huozhi, @styfle, @icyJoseph and @wyattjoh for helping!
v14.2.14
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Fix: clone response in first handler to prevent race (#70082) (#70649)
- Respect reexports from metadata API routes (#70508) (#70647)
- Externalize node binary modules for app router (#70646)
- Fix revalidateTag() behaviour when invoked in server components (#70446) (#70642)
- Fix prefetch bailout detection for nested loading segments (#70618)
- Add missing node modules to externals (#70382)
- Feature: next/image: add support for images.remotePatterns.search (#70302)
Credits
Huge thanks to @styfle, @ztanner, @ijjk, @huozhi and @wyattjoh for helping!
v14.2.13
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Fix missing cache-control on SSR app route (#70265)
- feat: add polyfill of URL.canParse for browser compatibility (#70228)
- Fix vercel og package memory leak (#70214)
- Fix startTime error on Android 9 with Chrome 74 (#67391)
Credits
Huge thanks to @raeyoung-kim, @huozhi, @devjiwonchoi, and @ijjk for helping!
v14.2.12
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- update prefetching jsdoc & documentation (#68047)
- Ensure we chunk revalidate tag requests (#70189)
- (backport) fix(eslint): allow typescript-eslint v8 (#70090)
- [ppr] Don't mark RSC requests as /_next/data requests (backport of #66249) (#70083)
Credits
Huge thanks to @alvarlagerlof, @wyattjoh, @delbaoliveira, and @ijjk for helping!
v14.2.11
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- fix: correct metadata url suffix (https://github.com/vercel/next.js/pull/69959)
- fix: setting assetPrefix to URL format breaks HMR (#70040)
- Update revalidateTag to batch tags in one request (#65296)
Credits
Huge thanks to @huozhi, @devjiwonchoi, and @ijjk for helping!
v14.2.10
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Remove invalid fallback revalidate value (https://github.com/vercel/next.js/pull/69990)
- Revert server action optimization (https://github.com/vercel/next.js/pull/69925)
- Add ability to customize Cache-Control (#69802)
Credits
Huge thanks to @huozhi and @ijjk for helping!
v14.2.9
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Revert "Fix esm property def in flight loader (#66990)" (#69749)
- Disable experimental.optimizeServer by default to fix failed server action (#69788)
- Fix middleware fallback: false case (#69799)
- Fix status code for /_not-found route (#64058) (#69808)
- Fix metadata prop merging (#69807)
- create-next-app: fix font file corruption when using import alias (#69806)
Credits
Huge thanks to @huozhi, @ztanner, @ijjk, and @lubieowoce for helping!
v14.2.8
What's Changed
[!NOTE]
This release is backporting bug fixes and minor improvements. It does not include all pending features/changes on canary.
esmExternals
in app directory
Support - Support esm externals in app router (#65041)
- Turbopack: Allow client components from foreign code in app routes (#64751)
- Turbopack: add support for esm externals in app dir (#64918)
- other related MRs: #66990 #66727 #66286 #65519
Reading cookies set in middleware in components and actions
- initialize ALS with cookies in middleware (#65008)
- fix middleware cookie initialization (#65820)
- ensure cookies set in middleware can be read in a server action (#67924)
- fix: merged middleware cookies should preserve options (#67956)
Metadata and icons
- support facebook-specific metadata (
fb:app_id
,fb:admins
) in generateMetaData (#65713) - Always collect static icons for all segments (#68712)
- Fix favicon merging with customized icons (#67982)
- Warn metadataBase missing in standalone mode or non vercel deployment (#66296)
Parallel routes fixes
- fix missing stylesheets when parallel routes are present (#69507)
Draft mode and edge improvements
- fix: unstable_cache should not cache new result in draft mode (#67772)
- Add draft mode flag for multi-zone (#68997)
- Fix edge preview props are not matched with cookie (#67779)
- other related MRs: #65426, #67787, #64946, #64313, #64370
next/image
fixes
- Allow external image urls with _next/image pathname to be rendered via Image component (#69586)
Server actions improvements
- optimize server actions (#66523)
- Apply optimization for unused actions (#69178)
- Improve SWC transform ID generation (#69183)
Other changes
- Ensure we match comment minify behavior between terser and swc (#68372)
- send initialCanonicalUrl in array format to prevent crawler confusion (#69509)
Create-next-app updates
- enable @typescript-eslint/recommended in create-next-app --typescript (#52845)
- Update create-next-app template CSS (#66233)
- Update
create-next-app
template CSS (#66043) - Update create-next-app template (#65803)
- add font antialiasing to templates (#67425)
- Move
create-next-app
public/ assets from local folder→ remote URL (#66931) - Use classnames to set font family in Tailwind create-next-app templates (#66374)
- other related MRs: #64478, #68899, #68534, #69021, #67146, #66145
Full Changelog: https://github.com/vercel/next.js/compare/v14.2.7...v14.2.8
Huge thanks to everyone who contributed to this release: @abhi12299, @delbaoliveira, @eps1lon, @ForsakenHarmony, @huozhi, @ijjk, @JoshuaKGoldberg, @leerob, @lubieowoce, @Netail, @ronanru, @samcx, @shuding, @sokra, @stylessh, @timfuhrmann, @wbinnssmith, @wyattjoh, @ypessoa, @ztanner
v14.2.7
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Revert "chore: externalize undici for bundling" (#65727)
- Refactor internal routing headers to use request meta (#66987)
- fix(next): add cross origin in react dom preload (#67423)
- build: upgrade edge-runtime (#67565)
- GTM dataLayer parameter should take an object, not an array of strings (#66339)
- fix: properly patch lockfile against swc bindings (#66515)
- Add deployment id header for rsc payload if present (#67255)
- Update font data (#68639)
- fix i18n data pathname resolving (#68947)
- pages router: ensure x-middleware-cache is respected (#67734)
- Fix bad modRequest in flight entry manifest #68888
- Reject next image urls in image optimizer #68628
- Fix hmr assetPrefix escaping and reuse logic from other files #67983
Credits
Huge thanks to @kjugi, @huozhi, @ztanner, @SukkaW, @marlier, @Kikobeats, @syi0808, @ijjk, and @samcx for helping!
v14.2.6
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Ensure fetch cache TTL is updated properly (#69164)
v14.2.5
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- avoid merging global css in a way that leaks into other chunk groups (#67373)
- Fix server action edge redirect with middleware rewrite (#67148)
- fix(next): reject protocol-relative URLs in image optimization (#65752)
- fix(next-swc): correct path interop to filepath for wasm (#65633)
- Use addDependency to track metadata route file changes (#66714)
- Fix noindex is missing on static not-found page (#67135)
- perf: improve retrieving versionInfo on Turbo HMR (#67309)
- fix(next/image): handle invalid url (#67465)
- fix(next): initial prefetch cache not set properly with different search params (#65977)
- fix: Backport class properties fix (#67377)
- Upgrade acorn (#67592)
Misc
- Log stdio for pull-turbo-cache script (#66759)
- Ensure turbo is setup when building in docker (#66804)
Credits
Huge thanks to @devjiwonchoi, @ijjk, @emmerich, @huozhi, @kdy1, @kwonoj, @styfle, and @sokra for helping!
v14.2.4
[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- fix: ensure route handlers properly track dynamic access (#66446)
- fix NextRequest proxy in edge runtime (#66551)
- Fix next/dynamic with babel and src dir (#65177)
- Use vercel deployment url for metadataBase fallbacks (#65089)
- fix(next/image): detect react@19 for fetchPriority prop (#65235)
- Fix loading navigation with metadata and prefetch (#66447)
- prevent duplicate RSC fetch when action redirects (#66620)
- ensure router cache updates reference the latest cache values (#66681)
- Prevent append of trailing slash in cases where path ends with a file extension (#66636)
- Fix inconsistency with 404 getStaticProps cache-control (#66674)
- Use addDependency to track metadata route file changes (#66714)
- Add timeout/retry handling for fetch cache (#66652)
- fix: app-router prefetch crash when an invalid URL is passed to Link (#66755)
Credits
Huge thanks to @ztanner, @ijjk, @wbinnssmith, @huozhi, and @lubieowoce for helping!
motiondivision/motion (framer-motion)
v11.15.0
Added
- Add support for
repeat
in animation sequences.
Fixed
- Clearing scheduled jobs at the end of an animation frame to ensure memory is released should the animation loop settle.
v11.14.4
Fixed
- Exporting
AnimationSequence
via"motion"
entrypoint. - Adding support for passing normal components to
motion.create()
in React 19.
v11.14.3
Fixed
- Fixing
motion-dom
andmotion-utils
entrypoints.
v11.14.2
Fixed
- Exporting
time
for internal use. - Making
MotionValue.updatedAt
public for internal use.
v11.14.1
Fixed
- Fixing missing license in
motion-dom
andmotion-utils
packages.
v11.14.0
Added
- Added
press
gesture in Motion+ early access.
v11.13.5
Fixed
- Adding React 19 to optional peer dependencies in
"framer-motion"
packages.
v11.13.4
Fixed
- Fixing types for React 19.
v11.13.3
Fixed
- Attempting to update types to be compatible with both React 18 and 19.
v11.13.1
Fixed
- SVG elements (like
motion.text
) now update when given aMotionValue
as children, matching HTML element behavior. - Exporting
DynamicAnimationOptions
type.
v11.13.0
Added
- Vanilla
hover
gesture in Motion+ early access.
v11.12.0
Added
- New
visualDuration
option forspring
animations. - New
spring(visualDuration, bounce)
syntax.
v11.11.17
v11.11.16
Fixed
- Fixing
stagger
with minianimate
.
v11.11.15
Fixed
- Fixing
mini
andreact-mini
entrypoints.
v11.11.13
Fixed
- Fixing build and entry points for
"motion"
.
v11.11.12
Changed
- Adding
"motion"
package. - Replaced Motion One (see upgrade guide).
v11.11.11
Fixed
- Fixing double
update()
call on mount.
v11.11.10
Fixed
- Removing
will-change
from SSR.
v11.11.9
Changed
-
will-change
is now no longer automatically managed withoutuseWillChange
.
v11.11.8
Fixed
- Fixing fallback
package.json
for entrypoints in older versions of Node.
v11.11.7
Fixed
- Improving generic value signature for
animate
.
v11.11.6
Fixed
- Allowing generic motion value types in
animate
.
v11.11.5
Fixed
- Removed ability to define CSS variables on
style
without casting, as this was conflicting with ReactCSSProperties
.
v11.11.4
Fixed
- Memoize
AnimatePresence
safeToRemove
. - Remove duplicate
layout="size"
annotation.
v11.11.3
Fixed
- Remove
as any
requirement for CSS variables.
v11.11.2
Fixed
- Make
BezierDefinition
readonly
for easier definition outside aTransition
.
v11.11.1
Fixed
- Fixing
stagger
with minianimate
.
v11.11.0
Added
-
animate
can now animate any object.
v11.10.0
Added
-
delay
with seconds now exported from"framer-motion/dom"
.
Fixed
- Only
transform
is added towill-change
when a potentially layerising value is animated asopacity
andfilter
will prematurely flattenpreserve-3d
.
v11.9.0
Added
- Mini
animate
anduseAnimate
functions.
v11.8.0
Added
- Easing functions now get compiled into
linear()
easings when animating via WAAPI.
v11.7.0
Added
- Added support for custom animation generators via
type
.
v11.6.0
Added
- Added
info
and element tracking toscroll
. - Added
steps
easing.
Changed
- Values added to
will-change
now stay there for their lifespan to prevent GPU thrashing and weird Safari subpixel jitters.
v11.5.6
Fixed
- Ensuring updating motion values during
render
doesn't lock rendering for an element.
v11.5.5
Fixed
- Changed values of child variants now animate even when the parent variant name hasn't changed.
v11.5.4
Fixed
- Improving tree-shakability.
v11.5.3
Fixed
-
Reorder
components now importmotion
proxy.
v11.5.2
Added
- Changing
motion()
deprecation warning towarnOnce
.
v11.5.1
Added
- Exporting
findSpring
for internal use.
v11.5.0
Added
-
motion.create()
andm.create()
.
Deprecrated
-
motion()
andm()
.
v11.4.0
Added
- Support for React Server Components, including new entrypoints for
motion
andm
components.
v11.3.31
Fixed
- Detects conflicts between optimised animations and rendered
style
. - Resumes optimised animations where possible once layout measurements are complete.
v11.3.30
Fixed
- Removed double
"change"
handler on externally-providedMotionValue
s.
v11.3.29
Fixed
- Selective cancellation of optimised appear animations.
v11.3.28
Fixed
- Use
startTime
instead ofelapsed
to sync optimised animations.
v11.3.27
Changed
- Allow manual setting of
startTime
via animation options (currently for internal use only).
v11.3.26
Fixed
- Improving synchronisation between DOM animations on externally-provided
MotionValue
s and internalMotionValue
s. - Fixing unit conversion on DOM animations with externally-provided
MotionValue
s.
v11.3.25
Changed
- Improve calculation of
startTime
to prefer the immediacy of animation creation over keyframe resolution, but fall back to the latter if the former would lead to a perceptual jump.
v11.3.24
Fixed
- Fixing incorrect version publish.
v11.3.23
Fixed
- Improving optimised appear animation check from
data-appear-id
to active recording of started animations. - Only cancelling optimised appear animations from layout animations when they're animating
transform
.
v11.3.22
Fixed
- Fixing spring animations with explicit velocities that animate to their current value.
v11.3.21
Changed
- Removing default transforms from generated
transform
string provided totransformTemplate
.
v11.3.20
Changed
- Improved performance of
transform
by up to 30% when providing many default transforms asMotionValue
s.
v11.3.19
Fixed
- Fixed problem with
AnimatePresence
not rerendering children unless their presence had changed.
v11.3.18
Fixed
- Improved correctness of
AnimatePresence
and made safe to use with concurrent rendering.
v11.3.17
Added
-
domMin
feature bundle.
v11.3.16
Changed
- Exporting
UseScrollOptions
type.
v11.3.15
Changed
- Improved types for
inView()
'smargin
property.
v11.3.14
Fixed
- Wrapping
usePresence
'ssafeToRemove
callback inuseCallback
leading to fewer re-renders.
v11.3.13
Fixed
- Fixing
position: fixed
layout animations while scrolling.
v11.3.12
Fixed
- Improving
useSpring
types so it acceptsMotionValue<string>
orMotionValue<number>
but always returnsMotionValue<number>
.
v11.3.11
Fixed
- Removing
"react"
import from DOM-only bundle.
v11.3.10
Fixed
- Changing
isBrowser
check fromdocument
towindow
.
v11.3.9
Changed
- Improve performance of
window.MotionDebug
check.
v11.3.8
Changed
- Improve performance of layout animation calculated projection comparisons.
v11.3.7
Changed
- Active render scheduling check to prevent unnecessary
Set
lookups.
v11.3.6
Changed
- Minor performance improvements for layout animations.
v11.3.5
Fixed
- Ensuring DOM bundle doesn't include
react
andreact-dom
as dependencies.
v11.3.4
Changed
- Check for
display: contents
elements now against component props instead ofElement.style
.
v11.3.3
Fixed
- Detects conflicts between optimised animations and rendered
style
. - Resumes optimised animations where possible once layout measurements are complete.
v11.3.2
Fixed
- Selective cancellation of optimised appear animations.
v11.3.1
Fixed
- Fixed problem with
AnimatePresence
not rerendering children unless their presence had changed.
v11.3.0
Updated
- Animations automatically optimised via
will-change
.
v11.2.14
Updated
- Improved performance of core render loop.
v11.2.13
Fixed
- Checking for
null
before interpolating color values.
v11.2.12
Fixed
- Fixing
dragConstraints={ref}
mixed with layout animations.
v11.2.11
v11.2.10
Fixed
- Changing invalid number interpolation from error to warning and immediate mix.
v11.2.9
Fixed
- Fixing animation of CSS variables when leading space is present.
v11.2.8
Fixed
- Ensuring instant animations return animation controls.
v11.2.7
Fixed
- Only allow layout animations to cancel optimised appear animations when on the same node or an ancestor.
v11.2.6
Fixed
- Fixed optimised appear animations interrupted by layout animations triggered by a state update within
useLayoutEffect
.
v11.2.5
Fixed
- Fixing layout animations within portals. Tag
motion
root within portal withdata-framer-portal-id
attribute.
v11.2.4
Fixed
- Batching triggering animations with
useSpring
.
v11.2.3
Fixed
-
MotionValue
s created withundefined
can track velocity correctly.
v11.2.2
Fixed
- Fixed visual jump when interrupting an optimised appear animation.
v11.2.1
Updated
- Improved performance of core render loop.
v11.2.0
Added
- Binary visibility interpolation i.e
display: ["block", "none"]
now maintains the visible state throughout the animation.
v11.1.9
Changed
- Reinstating async event handlers to fix issues with user code and Suspence within Framer.
v11.1.8
Fixed
- Animating between keyframe unit types when one keyframe is
0
and the other is an explicitly defined keyframe, e.gy: ["100%", 0]
.
nodejs/node (node)
v22.12.0
: 2024-12-03, Version 22.12.0 'Jod' (LTS), @ruyadorno
Notable Changes
require(esm) is now enabled by default
Support for loading native ES modules using require() had been available on v20.x and v22.x under the command line flag --experimental-require-module, and available by default on v23.x. In this release, it is now no longer behind a flag on v22.x.
This feature is still experimental, and we are looking for user feedback to make more final tweaks before fully stabilizing it. For this reason, on v22.x, when the Node.js instance encounters a native ES module in require() for the first time, it will emit an experimental warning unless require()
comes from a path that contains node_modules
. If there happens to be any regressions caused by this feature, users can report it to the Node.js issue tracker. Meanwhile this feature can also be disabled using --no-experimental-require-module
as a workaround.
With this feature enabled, Node.js will no longer throw ERR_REQUIRE_ESM
if require()
is used to load a ES module. It can, however, throw ERR_REQUIRE_ASYNC_MODULE
if the ES module being loaded or its dependencies contain top-level await
. When the ES module is loaded successfully by require()
, the returned object will either be a ES module namespace object similar to what's returned by import()
, or what gets exported as "module.exports"
in the ES module.
Users can check process.features.require_module
to see whether require(esm)
is enabled in the current Node.js instance. For packages, the "module-sync"
exports condition can be used as a way to detect require(esm)
support in the current Node.js instance and allow both require()
and import
to load the same native ES module. See the documentation for more details about this feature.
Contributed by Joyee Cheung in #55085
ArrayBuffer
support in Buffer
Added resizable When a Buffer
is created using a resizable ArrayBuffer
, the Buffer
length will now correctly change as the underlying ArrayBuffer
size is changed.
const ab = new ArrayBuffer(10, { maxByteLength: 20 });
const buffer = Buffer.from(ab);
console.log(buffer.byteLength); 10
ab.resize(15);
console.log(buffer.byteLength); 15
ab.resize(5);
console.log(buffer.byteLength); 5
Contributed by James Snell in #55377
Update root certificates to NSS 3.104
This is the version of NSS that shipped in Firefox 131.0 on 2024-10-01.
Certificates added:
- FIRMAPROFESIONAL CA ROOT-A WEB
- TWCA CYBER Root CA
- SecureSign Root CA12
- SecureSign Root CA14
- SecureSign Root CA15
Contributed by Richard Lau in #55681
Other Notable Changes
- [
4920869935
] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862 - [
ccffd3b819
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732 - [
acc6806900
] - doc: add jazelly to collaborators (Jason Zhang) #55531 - [
88d91e8bc2
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333 - [
98bfc7dce5
] - (SEMVER-MINOR) http: add diagnostic channelhttp.client.request.created
(Marco Ippolito) #55586 - [
337f61fb25
] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403 - [
1628c48ad6
] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408 - [
457e73f4c9
] - (SEMVER-MINOR) sqlite: add support for SQLite Session Extension (Bart Louwers) #54181
Commits
- [
f6885e1c68
] - assert: fix the string length check for printing the simple diff (Giovanni Bucci) #55474 - [
907484f04d
] - assert: fix deepEqual always return true on URL (Xuguang Mei) #50853 - [
301844e249
] - assert: differentiate cases wherecause
isundefined
or missing (Antoine du Hamel) #55738 - [
89ccd3e3f4
] - assert: fixdeepStrictEqual
on errors whencause
is not undefined (Edigleysson Silva (Edy)) #55406 - [
4920869935
] - (SEMVER-MINOR) assert: make assertion_error use Myers diff algorithm (Giovanni Bucci) #54862 - [
c67aec368e
] - benchmark: addtest-reporters
(Aviv Keller) #55757 - [
49774cc2c0
] - benchmark: addtest_runner/mock-fn
(Aviv Keller) #55771 - [
4caaeb47b2
] - benchmark: add nodeTiming.uvmetricsinfo bench (RafaelGSS) #55614 - [
cac58564a1
] - benchmark: add --runs support to run.js (Rafael Gonzaga) #55158 - [
5c3ee886fc
] - benchmark: adjust byte size for buffer-copy (Rafael Gonzaga) #55295 - [
6023e1bdb2
] - (SEMVER-MINOR) buffer: make Buffer work with resizable ArrayBuffer (James M Snell) #55377 - [
a6c00c2204
] - build: add create release proposal action (Rafael Gonzaga) #55690 - [
b4e413933b
] - build: implement node_use_amaro flag in GN build (Cheng) #55798 - [
d1db202d4a
] - build: apply cpp linting and formatting to ncrypto (Aviv Keller) #55362 - [
8c670496da
] - build: use rclone instead of aws CLI (Michaël Zasso) #55617 - [
827e2065bd
] - build: stop pre-compilinglint-md
(Aviv Keller) #55266 - [
c3ca978d9c
] - build: fix building with system icu 76 (Michael Cho) #55563 - [
23e3287bbe
] - build: fix GN arg used in generate_config_gypi.py (Shelley Vohr) #55530 - [
2b561abb0d
] - build: fix GN build for sqlite and nghttp2 (Shelley Vohr) #55529 - [
7008f29d79
] - build: fix GN build for cares/uv deps (Cheng) #55477 - [
6ee94a394f
] - build: fix uninstall script for AIX 7.1 (Cloorc) #55438 - [
edbbd4a374
] - build: conditionally compile bundled sqlite (Richard Lau) #55409 - [
3d8e3a657c
] - build: tidy up cares.gyp (Richard Lau) #55445 - [
f0c12e8fcb
] - build: synchronize list of c-ares source files (Richard Lau) #55445 - [
8daa8a62f8
] - build: fix path concatenation (Mohammed Keyvanzadeh) #55387 - [
12faf0466e
] - build: fix make errors that occur in Makefile (minkyu_kim) #55287 - [
a21be0294d
] - build,win: enable pch for clang-cl (Stefan Stojanovic) #55249 - [
7ed058cd00
] - cli: add--heap-prof
flag available toNODE_OPTIONS
(Juan José) #54259 - [
c26b1bfe6a
] - crypto: allow length=0 for HKDF and PBKDF2 in SubtleCrypto.deriveBits (Filip Skokan) #55866 - [
a1201d0392
] - crypto: update root certificates to NSS 3.104 (Richard Lau) #55681 - [
20483aab7a
] - crypto: fixRSA_PKCS1_PADDING
error message (Richard Lau) #55629 - [
d345662d50
] - crypto: include openssl/rand.h explicitly (Shelley Vohr) #55425 - [
166ab3209d
] - deps: update simdutf to 5.6.1 (Node.js GitHub Bot) #55850 - [
934979e12e
] - deps: update undici to 6.21.0 (Node.js GitHub Bot) #55851 - [
af77f66424
] - deps: update c-ares to v1.34.3 (Node.js GitHub Bot) #55803 - [
948a88d2f4
] - deps: update icu to 76.1 (Node.js GitHub Bot) #55551 - [
fa4c58a983
] - deps: update acorn to 8.14.0 (Node.js GitHub Bot) #55699 - [
c91155f22e
] - deps: update sqlite to 3.47.0 (Node.js GitHub Bot) #55557 - [
d1cb7af95c
] - deps: update amaro to 0.2.0 (Node.js GitHub Bot) #55601 - [
655e5600cb
] - deps: update nghttp2 to 1.64.0 (Node.js GitHub Bot) #55559 - [
992450c469
] - deps: update acorn to 8.13.0 (Node.js GitHub Bot) #55558 - [
abd2bd4f64
] - deps: update undici to 6.20.1 (Node.js GitHub Bot) #55503 - [
7dc2c2edad
] - deps: update googletest todf1544b
(Node.js GitHub Bot) #55465 - [
fa9329c024
] - deps: update c-ares to v1.34.2 (Node.js GitHub Bot) #55463 - [
41a2bcd335
] - deps: update ada to 2.9.1 (Node.js GitHub Bot) #54679 - [
a3b793defd
] - deps: update simdutf to 5.6.0 (Node.js GitHub Bot) #55379 - [
551b8f897d
] - deps: update c-ares to v1.34.1 (Node.js GitHub Bot) #55369 - [
26861eaf4e
] - Revert "deps: disable io_uring support in libuv by default" (Santiago Gimeno) #55114 - [
41c50bc15e
] - deps: update libuv to 1.49.1 (Santiago Gimeno) #55114 - [
26fcc04084
] - deps: update amaro to 0.1.9 (Node.js GitHub Bot) #55348 - [
0ee6715921
] - diagnostics_channel: fix unsubscribe during publish (simon-id) #55116 - [
bf68733e7f
] - dns: stop using deprecatedares_query
(Aviv Keller) #55430 - [
ef6707eb9b
] - dns: honor the order option (Luigi Pinca) #55392 - [
0f3810f3e5
] - doc: add added tag and fix typo sqlite.md (Bart Louwers) #56012 - [
d1bd0ef1b7
] - doc: remove non-working example (Antoine du Hamel) #55856 - [
824ac650ed
] - doc: addnode:sqlite
to mandatorynode:
prefix list (翠 / green) #55846 - [
b3ea42d887
] - doc: add-S
flag release preparation example (Antoine du Hamel) #55836 - [
0bd5d8b9d9
] - doc: clarify UV_THREADPOOL_SIZE env var usage (Preveen P) #55832 - [
27b0236a99
] - doc: add notable-change mention to sec release (Rafael Gonzaga) #55830 - [
476075bada
] - doc: fix history info forURL.prototype.toJSON
(Antoine du Hamel) #55818 - [
2743b7b1d3
] - doc: correct max-semi-space-size statement (Joe Bowbeer) #55812 - [
3013870093
] - doc: update unflag info ofimport.meta.resolve
(skyclouds2001) #55810 - [
27bcd103e7
] - doc: run license-builder (github-actions[bot]) #55813 - [
72d4b30ead
] - doc: clarify triager role (Gireesh Punathil) #55775 - [
a30defe9dd
] - doc: clarify removal of experimental API does not require a deprecation (Antoine du Hamel) #55746 - [
ccffd3b819
] - doc: enforce strict policy to semver-major releases (Rafael Gonzaga) #55732 - [
b6d2a4e816
] - doc: add path aliases typescript doc (Carlos Espa) #55766 - [
a435affa11
] - doc: add esm example inpath.md
(Aviv Keller) #55745 - [
91443c2711
] - doc: consistent use of word child process (Gireesh Punathil) #55654 - [
83fb0079d4
] - doc: clarity to available addon options (Preveen P) #55715 - [
6ca851457a
] - doc: update--max-semi-space-size
description (Joe Bowbeer) #55495 - [
e17fffc0ff
] - doc: brokenPerformanceObserver
code sample (Dom Harrington) #54227 - [
8bd5777f0f
] - doc: add write flag when open file as the demo code's intention (robberfree) #54626 - [
f1e0e0ba55
] - doc: remove mention of ECDH-ES in crypto.diffieHellman (Filip Skokan) #55611 - [
1d60b7ec97
] - doc: improve c++ embedder API doc (Gireesh Punathil) #55597 - [
bbf51d7000
] - doc: capitalize "MIT License" (Aviv Keller) #55575 - [
0e69f6d123
] - doc: add suggested tsconfig for type stripping (Marco Ippolito) #55534 - [
67beb37f50
] - doc: add esm examples to node:string_decoder (Alfredo González) #55507 - [
acc6806900
] - doc: add jazelly to collaborators (Jason Zhang) #55531 - [
a6b3ed54ae
] - doc: changed the command used to verify SHASUMS256 (adriancuadrado) #55420 - [
0ad7ca4f1d
] - doc: move dual package shipping docs to separate repo (Joyee Cheung) #55444 - [
e99a98ddfd
] - doc: add note about stdio streams in child_process (Ederin (Ed) Igharoro) #55322 - [
20302851a9
] - doc: addisBigIntObject
to documentation (leviscar) #55450 - [
50d983e80b
] - doc: remove outdated remarks abouthighWaterMark
in fs (Ian Kerins) #55462 - [
07c2fb2045
] - doc: move Danielle Adams key to old gpg keys (RafaelGSS) #55399 - [
41b045170d
] - doc: move Bryan English key to old gpg keys (RafaelGSS) #55399 - [
13724dcc20
] - doc: move Beth Griggs keys to old gpg keys (RafaelGSS) #55399 - [
0230fb1ead
] - doc: spell out condition restrictions (Jan Martin) #55187 - [
66e41f044d
] - doc: add instructions for WinGet build (Hüseyin Açacak) #55356 - [
23d89da3f1
] - doc: add missing return values in buffer docs (Karl Horky) #55273 - [
6e7b33a0ef
] - doc: fix ambasador markdown list (Rafael Gonzaga) #55361 - [
d8c552a060
] - doc: edit onboarding guide to clarify when mailmap addition is needed (Antoine du Hamel) #55334 - [
c7f82ec978
] - doc: fix the return type of outgoingMessage.setHeaders() (Jimmy Leung) #55290 - [
f1b9791694
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #55199 - [
9ffd2dd43b
] - doc: consolidate history table of CustomEvent (Edigleysson Silva (Edy)) #55758 - [
64fb9e6516
] - doc: add history entries for JSON modules stabilization (Antoine du Hamel) #55855 - [
ae2ae2fef1
] - esm: fix import.meta.resolve crash (Marco Ippolito) #55777 - [
15dd43dd6e
] - esm: add a fallback when importer in not a file (Antoine du Hamel) #55471 - [
aed758d270
] - esm: fix inconsistency withimportAssertion
inresolve
hook (Wei Zhu) #55365 - [
88d91e8bc2
] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #55333 - [
a2c8de7fba
] - events: add hasEventListener util for validate (Sunghoon) #55230 - [
4f84cdc8a2
] - events: optimize EventTarget.addEventListener (Robert Nagy) #55312 - [
c17601557b
] - fs: prevent unwanteddependencyOwners
removal (Carlos Espa) #55565 - [
4dd609c685
] - fs: fix bufferSize option for opendir recursive (Ethan Arrowood) #55744 - [
d695bd4c4f
] - fs: pass correct path toDirentFromStats
duringglob
(Aviv Keller) #55071 - [
5357338b8e
] - fs: usewstring
on Windows paths (jazelly) #55171 - [
0a7f301a36
] - http: add diagnostic channelhttp.server.response.created
(Marco Ippolito) #55622 - [
98bfc7dce5
] - (SEMVER-MINOR) http: add diagnostic channelhttp.client.request.created
(Marco Ippolito) #55586 - [
d2430ee363
] - http2: fix client async storage persistence (Orgad Shaneh) #55460 - [
753cbede2a
] - lib: remove startsWith/endsWith primordials for char checks (Gürgün Dayıoğlu) #55407 - [
6e3e99c81e
] - lib: prefer logical assignment (Aviv Keller) #55044 - [
03902ebb74
] - lib: replacecreateDeferredPromise
util withPromise.withResolvers
(Yagiz Nizipli) #54836 - [
ee17fcd6f3
] - lib: prefer symbol to number in webidltype
function (Antoine du Hamel) #55737 - [
18f0f07e92
] - lib: implement webidl dictionary converter and use it in structuredClone (Jason Zhang) #55489 - [
bcead24e24
] - lib: prefer number to string in webidltype
function (Jason Zhang) #55489 - [
d48c5da039
] - lib: convert transfer sequence to array in js (Jason Zhang) #55317 - [
cefce4cbb0
] - lib: remove unnecessary optional chaining (Gürgün Dayıoğlu) #55728 - [
f2561fdeec
] - lib: usePromise.withResolvers()
in timers (Yagiz Nizipli) #55720 - [
337f61fb25
] - (SEMVER-MINOR) lib: add UV_UDP_REUSEPORT for udp (theanarkh) #55403 - [
4f89059f63
] - lib: add flag to drop connection when running in cluster mode (theanarkh) #54927 - [
29f7325e73
] - lib: test_runner#mock:timers respeced timeout_max behaviour (BadKey) #55375 - [
68bcec64b8
] - lib: remove settled dependant signals when they are GCed (Edigleysson Silva (Edy)) #55354 - [
3f8a5d8a28
] - meta: bump actions/setup-python from 5.2.0 to 5.3.0 (dependabot[bot]) #55688 - [
644ad5d60d
] - meta: bump actions/setup-node from 4.0.4 to 4.1.0 (dependabot[bot]) #55687 - [
334fa69c31
] - meta: bump rtCamp/action-slack-notify from 2.3.0 to 2.3.2 (dependabot[bot]) #55686 - [
fb3fa8bee2
] - meta: bump actions/upload-artifact from 4.4.0 to 4.4.3 (dependabot[bot]) #55685 - [
1aca3a8289
] - meta: bump actions/cache from 4.0.2 to 4.1.2 (dependabot[bot]) #55684 - [
a6c73eb9c2
] - meta: bump actions/checkout from 4.2.0 to 4.2.2 (dependabot[bot]) #55683 - [
06445bc4e3
] - meta: bump github/codeql-action from 3.26.10 to 3.27.0 (dependabot[bot]) #55682 - [
37bafce2d8
] - meta: make review-wanted message minimal (Aviv Keller) #55607 - [
4cca54b161
] - meta: show MR/issue title on review-wanted (Aviv Keller) #55606 - [
68decbf935
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55381 - [
07fc40d823
] - meta: assign CODEOWNERS for /deps/ncrypto/* (Filip Skokan) #55426 - [
139e8f1579
] - meta: change color to blue notify review-wanted (Rafael Gonzaga) #55423 - [
c0614dc92c
] - meta: bump codecov/codecov-action from 4.5.0 to 4.6.0 (dependabot[bot]) #55222 - [
47b6c6748b
] - meta: bump github/codeql-action from 3.26.6 to 3.26.10 (dependabot[bot]) #55221 - [
6c836aa97e
] - meta: bump step-security/harden-runner from 2.9.1 to 2.10.1 (dependabot[bot]) #55220 - [
c81c818a21
] - module: throw ERR_NO_TYPESCRIPT when compiled without amaro (Marco Ippolito) #55332 - [
d6d1479fcc
] - module: simplify --inspect-brk handling (Joyee Cheung) #55679 - [
91fdec3a52
] - module: fix error thrown from require(esm) hitting TLA repeatedly (Joyee Cheung) #55520 - [
cb527a925d
] - module: do not warn when require(esm) comes from node_modules (Joyee Cheung) #55960 - [
16119f206f
] - module: trim off internal stack frames for require(esm) warnings (Joyee Cheung) #55496 - [
28b5b9a57d
] - module: allow ESM that failed to be required to be re-imported (Joyee Cheung) #55502 - [
6ac3400960
] - module: include module information in require(esm) warning (Joyee Cheung) #55397 - [
fcdd6167d8
] - module: check --experimental-require-module separately from detection (Joyee Cheung) #55250 - [
d8c34ced43
] - module: use kNodeModulesRE to detect node_modules (Joyee Cheung) #55243 - [
545c069eb5
] - module: support 'module.exports' interop export in require(esm) (Guy Bedford) #54563 - [
58d6871c45
] - (SEMVER-MINOR) module: unflag --experimental-require-module (Joyee Cheung) #55085 - [
1628c48ad6
] - (SEMVER-MINOR) net: add UV_TCP_REUSEPORT for tcp (theanarkh) #55408 - [
a5590083cd
] - node-api: add napi_create_buffer_from_arraybuffer method (Mert Can Altin) #54505 - [
21ec855feb
] - os: improve path check with direct index access (Mert Can Altin) #55434 - [
1fdaa15226
] - report: fix network queries in getReport libuv with exclude-network (Adrien Foulon) #55602 - [
457e73f4c9
] - (SEMVER-MINOR) sqlite: add support for SQLite Session Extension (Bart Louwers) #54181 - [
428701a6d8
] - sqlite: improve error handling using MaybeLocal (Tobias Nießen) #55571 - [
4e5878536a
] - sqlite: add readOnly option (Tobias Nießen) #55567 - [
8c35ad12de
] - sqlite: refactor open options (Tobias Nießen) #55442 - [
c3c403040a
] - sqlite: cache column names in stmt.all() (Fedor Indutny) #55373 - [
6858f7a4d3
] - src: use env strings to create sqlite results (Michaël Zasso) #55785 - [
db01eaf318
] - src: improvenode:os
userInfo performance (Yagiz Nizipli) #55719 - [
383d28489d
] - src: provide workaround for container-overflow (Daniel Lemire) #55591 - [
3477b6b4a5
] - src: move more key related stuff to ncrypto (James M Snell) #55368 - [
38c047e38f
] - src: refactor ECDHBitsJob signature (Filip Skokan) #55610 - [
acbb62902a
] - src: fix dns crash when failed to create NodeAresTask (theanarkh) #55521 - [
547cab9433
] - src: use NewFromUtf8Literal in NODE_DEFINE_CONSTANT (Charles Kerr) #55581 - [
231fe7b953
] - src: do not run IsWindowsBatchFile on non-windows (Yagiz Nizipli) #55560 - [
bde374ee6a
] - src: remove icu basedToASCII
andToUnicode
(Yagiz Nizipli) #55156 - [
6ad23e74be
] - src: fix winapi_strerror error string (Hüseyin Açacak) #55207 - [
63bc40550b
] - src: remove uv__node_patch_is_using_io_uring (Santiago Gimeno) #55114 - [
2af72a7671
] - src: implement IsInsideNodeModules() in C++ (Joyee Cheung) #55286 - [
e14fb2defb
] - src,lib: optimize nodeTiming.uvMetricsInfo (RafaelGSS) #55614 - [
e14dba3ee5
] - src,lib: introduceutil.getSystemErrorMessage(err)
(Juan José) #54075 - [
8f59c41d52
] - stream: propagate AbortSignal reason (Marvin ROGER) #55473 - [
7acb96362c
] - test: increase coverage ofpathToFileURL
(Antoine du Hamel) #55493 - [
5861135ddb
] - test: improve test coverage for child process message sending (Juan José) #55710 - [
554d4ace2f
] - test: ensure that test priority is not higher than current priority (Livia Medeiros) #55739 - [
b0ce62a9bd
] - test: add buffer to fs_permission tests (Rafael Gonzaga) #55734 - [
9d9ad81d54
] - test: improve test coverage forServerResponse
(Juan José) #55711 - [
273f84e01c
] - test: updateperformance-timeline
wpt (RedYetiDev) #55197 - [
89c9c46185
] - test: ignore unrelated events in FW watch tests (Carlos Espa) #55605 - [
fc69080669
] - test: refactor some esm tests (Antoine du Hamel) #55472 - [
a80c166733
] - test: split up test-runner-mock-timers test (Julian Gassner) #55506 - [
8c2fc11f7c
] - test: remove unneeded listeners (Luigi Pinca) #55486 - [
1c5872dbde
] - test: avoidapply()
calls with large amount of elements (Livia Medeiros) #55501 - [
2194eb4909
] - test: increase test coverage forhttp.OutgoingMessage.appendHeader()
(Juan José) #55467 - [
ad7e81379a
] - test: make test-node-output-v8-warning more flexible (Shelley Vohr) #55401 - [
6aeeaa719b
] - test: fix addons and node-api test assumptions (Antoine du Hamel) #55441 - [
73ab14fd8f
] - test: update wpt test for webmessaging/broadcastchannel (devstone) #55205 - [
ded1b68d10
] - test: deflaketest-cluster-shared-handle-bind-privileged-port
(Aviv Keller) #55378 - [
0e873c3031
] - test: updateconsole
wpt (Aviv Keller) #55192 - [
832300533b
] - test: remove duplicate tests (Luigi Pinca) #55393 - [
310a734c1b
] - test: update test_util.cc for coverage (minkyu_kim) #55291 - [
254badd480
] - test: updatecompression
wpt (Aviv Keller) #55191 - [
c52a808ac9
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55703 - [
445d117b67
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55512 - [
cd0d748ede
] - test,crypto: make crypto tests work with BoringSSL (Shelley Vohr) #55491 - [
8bac7c27c8
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55427 - [
363e7d5a76
] - test_runner: error on mocking an already mocked date (Aviv Keller) #55858 - [
f41d329e98
] - test_runner: add support for scheduler.wait on mock timers (Erick Wendel) #55244 - [
b9200c33ae
] - test_runner: require--enable-source-maps
for sourcemap coverage (Aviv Keller) #55359 - [
f11d93d8ef
] - tools: enforce ordering of error codes inerrors.md
(Antoine du Hamel) #55324 - [
85ca31a90a
] - tools: bump @eslint/plugin-kit from 0.2.0 to 0.2.3 in /tools/eslint (dependabot[bot]) #55875 - [
506aac567b
] - tools: fix exclude labels for commit-queue (Richard Lau) #55809 - [
14ffac9995
] - tools: make commit-queue check blocked label (Marco Ippolito) #55781 - [
eb22ec87e6
] - tools: remove non-existent file from eslint config (Aviv Keller) #55772 - [
5844565fb2
] - tools: fix c-ares updater script for Node.js 18 (Richard Lau) #55717 - [
0a79ebd257
] - tools: update ESLint to 9.14.0 (dependabot[bot]) #55689 - [
12543d560a
] - tools: useutil.parseArgs
inlint-md
(Aviv Keller) #55694 - [
d95aa244c2
] - tools: fix root certificate updater (Richard Lau) #55681 - [
3626891f8e
] - tools: compact jq output in daily-wpt-fyi.yml action (Filip Skokan) #55695 - [
02c902e68a
] - tools: run daily WPT.fyi report on all supported releases (Filip Skokan) #55619 - [
456b02351b
] - tools: lint README lists more strictly (Antoine du Hamel) #55625 - [
83a5983c7d
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #55470 - [
72b4a8df6a
] - tools: update gyp-next to 0.18.3 (Node.js GitHub Bot) #55464 - [
6b6e6a5590
] - tools: add script to synch c-ares source lists (Richard Lau) #55445 - [
a6c444291b
] - tools: fix typos (Nathan Baulch) #55061 - [
d5e915ba5d
] - tools: addpolyfilled
option toprefer-primordials
rule (Antoine du Hamel) #55318 - [
c8e7f767b7
] - typings: add missing type ofArrayBufferPrototypeGetByteLength
(Wuli Zuo) #55439 - [
6317f77942
] - url: refactorpathToFileURL
to native (Antoine du Hamel) #55476 - [
5418d40256
] - url: handle "unsafe" characters properly inpathToFileURL
(Antoine du Hamel) #54545 - [
fce8c32c19
] - util: do not mark experimental feature as deprecated (Antoine du Hamel) #55740 - [
940d22ffe1
] - (SEMVER-MINOR) util: fix util.getCallSites plurality (Chengzhong Wu) #55626 - [
42ac0c2af3
] - util: do not catch on circular@@​toStringTag
errors (Aviv Keller) #55544
v22.11.0
: 2024-10-29, Version 22.11.0 'Jod' (LTS), @richardlau
Notable Changes
This release marks the transition of Node.js 22.x into Long Term Support (LTS) with the codename 'Jod'. The 22.x release line now moves into "Active LTS" and will remain so until October 2025. After that time, it will move into "Maintenance" until end of life in April 2027.
Other than updating metadata, such as the process.release
object, to reflect
that the release is LTS, no further changes from Node.js 22.10.0 are included.
OpenSSL 3.x
Official binaries for Node.js 22.x currently include OpenSSL 3.0.x (more specifically, the quictls OpenSSL fork). OpenSSL 3.0.x is the currently designated long term support version that is scheduled to be supported until 7th September 2026, which is within the expected lifetime of Node.js 22.x. We are expecting upstream OpenSSL to announce a successor long term support version prior to that date and since OpenSSL now follows a semantic versioning-like versioning scheme we expect to be able to update to the next long term supported version of OpenSSL during the lifetime of Node.js 22.x.
v22.10.0
: 2024-10-16, Version 22.10.0 (Current), @aduh95
Notable Changes
"module-sync"
exports condition
New This release introduces a "module-sync"
exports condition that's enabled when
require(esm)
is enabled, so packages can supply a synchronous ES module to the
Node.js module loader, no matter if it's being required or imported. This is
similar to the "module"
condition that bundlers have been using to support
require(esm)
in Node.js, and allows dual-package authors to opt into ESM-first
only on newer versions of Node.js that supports require(esm)
to avoid the
dual-package hazard.
{
"type": "module",
"exports": {
"node": {
// On new version of Node.js, both require() and import get
// the ESM version
"module-sync": "./index.js",
// On older version of Node.js, where "module-sync" and require(esm) are
// not supported, use the CJS version to avoid dual-package hazard.
// When package authors think it's time to drop support for older versions of
// Node.js, they can remove the exports conditions and just use "main": "index.js".
"default": "./dist/index.cjs"
},
// On any other environment, use the ESM version.
"default": "./index.js"
}
}
Or if the package is only meant to be run on Node.js and wants to fallback to
CJS on older versions that don't have require(esm)
:
{
"type": "module",
"exports": {
// On new version of Node.js, both require() and import get the ESM version
"module-sync": "./index.js",
// On older version of Node.js, where "module-sync" and require(esm) are
// not supported, use the CJS version to avoid dual-package hazard.
// When package authors think it's time to drop support for older versions of
// Node.js, they can remove the exports conditions and just use "main": "index.js".
"default": "./dist/index.cjs"
}
}
For package authors: this only serves as a feature-detection mechanism for
packages that wish to support both CJS and ESM users during the period when some
active Node.js LTS versions support require(esm)
while some older ones don't.
When all active Node.js LTS lines support require(esm)
, packages can simplify
their distributions by bumping the major version, dropping their CJS exports,
and removing the module-sync
exports condition (with only main
or default
targetting the ESM exports). If the package needs to support both bundlers and
being run unbundled on Node.js during the transition period, use both
module-sync
and module
and point them to the same ESM file. If the package
already doesn't want to support older versions of Node.js that doesn't support
require(esm)
, don't use this export condition.
For bundlers/tools: they should avoid implementing this stop-gap condition.
Most existing bundlers implement the de-facto bundler standard
module
exports condition, and that should be enough to support users who want to bundle
ESM from CJS consumers. Users who want both bundlers and Node.js to recognize
the ESM exports can use both module
/module-sync
conditions during the
transition period, and can drop module-sync
+module
when they no longer need
to support older versions of Node.js. If tools do want to support this
condition, it's recommended to make the resolution rules in the graph pointed by
this condition match the Node.js native ESM rules to avoid divergence.
We ended up implementing a condition with a different name instead of reusing
"module"
, because existing code in the ecosystem using the "module"
condition sometimes also expect the module resolution for these ESM files to
work in CJS style, which is supported by bundlers, but the native Node.js loader
has intentionally made ESM resolution different from CJS resolution (e.g.
forbidding import './noext'
or import './directory'
), so it would be
breaking to implement a "module"
condition without implementing the forbidden
ESM resolution rules. For now, this just implements a new condition as
semver-minor so it can be backported to older LTS.
Contributed by Joyee Cheung in #54648.
node --run
is now stable
This CLI flag runs a specified command from a package.json
's "scripts"
object.
For the following package.json
:
{
"scripts": {
"test": "node --test-reporter junit --test ./test"
}
}
You can run node --run test
and that would start the test suite.
Contributed by Yagiz Nizipli in #53763.
Other notable changes
- [
f0b441230a
] - (SEMVER-MINOR) crypto: addKeyObject.prototype.toCryptoKey
(Filip Skokan) #55262 - [
349d2ed07b
] - (SEMVER-MINOR) crypto: add Date fields forvalidTo
andvalidFrom
(Andrew Moon) #54159 - [
bebc95ed58
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086 - [
914db60159
] - (SEMVER-MINOR) http2: exposenghttp2_option_set_stream_reset_rate_limit
as an option (Maël Nison) #54875 - [
f7c3b03759
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826 - [
32261fc98a
] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933 - [
06957ff355
] - (SEMVER-MINOR) module: implementflushCompileCache()
(Joyee Cheung) #54971 - [
2dcf70c347
] - (SEMVER-MINOR) module: throw when invalid argument is passed toenableCompileCache()
(Joyee Cheung) #54971 - [
f9b19d7c44
] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971 - [
e95163b170
] - (SEMVER-MINOR) process: addprocess.features.require_module
(Joyee Cheung) #55241 - [
4050f68e5d
] - (SEMVER-MINOR) process: addprocess.features.typescript
(Aviv Keller) #54295 - [
86f7cb802d
] - (SEMVER-MINOR) test_runner: support custom arguments inrun()
(Aviv Keller) #55126 - [
b62f2f8259
] - (SEMVER-MINOR) test_runner: add'test:summary'
event (Colin Ihrig) #54851 - [
d7c708aec5
] - (SEMVER-MINOR) test_runner: add support for coverage viarun()
(Chemi Atlow) #53937 - [
5fda4a1498
] - (SEMVER-MINOR) worker: addmarkAsUncloneable
api (Jason Zhang) #55234
Commits
- [
e3619510c8
] - assert: show the diff when deep comparing data with a custom message (Giovanni) #54759 - [
39c7a9e70c
] - benchmark: adjust config for deepEqual object (Rafael Gonzaga) #55254 - [
263526d5d0
] - benchmark: rewrite detect-esm-syntax benchmark (Joyee Cheung) #55238 - [
cd0795fb00
] - benchmark: add no-warnings to process.has bench (Rafael Gonzaga) #55159 - [
4352d9cc31
] - benchmark: create benchmark for typescript (Marco Ippolito) #54904 - [
452bc9b48d
] - benchmark: add webstorage benchmark (jakecastelli) #55040 - [
d4d5ba3a9b
] - benchmark: include ascii to fs/readfile (Rafael Gonzaga) #54988 - [
23b628db65
] - benchmark: add dotenv benchmark (Aviv Keller) #54278 - [
b1ebb0d8ca
] - buffer: coerce extrema to int inblob.slice
(Antoine du Hamel) #55141 - [
3a6e72483f
] - buffer: extract Blob's .arrayBuffer() & webidl changes (Matthew Aitken) #53372 - [
d109f1c4ff
] - buffer: use simdutf convert_latin1_to_utf8_safe (Robert Nagy) #54798 - [
77f8a3f9c2
] - build: fix notify-on-review-wanted action (Rafael Gonzaga) #55304 - [
0d93b1ed0c
] - build: fix not valid json in coverage (jakecastelli) #55179 - [
f89664d890
] - build: include.nycrc
in coverage workflows (Wuli Zuo) #55210 - [
d7a9df6417
] - build: notify via slack when review-wanted (Rafael Gonzaga) #55102 - [
68822cc861
] - build: add more information to Makefile help (Aviv Keller) #53381 - [
f3ca9c669b
] - build: update ruff and addlint-py-fix
(Aviv Keller) #54410 - [
d99ae548d7
] - build: remove -v flag to reduce noise (iwuliz) #55025 - [
d3dfbe7ff9
] - build: display free disk space after build in the test-macOS workflow (iwuliz) #55025 - [
3077f6a5b7
] - build: support up to python 3.13 in android-configure (Aviv Keller) #54529 - [
a929c71281
] - build: add the option to generate compile_commands.json in vcbuild.bat (Segev Finer) #52279 - [
a81f368b99
] - build: fix eslint makefile target (Aviv Keller) #54999 - [
c8b7a645ae
] - Revert "build: upgrade clang-format to v18" (Chengzhong Wu) #54994 - [
7861ca5dc3
] - build: printRunning XYZ linter...
for py and yml (Aviv Keller) #54386 - [
aaea3944e5
] - build,win: add winget config to set up env (Hüseyin Açacak) #54729 - [
30d47220bb
] - build,win: float VS 17.11 compilation patch (Stefan Stojanovic) #54970 - [
048a1ab350
] - cli: ensure --run has proper pwd (Yagiz Nizipli) #54949 - [
a97841ee10
] - cli: fix spacing for port range error (Aviv Keller) #54495 - [
1dcc5eedff
] - Revert "console: colorize console error and warn" (Aviv Keller) #54677 - [
f0b441230a
] - (SEMVER-MINOR) crypto: add KeyObject.prototype.toCryptoKey (Filip Skokan) #55262 - [
d3f8c35320
] - crypto: ensure invalid SubtleCrypto JWK data import results in DataError (Filip Skokan) #55041 - [
349d2ed07b
] - (SEMVER-MINOR) crypto: add Date fields forvalidTo
andvalidFrom
(Andrew Moon) #54159 - [
34ca36a397
] - deps: update undici to 6.20.0 (Node.js GitHub Bot) #55329 - [
f703652e84
] - deps: upgrade npm to 10.9.0 (npm team) #55255 - [
b533a51856
] - deps: V8: backport0d5d6e7
(Yagiz Nizipli) #55115 - [
2f65b3fd07
] - deps: V8: partially cherry-pick8953e49
(Ben Noordhuis) #55274 - [
bb9f77d53a
] - deps: update archs files for openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
63d51c82fe
] - deps: upgrade openssl sources to quictls/openssl-3.0.15+quic1 (Node.js GitHub Bot) #55184 - [
29e6484f3c
] - deps: update archs files for openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
283927ec88
] - deps: upgrade openssl sources to quictls/openssl-3.0.14+quic1 (Node.js GitHub Bot) #54336 - [
b0636a1e88
] - deps: update timezone to 2024b (Node.js GitHub Bot) #55056 - [
173464d76f
] - deps: update acorn-walk to 8.3.4 (Node.js GitHub Bot) #54950 - [
0d4536543b
] - deps: update corepack to 0.29.4 (Node.js GitHub Bot) #54845 - [
1de5512383
] - deps: V8: cherry-pick217457d
(Michaël Zasso) #54883 - [
1921d7a37c
] - doc: add release key for aduh95 (Antoine du Hamel) #55349 - [
d8e42be1b2
] - doc: moveERR_INVALID_PERFORMANCE_MARK
to legacy errors (Antoine du Hamel) #55247 - [
5ea8aa183c
] - doc: fix Markdown linter (Antoine du Hamel) #55344 - [
873588888d
] - Revert "doc: update test context.assert" (Antoine du Hamel) #55344 - [
707e7cc702
] - doc: add pmarchini to collaborators (Pietro Marchini) #55331 - [
b03272b9a1
] - doc: fixevents.once()
example usingAbortSignal
(Ivo Janssen) #55144 - [
85b765953d
] - doc: add onboarding details for ambassador program (Marco Ippolito) #55284 - [
5d41b8a8b0
] - doc: updaterequire(ESM)
history and stability status (Antoine du Hamel) #55199 - [
195df659e9
] - doc: moveERR_NAPI_TSFN_START/STOP_IDLE_LOOP
to legacy errors (Antoine du Hamel) #55248 - [
8eae0d3f3c
] - doc: fix initial default value of autoSelectFamily (Ihor Rohovets) #55245 - [
297cb0da5a
] - doc: tweak onboarding instructions (Michael Dawson) #55212 - [
7ddbfe8c2b
] - doc: update test context.assert (Pietro Marchini) #55186 - [
8a57550d20
] - doc: fix unordered error anchors (Antoine du Hamel) #55242 - [
286ea4ed3d
] - doc: mention addons to experimental permission (Rafael Gonzaga) #55166 - [
7c9ceabf38
] - doc: use correct dash in stability status (Antoine du Hamel) #55200 - [
781ffd8ba1
] - doc: fix link intest/README.md
(Livia Medeiros) #55165 - [
61b9ed3bf2
] - doc: add esm examples to node:net (Alfredo González) #55134 - [
bb3499038d
] - doc: remove outdated https import reference (Edigleysson Silva (Edy)) #55111 - [
6cc49518c7
] - doc: move the YAML changes element (sendoru) #55112 - [
b12b4a23e4
] - doc: remove random horizontal separators inprocess.md
(Antoine du Hamel) #55149 - [
7186ede388
] - doc: put --env-file-if-exists=config right under --env-file=config (Edigleysson Silva (Edy)) #55131 - [
8ad0dfff10
] - doc: fix the require resolve algorithm inmodules.md
(chirsz) #55117 - [
fd40f0873f
] - doc: update style guide (Aviv Keller) #53223 - [
12c9d9780f
] - doc: add missing:
torun()
'sglobPatterns
(Aviv Keller) #55135 - [
73b05cfb04
] - doc: correctcleanup
option in stream.(promises.)finished (René) #55043 - [
bebc95ed58
] - doc: add abmusse to collaborators (Abdirahim Musse) #55086 - [
a97c80c6ae
] - doc: add note about--expose-internals
(Aviv Keller) #52861 - [
89aeae63bd
] - doc: removeparseREPLKeyword
from REPL documentation (Aviv Keller) #54749 - [
b3e0490b8b
] - doc: add missing EventSource docs to globals (Matthew Aitken) #55022 - [
516c775fa5
] - doc: cover --experimental-test-module-mocks flag (Jonathan Sharpe) #55021 - [
4244f1a269
] - doc: add more details for localStorage and sessionStorage (Batuhan Tomo) #53881 - [
39a728c2e3
] - doc: change backporting guide with updated info (Aviv Keller) #53746 - [
3a5fe95ad7
] - doc: add missing definitions tointernal-api.md
(Aviv Keller) #53303 - [
f2d74a26a3
] - doc: fix history ofprocess.features
(Antoine du Hamel) #54982 - [
29866ca438
] - doc: fix typo callsite.lineNumber (Rafael Gonzaga) #54969 - [
c1d73abd29
] - doc: update documentation for externalizing deps (Michael Dawson) #54792 - [
eca9668231
] - doc: add documentation for process.features (Marco Ippolito) #54897 - [
0fb446e207
] - esm: do not interpret"main"
as a URL (Antoine du Hamel) #55003 - [
be2fe4b249
] - events: allow null/undefined eventInitDict (Matthew Aitken) #54643 - [
cb47e169a0
] - events: returncurrentTarget
when dispatching (Matthew Aitken) #54642 - [
dbfae3fe14
] - fs: acknowledgesignal
option infilehandle.createReadStream()
(Livia Medeiros) #55148 - [
1c94725c07
] - fs: check subdir correctly in cpSync (Jason Zhang) #55033 - [
79ffefab2a
] - fs: convert to u8 string for filesystem path (Jason Zhang) #54653 - [
914db60159
] - (SEMVER-MINOR) http2: expose nghttp2_option_set_stream_reset_rate_limit as an option (Maël Nison) #54875 - [
08b5e6c794
] - lib: fix module print timing when specifier includes"
(Antoine du Hamel) #55150 - [
bf7d7aef4b
] - lib: fix typos (Nathan Baulch) #55065 - [
d803355d92
] - lib: prefer optional chaining (Aviv Keller) #55045 - [
d4873bcd6d
] - lib: remove lib/internal/idna.js (Yagiz Nizipli) #55050 - [
f7c3b03759
] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #54826 - [
397ae418db
] - lib: the REPL should survive deletion of Array.prototype methods (Jordan Harband) #31457 - [
566179c9ec
] - lib, tools: remove duplicate requires (Aviv Keller) #54987 - [
c9a1bbbef2
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #55300 - [
d7b73bbd1d
] - meta: bump mozilla-actions/sccache-action from 0.0.5 to 0.0.6 (dependabot[bot]) #55225 - [
0f4269faa9
] - meta: bump actions/checkout from 4.1.7 to 4.2.0 (dependabot[bot]) #55224 - [
33be1990d8
] - meta: bump actions/setup-node from 4.0.3 to 4.0.4 (dependabot[bot]) #55223 - [
f5b4ae5bf8
] - meta: bump peter-evans/create-pull-request from 7.0.1 to 7.0.5 (dependabot[bot]) #55219 - [
1985d9016e
] - meta: add mailmap entry for abmusse (Abdirahim Musse) #55182 - [
93b215d5e6
] - meta: add more information about nightly releases (Aviv Keller) #55084 - [
aeae5973c3
] - meta: addlinux
to OS labels in collaborator guide (Aviv Keller) #54986 - [
4fb2c3baa8
] - meta: remove never-used workflow trigger (Aviv Keller) #54983 - [
e1f36d0da8
] - meta: remove unneeded ignore rules from ruff (Aviv Keller) #54360 - [
ce0d0c1ec8
] - meta: removebuild-windows.yml
(Aviv Keller) #54662 - [
ca67c97f33
] - meta: add links to alternative issue trackers (Aviv Keller) #54401 - [
6fcac73738
] - module: wrap swc error in ERR_INVALID_TYPESCRIPT_SYNTAX (Marco Ippolito) #55316 - [
0412ac8bf3
] - module: add internal type def forflushCompileCache
(Jacob Smith) #55226 - [
32261fc98a
] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #54933 - [
111261e245
] - (SEMVER-MINOR) module: implement the "module-sync" exports condition (Joyee Cheung) #54648 - [
b6fc9adf5b
] - module: remove duplicated import (Aviv Keller) #54942 - [
06957ff355
] - (SEMVER-MINOR) module: implement flushCompileCache() (Joyee Cheung) #54971 - [
2dcf70c347
] - (SEMVER-MINOR) module: throw when invalid argument is passed to enableCompileCache() (Joyee Cheung) #54971 - [
f9b19d7c44
] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #54971 - [
1d169764db
] - module: report unfinished TLA in ambiguous modules (Antoine du Hamel) #54980 - [
c89c93496d
] - module: refator ESM loader for adding future synchronous hooks (Joyee Cheung) #54769 - [
108cef22e6
] - module: remove bogus assertion in CJS entrypoint handling with --import (Joyee Cheung) #54592 - [
67ecb10c78
] - module: fix discrepancy between .ts and .js (Marco Ippolito) #54461 - [
3300d5990f
] - os: use const with early return for path (Trivikram Kamat) #54959 - [
90cce6ec7c
] - path: remove repetitive conditional operator inposix.resolve
(Wiyeong Seo) #54835 - [
cbfc980f89
] - perf_hooks: add missing type argument to getEntriesByName (Luke Taher) #54767 - [
e95163b170
] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #55241 - [
0655d3a384
] - process: fixprocess.features.typescript
when Amaro is unavailable (Antoine du Hamel) #55323 - [
4050f68e5d
] - (SEMVER-MINOR) process: addprocess.features.typescript
(Aviv Keller) #54295 - [
75073c50ae
] - quic: start adding in the internal quic js api (James M Snell) #53256 - [
538b1eb5b0
] - repl: catch\v
and\r
in new-line detection (Aviv Keller) #54512 - [
57a9d3f15e
] - sqlite: disable DQS misfeature by default (Tobias Nießen) #55297 - [
c126543374
] - sqlite: make sourceSQL and expandedSQL string-valued properties (Tobias Nießen) #54721 - [
67f5f46c56
] - sqlite: enable foreign key constraints by default (Tobias Nießen) #54777 - [
09999491bf
] - src: handle errors correctly in webstorage (Michaël Zasso) #54544 - [
295c17c4ea
] - src: make minor tweaks to quic c++ for c++20 (James M Snell) #53256 - [
b1d47d06f9
] - src: apply getCallSite optimization (RafaelGSS) #55174 - [
d6bcc44829
] - src: modernize likely/unlikely hints (Yagiz Nizipli) #55155 - [
1af5ad61ca
] - src: fixup Error.stackTraceLimit during snapshot building (Joyee Cheung) #55121 - [
b229083235
] - src: parse --stack-trace-limit and use it in --trace-* flags (Joyee Cheung) #55121 - [
942ad54e08
] - src: move more key handling to ncrypto (James M Snell) #55108 - [
0bb5584288
] - src: add receiver to fast api callback methods (Carlos Espa) #54408 - [
706e9611f0
] - src: fix typos (Nathan Baulch) #55064 - [
a96d5d1bcc
] - src: move more stuff over to use Maybe<void> (James M Snell) #54831 - [
ee0a98b5a2
] - src: decode native error messages as UTF-8 (Joyee Cheung) #55024 - [
1fc8edecf8
] - src: update clang-tidy and focus on modernization (Yagiz Nizipli) #53757 - [
3a1485a1a3
] - src: move evp stuff to ncrypto (James M Snell) #54911 - [
9ae80e1e4d
] - src: revert filesystem::path changes (Yagiz Nizipli) #55015 - [
465d05018a
] - src: mark node --run as stable (Yagiz Nizipli) #53763 - [
ef546c872c
] - src: cleanup per env handles directly without a list (Chengzhong Wu) #54993 - [
0876f78411
] - src: add unistd.h import if node posix credentials is defined (Jonas) #54528 - [
284db53866
] - src: remove duplicate code setting AF_INET (He Yang) #54939 - [
f332c4c4fc
] - src: useMaybe<void>
where bool isn't needed (Michaël Zasso) #54575 - [
c7ed2ff920
] - stream: handle undefined chunks correctly in decode stream (devstone) #55153 - [
a9675a0cbc
] - stream: treat null asyncIterator as undefined (Jason Zhang) #55119 - [
bf69ae1406
] - stream: set stream prototype to closest transferable superclass (Jason Zhang) #55067 - [
3273707a3a
] - test: fix tests when Amaro is unavailable (Richard Lau) #55320 - [
ff3cc3b2ab
] - test: use more informative errors intest-runner-cli
(Antoine du Hamel) #55321 - [
17d2f9de6d
] - test: maketest-loaders-workers-spawned
less flaky (Antoine du Hamel) #55172 - [
1b1104e69b
] - test: add resource to internal module stat test (RafaelGSS) #55157 - [
b36f8c2146
] - test: update multiple assert tests to use node:test (James M Snell) #54585 - [
1b30f7fdd6
] - test: move coverage source map tests to new file (Aviv Keller) #55123 - [
ce67e7b5b3
] - test: adding more tests for strip-types (Kevin Toshihiro Uehara) #54929 - [
a57c8ba3ef
] - test: update wpt test for encoding (devstone) #55151 - [
65fbe94d45
] - test: addescapePOSIXShell
util (Antoine du Hamel) #55125 - [
cc8838252e
] - test: remove unnecessaryawait
in test-watch-mode (Wuli) #55142 - [
9aeba48bf0
] - test: fix typos (Nathan Baulch) #55063 - [
0999b5e493
] - test: remove duplicated test descriptions (Christos Koutsiaris) #54140 - [
e99d4a4cb8
] - test: deflake test/pummel/test-timers.js (jakecastelli) #55098 - [
fb8470afd7
] - test: deflake test-http-remove-header-stays-removed (Luigi Pinca) #55004 - [
e879c5edf2
] - test: fix test-tls-junk-closes-server (Michael Dawson) #55089 - [
b885f0583c
] - test: fix more tests that fail when path contains a space (Antoine du Hamel) #55088 - [
85f1187942
] - test: fixassertSnapshot
when path contains a quote (Antoine du Hamel) #55087 - [
fdae57f1e1
] - test: fix some tests when path contains%
(Antoine du Hamel) #55082 - [
36c9ea8912
] - Revert "test: mark test-fs-watch-non-recursive flaky on Windows" (Luigi Pinca) #55079 - [
80da5993cc
] - test: remove interval and give more time to unsync (Pietro Marchini) #55006 - [
93c23e74b3
] - test: deflake test-inspector-strip-types (Luigi Pinca) #55058 - [
43bbca2c08
] - test: maketest-runner-assert
more robust (Aviv Keller) #55036 - [
268f1ec08f
] - test: update tls test to support OpenSSL32 (Michael Dawson) #55030 - [
a50dd21423
] - test: do not assumeprocess.execPath
contains no spaces (Antoine du Hamel) #55028 - [
c56e324cb8
] - test: fixtest-vm-context-dont-contextify
when path contains a space (Antoine du Hamel) #55026 - [
6d42e44264
] - test: adjust tls-set-ciphers for OpenSSL32 (Michael Dawson) #55016 - [
22e601a76c
] - test: addutil.stripVTControlCharacters
test (RedYetiDev) #54865 - [
a6796696d7
] - test: improve coverage for timer promises schedular (Aviv Keller) #53370 - [
9506f77b3e
] - test: removegetCallSite
from common (RedYetiDev) #54947 - [
20d3a806ea
] - test: remove unused common utilities (RedYetiDev) #54825 - [
341b6d9b94
] - test: deflake test-http-header-overflow (Luigi Pinca) #54978 - [
1e53c10853
] - test: fixsoucre
tosource
(Aviv Keller) #55038 - [
6843ca7e0d
] - test: add asserts to validate test assumptions (Michael Dawson) #54997 - [
98ff615c5e
] - test: add runner watch mode isolation tests (Pietro Marchini) #54888 - [
327a8f7b59
] - test: fix invalid wasm test (Aviv Keller) #54935 - [
5b012f544c
] - test: move test-http-max-sockets to parallel (Luigi Pinca) #54977 - [
22b413910e
] - test: remove test-http-max-sockets flaky designation (Luigi Pinca) #54976 - [
62b8640550
] - test: refactor test-whatwg-webstreams-encoding to be shorter (David Dong) #54569 - [
1f11d68173
] - test: adjust key sizes to support OpenSSL32 (Michael Dawson) #54972 - [
90a87ca8f7
] - test: update test to support OpenSSL32 (Michael Dawson) #54968 - [
9b7834536a
] - test: update DOM events web platform tests (Matthew Aitken) #54642 - [
1c001550a2
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #55029 - [
800f7c44ed
] - test_runner: throw on invalid source map (Aviv Keller) #55055 - [
0f7e3f017f
] - test_runner: assert entry is a valid object (Edigleysson Silva (Edy)) #55231 - [
c308862d2e
] - test_runner: avoid spread operator on arrays (Antoine du Hamel) #55143 - [
12401972b7
] - test_runner: support typescript files in default glob (Aviv Keller) #55081 - [
19cfa3140f
] - test_runner: close and flush destinations on forced exit (Colin Ihrig) #55099 - [
86f7cb802d
] - (SEMVER-MINOR) test_runner: support custom arguments inrun()
(Aviv Keller) #55126 - [
7eaeba499a
] - test_runner: fix mocking modules with quote in their URL (Antoine du Hamel) #55083 - [
8818c6c88a
] - test_runner: report error on missing sourcemap source (Aviv Keller) #55037 - [
b62f2f8259
] - (SEMVER-MINOR) test_runner: add 'test:summary' event (Colin Ihrig) #54851 - [
449dad0db0
] - test_runner: usetest:
symbol on second print of parent test (RedYetiDev) #54956 - [
4b962a78c7
] - test_runner: replace ansi clear with ansi reset (Pietro Marchini) #55013 - [
d7c708aec5
] - (SEMVER-MINOR) test_runner: add support for coverage via run() (Chemi Atlow) #53937 - [
93c6c90219
] - test_runner: support typescript module mocking (Marco Ippolito) #54878 - [
1daec9a63f
] - test_runner: avoid coverage report partial file names (Pietro Marchini) #54379 - [
d51e5a8667
] - tools: enforce errors to not be documented in legacy section (Aviv Keller) #55218 - [
6a7d201b80
] - tools: update gyp-next to 0.18.2 (Node.js GitHub Bot) #55160 - [
c988e7e2e5
] - tools: bump the eslint group in /tools/eslint with 4 updates (dependabot[bot]) #55227 - [
7982d3d4ed
] - tools: only check teams on the default branch (Antoine du Hamel) #55124 - [
60a35eddb0
] - tools: makechoco install
script more readable (Aviv Keller) #54002 - [
b7b1fa6dd3
] - tools: bump Rollup from 4.18.1 to 4.22.4 forlint-md
(dependabot[bot]) #55093 - [
3304bf387f
] - tools: unlock versions of irrelevant DB deps (Michaël Zasso) #55042 - [
65c376a819
] - tools: remove redudant code from eslint require rule (Aviv Keller) #54892 - [
295f684b69
] - tools: update error message for ICU in license-builder (Aviv Keller) #54742 - [
ce4b6e403d
] - tools: refactor js2c.cc to use c++20 (Yagiz Nizipli) #54849 - [
31f0ef6ea3
] - tools: bump the eslint group in /tools/eslint with 7 updates (dependabot[bot]) #54821 - [
676d0a09a0
] - tools: update github_reporter to 1.7.1 (Node.js GitHub Bot) #54951 - [
0f01f38aea
] - tty: fix links for terminal colors (Aviv Keller) #54596 - [
d264639f5f
] - util: update ansi regex (Aviv Keller) #54865 - [
ea7aaf37bf
] - v8: out of bounds copy (Robert Nagy) #55261 - [
fa695facf5
] - watch: preserve output when gracefully restarted (Théo LUDWIG) #54323 - [
5fda4a1498
] - (SEMVER-MINOR) worker: addmarkAsUncloneable
api (Jason Zhang) #55234 - [
d65334c454
] - worker: throw InvalidStateError in postMessage after close (devstone) #55206 - [
fc90d7c63a
] - worker: handle--input-type
more consistently (Antoine du Hamel) #54979 - [
a9fa2da870
] - zlib: throw brotli initialization error from c++ (Yagiz Nizipli) #54698 - [
9abd1c7288
] - zlib: remove prototype primordials usage (Yagiz Nizipli) #54695
v22.9.0
: 2024-09-17, Version 22.9.0 (Current), @RafaelGSS
New API to retrieve execution Stack Trace
A new API getCallSite
has been introduced to the util
module. This API allows users
to retrieve the stacktrace of the current execution. Example:
const util = require('node:util');
function exampleFunction() {
const callSites = util.getCallSite();
console.log('Call Sites:');
callSites.forEach((callSite, index) => {
console.log(`CallSite ${index + 1}:`);
console.log(`Function Name: ${callSite.functionName}`);
console.log(`Script Name: ${callSite.scriptName}`);
console.log(`Line Number: ${callSite.lineNumber}`);
console.log(`Column Number: ${callSite.column}`);
});
// CallSite 1:
// Function Name: exampleFunction
// Script Name: /home/example.js
// Line Number: 5
// Column Number: 26
// CallSite 2:
// Function Name: anotherFunction
// Script Name: /home/example.js
// Line Number: 22
// Column Number: 3
// ...
}
// A function to simulate another stack layer
function anotherFunction() {
exampleFunction();
}
anotherFunction();
Thanks to Rafael Gonzaga for making this work on #54380.
Disable V8 Maglev
We have seen several crashes/unexpected JS behaviors with maglev on v22 (which ships V8 v12.4). The bugs lie in the codegen so it would be difficult for users to work around them or even figure out where the bugs are coming from. Some bugs are fixed in the upstream while some others probably remain.
As v22 will get stuck with V8 v12.4 as LTS, it will be increasingly difficult to backport patches for them even if the bugs are fixed. So disable it by default on v22 to reduce the churn and troubles for users.
Thanks to Joyee Cheung for making this work on #54384
Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
This releases introduces a new option to the API tls.createSecureContext
. For
now on users can use tls.createSecureContext({ allowPartialTrustChain: true })
to treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.
Thanks to Anna Henningsen for making this work on #54790
Other Notable Changes
- [
5c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384 - [
e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032
Deprecations
- [
8433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #54842 - [
8c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708
Commits
- [
027b0ffe84
] - async_hooks: add an InactiveAsyncContextFrame class (Bryan English) #54510 - [
022767028e
] - benchmark: --no-warnings to avoid DEP/ExpWarn log (Rafael Gonzaga) #54928 - [
af1988c147
] - benchmark: add buffer.isAscii benchmark (RafaelGSS) #54740 - [
40c6849964
] - benchmark: add buffer.isUtf8 bench (RafaelGSS) #54740 - [
237d7dfbde
] - benchmark: add access async version to bench (Rafael Gonzaga) #54747 - [
ebe91db827
] - benchmark: enhance dc publish benchmark (Rafael Gonzaga) #54745 - [
060164485b
] - benchmark: add match and doesNotMatch bench (RafaelGSS) #54734 - [
2844180c7e
] - benchmark: add rejects and doesNotReject bench (RafaelGSS) #54734 - [
af7689ed02
] - benchmark: add throws and doesNotThrow bench (RafaelGSS) #54734 - [
456a1fe222
] - benchmark: add strictEqual and notStrictEqual bench (RafaelGSS) #54734 - [
721c63c858
] - benchmark: adds groups to better separate benchmarks (Giovanni Bucci) #54393 - [
68e45b406e
] - benchmark,doc: add CPU scaling governor to perf (Rafael Gonzaga) #54723 - [
d19efd7a50
] - benchmark,doc: mention bar.R to the list of scripts (Rafael Gonzaga) #54722 - [
1fb67afa2f
] - buffer: fix out of range for toString (Jason Zhang) #54553 - [
85b5ed5d41
] - buffer: re-enable Fast API for Buffer.write (Robert Nagy) #54526 - [
9a075279ec
] - build: upgrade clang-format to v18 (Aviv Keller) #53957 - [
69ec9d8d2b
] - build: fix conflicting V8 object print flags (Daeyeon Jeong) #54785 - [
948bba396c
] - build: do not build with code cache for core coverage collection (Joyee Cheung) #54633 - [
6200cf4fb6
] - build: don't store eslint locally (Aviv Keller) #54231 - [
3b5ed97fe9
] - build: turn off-Wrestrict
(Richard Lau) #54737 - [
e38e305a35
] - build,win: enable clang-cl compilation (Stefan Stojanovic) #54655 - [
5bba0781b0
] - crypto: reject dh,x25519,x448 in {Sign,Verify}Final (Huáng Jùnliàng) #53774 - [
3981853c00
] - crypto: return a clearer error when loading an unsupported pkcs12 (Tim Perry) #54485 - [
02ac5376b9
] - crypto: remove unusedkHashTypes
internal (Antoine du Hamel) #54627 - [
323d9da3c9
] - deps: update cjs-module-lexer to 1.4.1 (Node.js GitHub Bot) #54846 - [
bf4bf7cc6b
] - deps: update simdutf to 5.5.0 (Node.js GitHub Bot) #54434 - [
61047dd130
] - deps: upgrade npm to 10.8.3 (npm team) #54619 - [
2351da5034
] - deps: update cjs-module-lexer to 1.4.0 (Node.js GitHub Bot) #54713 - [
0659516823
] - deps: allow amaro to be externalizable (Michael Dawson) #54646 - [
6a32645dbc
] - deps: fix sign-compare warning in ncrypto (Cheng) #54624 - [
8f62f19197
] - doc: fix broken Android building link (Niklas Wenzel) #54922 - [
440c256d76
] - doc: add support link for aduh95 (Antoine du Hamel) #54866 - [
56aca2a1ca
] - doc: run license-builder (github-actions[bot]) #54854 - [
8931f569c6
] - doc: experimental flag for global accessible APIs (Chengzhong Wu) #54330 - [
6f8a6e9eb6
] - doc: addERR_INVALID_ADDRESS
toerrors.md
(Aviv Keller) #54661 - [
c1b92e05e7
] - doc: add support link for mcollina (Matteo Collina) #54786 - [
1def18122a
] - doc: mark--conditions
CLI flag as stable (Guy Bedford) #54209 - [
b8ae36b6c3
] - doc: fix typo in recognizing-contributors (Tobias Nießen) #54822 - [
2c2ae80924
] - doc: clarify--max-old-space-size
and--max-semi-space-size
units (Alexandre ABRIOUX) #54477 - [
5bd4be5ce7
] - doc: replace --allow-fs-read by --allow-fs-write in related section (M1CK431) #54427 - [
c0f3e4603f
] - doc: add support link for marco-ippolito (Marco Ippolito) #54789 - [
dc69eb8276
] - doc: fix typo in module.md (Tobias Nießen) #54794 - [
de225f5db9
] - doc: specify that preloaded modules affect subprocesses (Aviv Keller) #52939 - [
62b0007cbe
] - doc: clarify expandedSQL behavior (Tobias Nießen) #54685 - [
1c7bdf95db
] - doc: render type references in SQLite docs (Tobias Nießen) #54684 - [
5555095531
] - doc: fix typo (Michael Dawson) #54640 - [
754baa4efa
] - doc: fix webcrypto.md AES-GCM backticks (Filip Skokan) #54621 - [
5bfb4bcf45
] - doc: add documentation about os.tmpdir() overrides (Joyee Cheung) #54613 - [
22d873208e
] - doc, build: fixup build docs (Aviv Keller) #54899 - [
5e081a12b6
] - doc, child_process: add esm snippets (Aviv Keller) #53616 - [
2b68c30a26
] - doc, meta: fix broken link inonboarding.md
(Aviv Keller) #54886 - [
a624002fff
] - esm: throwERR_REQUIRE_ESM
instead ofERR_INTERNAL_ASSERTION
(Antoine du Hamel) #54868 - [
31d4ef91ee
] - esm: fix support forURL
instances inimport.meta.resolve
(Antoine du Hamel) #54690 - [
40ba89e452
] - esm: use Undici/fetch
data:
URL parser (Matthew Aitken) #54748 - [
93116dd7b1
] - fs: translate error code properly in cpSync (Jason Zhang) #54906 - [
375cbb592e
] - fs: refactor rimraf to avoid using primordials (Yagiz Nizipli) #54834 - [
ee89c3149e
] - fs: respect dereference when copy symlink directory (Jason Zhang) #54732 - [
7123bf7ca4
] - http: reduce likelihood of race conditions on keep-alive timeout (jazelly) #54863 - [
04ef3e4afd
] - https: only use default ALPNProtocols when appropriate (Brian White) #54411 - [
dc5593ba1e
] - lib: remove unnecessary async (jakecastelli) #54829 - [
2b9a6373da
] - lib: make WeakRef safe in abort_controller (jazelly) #54791 - [
5f02e1b850
] - lib: moveSymbol[Async]Dispose
polyfills tointernal/util
(Antoine du Hamel) #54853 - [
fc78ced7e4
] - lib: convert signals to array before validation (Jason Zhang) #54714 - [
21fef34a53
] - lib: add note about removingnode:sys
module (Rafael Gonzaga) #54743 - [
a37d805489
] - (SEMVER-MINOR) lib: add util.getCallSite() API (Rafael Gonzaga) #54380 - [
2a1f56cce6
] - lib: ensure no holey array in fixed_queue (Jason Zhang) #54537 - [
540b1dbaf6
] - lib: refactor SubtleCrypto experimental warnings (Filip Skokan) #54620 - [
b59c8b88c7
] - lib,src: use built-in array buffer detach, transfer (Yagiz Nizipli) #54837 - [
c1cc046de9
] - meta: bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (dependabot[bot]) #54820 - [
82c08ef483
] - meta: addWindows ARM64
to flaky-tests list (Aviv Keller) #54693 - [
df30e8efa1
] - meta: ping @nodejs/performance on bench changes (Rafael Gonzaga) #54752 - [
bdd9fbb905
] - meta: bump actions/setup-python from 5.1.1 to 5.2.0 (Rich Trott) #54691 - [
19574a8403
] - meta: update sccache to v0.8.1 (Aviv Keller) #54720 - [
9ebcfb2b28
] - meta: bump step-security/harden-runner from 2.9.0 to 2.9.1 (dependabot[bot]) #54704 - [
ea58feb959
] - meta: bump actions/upload-artifact from 4.3.4 to 4.4.0 (dependabot[bot]) #54703 - [
c6bd9e443e
] - meta: bump github/codeql-action from 3.25.15 to 3.26.6 (dependabot[bot]) #54702 - [
79b358af2e
] - meta: fix links inSECURITY.md
(Aviv Keller) #54696 - [
6c8a20d650
] - meta: fixcontributing
codeowners (Aviv Keller) #54641 - [
b7284ed099
] - module: do not warn for typeless package.json when there isn't one (Joyee Cheung) #54045 - [
ddd24a6e63
] - node-api: add external buffer creation benchmark (Chengzhong Wu) #54877 - [
4a7576efae
] - node-api: add support for UTF-8 and Latin-1 property keys (Mert Can Altin) #52984 - [
461e523498
] - os: improvetmpdir
performance (Yagiz Nizipli) #54709 - [
94fb7ab2e7
] - path: removeStringPrototypeCharCodeAt
fromposix.extname
(Aviv Keller) #54546 - [
67b1d4cb45
] - repl: avoid interpreting 'npm' as a command when errors are recoverable (Shima Ryuhei) #54848 - [
8433032948
] - repl: doc-deprecate instantiatingnode:repl
classes withoutnew
(Aviv Keller) #54842 - [
7766349dd0
] - sqlite: fix segfault in expandedSQL (Tobias Nießen) #54687 - [
4c1b98ba2b
] - sqlite: remove unnecessary auto assignment (Tobias Nießen) #54686 - [
77d162adb6
] - src: add--env-file-if-exists
flag (Bosco Domingo) #53060 - [
424bdc03b4
] - src: add Cleanable class to Environment (Gabriel Schulhof) #54880 - [
fbd08e3a9f
] - src: switch crypto APIs to use Maybe<void> (James M Snell) #54775 - [
5e72bd3545
] - src: eliminate ManagedEVPPkey (James M Snell) #54751 - [
97cbcfbb43
] - src: fix unhandled error in structuredClone (Daeyeon Jeong) #54764 - [
b89cd8d19a
] - src: move hkdf, scrypto, pbkdf2 impl to ncrypto (James M Snell) #54651 - [
5c9599af5a
] - src: create handle scope in FastInternalModuleStat (Joyee Cheung) #54384 - [
e2307d87e8
] - (SEMVER-MINOR) stream: relocate the status checking code in the onwritecomplete (YoonSoo_Shin) #54032 - [
ff54cabef6
] - test: adjust test-tls-junk-server for OpenSSL32 (Michael Dawson) #54926 - [
23fb03beed
] - test: remove duplicate skip AIX (Wuli) #54917 - [
2b5e70816a
] - test: adjust tls test for OpenSSL32 (Michael Dawson) #54909 - [
cefa692dcb
] - test: fix test-http2-socket-close.js (Hüseyin Açacak) #54900 - [
097f6d3e7e
] - test: improve test-internal-fs-syncwritestream (Sunghoon) #54671 - [
ed736a689f
] - test: deflake test-dns (Luigi Pinca) #54902 - [
bb4849f595
] - test: fix test test-tls-dhe for OpenSSL32 (Michael Dawson) #54903 - [
d9264bceca
] - test: use correct file naming syntax forutil-parse-env
(Aviv Keller) #53705 - [
115a7ca42a
] - test: add missing await (Luigi Pinca) #54828 - [
7a1d633d77
] - test: move more url tests tonode:test
(Yagiz Nizipli) #54636 - [
ee385d62b9
] - test: strip color chars intest-runner-run
(Giovanni Bucci) #54552 - [
2efec6221c
] - test: deflake test-http2-misbehaving-multiplex (Luigi Pinca) #54872 - [
b198a91404
] - test: remove dead code in test-http2-misbehaving-multiplex (Luigi Pinca) #54860 - [
194cb83f39
] - test: reduce test-esm-loader-hooks-inspect-wait flakiness (Luigi Pinca) #54827 - [
4b53558e8b
] - test: reduce the allocation size in test-worker-arraybuffer-zerofill (James M Snell) #54839 - [
c968d65d6d
] - test: fix test-tls-client-mindhsize for OpenSSL32 (Michael Dawson) #54739 - [
b998bb0933
] - test: remove need to make fs call for zlib test (Yagiz Nizipli) #54814 - [
f084ea2e01
] - test: use platform timeout (jakecastelli) #54591 - [
b10e434cf3
] - test: add platform timeout support for riscv64 (jakecastelli) #54591 - [
b875f2d7de
] - test: reduce stack size for test-error-serdes (James M Snell) #54840 - [
d1a411480a
] - test: reduce fs calls in test-fs-existssync-false (Yagiz Nizipli) #54815 - [
b96ee30a09
] - test: usenode:test
intest-cli-syntax.bad
(Aviv Keller) #54513 - [
5278b8b7a1
] - test: move test-http-server-request-timeouts-mixed (James M Snell) #54841 - [
8345a60d3a
] - test: fix Windows async-context-frame memory failure (Stephen Belanger) #54823 - [
cad404e1a1
] - test: fix volatile for CauseSegfault with clang (Ivan Trubach) #54325 - [
41682c7286
] - test: settest-http2-socket-close
as flaky (Yagiz Nizipli) #54802 - [
1e1ac48711
] - test: settest-worker-arraybuffer-zerofill
as flaky (Yagiz Nizipli) #54802 - [
56238debff
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #54802 - [
8291de1540
] - test: settest-http-server-request-timeouts-mixed
as flaky (Yagiz Nizipli) #54802 - [
32d340e6b3
] - test: settest-single-executable-application-empty
as flaky (Yagiz Nizipli) #54802 - [
6a2da4c4ca
] - test: settest-macos-app-sandbox
as flaky (Yagiz Nizipli) #54802 - [
2f408847a0
] - test: settest-fs-utimes
as flaky (Yagiz Nizipli) #54802 - [
e3b7c40ffc
] - test: settest-runner-run-watch
as flaky (Yagiz Nizipli) #54802 - [
d2ede46946
] - test: settest-sqlite-statement-sync
as flaky (Yagiz Nizipli) #54802 - [
b9f3385808
] - test: settest-writewrap
as flaky (Yagiz Nizipli) #54802 - [
d55fec8f40
] - test: settest-async-context-frame
as flaky (Yagiz Nizipli) #54802 - [
3dfb525f3e
] - test: settest-esm-loader-hooks-inspect-wait
as flaky (Yagiz Nizipli) #54802 - [
b0458a88b4
] - test: settest-http2-large-file
as flaky (Yagiz Nizipli) #54802 - [
5f6f8757e5
] - test: settest-runner-watch-mode-complex
as flaky (Yagiz Nizipli) #54802 - [
4231af336d
] - test: settest-performance-function
as flaky (Yagiz Nizipli) #54802 - [
45ef2a868e
] - test: settest-debugger-heap-profiler
as flaky (Yagiz Nizipli) #54802 - [
b5137f6405
] - test: fixtest-process-load-env-file
when path contains'
(Antoine du Hamel) #54511 - [
960116905a
] - test: refactor fs-watch tests due to macOS issue (Santiago Gimeno) #54498 - [
f074d74bf3
] - test: refactortest-esm-type-field-errors
(Giovanni Bucci) #54368 - [
67e30deced
] - test: move more zlib tests to node:test (Yagiz Nizipli) #54609 - [
fdb65111a3
] - test: improve output of child process utilities (Joyee Cheung) #54622 - [
55a12a4190
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #54925 - [
de0f445a7f
] - test_runner: reimplementassert.ok
to allow stack parsing (Aviv Keller) #54776 - [
a52c199d9d
] - (SEMVER-MINOR) test_runner: report coverage thresholds intest:coverage
(Aviv Keller) #54813 - [
6552fddef5
] - test_runner: update kPatterns (Pietro Marchini) #54728 - [
3396a4954d
] - test_runner: detect only tests when isolation is off (Colin Ihrig) #54832 - [
021f59b6bc
] - test_runner: apply filtering when tests begin (Colin Ihrig) #54832 - [
36da793350
] - test_runner: allow--import
with no isolation (Aviv Keller) #54697 - [
de73d1ee4b
] - test_runner: improve code coverage cleanup (Colin Ihrig) #54856 - [
3d478728f2
] - timers: avoid generating holey internal arrays (Gürgün Dayıoğlu) #54771 - [
b3d567ae0f
] - timers: document ref option for scheduler.wait (Paolo Insogna) #54605 - [
c2bf0134ce
] - (SEMVER-MINOR) tls: addallowPartialTrustChain
flag (Anna Henningsen) #54790 - [
608a611132
] - tools: add readability/fn_size to filter (Rafael Gonzaga) #54744 - [
93fab49099
] - tools: add util scripts to land and rebase MRs (Antoine du Hamel) #54656 - [
d6df542ff8
] - tools: remove readability/fn_size rule (Rafael Gonzaga) #54663 - [
689d127ee7
] - typings: fix TypedArray to a global type (1ilsang) #54063 - [
071dff1d34
] - typings: correct param type ofSafePromisePrototypeFinally
(Wuli) #54727 - [
5243e3240c
] - Revert "v8: enable maglev on supported architectures" (Joyee Cheung) #54384 - [
ade9da5b3a
] - vm: add vm proto property lookup test (Chengzhong Wu) #54606 - [
8385958b60
] - zlib: add typings for better dx (Yagiz Nizipli) #54699 - [
8c4c85cf31
] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #54708
v22.8.0
: 2024-09-03, Version 22.8.0 (Current), @RafaelGSS
New JS API for compile cache
This release adds a new API module.enableCompileCache()
that can be used to enable on-disk code caching of all modules loaded after this API is called.
Previously this could only be enabled by the NODE_COMPILE_CACHE
environment variable, so it could only set by end-users.
This API allows tooling and library authors to enable caching of their own code.
This is a built-in alternative to the v8-compile-cache/v8-compile-cache-lib packages,
but have better performance and supports ESM.
Thanks to Joyee Cheung for working on this.
New option for vm.createContext() to create a context with a freezable globalThis
Node.js implements a flavor of vm.createContext()
and friends that creates a context without contextifying its global
object when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context
(impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
don't need the interceptor behavior.
Thanks to Joyee Cheung for working on this.
Support for coverage thresholds
Node.js now supports requiring code coverage to meet a specific threshold before the process exits successfully.
To use this feature, you need to enable the --experimental-test-coverage
flag.
You can set thresholds for the following types of coverage:
-
Branch coverage: Use
--test-coverage-branches=<threshold>
-
Function coverage: Use
--test-coverage-functions=<threshold>
-
Line coverage: Use
--test-coverage-lines=<threshold>
<threshold>
should be an integer between 0 and 100. If an invalid value is provided, a TypeError
will be thrown.
If the code coverage fails to meet the specified thresholds for any category, the process will exit with code 1
.
For instance, to enforce a minimum of 80% line coverage and 60% branch coverage, you can run:
$ node --experimental-test-coverage --test-coverage-lines=80 --test-coverage-branches=60 example.js
Thanks Aviv Keller for working on this.
Other Notable Changes
- [
1f2cc2fa47
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413 - [
1e01bdc0d0
] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #54264 - [
97fa075c2e
] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #53927 - [
858b583c88
] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #53927
Commits
- [
94985df9d6
] - benchmark: fix benchmark for file path and URL conversion (Early Riser) #54190 - [
ac178b094b
] - buffer: truncate instead of throw when writing beyond buffer (Robert Nagy) #54524 - [
afd8c1eb4f
] - buffer: allow invalid encoding in from (Robert Nagy) #54533 - [
6f0cf35cd3
] - build: reclaim disk space on macOS GHA runner (jakecastelli) #54658 - [
467ac3aec4
] - build: don't clean obj.target directory if it doesn't exist (Joyee Cheung) #54337 - [
71fdf961df
] - build: update required python version to 3.8 (Aviv Keller) #54358 - [
73604cf1c5
] - deps: update nghttp2 to 1.63.0 (Node.js GitHub Bot) #54589 - [
b00c087285
] - deps: V8: cherry-picke74d0f4
(Joyee Cheung) #54279 - [
33a6b3c7a9
] - deps: backport ICU-22787 to fix ClangCL on Windows (Stefan Stojanovic) #54502 - [
fe56949cbb
] - deps: update c-ares to v1.33.1 (Node.js GitHub Bot) #54549 - [
290f6ce619
] - deps: update amaro to 0.1.8 (Node.js GitHub Bot) #54520 - [
b5843568b4
] - deps: update amaro to 0.1.7 (Node.js GitHub Bot) #54473 - [
9c709209b4
] - deps: update undici to 6.19.8 (Node.js GitHub Bot) #54456 - [
a5ce24181b
] - deps: sqlite: fix Windows compilation (Colin Ihrig) #54433 - [
3caf29ea88
] - deps: update sqlite to 3.46.1 (Node.js GitHub Bot) #54433 - [
68758d4b08
] - doc: add support me link for anonrig (Yagiz Nizipli) #54611 - [
f5c5529266
] - doc: add alert on REPL from TCP socket (Rafael Gonzaga) #54594 - [
bf824483cd
] - doc: fix typo in styleText description (Rafael Gonzaga) #54616 - [
825d933fd4
] - doc: add getHeapStatistics() property descriptions (Benji Marinacci) #54584 - [
80e5150160
] - doc: fix module compile cache description (沈鸿飞) #54625 - [
7fd033fe56
] - doc: run license-builder (github-actions[bot]) #54562 - [
c499913732
] - doc: fix information about including coverage files (Aviv Keller) #54527 - [
c3dc83befc
] - doc: support collaborators - talk amplification (Michael Dawson) #54508 - [
fc57beaad3
] - doc: add note about shasum generation failure (Marco Ippolito) #54487 - [
1800a58f49
] - doc: update websocket flag description to reflect stable API status (Yelim Koo) #54482 - [
61affd77a7
] - doc: fix capitalization in module.md (shallow-beach) #54488 - [
25419915c7
] - doc: add esm examples to node:https (Alfredo González) #54399 - [
83b5efeb54
] - doc: reserve ABI 130 for Electron 33 (Calvin) #54383 - [
6ccbd32ae8
] - doc, meta: add missing,
toBUILDING.md
(Aviv Keller) #54409 - [
fc08a9b0cd
] - fs: refactor handleTimestampsAndMode to remove redundant call (HEESEUNG) #54369 - [
4a664b5fcb
] - lib: respect terminal capabilities on styleText (Rafael Gonzaga) #54389 - [
a9ce2b6a28
] - lib: fix emit warning for debuglog.time when disabled (Vinicius Lourenço) #54275 - [
b5a23c9783
] - meta: remind users to use a supported version in bug reports (Aviv Keller) #54481 - [
0d7171d8e9
] - meta: add more labels to dep-updaters (Aviv Keller) #54454 - [
c4996c189f
] - meta: run coverage-windows whenvcbuild.bat
updated (Aviv Keller) #54412 - [
3cf645768e
] - module: use amaro default transform values (Marco Ippolito) #54517 - [
336496b90e
] - module: add sourceURL magic comment hinting generated source (Chengzhong Wu) #54402 - [
04f83b50ad
] - Revert "net: validate host name for server listen" (jakecastelli) #54554 - [
1e01bdc0d0
] - (SEMVER-MINOR) net: exclude ipv6 loopback addresses from server.listen (Giovanni Bucci) #54264 - [
3cd10a3f40
] - node-api: remove RefBase and CallbackWrapper (Vladimir Morozov) #53590 - [
72c554abab
] - sqlite: return results with null prototype (Michaël Zasso) #54350 - [
e071651bb2
] - src: disable fast methods forbuffer.write
(Michaël Zasso) #54565 - [
f8cbbc685a
] - src: use v8::Isolate::GetDefaultLocale() to compute navigator.language (Joyee Cheung) #54279 - [
4baf4637eb
] - (SEMVER-MINOR) src: add JS APIs for compile cache and NODE_DISABLE_COMPILE_CACHE (Joyee Cheung) #54501 - [
101e299656
] - src: move more crypto_dh.cc code to ncrypto (James M Snell) #54459 - [
e6e1f4e8bd
] - src: remove redundant AESCipherMode (Tobias Nießen) #54438 - [
1ff3f63f5e
] - src: handle errors correctly inpermission.cc
(Michaël Zasso) #54541 - [
4938188682
] - src: returnv8::Object
from error constructors (Michaël Zasso) #54541 - [
4578e9485b
] - src: use better return types in KVStore (Michaël Zasso) #54539 - [
7d9e994791
] - src: change SetEncodedValue to return Maybe<void> (Tobias Nießen) #54443 - [
eef303028f
] - src: remove cached data tag from snapshot metadata (Joyee Cheung) #54122 - [
3a74c400d5
] - src: improvebuffer.transcode
performance (Yagiz Nizipli) #54153 - [
909c5320fd
] - src: move more crypto code to ncrypto (James M Snell) #54320 - [
9ba75faf5f
] - (SEMVER-MINOR) src,lib: add performance.uvMetricsInfo (Rafael Gonzaga) #54413 - [
fffc300c6d
] - stream: change stream to use index instead offor...of
(Wiyeong Seo) #54474 - [
a4a6ef8d29
] - test: fix test-tls-client-auth test for OpenSSL32 (Michael Dawson) #54610 - [
76345a5d7c
] - test: update TLS test for OpenSSL 3.2 (Richard Lau) #54612 - [
522d5a359d
] - test: run V8 Fast API tests in release mode too (Michaël Zasso) #54570 - [
edbecf5209
] - test: increase key size for ca2-cert.pem (Michael Dawson) #54599 - [
bc976cfc93
] - test: update test-abortsignal-cloneable to use node:test (James M Snell) #54581 - [
9f1ce732a8
] - test: update test-assert-typedarray-deepequal to use node:test (James M Snell) #54585 - [
c74f2aeb92
] - test: update test-assert to use node:test (James M Snell) #54585 - [
a0be95e4cc
] - test: merge ongc and gcutil into gc.js (tannal) #54355 - [
c10aff665e
] - test: move a couple of tests over to using node:test (James M Snell) #54582 - [
dbbc790949
] - test: update test-aborted-util to use node:test (James M Snell) #54578 - [
64442fce6b
] - test: refactor test-abortcontroller to use node:test (James M Snell) #54574 - [
72345dee1c
] - test: fix embedding test for Windows (Vladimir Morozov) #53659 - [
846e2b2896
] - test: refactor test_runner tests to change default reporter (Colin Ihrig) #54547 - [
b5eb24c86a
] - test: force spec reporter in test-runner-watch-mode.mjs (Colin Ihrig) #54538 - [
66ae9f4c0a
] - test: use valid hostnames (Luigi Pinca) #54556 - [
02d664b75f
] - test: fix improper path to URL conversion (Antoine du Hamel) #54509 - [
8a4f8a9eff
] - test: add tests for runner coverage with different stdout column widths (Pietro Marchini) #54494 - [
b0ed8dbb2f
] - test: prevent V8 from writing into the system's tmpdir (Michaël Zasso) #54395 - [
5ee234a5a6
] - test,crypto: update WebCryptoAPI WPT (Filip Skokan) #54593 - [
a4bebf8559
] - test_runner: ensure test watcher picks up new test files (Pietro Marchini) #54225 - [
d4310fe9c1
] - (SEMVER-MINOR) test_runner: add support for coverage thresholds (Aviv Keller) #54429 - [
0cf78aa24b
] - test_runner: refactormock_loader
(Antoine du Hamel) #54223 - [
97fa075c2e
] - (SEMVER-MINOR) test_runner: support running tests in process (Colin Ihrig) #53927 - [
858b583c88
] - (SEMVER-MINOR) test_runner: defer inheriting hooks until run() (Colin Ihrig) #53927 - [
45b0250692
] - test_runner: account for newline in source maps (Colin Ihrig) #54444 - [
1c29e74d30
] - test_runner: makemock.module
'sspecifier
consistent withimport()
(Antoine du Hamel) #54416 - [
cbe30a02a3
] - test_runner: finish build phase before running tests (Colin Ihrig) #54423 - [
8a4b26f00c
] - timers: fix validation (Paolo Insogna) #54404 - [
38798140c4
] - tools: remove unused python files (Aviv Keller) #53928 - [
da6c61def8
] - tools: add swc license (Marco Ippolito) #54462 - [
16d4c437e1
] - typings: provide internal types for wasi bindings (Andrew Moon) #54119 - [
fe5666f006
] - vm: return all own names and symbols in property enumerator interceptor (Chengzhong Wu) #54522 - [
db80eac496
] - (SEMVER-MINOR) vm: introduce vanilla contexts via vm.constants.DONT_CONTEXTIFY (Joyee Cheung) #54394 - [
8ffdd1e2b2
] - zlib: simplify validators (Yagiz Nizipli) #54442
v22.7.0
: 2024-08-22, Version 22.7.0 (Current), @RafaelGSS
Experimental transform types support
With the new flag --experimental-transform-types
it is possible to enable the
transformation of TypeScript-only syntax into JavaScript code.
This feature allows Node.js to support TypeScript syntax such as Enum
and namespace
.
Thanks to Marco Ippolito for making this work on #54283.
Module syntax detection is now enabled by default.
Module syntax detection (the --experimental-detect-module
flag) is now
enabled by default. Use --no-experimental-detect-module
to disable it if
needed.
Syntax detection attempts to run ambiguous files as CommonJS, and if the module
fails to parse as CommonJS due to ES module syntax, Node.js tries again and runs
the file as an ES module.
Ambiguous files are those with a .js
or no extension, where the nearest parent
package.json
has no "type"
field (either "type": "module"
or
"type": "commonjs"
).
Syntax detection should have no performance impact on CommonJS modules, but it
incurs a slight performance penalty for ES modules; add "type": "module"
to
the nearest parent package.json
file to eliminate the performance cost.
A use case unlocked by this feature is the ability to use ES module syntax in
extensionless scripts with no nearby package.json
.
Thanks to Geoffrey Booth for making this work on #53619.
Performance Improvements to Buffer
Performance of Node.js Buffers have been optimized through multiple MR's with significant
improvements to the Buffer.copy
and Buffer.write
methods. These are used throughout
the codebase and should give a nice boost across the board.
Thanks to Robert Nagy for making this work on #54311, #54324, and #54087.
Other Notable Changes
- [
911de7dd6d
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #54246 - [
9ee4b16bd8
] - (SEMVER-MINOR) lib: rewrite AsyncLocalStorage without async_hooks (Stephen Belanger) #48528
Commits
- [
c6544ff5a6
] - benchmark: use assert.ok searchparams (Rafael Gonzaga) #54334 - [
51b8576897
] - benchmark: add stream.compose benchmark (jakecastelli) #54308 - [
c166036515
] - benchmark: rename count to n (Rafael Gonzaga) #54271 - [
1be0ee76ef
] - benchmark: change assert() to assert.ok() (Rafael Gonzaga) #54254 - [
4dd229f546
] - benchmark: support --help in CLI (Aviv Keller) #53358 - [
a5a320cd5b
] - benchmark: remove force option as force defaults to true (Yelim Koo) #54203 - [
db0a80a0eb
] - benchmark: use assert.ok instead of assert (Rafael Gonzaga) #54176 - [
8ba53ae7b7
] - buffer: properly apply dst offset and src length on fast path (Robert Nagy) #54391 - [
a5a60e6823
] - buffer: use fast API for writing one-byte strings (Robert Nagy) #54311 - [
7b641bc2bd
] - buffer: optimize byteLength for short strings (Robert Nagy) #54345 - [
28ca678f81
] - buffer: optimize byteLength for common encodings (Robert Nagy) #54342 - [
12785559be
] - buffer: optimize createFromString (Robert Nagy) #54324 - [
f7f7b0c498
] - buffer: optimize for common encodings (Robert Nagy) #54319 - [
37631f826b
] - buffer: add JSDoc to blob bytes method (Roberto Simonini) #54117 - [
ab6fae9dbf
] - buffer: faster type check (Robert Nagy) #54088 - [
9f8f26eb2f
] - buffer: use native copy impl (Robert Nagy) #54087 - [
019ebf03c1
] - buffer: use faster integer argument check (Robert Nagy) #54089 - [
c640a2f24c
] - build: always disable strict aliasing (Michaël Zasso) #54339 - [
6aa1d9e855
] - build: updateruff
to0.5.2
(Aviv Keller) #53909 - [
350e699443
] - build: supportlint-js-fix
invcbuild.bat
(Aviv Keller) #53695 - [
98fed763f7
] - build: add--without-amaro
build flag (Antoine du Hamel) #54136 - [
1ca598c5ce
] - cli: allow--test-[name/skip]-pattern
inNODE_OPTIONS
(Aviv Keller) #53001 - [
37960a67ae
] - console: use validateOneOf for colorMode validation (HEESEUNG) #54245 - [
d52f515bab
] - crypto: include NODE_EXTRA_CA_CERTS in all secure contexts by default (Eric Bickle) #44529 - [
b6a3e61353
] - deps: update amaro to 0.1.6 (Node.js GitHub Bot) #54374 - [
0d716ad3f3
] - deps: update simdutf to 5.3.4 (Node.js GitHub Bot) #54312 - [
18bfea5f33
] - deps: update zlib to 1.3.0.1-motley-71660e1 (Node.js GitHub Bot) #53464 - [
d0c23f332f
] - deps: update zlib to 1.3.0.1-motley-c2469fd (Node.js GitHub Bot) #53464 - [
e7db63972c
] - deps: update zlib to 1.3.0.1-motley-68e57e6 (Node.js GitHub Bot) #53464 - [
713ae95555
] - deps: update zlib to 1.3.0.1-motley-8b7eff8 (Node.js GitHub Bot) #53464 - [
758c9df36e
] - deps: update zlib to 1.3.0.1-motley-e432200 (Node.js GitHub Bot) #53464 - [
fe7e6c9563
] - deps: update zlib to 1.3.0.1-motley-887bb57 (Node.js GitHub Bot) #53464 - [
35722b7bca
] - deps: update simdjson to 3.10.0 (Node.js GitHub Bot) #54197 - [
a2a41557db
] - deps: fix GN build warning in ncrypto (Cheng) #54222 - [
869da204d7
] - deps: update c-ares to v1.33.0 (Node.js GitHub Bot) #54198 - [
e0d503a715
] - deps: update nbytes to 0.1.1 (Node.js GitHub Bot) #54277 - [
b0c768dae1
] - deps: update undici to 6.19.7 (Node.js GitHub Bot) #54286 - [
ef9a950cb9
] - deps: update acorn to 8.12.1 (Node.js GitHub Bot) #53465 - [
1597a1139a
] - deps: update undici to 6.19.5 (Node.js GitHub Bot) #54076 - [
103e4db3e0
] - deps: update simdutf to 5.3.1 (Node.js GitHub Bot) #54196 - [
9f115ba9e9
] - doc: fix error description of the max header size (Egawa Ryo) #54125 - [
f967ab3810
] - doc: add git node security --cleanup (Rafael Gonzaga) #54381 - [
8883c01afa
] - doc: add note on weakness of permission model (Tobias Nießen) #54268 - [
824bd58bc5
] - doc: add versions when--watch-preserve-output
was added (Théo LUDWIG) #54328 - [
33795cfd49
] - doc: replace v19 mention in Current release (Rafael Gonzaga) #54361 - [
aa6e770ea5
] - doc: correct peformance entry types (Jason Zhang) #54263 - [
4b099ce1bd
] - doc: fix typo in method name in the sea doc (Eliyah Sundström) #54027 - [
8a8d1d2281
] - doc: mark process.nextTick legacy (Marco Ippolito) #51280 - [
6f4b5d998e
] - doc: add esm examples to node:http2 (Alfredo González) #54292 - [
1535469c12
] - doc: explicitly mention node:fs module restriction (Rafael Gonzaga) #54269 - [
26c37f7910
] - doc: remove module-based permission doc (Rafael Gonzaga) #54266 - [
971b9f31f5
] - doc: updatebuffer.constants.MAX_LENGTH
size (Samuli Asmala) #54207 - [
3106149965
] - doc: warn for windows build bug (Jason Zhang) #54217 - [
55f8ac3e89
] - doc: make some parameters optional intracingChannel.traceCallback
(Deokjin Kim) #54068 - [
e3e2f22cab
] - doc: add esm examples to node:dns (Alfredo González) #54172 - [
0429b1eb9d
] - doc: add KevinEady as a triager (Chengzhong Wu) #54179 - [
4bfa7d8e54
] - doc: add esm examples to node:console (Alfredo González) #54108 - [
2f5309fc22
] - doc: fix sea assets example (Sadzurami) #54192 - [
88aef5a39d
] - doc: add links to security steward companies (Aviv Keller) #52981 - [
5175903c23
] - doc: moveonread
option fromsocket.connect()
tonew net.socket()
(sendoru) #54194 - [
144637e845
] - doc: move release key for Myles Borins (Richard Lau) #54059 - [
358fdacec6
] - doc: refresh instructions for building node from source (Liran Tal) #53768 - [
11fdaa6ad2
] - doc: add documentation for blob.bytes() method (jaexxin) #54114 - [
db3b0df42c
] - doc: add missing new lines to custom test reporter examples (Eddie Abbondanzio) #54152 - [
1cafefd2cf
] - doc: fix worker threadId/destination typo (Thomas Hunter II) #53933 - [
7772b46038
] - doc: update list of Triagers on theREADME.md
(Antoine du Hamel) #54138 - [
af99ba3dc9
] - doc: remove unused imports from worker_threads.md (Yelim Koo) #54147 - [
826edc4341
] - doc: expand troubleshooting section (Liran Tal) #53808 - [
923195b624
] - doc: clarifyuseCodeCache
setting for cross-platform SEA generation (Yelim Koo) #53994 - [
7c305a4900
] - doc, meta: replace command with link to keys (Aviv Keller) #53745 - [
6f986e0ee6
] - doc, test: simplify test README table (Aviv Keller) #53971 - [
112228c15a
] - fs: remove unnecessary option argument validation (Jonas) #53958 - [
911de7dd6d
] - (SEMVER-MINOR) inspector: supportNetwork.loadingFailed
event (Kohei Ueno) #54246 - [
1e825915d5
] - inspector: provide detailed info to fix DevTools frontend errors (Kohei Ueno) #54156 - [
417120a3a3
] - lib: replace spread operator with primordials function (YoonSoo_Shin) #54053 - [
09f411e6f6
] - lib: avoid for of loop and remove unnecessary variable in zlib (YoonSoo_Shin) #54258 - [
b8970570b0
] - lib: improve async_context_frame structure (Stephen Belanger) #54239 - [
783322fa16
] - lib: fix unhandled errors in webstream adapters (Fedor Indutny) #54206 - [
425b9562b9
] - lib: fix typos in comments within internal/streams (YoonSoo_Shin) #54093 - [
9ee4b16bd8
] - (SEMVER-MINOR) lib: rewrite AsyncLocalStorage without async_hooks (Stephen Belanger) #48528 - [
8c9a4ae12b
] - lib,permission: support Buffer to permission.has (Rafael Gonzaga) #54104 - [
c8e358c96c
] - meta: add test-permission-* CODEOWNERS (Rafael Gonzaga) #54267 - [
581c155cf8
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #54210 - [
3f0d7344e3
] - meta: add module label for the lib/internal/modules folder (Aviv Keller) #52858 - [
0157ec6bbd
] - meta: bumpactions/upload-artifact
from 4.3.3 to 4.3.4 (dependabot[bot]) #54166 - [
7fa95d2360
] - meta: bumpactions/download-artifact
from 4.1.7 to 4.1.8 (dependabot[bot]) #54167 - [
acc5b9a0c5
] - meta: bump actions/setup-python from 5.1.0 to 5.1.1 (dependabot[bot]) #54165 - [
dede30a8d0
] - meta: bumpstep-security/harden-runner
from 2.8.1 to 2.9.0 (dependabot[bot]) #54169 - [
b733854eac
] - meta: bumpactions/setup-node
from 4.0.2 to 4.0.3 (dependabot[bot]) #54170 - [
6a9f168cc6
] - meta: bumpgithub/codeql-action
from 3.25.11 to 3.25.15 (dependabot[bot]) #54168 - [
9bbd85e4fe
] - meta: bumpossf/scorecard-action
from 2.3.3 to 2.4.0 (dependabot[bot]) #54171 - [
33633eebd9
] - meta: add typescript team to codeowners (Marco Ippolito) #54101 - [
240d9296c1
] - (SEMVER-MINOR) module: add --experimental-transform-types flag (Marco Ippolito) #54283 - [
66dcb2a571
] - (SEMVER-MINOR) module: unflag detect-module (Geoffrey Booth) #53619 - [
100225fbe1
] - module: do not attempt to strip type when there's no source (Antoine du Hamel) #54287 - [
1ba2000703
] - module: refactor ts parser loading (Marco Ippolito) #54243 - [
13cc480030
] - module: remove outdated comment (Michaël Zasso) #54118 - [
e676d98435
] - module,win: fix long path resolve (Hüseyin Açacak) #53294 - [
9aec536083
] - path: changeposix.join
to use array (Wiyeong Seo) #54331 - [
8a770cf5c9
] - path: fix relative on Windows (Hüseyin Açacak) #53991 - [
267cd7f361
] - path: use the correct name invalidateString
(Benjamin Pasero) #53669 - [
31adeea855
] - sea: don't set code cache flags when snapshot is used (Joyee Cheung) #54120 - [
7f1bf1ce24
] - sqlite: split up large test file (Colin Ihrig) #54014 - [
94e2ea6f5c
] - sqlite: ensure statement finalization on db close (Colin Ihrig) #54014 - [
e077ff1f38
] - src: update compile cache storage structure (Joyee Cheung) #54291 - [
4e4d1def7e
] - src: refactor http parser binding initialization (Joyee Cheung) #54276 - [
409d9eb09b
] - src: shift even moar x509 to ncrypto (James M Snell) #54340 - [
f87aa27274
] - src: don't match after--
inDotenv::GetPathFromArgs
(Aviv Keller) #54237 - [
b6927dd981
] - src: move some X509Certificate stuff to ncrypto (James M Snell) #54241 - [
a394219fa5
] - src: skip inspector wait in internal workers (Chengzhong Wu) #54219 - [
8daeccfe92
] - src: shift more crypto impl details to ncrypto (James M Snell) #54028 - [
e619133ac9
] - src: move spkac methods to ncrypto (James M Snell) #53985 - [
b52c2fff75
] - src: account for OpenSSL unexpected version (Shelley Vohr) #54038 - [
0b16af1689
] - src,test: trackURL.canParse
fast API calls (Michaël Zasso) #54356 - [
2be78b03c3
] - src,test: ensure that V8 fast APIs are called (Michaël Zasso) #54317 - [
9297d29cdb
] - stream: make checking pendingcb on WritableStream backward compatible (jakecastelli) #54142 - [
2a6a12e493
] - stream: throw TypeError when criteria fulfilled in getIterator (jakecastelli) #53825 - [
7f68cc0f7f
] - test: make snapshot comparison more flexible (Shelley Vohr) #54375 - [
3df7938832
] - test: make sure current run result is pushed and reset (jakecastelli) #54332 - [
3e25be7b28
] - test: use relative paths in test-cli-permission tests (sendoru) #54188 - [
f49f1bb3e9
] - test: unmark test-sqlite as flaky (Colin Ihrig) #54014 - [
2f68a74702
] - test: fix timeout not being cleared (Isaac-yz-Liu) #54242 - [
f5cfa4454e
] - test: refactortest-runner-module-mocking
(Antoine du Hamel) #54233 - [
b85b13b418
] - test: use assert.{s,deepS}trictEqual() (Luigi Pinca) #54208 - [
6bcbfcd7bc
] - test: add subtests to test-node-run (sungpaks) #54204 - [
dafe97548f
] - test: set test-structuredclone-jstransferable non-flaky (Stefan Stojanovic) #54115 - [
be61793db5
] - test: update wpt test for streams (devstone) #54129 - [
670c796449
] - test: fix typo in test (Sonny) #54137 - [
1a15f3f613
] - test: add initial pull delay and prototype pollution prevention tests (Sonny) #54061 - [
5dbff81b71
] - test: add coverage for webstorage quota (jakecastelli) #53964 - [
141e9fe7cc
] - test_runner: use validateStringArray fortimers.enable()
(Deokjin Kim) #49534 - [
e70711e190
] - test_runner: report failures in filtered suites (Colin Ihrig) #54387 - [
7766c1dc9b
] - test_runner: remove parseCommandLine() from test.js (Colin Ihrig) #54353 - [
961cbf0be0
] - test_runner: refactor hook creation (Colin Ihrig) #54353 - [
69c78ca2f5
] - test_runner: return setup() from parseCommandLine() (Colin Ihrig) #54353 - [
ed1ede8c26
] - test_runner: pass global options to createTestTree() (Colin Ihrig) #54353 - [
1e88045a69
] - test_runner: pass harness object as option to root test (Colin Ihrig) #54353 - [
e3378f0679
] - test_runner: use run() argument names in parseCommandLine() (Colin Ihrig) #54353 - [
676bbd5c09
] - test_runner: fix delete test file cause dependency file not watched (jakecastelli) #53533 - [
fe793a6103
] - test_runner: do not expose internal loader (Antoine du Hamel) #54106 - [
7fad771bbf
] - test_runner: fix erroneous diagnostic warning when only: false (Pietro Marchini) #54116 - [
dc465736fb
] - test_runner: make mock_loader not confuse CJS and ESM resolution (Sung Ye In) #53846 - [
5a1afb2139
] - test_runner: remove outdated comment (Colin Ihrig) #54146 - [
20a01fcc39
] - test_runner: run after hooks even if test is aborted (Colin Ihrig) #54151 - [
df428adb6c
] - tools: remove header from c-ares license (Aviv Keller) #54335 - [
b659fc0f2b
] - tools: add find pyenv path on windows (Marco Ippolito) #54314 - [
b93c6d9f38
] - tools: make undici updater build wasm from src (Michael Dawson) #54128 - [
3835131559
] - tools: add workflow to ensureREADME
lists are in sync with gh teams (Antoine du Hamel) #53901 - [
e218b7ca8a
] - tools: add strip-types to label system (Marco Ippolito) #54185 - [
8b35f0e601
] - tools: update eslint to 9.8.0 (Node.js GitHub Bot) #54073 - [
d83421fbe5
] - tty: initialize winSize array with values (Michaël Zasso) #54281 - [
a4768374f2
] - typings: add util.styleText type definition (Rafael Gonzaga) #54252 - [
a4aecd2755
] - typings: add missing binding functionwriteFileUtf8()
(Jungku Lee) #54110 - [
0bed600df9
] - url: modify pathToFileURL to handle extended UNC path (Early Riser) #54262 - [
037672f15d
] - url: improve resolveObject with ObjectAssign (Early Riser) #54092 - [
4d8b53e475
] - watch: reload changes in contents of --env-file (Marek Piechut) #54109
v22.6.0
: 2024-08-06, Version 22.6.0 (Current), @RafaelGSS
Experimental TypeScript support via strip types
Node.js introduces the --experimental-strip-types
flag for initial TypeScript support.
This feature strips type annotations from .ts files, allowing them to run
without transforming TypeScript-specific syntax. Current limitations include:
- Supports only inline type annotations, not features like
enums
ornamespaces
. - Requires explicit file extensions in import and require statements.
- Enforces the use of the type keyword for type imports to avoid runtime errors.
- Disabled for TypeScript in node_modules by default.
Thanks Marco Ippolito for working on this.
Experimental Network Inspection Support in Node.js
This update introduces the initial support for network inspection in Node.js.
Currently, this is an experimental feature, so you need to enable it using the --experimental-network-inspection
flag.
With this feature enabled, you can inspect network activities occurring within a JavaScript application.
To use network inspection, start your Node.js application with the following command:
$ node --inspect-wait --experimental-network-inspection index.js
Please note that the network inspection capabilities are in active development. We are actively working on enhancing this feature and will continue to expand its functionality in future updates.
- Network inspection is limited to the
http
andhttps
modules only. - The Network tab in Chrome DevTools will not be available until the feature request on the Chrome DevTools side is addressed.
Thanks Kohei Ueno for working on this.
Other Notable Changes
- [
15a94e67b1
] - lib,src: drop --experimental-network-imports (Rafael Gonzaga) #53822 - [
68e444d2d8
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054 - [
2d982d3dee
] - (SEMVER-MINOR) deps: V8: backport7857eb3
(Stephen Belanger) #53997 - [
15816bd0dd
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111 - [
893c864542
] - (SEMVER-MINOR) test_runner: fix support watch with run(), add globPatterns option (Matteo Collina) #53866 - [
048d421ad1
] - meta: add jake to collaborators (jakecastelli) #54004 - [
6ad6e01bf3
] - (SEMVER-MINOR) test_runner: refactor snapshots to get file from context (Colin Ihrig) #53853 - [
698e44f8e7
] - (SEMVER-MINOR) test_runner: add context.filePath (Colin Ihrig) #53853
Commits
- [
063f46dc2a
] - assert: use isError instead of instanceof in innerOk (Pietro Marchini) #53980 - [
10bea42f81
] - build: update gcovr to 7.2 and codecov config (Benjamin E. Coe) #54019 - [
7c417c6cf4
] - build: avoid compiling with VS v17.10 (Hüseyin Açacak) #53863 - [
ee97c045b4
] - build: ensure v8_pointer_compression_sandbox is enabled on 64bit (Shelley Vohr) #53884 - [
bfbed0afd5
] - build: fix conflict gyp configs (Chengzhong Wu) #53605 - [
0f1fe63e32
] - build: trigger coverage ci when updating codecov (Yagiz Nizipli) #53929 - [
ad62b945f0
] - build: update codecov coverage build count (Yagiz Nizipli) #53929 - [
3c40868fd3
] - build: disable test-asan workflow (Michaël Zasso) #53844 - [
2a62d6ca57
] - build, tools: drop leading/
fromr2dir
(Richard Lau) #53951 - [
9c7b009f47
] - build,tools: simplify upload of shasum signatures (Michaël Zasso) #53892 - [
057bd44f9f
] - child_process: fix incomplete prototype pollution hardening (Liran Tal) #53781 - [
66f7c595c7
] - cli: document--inspect
port0
behavior (Aviv Keller) #53782 - [
fad3e74b47
] - console: fix issues with frozen intrinsics (Vinicius Lourenço) #54070 - [
e685ecd7ae
] - deps: update corepack to 0.29.3 (Node.js GitHub Bot) #54072 - [
e5f7250e6d
] - deps: update amaro to 0.0.6 (Node.js GitHub Bot) #54199 - [
2c1e9082e8
] - deps: update amaro to 0.0.5 (Node.js GitHub Bot) #54199 - [
2d982d3dee
] - (SEMVER-MINOR) deps: V8: backport7857eb3
(Stephen Belanger) #53997 - [
1061898462
] - deps: update c-ares to v1.32.3 (Node.js GitHub Bot) #54020 - [
f4a7ac5e18
] - deps: V8: cherry-pick35888fe
(Joyee Cheung) #53728 - [
1176310226
] - deps: add gn build files for ncrypto (Cheng) #53940 - [
7a1d5a4f84
] - deps: update c-ares to v1.32.2 (Node.js GitHub Bot) #53865 - [
66f6a2aec9
] - deps: V8: cherry-pick9812cb4
(Michaël Zasso) #53966 - [
8e66a18ef0
] - deps: start working on ncrypto dep (James M Snell) #53803 - [
c114082b12
] - deps: fix include_dirs of nbytes (Cheng) #53862 - [
b7315281be
] - doc: move numCPUs require to top of file in cluster CJS example (Alfredo González) #53932 - [
8e7c30c2a4
] - doc: update security-release process to automated one (Rafael Gonzaga) #53877 - [
52a4206be2
] - doc: fix typo in technical-priorities.md (YoonSoo_Shin) #54094 - [
30e18a04a3
] - doc: fix typo in diagnostic tooling support tiers document (Taejin Kim) #54058 - [
58aebfd31e
] - doc: move GeoffreyBooth to TSC regular member (Geoffrey Booth) #54047 - [
c1634c7213
] - doc: correct typescript stdin support (Marco Ippolito) #54036 - [
64812d5c22
] - doc: fix typo in recognizing-contributors (Marco Ippolito) #53990 - [
6b35994b6f
] - doc: fix documentation for--run
(Aviv Keller) #53976 - [
04d203a233
] - doc: update boxstarter README (Aviv Keller) #53785 - [
86fa46db1c
] - doc: add info about prefix-only modules tomodule.builtinModules
(Grigory) #53954 - [
defdc3c568
] - doc: removescroll-behavior: smooth;
(Cloyd Lau) #53942 - [
e907236dd9
] - doc: move --test-coverage-{ex,in}clude to proper location (Colin Ihrig) #53926 - [
8bf9960b98
] - doc: add--experimental-sqlite
note (Aviv Keller) #53907 - [
d7615004d8
] - doc: updateapi_assets
README for new files (Aviv Keller) #53676 - [
63cf715aa0
] - doc: add MattiasBuelens to collaborators (Mattias Buelens) #53895 - [
5b8dd78112
] - doc: fix release date for 22.5.0 (Antoine du Hamel) #53889 - [
dd2c0f349a
] - doc: fix casing of GitHub handle for two collaborators (Antoine du Hamel) #53857 - [
b47c2308e1
] - doc: update release-post nodejs.org script (Rafael Gonzaga) #53762 - [
88539527d5
] - doc, test: tracing channel hasSubscribers getter (Thomas Hunter II) #52908 - [
44a08f75b0
] - doc,tools: enforce use ofnode:
prefix (Antoine du Hamel) #53950 - [
87bab76df2
] - doc,tty: add documentation for ReadStream and WriteStream (jakecastelli) #53567 - [
dcca9ba560
] - esm: refactorget_format
(Antoine du Hamel) #53872 - [
5e03c17aae
] - fs: optimizefs.cpSync
js calls (Yagiz Nizipli) #53614 - [
e0054ee0a7
] - fs: ensure consistency for mkdtemp in both fs and fs/promises (YieldRay) #53776 - [
8086337ea9
] - fs: remove unnecessary option argument validation (Jonas) #53861 - [
b377b93a3f
] - fs: correctly pass dirent to excludewithFileTypes
(RedYetiDev) #53823 - [
68e444d2d8
] - (SEMVER-MINOR) http: add diagnostics channelhttp.client.request.error
(Kohei Ueno) #54054 - [
de1fbc292f
] - (SEMVER-MINOR) inspector: add initial support for network inspection (Kohei Ueno) #53593 - [
744df0be24
] - lib: support dynamic trace events on debugWithTimer (Vinicius Lourenço) #53913 - [
546dab29c1
] - lib: optimize copyError with ObjectAssign in primordials (HEESEUNG) #53999 - [
494df9835a
] - lib: improve cluster/primary code (Ehsan Khakifirooz) #53756 - [
03f353293b
] - lib: improve error message when index not found on cjs (Vinicius Lourenço) #53859 - [
d8375d6236
] - lib: decorate async stack trace in source maps (Chengzhong Wu) #53860 - [
15a94e67b1
] - lib,src: drop --experimental-network-imports (Rafael Gonzaga) #53822 - [
a6eedc401d
] - meta: addsqlite
to js subsystems (Alex Yang) #53911 - [
21098856de
] - meta: move tsc member to emeritus (Michael Dawson) #54029 - [
048d421ad1
] - meta: add jake to collaborators (jakecastelli) #54004 - [
20a8c96c41
] - meta: remove license for hljs (Aviv Keller) #53970 - [
2fd4ac4859
] - meta: make more bug-report information required (Aviv Keller) #53718 - [
b312ec0b0c
] - meta: reword linter messages (Aviv Keller) #53949 - [
d2526126a9
] - meta: store actions secrets in environment (Aviv Keller) #53930 - [
1688f00dce
] - meta: move anonrig to tsc voting members (Yagiz Nizipli) #53888 - [
c20e8418de
] - module: fix strip-types interaction with detect-module (Marco Ippolito) #54164 - [
ab1f0b415f
] - module: fix extensionless typescript in cjs loader (Marco Ippolito) #54062 - [
92439fc160
] - (SEMVER-MINOR) module: add --experimental-strip-types (Marco Ippolito) #53725 - [
f755d31bec
] - node-api: add property keys benchmark (Chengzhong Wu) #54012 - [
7382eefae5
] - node-api: rename nogc to basic (Gabriel Schulhof) #53830 - [
2c4470625b
] - process: unify experimental warning messages (Aviv Keller) #53704 - [
98a7ad2e0d
] - src: expose LookupAndCompile with parameters (Shelley Vohr) #53886 - [
dd3c66be0a
] - src: simplify AESCipherTraits::AdditionalConfig (Tobias Nießen) #53890 - [
ee82f224ff
] - src: remove redundant RsaPointer (use RSAPointer) (James M Snell) #54003 - [
2d77bd2929
] - src: fix -Wshadow warning (Shelley Vohr) #53885 - [
bd4a9ffe8c
] - src: start using ncrypto for CSPRNG calls (James M Snell) #53984 - [
3fdcf7a47d
] - src: returnundefined
if no rows are returned in SQLite (Deokjin Kim) #53981 - [
ca6854443d
] - src: fix slice of slice of file-backed Blob (Josh Lee) #53972 - [
c457f9ed5a
] - src: cache invariant code motion (Rafael Gonzaga) #53879 - [
fd0da6c2cf
] - src: avoid strcmp in ImportJWKAsymmetricKey (Tobias Nießen) #53813 - [
fbf74bcf99
] - src: switch from ToLocalChecked to ToLocal in node_webstorage (James M Snell) #53959 - [
04bb6778e5
] - src: moveToNamespacedPath
call of webstorage (Yagiz Nizipli) #53875 - [
9ffaf763e9
] - src: use Maybe<void> in SecureContext (Tobias Nießen) #53883 - [
a94c3ae06f
] - src: replace ToLocalChecked uses with ToLocal in node-file (James M Snell) #53869 - [
55461be05f
] - src: refactor webstorage implementation (Yagiz Nizipli) #53876 - [
c53cf449a6
] - src: fix env-file flag to ignore spaces before quotes (Mohit Malhotra) #53786 - [
bac3a485f6
] - src: fix potential segmentation fault in SQLite (Tobias Nießen) #53850 - [
df5083e5f9
] - src,lib: expose getCategoryEnabledBuffer to use on node.http (Vinicius Lourenço) #53602 - [
8664b9ad60
] - src,test: disallow unsafe integer coercion in SQLite (Tobias Nießen) #53851 - [
15816bd0dd
] - (SEMVER-MINOR) stream: expose DuplexPair API (Austin Wright) #34111 - [
718f6bc78c
] - test: do not swallow uncaughtException errors in exit code tests (Meghan Denny) #54039 - [
c6656c9251
] - test: move shared module totest/common
(Rich Trott) #54042 - [
e471e32d46
] - test: skip sea tests with more accurate available disk space estimation (Chengzhong Wu) #53996 - [
61971ec929
] - test: remove unnecessary console log (KAYYY) #53812 - [
1344bd2d6f
] - test: add comments and rename test for timer robustness (Rich Trott) #54008 - [
da3573409c
] - test: add test for one arg timers to increase coverage (Carlos Espa) #54007 - [
fc67abd97e
] - test: mark 'test/parallel/test-sqlite.js' as flaky (Colin Ihrig) #54031 - [
aa0ac3b57c
] - test: mark test-pipe-file-to-http as flaky (jakecastelli) #53751 - [
52bc8ec360
] - test: compare paths on Windows without considering case (Early Riser) #53993 - [
7e8a609579
] - test: skip sea tests in large debug builds (Chengzhong Wu) #53918 - [
30a94ca0c4
] - test: skip --title check on IBM i (Abdirahim Musse) #53952 - [
5cea7ed706
] - test: reduce flakiness oftest-assert-esm-cjs-message-verify
(Antoine du Hamel) #53967 - [
58cb0dd8a6
] - test: usePYTHON
executable from env inassertSnapshot
(Antoine du Hamel) #53938 - [
c247582591
] - test: deflake test-blob-file-backed (Luigi Pinca) #53920 - [
3999021653
] - test_runner: switched to internal readline interface (Emil Tayeb) #54000 - [
3fb97a90ee
] - test_runner: remove redundant bootstrap boolean (Colin Ihrig) #54013 - [
edd80e2bdc
] - test_runner: do not throw on mocked clearTimeout() (Aksinya Bykova) #54005 - [
893c864542
] - (SEMVER-MINOR) test_runner: fix support watch with run(), add globPatterns option (Matteo Collina) #53866 - [
4887213f2e
] - test_runner: added colors to dot reporter (Giovanni) #53450 - [
c4848c53e6
] - test_runner: cleanup global event listeners after run (Eddie Abbondanzio) #53878 - [
876e7b3226
] - test_runner: refactor coverage to pass in config options (Colin Ihrig) #53931 - [
f45edb4b5e
] - test_runner: refactor and simplify internals (Colin Ihrig) #53921 - [
6ad6e01bf3
] - (SEMVER-MINOR) test_runner: refactor snapshots to get file from context (Colin Ihrig) #53853 - [
698e44f8e7
] - (SEMVER-MINOR) test_runner: add context.filePath (Colin Ihrig) #53853 - [
97da7ca11b
] - test_runner: consolidate option parsing (Colin Ihrig) #53849 - [
43afcbf9dd
] - tools: fixSLACK_TITLE
in invalid commit workflow (Antoine du Hamel) #53912 - [
eed0963391
] - typings: apply lint (1ilsang) #54065 - [
e8ea49b256
] - typings: fix typo on quic onSessionDatagram (1ilsang) #54064
v22.5.1
: 2024-07-19, Version 22.5.1 (Current), @richardlau
Notable Changes
This release fixes a regression introduced in Node.js 22.5.0. The problem is known to display the following symptoms:
- Crash with
FATAL ERROR: v8::Object::GetCreationContextChecked No creation context available
#53902 - npm errors with
npm error Exit handler never called!
npm/cli#7657 - yarn hangs or outputs
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
yarnpkg/berry#6398
Commits
- [
e2deeedc6e
] - Revert "fs: add v8 fast api to closeSync" (Aviv Keller) #53904
v22.5.0
: 2024-07-17, Version 22.5.0 (Current), @RafaelGSS prepared by @aduh95
Notable Changes
- [
1367c5558e
] - (SEMVER-MINOR) http: expose websockets (Natalia Venditto) #53721 - [
b31394920d
] - (SEMVER-MINOR) lib: addnode:sqlite
module (Colin Ihrig) #53752 - [
aa7df9551d
] - module: add__esModule
torequire()
'd ESM (Joyee Cheung) #52166 - [
8743c4d65a
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #52881 - [
77936c3d24
] - (SEMVER-MINOR) process: port on-exit-leak-free to core (Vinicius Lourenço) #53239 - [
82d88a83f8
] - (SEMVER-MINOR) stream: pipeline wait for close before calling the callback (jakecastelli) #53462 - [
3a0fcbb17a
] - test_runner: support glob matching coverage files (Aviv Keller) #53553 - [
22ca334090
] - (SEMVER-MINOR) worker: addpostMessageToThread
(Paolo Insogna) #53682
Commits
- [
eb4e370933
] - benchmark: add require-esm benchmark (Joyee Cheung) #52166 - [
4d4a8338db
] - benchmark: add cpSync benchmark (Yagiz Nizipli) #53612 - [
3d60b38afa
] - build: fix build warning of c-ares under GN build (Cheng) #53750 - [
a45c801048
] - build: fix build error in sqlite under GN build (Cheng) #53686 - [
40032eb623
] - build: add gn files for deps/nbytes (Cheng) #53685 - [
082799debb
] - build: fix mac build error of c-ares under GN (Cheng) #53687 - [
b05394ea6a
] - build: add version-specific library path for AIX (Richard Lau) #53585 - [
6237172eaf
] - cli: updatenode.1
to reflect Atom's sunset (Aviv Keller) #53734 - [
5697938cb7
] - crypto: avoid std::function (Tobias Nießen) #53683 - [
3cc01aa314
] - crypto: make deriveBits length parameter optional and nullable (Filip Skokan) #53601 - [
f82e20fdea
] - crypto: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53460 - [
ad1e5610ec
] - deps: update googletest to4b21f1a
(Node.js GitHub Bot) #53842 - [
d285d610a0
] - deps: update minimatch to 10.0.1 (Node.js GitHub Bot) #53841 - [
70f5209c9f
] - deps: update corepack to 0.29.2 (Node.js GitHub Bot) #53838 - [
4930e12a45
] - deps: update simdutf to 5.3.0 (Node.js GitHub Bot) #53837 - [
d346833364
] - deps: update ada to 2.9.0 (Node.js GitHub Bot) #53748 - [
ab8abb5367
] - deps: upgrade npm to 10.8.2 (npm team) #53799 - [
1ad664905a
] - deps: update nbytes and add update script (Yagiz Nizipli) #53790 - [
a66f11e798
] - deps: update googletest to34ad51b
(Node.js GitHub Bot) #53157 - [
9bf61d6a0d
] - deps: update googletest to305e5a2
(Node.js GitHub Bot) #53157 - [
8542ace488
] - deps: V8: cherry-pick9ebca66
(Chengzhong Wu) #53755 - [
29a734c21d
] - deps: V8: cherry-picke061cf9
(Joyee Cheung) #53755 - [
c7624af44a
] - deps: update c-ares to v1.32.1 (Node.js GitHub Bot) #53753 - [
bbcec9e129
] - deps: update minimatch to 9.0.5 (Node.js GitHub Bot) #53646 - [
76032fd980
] - deps: update c-ares to v1.32.0 (Node.js GitHub Bot) #53722 - [
26386046ad
] - doc: move MylesBorins to emeritus (Myles Borins) #53760 - [
362875bda0
] - doc: add Rafael to the last security release (Rafael Gonzaga) #53769 - [
a1a5ad848d
] - doc: use mock.callCount() in examples (Sébastien Règne) #53754 - [
bb960c5471
] - doc: clarify authenticity of plaintexts in update (Tobias Nießen) #53784 - [
5dd3018eb4
] - doc: add option to have support me link (Michael Dawson) #53312 - [
0f95ad3d7d
] - doc: add OpenSSL security level to TLS docs (Afanasii Kurakin) #53647 - [
2d92ec2831
] - doc: updatescroll-padding-top
to 4rem (Cloyd Lau) #53662 - [
933359a786
] - doc: mention v8.setFlagsFromString to pm (Rafael Gonzaga) #53731 - [
e17c2618e3
] - doc: remove the last <pre> tag (Claudio W) #53741 - [
7f18a5f47a
] - doc: exclude voting and regular TSC from spotlight (Michael Dawson) #53694 - [
df3dcd1bd1
] - doc: fix releases guide for recent Git versions (Michaël Zasso) #53709 - [
50987ea833
] - doc: requirenode:process
in assert doc examples (Alfredo González) #53702 - [
fa58d01497
] - doc: add additional explanation to the wildcard section in permissions (jakecastelli) #53664 - [
28bf1e48ef
] - doc: mark NODE_MODULE_VERSION for Node.js 22.0.0 (Michaël Zasso) #53650 - [
1cc0b41f00
] - doc: include node.module_timer on available categories (Vinicius Lourenço) #53638 - [
d224e9eab5
] - doc: fix module customization hook examples (Elliot Goodrich) #53637 - [
2cf60964e6
] - doc: fix doc for correct usage with plan & TestContext (Emil Tayeb) #53615 - [
6df86ae056
] - doc: remove some news issues that are no longer (Michael Dawson) #53608 - [
42b9408f3e
] - doc: add issue for news from ambassadors (Michael Dawson) #53607 - [
2d1ff91953
] - doc: add esm example for os (Leonardo Peixoto) #53604 - [
de99d69d75
] - doc: clarify usage of coverage reporters (Eliphaz Bouye) #53523 - [
519c328dcf
] - doc: document addition testing options (Aviv Keller) #53569 - [
c6166cdfe4
] - doc: clarify that fs.exists() may return false for existing symlink (Tobias Nießen) #53566 - [
9139ab2848
] - doc: note http.closeAllConnections excludes upgraded sockets (Rob Hogan) #53560 - [
19b3718ee1
] - doc, meta: add PTAL to glossary (Aviv Keller) #53770 - [
80c1f5ce8a
] - doc, typings: events.once accepts symbol event type (René) #53542 - [
1a21e0f61e
] - esm: improvedefaultResolve
performance (Yagiz Nizipli) #53711 - [
262f2cb3b6
] - esm: remove unnecessary toNamespacedPath calls (Yagiz Nizipli) #53656 - [
e29c9453a9
] - esm: move hooks test with others (Geoffrey Booth) #53558 - [
8368555289
] - fs: add v8 fast api to closeSync (Yagiz Nizipli) #53627 - [
628a539810
] - fs: reduce throwing unnecessary errors on glob (Yagiz Nizipli) #53632 - [
076e82ca40
] - fs: moveToNamespacedPath
dir calls to c++ (Yagiz Nizipli) #53630 - [
128e514d81
] - fs: improve error performance offs.dir
(Yagiz Nizipli) #53667 - [
603c2c5c08
] - fs: fix typings (Yagiz Nizipli) #53626 - [
1367c5558e
] - (SEMVER-MINOR) http: expose websockets (Natalia Venditto) #53721 - [
7debb6c36e
] - http: remove prototype primordials (Antoine du Hamel) #53698 - [
b13aea5698
] - http, readline: replace sort with toSorted (Benjamin Gruenbaum) #53623 - [
1397f5d9f4
] - http2: remove prototype primordials (Antoine du Hamel) #53696 - [
f57d3cee2c
] - lib: make navigator not runtime-lookup process.version/arch/platform (Jordan Harband) #53765 - [
0a01abbd45
] - lib: refactorplatform
utility methods (Daniel Bayley) #53817 - [
afe7f4f819
] - lib: remove path.resolve from permissions.js (Rafael Gonzaga) #53729 - [
cbe77b30ca
] - lib: moveToNamespacedPath
call to c++ (Yagiz Nizipli) #53654 - [
0f146aac2c
] - lib: make navigator properties lazy (James M Snell) #53649 - [
0540308bd7
] - lib: add toJSON to PerformanceMeasure (theanarkh) #53603 - [
b31394920d
] - (SEMVER-MINOR) lib,src,test,doc: add node:sqlite module (Colin Ihrig) #53752 - [
1a7c2dc5ea
] - meta: remove redudant logging from dep updaters (Aviv Keller) #53783 - [
ac5d7b709d
] - meta: change email address of anonrig (Yagiz Nizipli) #53829 - [
085ec5533c
] - meta: addnode_sqlite.c
to MR label config (Aviv Keller) #53797 - [
c68d873e99
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53758 - [
5ae8ea489d
] - meta: use HTML entities in commit-queue comment (Aviv Keller) #53744 - [
ecd8fceb68
] - meta: move regular TSC member to emeritus (Michael Dawson) #53693 - [
05058f9809
] - meta: bump codecov/codecov-action from 4.4.1 to 4.5.0 (dependabot[bot]) #53675 - [
e272ffa3d6
] - meta: bump mozilla-actions/sccache-action from 0.0.4 to 0.0.5 (dependabot[bot]) #53674 - [
a39407560c
] - meta: bump github/codeql-action from 3.25.7 to 3.25.11 (dependabot[bot]) #53673 - [
e4ce92ee31
] - meta: bump actions/checkout from 4.1.6 to 4.1.7 (dependabot[bot]) #53672 - [
4cf98febe7
] - meta: bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (dependabot[bot]) #53671 - [
c28af95bf5
] - meta: bump step-security/harden-runner from 2.8.0 to 2.8.1 (dependabot[bot]) #53670 - [
dd2157bc83
] - meta: move member from TSC regular to emeriti (Michael Dawson) #53599 - [
508abfe178
] - meta: warnings bypass deprecation cycle (Benjamin Gruenbaum) #53513 - [
3c5ec839e3
] - meta: prevent constant references to issues in versioning (Aviv Keller) #53564 - [
aa7df9551d
] - module: add __esModule to require()'d ESM (Joyee Cheung) #52166 - [
8743c4d65a
] - (SEMVER-MINOR) path: addmatchesGlob
method (Aviv Keller) #52881 - [
77936c3d24
] - (SEMVER-MINOR) process: port on-exit-leak-free to core (Vinicius Lourenço) #53239 - [
5e4ca9fbb6
] - src: update outdated references to spec sections (Tobias Nießen) #53832 - [
c22d9d5167
] - src: use Maybe<void> in ManagedEVPPKey (Tobias Nießen) #53811 - [
d41ed44f49
] - src: moveloadEnvFile
toNamespacedPath call (Yagiz Nizipli) #53658 - [
dc99dd391f
] - src: fix error handling in ExportJWKAsymmetricKey (Tobias Nießen) #53767 - [
ab1e03e8cd
] - src: use Maybe<void> in node::crypto::error (Tobias Nießen) #53766 - [
9bde9b254d
] - src: fix implementation ofPropertySetterCallback
(Igor Sheludko) #53576 - [
021e2cf40f
] - src: remove unused ContextifyContext::WeakCallback (Chengzhong Wu) #53517 - [
87121a17c4
] - src: fix typo in node.h (Daeyeon Jeong) #53759 - [
94c7054c8d
] - src: document the Node.js context embedder data (Joyee Cheung) #53611 - [
c181940e83
] - src: zero-initialize data that are copied into the snapshot (Joyee Cheung) #53563 - [
8cda2db64c
] - Revert "src: make sure that memcpy-ed structs in snapshot have no padding" (Joyee Cheung) #53563 - [
81767f6089
] - src: fix Worker termination when '--inspect-brk' is passed (Daeyeon Jeong) #53724 - [
a9db553935
] - src: refactor embedded entrypoint loading (Joyee Cheung) #53573 - [
3ab8aba478
] - src: do not get string_view from temp string (Cheng) #53688 - [
664bf6c28f
] - src: replacekPathSeparator
with std::filesystem (Yagiz Nizipli) #53063 - [
cc1f49751a
] - src: moveFromNamespacedPath
to path.cc (Yagiz Nizipli) #53540 - [
e43a4e07ec
] - src: usestarts_with
in node_dotenv.cc (Yagiz Nizipli) #53539 - [
19488fd4ce
] - src,test: further cleanup references to osx (Daniel Bayley) #53820 - [
4bf62f6cbd
] - stream: improve inspector ergonomics (Benjamin Gruenbaum) #53800 - [
82d88a83f8
] - (SEMVER-MINOR) stream: pipeline wait for close before calling the callback (jakecastelli) #53462 - [
53a7dd7790
] - test: update wpt test (Mert Can Altin) #53814 - [
bc480902ab
] - test: update WPT WebIDL interfaces (Filip Skokan) #53720 - [
d13153d90f
] - test: un-set inspector-async-hook-setup-at-inspect-brk as flaky (Abdirahim Musse) #53692 - [
ac9c2e6bf2
] - test: use python3 instead of python in pummel test (Mathis Wiehl) #53057 - [
bac28678e6
] - test: do not assume cwd in snapshot tests (Antoine du Hamel) #53146 - [
41e106c0c6
] - test: useSet.difference()
(Richard Lau) #53597 - [
8aab680f66
] - test: fix OpenSSL version checks (Richard Lau) #53503 - [
6aa4f0f266
] - test: refactor, add assertion to http-request-end (jakecastelli) #53411 - [
fbc5cbb617
] - test_runner: remove plan option from run() (Colin Ihrig) #53834 - [
c590828ad8
] - test_runner: fix escaping in snapshot tests (Julian Kniephoff) #53833 - [
3a0fcbb17a
] - test_runner: support glob matching coverage files (Aviv Keller) #53553 - [
e6a1eeb73d
] - test_runner: support module detection in module mocks (Geoffrey Booth) #53642 - [
4d777de7d4
] - tls: add setKeyCert() to tls.Socket (Brian White) #53636 - [
ab9adfc42a
] - tls: remove prototype primordials (Antoine du Hamel) #53699 - [
03d378ffb9
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53840 - [
06377b1b11
] - tools: update eslint to 9.7.0 (Node.js GitHub Bot) #53839 - [
d6629a2d84
] - tools: use v8_features.json to populate config.gypi (Cheng) #53749 - [
d3653fe8ac
] - tools: update eslint to 9.6.0 (Node.js GitHub Bot) #53645 - [
1e930e93d4
] - tools: update lint-md-dependencies to unified@11.0.5 (Node.js GitHub Bot) #53555 - [
317a13b30f
] - tools: replace reference to NodeMainInstance with SnapshotBuilder (codediverdev) #53544 - [
0e25faea0a
] - typings: addfs_dir
types (Yagiz Nizipli) #53631 - [
7637f291be
] - url: fix typo (KAYYY) #53827 - [
2c6548afd1
] - url: reduce unnecessary string copies (Yagiz Nizipli) #53628 - [
0f2b57d1bc
] - url: make URL.parse enumerable (Filip Skokan) #53720 - [
1300169f80
] - url: add missing documentation forURL.parse()
(Yagiz Nizipli) #53733 - [
c55e72ed8b
] - util: fix crashing when emitting new Buffer() deprecation warning #53075 (Aras Abbasi) #53089 - [
5aa216320e
] - v8: moveToNamespacedPath
to c++ (Yagiz Nizipli) #53655 - [
9fd976b09d
] - vm,src: add property query interceptors (Chengzhong Wu) #53517 - [
22ca334090
] - (SEMVER-MINOR) worker: add postMessageToThread (Paolo Insogna) #53682 - [
5aecbefbd5
] - worker: allow copied NODE_OPTIONS in the env setting (Joyee Cheung) #53596
v22.4.1
: 2024-07-08, Version 22.4.1 (Current), @RafaelGSS
This is a security release.
Notable Changes
- CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High)
- CVE-2024-22020 - Bypass network import restriction via data URL (Medium)
- CVE-2024-22018 - fs.lstat bypasses permission model (Low)
- CVE-2024-36137 - fs.fchown/fchmod bypasses permission model (Low)
- CVE-2024-37372 - Permission model improperly processes UNC paths (Low)
Commits
- [
110902ff5e
] - lib,esm: handle bypass network-import via data: (RafaelGSS) nodejs-private/node-private#522 - [
0a0de3d491
] - lib,permission: support fs.lstat (RafaelGSS) - [
93574335ff
] - lib,permission: disable fchmod/fchown when pm enabled (RafaelGSS) nodejs-private/node-private#584 - [
09899e6302
] - src: handle permissive extension on cmd check (RafaelGSS) nodejs-private/node-private#596 - [
5d9c811634
] - src,permission: fix UNC path resolution (RafaelGSS) nodejs-private/node-private#581
v22.4.0
: 2024-07-02, Version 22.4.0 (Current), @targos
Notable Changes
Experimental Web Storage API
- [
9e30724b53
] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435
API stability updates
- [
201266706b
] - doc: movenode --run
stability to rc (Yagiz Nizipli) #53433 - [
16c0884d48
] - doc: mark WebSocket as stable (Matthew Aitken) #53352 - [
cf375e73c1
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343 - [
0160745057
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343
Other Notable Changes
- [
df4762722c
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329 - [
ad5282e196
] - inspector: fix disable async hooks onDebugger.setAsyncCallStackDepth
(Joyee Cheung) #53473 - [
e95af740fc
] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #44340 - [
50733a1abe
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107
Commits
- [
9f32002397
] - assert,util: correct comparison when both contain same reference (Daniel Lemire) #53431 - [
dfdc062111
] - buffer: make indexOf(byte) faster (Tobias Nießen) #53455 - [
1de437527e
] - build: configure with shared sqlite3 (Chengzhong Wu) #53519 - [
c7d44ba1f3
] - build: find version of Clang installed on Windows (Stefan Stojanovic) #53228 - [
36aad8b204
] - build: fix spacing before NINJA_ARGS (jakecastelli) #53181 - [
82092cdaa3
] - crypto: improve GetECGroupBits signature (Tobias Nießen) #53364 - [
073c231607
] - deps: update c-ares to v1.31.0 (Node.js GitHub Bot) #53554 - [
977beab729
] - (SEMVER-MINOR) deps: sqlite: fix Windows compilation (Colin Ihrig) #52435 - [
e69b8d202c
] - deps: update undici to 6.19.2 (Node.js GitHub Bot) #53468 - [
c4a7e051c8
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
fa34f8fcf0
] - deps: update undici to 6.19.1 (Node.js GitHub Bot) #53468 - [
0b40bfad43
] - deps: update undici to 6.19.0 (Node.js GitHub Bot) #53468 - [
1877f22a79
] - deps: update simdjson to 3.9.4 (Node.js GitHub Bot) #53467 - [
1b84964b8d
] - deps: patch V8 to 12.4.254.21 (Node.js GitHub Bot) #53470 - [
6acadeb59b
] - deps: update acorn-walk to 8.3.3 (Node.js GitHub Bot) #53466 - [
7a7f438841
] - deps: update zlib to 1.3.0.1-motley-209717d (Node.js GitHub Bot) #53156 - [
bf891bf64c
] - deps: update c-ares to v1.30.0 (Node.js GitHub Bot) #53416 - [
bd68888261
] - deps: V8: cherry-picka3cc852
(kxxt) #53412 - [
2defaaf771
] - deps: V8: cherry-pick6ea594f
(kxxt) #53412 - [
9e30724b53
] - (SEMVER-MINOR) deps,lib,src: add experimental web storage (Colin Ihrig) #52435 - [
608cc05de1
] - doc: recommend not using libuv node-api function (Michael Dawson) #53521 - [
30858eca59
] - doc: add additional guidance for MRs to deps (Michael Dawson) #53499 - [
a5852cc710
] - doc: only apply content-visibility on all.html (Filip Skokan) #53510 - [
befabe5c58
] - doc: update the description of the return type for options.filter (Zhenwei Jin) #52742 - [
5ed1a036ba
] - doc: remove first timer badge (Aviv Keller) #53338 - [
201266706b
] - doc: movenode --run
stability to rc (Yagiz Nizipli) #53433 - [
46a7681cc4
] - doc: add Buffer.from(string) to functions that use buffer pool (Christian Bates-White) #52801 - [
ec5364f6de
] - doc: add initial text for ambassadors program (Michael Dawson) #52857 - [
fa113b8fc7
] - doc: fix typo (EhsanKhaki) #53397 - [
d9182d0086
] - doc: define more cases for stream event emissions (Aviv Keller) #53317 - [
923d24b6f2
] - doc: remove mentions of policy model from security info (Aviv Keller) #53249 - [
48f78cd31b
] - doc: fix mistakes in the moduleload
hook api (István Donkó) #53349 - [
16c0884d48
] - doc: mark WebSocket as stable (Matthew Aitken) #53352 - [
df4762722c
] - doc: doc-only deprecate OpenSSL engine-based APIs (Richard Lau) #53329 - [
cf375e73c1
] - doc: mark --heap-prof and related flags stable (Joyee Cheung) #53343 - [
0160745057
] - doc: mark --cpu-prof and related flags stable (Joyee Cheung) #53343 - [
6e12d9f049
] - doc: remove IRC from man page (Tobias Nießen) #53344 - [
24c7a9415b
] - doc, http: addrejectNonStandardBodyWrites
option, clear its behaviour (jakecastelli) #53396 - [
ec38f3dc6a
] - doc, meta: organize contributing to Node-API guide (Aviv Keller) #53243 - [
cf5a973c42
] - doc, meta: use markdown rather than HTML in CONTRIBUTING.md (Aviv Keller) #53235 - [
105b006fd2
] - fs: moveToNamespacedPath
to c++ (Yagiz Nizipli) #52135 - [
568377f7f0
] - fs: do not crash if the watched file is removed while setting up watch (Matteo Collina) #53452 - [
fad179307c
] - fs: add fast api forInternalModuleStat
(Yagiz Nizipli) #51344 - [
41100b65f6
] - http2: reject failed http2.connect when used with promisify (ehsankhfr) #53475 - [
ad5282e196
] - inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth (Joyee Cheung) #53473 - [
b5fc227344
] - lib: fix typo in comment (codediverdev) #53543 - [
e95af740fc
] - (SEMVER-MINOR) lib: add diagnostics_channel events to module loading (RafaelGSS) #44340 - [
123910f1de
] - lib: remove the unused code (theanarkh) #53463 - [
452011b719
] - lib: speed up MessageEvent creation internally (Matthew Aitken) #52951 - [
710cf7758c
] - lib: reduce amount of caught URL errors (Yagiz Nizipli) #52658 - [
45b59e58d1
] - lib: fix naming convention ofSymbol
(Deokjin Kim) #53387 - [
515dd24ee7
] - lib: fix timer leak (theanarkh) #53337 - [
77166137be
] - meta: use correct source for workflow in MR (Aviv Keller) #53490 - [
d1c10fee53
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53480 - [
a5026386bf
] - meta: fix typo in dependency updates (Aviv Keller) #53471 - [
0b9191da99
] - meta: bump step-security/harden-runner from 2.7.1 to 2.8.0 (dependabot[bot]) #53245 - [
49cfb9d001
] - src: resetprocess.versions
during pre-execution (Richard Lau) #53444 - [
15df4edd22
] - src: useargs.This()
instead ofHolder
(Michaël Zasso) #53474 - [
e16a04e852
] - src: fix dynamically linked OpenSSL version (Richard Lau) #53456 - [
5961253824
] - src: removebase64
fromprocess.versions
(Richard Lau) #53442 - [
11dd15c0b5
] - src: removeSetEncoding
from StringEncoder (Yagiz Nizipli) #53441 - [
0c7e69acd2
] - src: simplifysize() == 0
checks (Yagiz Nizipli) #53440 - [
f077afafda
] - src: add utilities to help debugging reproducibility of snapshots (Joyee Cheung) #50983 - [
004b9ea4c4
] - src: make sure that memcpy-ed structs in snapshot have no padding (Joyee Cheung) #50983 - [
bfc5236423
] - src: return non-empty data in context data serializer (Joyee Cheung) #50983 - [
955454ba4d
] - src: fix typo in env.cc (EhsanKhaki) #53418 - [
7d8787768c
] - src: avoid strcmp in favor of operator== (Tobias Nießen) #53439 - [
599e7c3d8e
] - src: remove ArrayBufferAllocator::Reallocate override (Shu-yu Guo) #52910 - [
f9075ff38e
] - src: print v8::OOMDetails::detail when it's available (Joyee Cheung) #53360 - [
4704270443
] - src: fix IsIPAddress for IPv6 (Hüseyin Açacak) #53400 - [
63f62d76de
] - src: fix permission inspector crash (theanarkh) #53389 - [
70bbc02dac
] - src, deps: add nbytes library (James M Snell) #53507 - [
8b877099d0
] - stream: update outdated highwatermark doc (Jay Kim) #53494 - [
eded1e9768
] - stream: support dispose in writable (Benjamin Gruenbaum) #48547 - [
b3372a8b0e
] - stream: callback should be called when pendingcb is 0 (jakecastelli) #53438 - [
f4efb7f625
] - stream: make sure _destroy is called (jakecastelli) #53213 - [
7dde37591c
] - stream: prevent stream unexpected pause when highWaterMark set to 0 (jakecastelli) #53261 - [
6e66d9763f
] - test: marktest-benchmark-crypto
as flaky (Antoine du Hamel) #52955 - [
1eebcbf9bf
] - test: skip reproducible snapshot test on 32-bit (Michaël Zasso) #53592 - [
91b2850303
] - test: extend env fortest-node-output-errors
(Richard Lau) #53535 - [
bcad560726
] - test: updatecompression
web-platform tests (Yagiz Nizipli) #53478 - [
b8f436c755
] - test: update encoding web-platform tests (Yagiz Nizipli) #53477 - [
d2c169a4f6
] - test: updateurl
web-platform tests (Yagiz Nizipli) #53472 - [
513e6aa4c7
] - test: check against run-time OpenSSL version (Richard Lau) #53456 - [
602b9d63c4
] - test: update tests for OpenSSL 3.0.14 (Richard Lau) #53373 - [
4a3525bb08
] - test: fix test-http-server-keepalive-req-gc (Etienne Pierre-doray) #53292 - [
7349edb28b
] - test: update TLS tests for OpenSSL 3.2 (Richard Lau) #53384 - [
a11a05763d
] - tls: check result of SSL_CTX_set_*_proto_version (Tobias Nießen) #53459 - [
4b47f89eb2
] - tls: avoid taking ownership of OpenSSL objects (Tobias Nießen) #53436 - [
ac8adeb99f
] - tls: use SSL_get_peer_tmp_key (Tobias Nießen) #53366 - [
d5c380bb09
] - tools: lock versions of irrelevant DB deps (Michaël Zasso) #53546 - [
71321bb249
] - tools: fix skip detection of test runner output (Richard Lau) #53545 - [
ca198f4125
] - tools: update eslint to 9.5.0 (Node.js GitHub Bot) #53515 - [
30fdd482a1
] - tools: move ESLint to tools/eslint (Michaël Zasso) #53413 - [
fe85e05ba9
] - tools: fix c-ares update script (Marco Ippolito) #53414 - [
8eb7bdf81b
] - tools: update lint-md-dependencies (Node.js GitHub Bot) #53158 - [
9ece63d415
] - tools: do not run Corepack code before it's reviewed (Antoine du Hamel) #53405 - [
ab2021492b
] - tools: move ESLint tools to tools/eslint (Michaël Zasso) #53393 - [
78a9037a6d
] - tools: use Ubuntu 24.04 and Clang on GitHub actions (Michaël Zasso) #53212 - [
855eb25dad
] - tools: add stream label on MR when related files being changed in lib (jakecastelli) #53269 - [
50733a1abe
] - (SEMVER-MINOR) util: support--no-
for argument with boolean type for parseArgs (Zhenwei Jin) #53107
v22.3.0
: 2024-06-11, Version 22.3.0 (Current), @RafaelGSS
Notable Changes
- [
5a41bcf9ca
] - (SEMVER-MINOR) src: traverse parent folders while running--run
(Yagiz Nizipli) #53154 - [
1d5934524b
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
75e5612fae
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 - [
b5c30e2f5e
] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #52213 - [
8c6dffc269
] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169 - [
048478d351
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
f6d2af8ee7
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169 - [
a0766bdf0e
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136 - [
374743cd4e
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762 - [
1eb55f3550
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
6165894774
] - fs: mark recursive cp methods as stable (Théo LUDWIG) #53127 - [
db5dd0c6df
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
cfcde78513
] - (SEMVER-MINOR) cli: addNODE_RUN_PACKAGE_JSON_PATH
env (Yagiz Nizipli) #53058 - [
7a67ecf161
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848 - [
ee56aecced
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575 - [
6413769bc7
] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370 - [
c70b2f7a76
] - (SEMVER-MINOR) cli: addNODE_RUN_SCRIPT_NAME
env tonode --run
(Yagiz Nizipli) #53032 - [
badec0c38b
] - doc: add Marco Ippolito to TSC (Rafael Gonzaga) #53008
Commits
- [
feb0ba2860
] - benchmark: fix napi/ref addon (Michaël Zasso) #53233 - [
bb844de4e1
] - benchmark: fix api restriction for the permission category (Ryan Tsien) #51528 - [
1d5934524b
] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 - [
d87f9af5aa
] - buffer: make compare/equals faster (Tobias Nießen) #52993 - [
ec83431d71
] - build: generate binlog in out directories (Chengzhong Wu) #53325 - [
0976439417
] - build: fix --v8-lite-mode build (Daeyeon Jeong) #52725 - [
350c733ae6
] - build: support python 3.13 (Chengzhong Wu) #53190 - [
74cefa55a2
] - build: update ruff to v0.4.5 (Yagiz Nizipli) #53180 - [
33242ff042
] - build: add--skip-tests
totest-ci-js
target (Antoine du Hamel) #53105 - [
edcadf7f8a
] - build: fix building embedtest in GN build (Cheng) #53145 - [
d711942fce
] - build: use broader detection for 'help' (Aviv Keller) #53045 - [
ca655b61a7
] - build: fix -j propagation to ninja (Tobias Nießen) #53088 - [
5fba67ff9f
] - build: exit on unsupported host OS for Android (Mohammed Keyvanzadeh) #52882 - [
b7d7e9a084
] - build: fix--enable-d8
builds (Richard Lau) #53106 - [
14547c5d32
] - build: fix ./configure --help format error (Zhenwei Jin) #53066 - [
f9490806d3
] - build: set "clang" in config.gypi in GN build (Cheng) #53004 - [
638b510ce7
] - cli: add--expose-gc
flag available toNODE_OPTIONS
(Juan José) #53078 - [
cfcde78513
] - (SEMVER-MINOR) cli: addNODE_RUN_PACKAGE_JSON_PATH
env (Yagiz Nizipli) #53058 - [
c70b2f7a76
] - (SEMVER-MINOR) cli: addNODE_RUN_SCRIPT_NAME
env tonode --run
(Yagiz Nizipli) #53032 - [
34f20983fd
] - crypto: fix propagation of "memory limit exceeded" (Tobias Nießen) #53300 - [
fef067f4f4
] - deps: update nghttp2 to 1.62.1 (Node.js GitHub Bot) #52966 - [
fc949928ac
] - deps: update nghttp2 to 1.62.0 (Node.js GitHub Bot) #52966 - [
4a17dda8dc
] - deps: update undici to 6.18.2 (Node.js GitHub Bot) #53255 - [
e45cc2a551
] - deps: update ada to 2.8.0 (Node.js GitHub Bot) #53254 - [
77907a2619
] - deps: update corepack to 0.28.2 (Node.js GitHub Bot) #53253 - [
b688050778
] - deps: update simdjson to 3.9.3 (Node.js GitHub Bot) #53252 - [
6303f19cbe
] - deps: patch V8 to 12.4.254.20 (Node.js GitHub Bot) #53159 - [
257004c68f
] - deps: update c-ares to 1.29.0 (Node.js GitHub Bot) #53155 - [
0b375a3e36
] - deps: upgrade npm to 10.8.1 (npm team) #53207 - [
728c861b1c
] - deps: fix FP16 bitcasts.h (Stefan Stojanovic) #53134 - [
52a78737b1
] - deps: patch V8 to 12.4.254.19 (Node.js GitHub Bot) #53094 - [
4d27b32e58
] - deps: update undici to 6.18.1 (Node.js GitHub Bot) #53073 - [
b94199240b
] - deps: update undici to 6.18.0 (Node.js GitHub Bot) #53073 - [
793af1b3e7
] - deps: update undici to 6.17.0 (Node.js GitHub Bot) #53034 - [
fe00becc03
] - deps: update undici to 6.16.1 (Node.js GitHub Bot) #52948 - [
96f72ae54f
] - deps: update undici to 6.15.0 (Matthew Aitken) #52763 - [
af60fbb12b
] - deps: update googletest to33af80a
(Node.js GitHub Bot) #53053 - [
7b929df489
] - deps: patch V8 to 12.4.254.18 (Node.js GitHub Bot) #53054 - [
626037c0fc
] - deps: update zlib to 1.3.0.1-motley-4f653ff (Node.js GitHub Bot) #53052 - [
6d8589e558
] - deps: patch V8 to 12.4.254.17 (Node.js GitHub Bot) #52980 - [
fd91eaab34
] - deps: upgrade npm to 10.8.0 (npm team) #53014 - [
133cae0732
] - doc: fix broken link instatic-analysis.md
(Richard Lau) #53345 - [
7bc5f964fd
] - doc: indicate requirement on VS 17.6 or newer (Chengzhong Wu) #53301 - [
8c71522ced
] - doc: remove cases for keys not containing "*" in PATTERN_KEY_COMPARE (Maarten Zuidhoorn) #53215 - [
718a3ab1ab
] - doc: add err param to fs.cp callback (Feng Yu) #53234 - [
d89bde26ff
] - doc: adderr
param to fs.copyFile callback (Feng Yu) #53234 - [
91971ee344
] - doc: reserve 128 for Electron 32 (Keeley Hammond) #53203 - [
812f0e9e14
] - doc: add note to ninjia build for macOS using -jn flag (jakecastelli) #53187 - [
048478d351
] - (SEMVER-MINOR) doc: add context.assert docs (Colin Ihrig) #53169 - [
c391923445
] - doc: include ESM import for HTTP (Aviv Keller) #53165 - [
1eb55f3550
] - (SEMVER-MINOR) doc: improve explanation about built-in modules (Joyee Cheung) #52762 - [
67a766f7d4
] - doc: fix minor grammar and style issues in SECURITY.md (Rich Trott) #53168 - [
afbfe8922a
] - doc: mention pm is not enforced when using fd (Rafael Gonzaga) #53125 - [
1702d2632e
] - doc: fix format inesm.md
(Pop Moore) #53170 - [
070577e7d7
] - doc: fix wrong variable name in example oftimers.tick()
(Deokjin Kim) #53147 - [
7147c1df1f
] - doc: fix wrong function name in example ofcontext.plan()
(Deokjin Kim) #53140 - [
cf47384148
] - doc: add note for windows users and symlinks (Aviv Keller) #53117 - [
088dff1074
] - doc: move all TLS-PSK documentation to its section (Alba Mendez) #35717 - [
db5dd0c6df
] - doc: add StefanStojanovic to collaborators (StefanStojanovic) #53118 - [
0f0bc98ad7
] - doc: improve ninja build for --built-in-modules-path (jakecastelli) #53007 - [
4c65c52d30
] - doc: avoid hiding by navigation bar in anchor jumping (Cloyd Lau) #45131 - [
63fcbcfd62
] - doc: remove unavailable youtube link in pull requests (Deokjin Kim) #52982 - [
77fd504636
] - doc: add missing supported timer values intimers.enable()
(Deokjin Kim) #52969 - [
6708536b03
] - fs: fix cp dir/non-dir mismatch error messages (Mathis Wiehl) #53150 - [
6165894774
] - fs: mark recursive cp methods as stable (Théo LUDWIG) #53127 - [
7940db7be1
] - fs: remove basename in favor of std::filesystem (Yagiz Nizipli) #53062 - [
505e9a425b
] - lib: fix misleading argument of validateUint32 (Tobias Nießen) #53307 - [
98ae1ebdd6
] - lib: fix the name of the fetch global function (Gabriel Bota) #53227 - [
fe007cd1b4
] - lib: allow CJS source map cache to be reclaimed (Chengzhong Wu) #51711 - [
040be4a7b4
] - lib: do not call callback if socket is closed (theanarkh) #52829 - [
ee56aecced
] - (SEMVER-MINOR) lib: add EventSource Client (Aras Abbasi) #51575 - [
6413769bc7
] - (SEMVER-MINOR) lib: replace MessageEvent with undici's (Matthew Aitken) #52370 - [
879679e5a3
] - lib,doc: replace references to import assertions (Michaël Zasso) #52998 - [
062a0c6f67
] - meta: bump ossf/scorecard-action from 2.3.1 to 2.3.3 (dependabot[bot]) #53248 - [
e59b744b30
] - meta: bump actions/checkout from 4.1.4 to 4.1.6 (dependabot[bot]) #53247 - [
96924f48a0
] - meta: bump github/codeql-action from 3.25.3 to 3.25.7 (dependabot[bot]) #53246 - [
b7f5662dee
] - meta: bump codecov/codecov-action from 4.3.1 to 4.4.1 (dependabot[bot]) #53244 - [
e079967eb4
] - meta: removeinitializeCommand
from devcontainer (Aviv Keller) #53137 - [
3afeced572
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #53065 - [
4b9cdea8a6
] - Revert "module: have a single hooks thread for all workers" (Matteo Collina) #53183 - [
b5c30e2f5e
] - (SEMVER-MINOR) module: print amount of load time of a cjs module (Vinicius Lourenço) #52213 - [
4cdb05a7a2
] - module: do not set CJS variables for Worker eval (Antoine du Hamel) #53050 - [
a0766bdf0e
] - (SEMVER-MINOR) net: add new net.server.listen tracing channel (Paolo Insogna) #53136 - [
374743cd4e
] - (SEMVER-MINOR) process: add process.getBuiltinModule(id) (Joyee Cheung) #52762 - [
e66eb376a0
] - repl: fix await object patterns without values (Luke Haas) #53331 - [
cb1329a8cf
] - src: use v8::(Des|S)erializeInternalFieldsCallback (Joyee Cheung) #53217 - [
1886fe99af
] - src: use __FUNCSIG__ on Windows in backtrace (Joyee Cheung) #53135 - [
3bfce6c816
] - src: use new V8 API to define stream accessor (Igor Sheludko) #53084 - [
11f790d911
] - src: do not use deprecated V8 API (ishell) #53084 - [
6b1731cbcc
] - src: convert all endian checks to constexpr (Tobias Nießen) #52974 - [
7aa9519ad4
] - src: fix external module env and kDisableNodeOptionsEnv (Rafael Gonzaga) #52905 - [
838fe59787
] - src: fix execArgv in worker (theanarkh) #53029 - [
4a2c6ff05d
] - src: reduce unnecessaryGetCwd
calls (Yagiz Nizipli) #53064 - [
ec44965b49
] - src: simplify node modules traverse path (Yagiz Nizipli) #53061 - [
190129b48e
] - src: remove unusedbase64_table_url
(Yagiz Nizipli) #53040 - [
d750a3c5c4
] - src: remove calls to recently deprecated V8 APIs (Adam Klein) #52996 - [
f1890abb18
] - src: replace deprecated GetImportAssertions V8 API (Michaël Zasso) #52997 - [
4347bd2acb
] - src: improve node::Dotenv declarations (Tobias Nießen) #52973 - [
e26166f30b
] - src,permission: handle process.chdir on pm (Rafael Gonzaga) #53175 - [
75e5612fae
] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 - [
7c66b27407
] - stream: micro-optimize writable condition (Orgad Shaneh) #53189 - [
a656cf6bc8
] - stream: fix memory usage regression in writable (Orgad Shaneh) #53188 - [
0e85a84fdc
] - test: fix test when compiled without engine support (Richard Lau) #53232 - [
cebbd83e47
] - test: update TLS trace tests for OpenSSL >= 3.2 (Richard Lau) #53229 - [
45c1eb19f1
] - Revert "test: skip v8-updates/test-linux-perf-logger" (Luke Albao) #52869 - [
c1138db3c1
] - test: unskip v8-updates/test-linux-perf-logger (Luke Albao) #52869 - [
65b64cf0f1
] - test: fix Windows native test suites (Stefan Stojanovic) #53173 - [
9a47792cd1
] - test: skiptest-setproctitle
whenps
is not available (Antoine du Hamel) #53104 - [
a371dea699
] - test: increase allocation so it fails for the test (Adam Majer) #53099 - [
3ce7a9a1b5
] - test: remove timers from test-tls-socket-close (Luigi Pinca) #53019 - [
494fa542af
] - test: replace.substr
with.slice
(Antoine du Hamel) #53070 - [
3f7d55b7db
] - test: add AbortController to knownGlobals (Luigi Pinca) #53020 - [
c61f909ab6
] - test,doc: enable running embedtest for Windows (Vladimir Morozov) #52646 - [
2d1ecbf827
] - test_runner: calculate executed lines using source map (Moshe Atlow) #53315 - [
d4f5f80f6c
] - test_runner: handle file rename and deletion under watch mode (jakecastelli) #53114 - [
07c601e32f
] - test_runner: refactor to use min/max ofvalidateInteger
(Deokjin Kim) #53148 - [
8c6dffc269
] - (SEMVER-MINOR) test_runner: add snapshot testing (Colin Ihrig) #53169 - [
f6d2af8ee7
] - (SEMVER-MINOR) test_runner: add context.fullName (Colin Ihrig) #53169 - [
7a67ecf161
] - (SEMVER-MINOR) test_runner: support module mocking (Colin Ihrig) #52848 - [
3ff174f2bf
] - test_runner: fix t.assert methods (Colin Ihrig) #53049 - [
e2211a07c2
] - test_runner: avoid error when coverage line not found (Moshe Atlow) #53000 - [
c249289121
] - test_runner,doc: align documentation with actual stdout/stderr behavior (Moshe Atlow) #53131 - [
5110b19a07
] - tls: fix negative sessionTimeout handling (Tobias Nießen) #53002 - [
0ecb770331
] - tools: remove no-goma arg from make-v8 script (Michaël Zasso) #53336 - [
e7f3a3c296
] - tools: use sccache Github action (Moshe Atlow) #53316 - [
98cc094bc5
] - tools: update eslint to 9.4.0 (Node.js GitHub Bot) #53298 - [
6409b1fe65
] - tools: update gyp-next to 0.18.1 (Node.js GitHub Bot) #53251 - [
86e80dcb9b
] - tools: move webcrypto into no-restricted-properties (Zihong Qu) #53023 - [
6022346f0e
] - tools: update error message for Type Error (Aviv Keller) #53047 - [
c1b3e0ed6f
] - Revert "tools: add --certify-safe to nci-ci" (Antoine du Hamel) #53098 - [
9f764a873c
] - tools: update ESLint to v9 and use flat config (Michaël Zasso) #52780 - [
2859f4c027
] - watch: fix variable naming (jakecastelli) #53101
v22.2.0
: 2024-05-15, Version 22.2.0 (Current), @targos
Notable Changes
- [
fb85d38e80
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766 - [
23a0d3339f
] - doc: add pimterry to collaborators (Tim Perry) #52874 - [
7d7a762156
] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #52837 - [
8748dd6477
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #52734 - [
9a7ae9b6c4
] - lib,src: remove --experimental-policy (Rafael Gonzaga) #52583 - [
1f7c2a93fc
] - (SEMVER-MINOR) perf_hooks: adddeliveryType
andresponseStatus
fields (Matthew Aitken) #51589 - [
2f59529dc5
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #52860 - [
6b4dac3eb5
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692
Commits
- [
0f5716c364
] - assert: add deep equal check for more Error type (Zhenwei Jin) #51805 - [
2c7d7caa8a
] - benchmark: filter non-present deps fromstart-cli-version
(Adam Majer) #51746 - [
5db4c54bd6
] - bootstrap: print--help
message usingconsole.log
(Jacob Hummer) #51463 - [
67fcb6b85e
] - buffer: even faster atob (Daniel Lemire) #52443 - [
a5d63f9052
] - buffer: use size_t instead of uint32_t to avoid segmentation fault (Xavier Stouder) #48033 - [
f1bc994826
] - buffer: remove lines setting indexes to integer value (Zhenwei Jin) #52588 - [
a97ff753ab
] - build: add option to enable clang-cl on Windows (Michaël Zasso) #52870 - [
f96466a92c
] - build: enable building with shared uvwasi lib (Pooja D P) #43987 - [
b463385aa8
] - build: remove deprecated calls for argument groups (Mohammed Keyvanzadeh) #52913 - [
daeb7dbb3e
] - build: sync V8 warning cflags with BUILD.gn (Michaël Zasso) #52873 - [
eed967430d
] - build: harmonize Clang checks (Michaël Zasso) #52873 - [
e4b187433d
] - build: compile with C++20 support (Michaël Zasso) #52838 - [
aea6ca25ba
] - build: drop base64 dep in GN build (Cheng) #52856 - [
7f866a8225
] - build: make simdjson a public dep in GN build (Cheng) #52755 - [
e1bd53c098
] - build: defineNOMINMAX
in common.gypi (Chengzhong Wu) #52794 - [
18c530f8f7
] - build, tools: copy release assets to staging R2 bucket once built (flakey5) #51394 - [
fb85d38e80
] - (SEMVER-MINOR) cli: allow running wasm in limited vmem with --disable-wasm-trap-handler (Joyee Cheung) #52766 - [
11e978916f
] - cluster: replaceforEach
withfor-of
loop (Jérôme Benoit) #50317 - [
db76c58d68
] - console: colorize console error and warn (Jithil P Ponnan) #51629 - [
0d040a3035
] - crypto: fix duplicated switch-case return values (Mustafa Ateş UZUN) #49030 - [
ab7219f0b2
] - deps: update googletest tofa6de7f
(Node.js GitHub Bot) #52949 - [
4ab096eccc
] - deps: update simdjson to 3.9.2 (Node.js GitHub Bot) #52947 - [
89f275b1df
] - deps: update corepack to 0.28.1 (Node.js GitHub Bot) #52946 - [
fc568b4b42
] - deps: update simdutf to 5.2.8 (Node.js GitHub Bot) #52727 - [
e399360182
] - deps: update simdutf to 5.2.6 (Node.js GitHub Bot) #52727 - [
232831f013
] - deps: enable unbundling of simdjson, simdutf, ada (Daniel Lemire) #52924 - [
7ca83a5abc
] - deps: update googletest to2d16ed0
(Node.js GitHub Bot) #51657 - [
3b15eb5911
] - deps: update googletest tod83fee1
(Node.js GitHub Bot) #51657 - [
4190d70035
] - deps: update googletest to5a37b51
(Node.js GitHub Bot) #51657 - [
7a166a2871
] - deps: update googletest to5197b1a
(Node.js GitHub Bot) #51657 - [
812dbd749f
] - deps: update googletest toeff443c
(Node.js GitHub Bot) #51657 - [
cb3ae4b9ef
] - deps: update googletest toc231e6f
(Node.js GitHub Bot) #51657 - [
d97317aaa1
] - deps: update googletest toe4fdb87
(Node.js GitHub Bot) #51657 - [
ad8ca1259f
] - deps: update googletest to5df0241
(Node.js GitHub Bot) #51657 - [
828f0d7096
] - deps: update googletest tob75ecf1
(Node.js GitHub Bot) #51657 - [
3b60dbcf7b
] - deps: update googletest to4565741
(Node.js GitHub Bot) #51657 - [
37098eb880
] - deps: update simdjson to 3.9.1 (Node.js GitHub Bot) #52397 - [
a13cf1c049
] - deps: update uvwasi to 0.0.21 (Node.js GitHub Bot) #52863 - [
faf8ada719
] - deps: V8: cherry-pickf6bef09
(Richard Lau) #52802 - [
8e5844c2a4
] - doc: remove reference to AUTHORS file (Marco Ippolito) #52960 - [
1f3634e30f
] - doc: update hljs with the latest styles (Aviv Keller) #52911 - [
9102255749
] - doc: mention quicker way to build docs (Alex Crawford) #52937 - [
15db3ef5fb
] - doc: mention push.followTags config (Rafael Gonzaga) #52906 - [
80fa675af2
] - doc: document pipeline withend
option (Alois Klink) #48970 - [
c0000f4118
] - doc: add example forexecFileSync
method and ref to stdio (Evan Shortiss) #39412 - [
e0148e2653
] - doc: add examples and notes to http server.close et al (mary marchini) #49091 - [
030f56ee6d
] - doc: fixdns.lookup
family0
andall
descriptions (Adam Jones) #51653 - [
a6d624cd5a
] - doc: updatefs.realpath
documentation (sinkhaha) #48170 - [
5dab187ca8
] - doc: update fs read documentation for clarity (Mert Can Altin) #52453 - [
5d3ee7205d
] - doc: watermark string behavior (Benjamin Gruenbaum) #52842 - [
2dd8f092a8
] - doc: exclude commits with baking-for-lts (Marco Ippolito) #52896 - [
0c2539b913
] - doc: add names next to release key bash commands (Aviv Keller) #52878 - [
23a0d3339f
] - doc: add pimterry to collaborators (Tim Perry) #52874 - [
15aad62e0c
] - doc: update BUILDING.md previous versions links (Michaël Zasso) #52852 - [
f770a993d4
] - doc: add more definitions to GLOSSARY.md (Aviv Keller) #52798 - [
f35b838a65
] - doc: make docs more welcoming and descriptive for newcomers (Serkan Özel) #38056 - [
562a019a14
] - doc: add OpenSSL errors to API docs (John Lamp) #34213 - [
0cb7cf7aa9
] - doc: fix grammatical mistake (codershiba) #52808 - [
a0147ff8d0
] - doc: simplify copy-pasting ofbranch-diff
commands (Antoine du Hamel) #52757 - [
fce31fc829
] - doc: add test_runner to subsystem (Raz Luvaton) #52774 - [
ca5607bbc8
] - events: update MaxListenersExceededWarning message log (sinkhaha) #51921 - [
96566fc696
] - events: add stop propagation flag toEvent.stopImmediatePropagation
(Mickael Meausoone) #39463 - [
5ee69243ed
] - events: replace NodeCustomEvent with CustomEvent (Feng Yu) #43876 - [
f076e721cb
] - fs: keep fs.promises.readFile read until EOF is reached (Zhenwei Jin) #52178 - [
7d7a762156
] - (SEMVER-MINOR) fs: allow 'withFileTypes' to be used with globs (Aviv Keller) #52837 - [
ad9c4bddb1
] - http: correctly translate HTTP method (Paolo Insogna) #52701 - [
8748dd6477
] - (SEMVER-MINOR) inspector: introduce the--inspect-wait
flag (Kohei Ueno) #52734 - [
9a7ae9b6c4
] - lib,src: remove --experimental-policy (Rafael Gonzaga) #52583 - [
a850219600
] - meta: move@anonrig
to TSC regular member (Yagiz Nizipli) #52932 - [
4dc8a387b3
] - meta: add mailmap entry for legendecas (Chengzhong Wu) #52795 - [
d10182d81d
] - meta: bump actions/checkout from 4.1.1 to 4.1.4 (dependabot[bot]) #52787 - [
48d0ac0665
] - meta: bump github/codeql-action from 3.24.9 to 3.25.3 (dependabot[bot]) #52786 - [
7c7a25150e
] - meta: bump actions/upload-artifact from 4.3.1 to 4.3.3 (dependabot[bot]) #52785 - [
d9abf18342
] - meta: bump actions/download-artifact from 4.1.4 to 4.1.7 (dependabot[bot]) #52784 - [
590e5c6c45
] - meta: bump codecov/codecov-action from 4.1.1 to 4.3.1 (dependabot[bot]) #52783 - [
b3d1720515
] - meta: bump step-security/harden-runner from 2.7.0 to 2.7.1 (dependabot[bot]) #52782 - [
f74beb53de
] - module: cache synchronous module jobs before linking (Joyee Cheung) #52868 - [
8fbf6628d6
] - module: have a single hooks thread for all workers (Gabriel Bota) #52706 - [
609d90bb4b
] - path: fix toNamespacedPath on Windows (Hüseyin Açacak) #52915 - [
1f7c2a93fc
] - (SEMVER-MINOR) perf_hooks: adddeliveryType
andresponseStatus
fields (Matthew Aitken) #51589 - [
0bbc62c42a
] - process: improve event-loop (Aras Abbasi) #52108 - [
619ac79abb
] - quic: address coverity warning (Michael Dawson) #52824 - [
04de5766ee
] - repl: fix disruptive autocomplete without inspector (Nitzan Uziely) #40661 - [
663bb973ab
] - src: fix Worker termination ininspector.waitForDebugger
(Daeyeon Jeong) #52527 - [
fca38b2d6e
] - src: useS_ISDIR
to check if the file is a directory (theanarkh) #52164 - [
b228db579f
] - src: allow preventing debug signal handler start (Shelley Vohr) #46681 - [
ace65a9aac
] - src: make sure pass theargv
to worker threads (theanarkh) #52827 - [
75004d32ab
] - src: fix typo Unabled -> Unable (Simon Siefke) #52820 - [
c40a8273ef
] - src: avoid unused variable 'error' warning (Michaël Zasso) #52886 - [
d169d0f181
] - src: fix positional args in task runner (Yagiz Nizipli) #52810 - [
9c76c95c10
] - src: only apply fix in main thread (Paolo Insogna) #52702 - [
e1cba97df3
] - src: fix test local edge case (Paolo Insogna) #52702 - [
dc41c135d7
] - src: reduce unnecessary serialization of CLI options in C++ (Joyee Cheung) #52451 - [
fb24c4475c
] - src: rewrite task runner in c++ (Yagiz Nizipli) #52609 - [
323f95de9e
] - src: migrate to new V8 interceptors API (Michaël Zasso) #52745 - [
850ff02931
] - src,permission: resolve path on fs_permission (Rafael Gonzaga) #52761 - [
8d3b0b7ade
] - stream: useByteLengthQueuingStrategy
when not inobjectMode
(Jason) #48847 - [
fa715437b0
] - stream: fix util.inspect for compression/decompressionStream (Mert Can Altin) #52283 - [
b0e6a6b3d5
] - string_decoder: throw an error when writing a too long buffer (zhenweijin) #52215 - [
e016e952e6
] - test: addDebugger.setInstrumentationBreakpoint
known issue (Konstantin Ulitin) #31137 - [
a589de0886
] - test: usefor-of
instead offorEach
(Gibby Free) #49790 - [
578868ddf8
] - test: verify request payload is uploaded consistently (Austin Wright) #34066 - [
c676e522e6
] - test: add fuzzer for native/js string conversion (Adam Korczynski) #51120 - [
5f6415b41d
] - test: add fuzzer forClientHelloParser
(AdamKorcz) #51088 - [
4d50d51a5e
] - test: fix broken env fuzzer by initializing process (AdamKorcz) #51080 - [
cd00cdcbc8
] - test: replaceforEach()
intest-stream-pipe-unpipe-stream
(Dario) #50786 - [
5469adf458
] - test: test pipelineend
on transform streams (Alois Klink) #48970 - [
ea6070b0e8
] - test: improve coverage of lib/readline.js (Rongjian Zhang) #38646 - [
4f96b00307
] - test: updated for each to for of in test file (lyannel) #50308 - [
5d91cf1976
] - test: movetest-http-server-request-timeouts-mixed
to sequential (Madhuri) #45722 - [
f47e8fccbb
] - test: fix DNS cancel tests (Szymon Marczak) #44432 - [
0b073f885a
] - test: add http agent toexecutionAsyncResource
(psj-tar-gz) #34966 - [
fbce3178ba
] - test: reduce memory usage of test-worker-stdio (Adam Majer) #37769 - [
1f8eaec454
] - test: add common.expectRequiredModule() (Joyee Cheung) #52868 - [
5e731da572
] - test: skip unstable shadow realm gc tests (Chengzhong Wu) #52855 - [
30a35ae522
] - test: crypto-rsa-dsa testing for dynamic openssl (Michael Dawson) #52781 - [
968fe6a8b1
] - test: skip some console tests on dumb terminal (Adam Majer) #37770 - [
1448959e0d
] - test: skip v8-updates/test-linux-perf-logger (Michaël Zasso) #52821 - [
30a4248b48
] - test: add env variable test for --run (Yagiz Nizipli) #52811 - [
edb4ed3bc9
] - test: drop test-crypto-timing-safe-equal-benchmarks (Rafael Gonzaga) #52751 - [
944ae598b5
] - test, crypto: use correct object on assert (响马) #51820 - [
a814e720fa
] - test_runner: fix watch mode race condition (Moshe Atlow) #52954 - [
2f59529dc5
] - (SEMVER-MINOR) test_runner: support test plans (Colin Ihrig) #52860 - [
3267b3c063
] - test_runner: display failed test stack trace with dot reporter (Mihir Bhansali) #52655 - [
b96868b4e7
] - test_runner: preserve hook promise when executed twice (Moshe Atlow) #52791 - [
74341ba3c9
] - tools: fix v8-update workflow (Michaël Zasso) #52957 - [
afe39ed0df
] - tools: add --certify-safe to nci-ci (Matteo Collina) #52940 - [
bb97e1ccdd
] - tools: fix doc update action (Marco Ippolito) #52890 - [
c6043fe6c8
] - tools: fix get_asan_state() in tools/test.py (Joyee Cheung) #52766 - [
6e71accc5f
] - tools: support max_virtual_memory test configuration (Joyee Cheung) #52766 - [
1600bdac60
] - tools: support != in test status files (Joyee Cheung) #52766 - [
8ce23dc9f3
] - tools: update gyp-next to 0.18.0 (Node.js GitHub Bot) #52835 - [
c5f832adc0
] - tools: update gyp-next to 0.17.0 (Node.js GitHub Bot) #52835 - [
646a094782
] - tools: prepare custom rules for ESLint v9 (Michaël Zasso) #52889 - [
505566347d
] - tools: update lint-md-dependencies to rollup@4.17.2 (Node.js GitHub Bot) #52836 - [
466e0c1321
] - tools: updategr2m/create-or-update-pull-request-action
(Antoine du Hamel) #52843 - [
ce7a751ad1
] - tools: use sccache GitHub action (Michaël Zasso) #52839 - [
1ee38a5ec1
] - tools: specify a commit-message for V8 update workflow (Antoine du Hamel) #52844 - [
317998a1e8
] - tools: fix V8 update workflow (Antoine du Hamel) #52822 - [
ef6a2101e2
] - url,tools,benchmark: replace deprecatedsubstr()
(Jungku Lee) #51546 - [
0deef2d2b1
] - util: fix%s
format behavior withSymbol.toPrimitive
(Chenyu Yang) #50992 - [
a42b93b9aa
] - util: improveisInsideNodeModules
(uzlopak) #52147 - [
d71e16154a
] - watch: allow listening for grouped changes (Matthieu Sieben) #52722 - [
e895f7cf32
] - watch: enable passthrough ipc in watch mode (Zack) #50890 - [
f5d925706a
] - watch: fix arguments parsing (Moshe Atlow) #52760 - [
6b4dac3eb5
] - (SEMVER-MINOR) zlib: expose zlib.crc32() (Joyee Cheung) #52692
v22.1.0
: 2024-05-02, Version 22.1.0 (Current), @targos prepared by @aduh95
NODE_COMPILE_CACHE
for automatic on-disk code caching
module: implement This patch implements automatic on-disk code caching that can be enabled
via an environment variable NODE_COMPILE_CACHE=/path/to/cache/dir
.
When set, whenever Node.js compiles a CommonJS or a ECMAScript Module,
it will use on-disk V8 code cache
persisted in the specified directory
to speed up the compilation. This may slow down the first load of a
module graph, but subsequent loads of the same module graph may get
a significant speedup if the contents of the modules do not change.
Locally, this speeds up loading of test/fixtures/snapshot/typescript.js
from ~130ms to ~80ms.
To clean up the generated code cache, simply remove the directory.
It will be recreated the next time the same directory is used for
NODE_COMPILE_CACHE
.
Compilation cache generated by one version of Node.js may not be used by a different version of Node.js. Cache generated by different versions of Node.js will be stored separately if the same directory is used to persist the cache, so they can co-exist.
Caveat: currently when using this with V8 JavaScript code coverage, the coverage being collected by V8 may be less precise in functions that are deserialized from the code cache. It's recommended to turn this off when running tests to generate precise coverage.
Contributed by Joyee Cheung in #52535.
Other Notable Changes
- [
44ee04cf9f
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428 - [
3c37ce5710
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
3026401be1
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618 - [
64428dc1c9
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
d79ae74f71
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
43fa6a1a45
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
c6fe433d42
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730 - [
e247a61d15
] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #52529 - [
9b18df9dcb
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280
Commits
- [
35643c18c0
] - benchmark: reduce the buffer size for blob (Debadree Chatterjee) #52548 - [
7cdfe8a3fc
] - benchmark: inherit stdio/stderr instead of pipe (Ali Hassan) #52456 - [
7b82c17f22
] - benchmark: add ipc support to spawn stdio config (Ali Hassan) #52456 - [
dfda6fed61
] - buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8 (Jungku Lee) #52477 - [
44ee04cf9f
] - buffer: improvebase64
andbase64url
performance (Yagiz Nizipli) #52428 - [
c64a1a3b89
] - build: fix typo in node.gyp (Michaël Zasso) #52719 - [
4f713fbc2e
] - build: fix headers install for shared mode on Win (Segev Finer) #52442 - [
4baeb7b21d
] - build: fix arm64 cross-compilation bug on non-arm machines (Mahdi Sharifi) #52559 - [
d5cd468ce8
] - build,tools,node-api: fix building node-api tests for Windows Debug (Vladimir Morozov) #52632 - [
910533fcfd
] - crypto: simplify assertions in Safe*Print (David Benjamin) #49709 - [
61e1ac0b8c
] - crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL (Shelley Vohr) #52217 - [
6e98eee256
] - deps: upgrade npm to 10.7.0 (npm team) #52767 - [
27a5f9418c
] - deps: V8: cherry-pick500de8b
(Richard Lau) #52676 - [
3b422ddcea
] - deps: update corepack to 0.28.0 (Node.js GitHub Bot) #52616 - [
d40e4d4c42
] - deps: update ada to 2.7.8 (Node.js GitHub Bot) #52517 - [
5b52a4870a
] - deps: update icu to 75.1 (Node.js GitHub Bot) #52573 - [
80cbe72c1f
] - deps: update undici to 6.13.0 (Node.js GitHub Bot) #52493 - [
9a44059055
] - deps: update zlib to 1.3.0.1-motley-7d77fb7 (Node.js GitHub Bot) #52516 - [
d67a9a5360
] - deps: update minimatch to 9.0.4 (Node.js GitHub Bot) #52524 - [
8738b89971
] - deps: upgrade npm to 10.5.2 (npm team) #52458 - [
8e4fd2842b
] - deps,src: simplify base64 encoding (Daniel Lemire) #52714 - [
3c37ce5710
] - (SEMVER-MINOR) dns: add order option and support ipv6first (Paolo Insogna) #52492 - [
3987a28a9e
] - doc: update process.versions properties (ishabi) #52736 - [
c0b58e07f1
] - doc: remove mold use on mac for speeding up build (Cong Zhang) #52252 - [
9a032cf6e2
] - doc: remove relative limitation to pm (Rafael Gonzaga) #52648 - [
90c6e77238
] - doc: fix info string causing duplicated code blocks (Mathieu Leenhardt) #52660 - [
4d577fa048
] - doc: add .gitattributes for md files (Hüseyin Açacak) #52161 - [
04c8e110e5
] - doc: run license-builder (github-actions[bot]) #52631 - [
3552829594
] - doc: add info on contributor spotlight program (Michael Dawson) #52598 - [
eeb80ad836
] - doc: correct unsafe URL example in http docs (Malte Legenhausen) #52555 - [
c83526a688
] - doc: replace U+00A0 with U+0020 (Luigi Pinca) #52590 - [
31831e9db8
] - doc: sort options alphabetically (Luigi Pinca) #52589 - [
a93f5d4aaa
] - doc: correct stream.finished changes (KaKa) #52551 - [
27ffa35540
] - doc: add RedYetiDev to triage team (Aviv Keller) #52556 - [
63cc2b870e
] - doc: fix issue detected in markdown lint update (Rich Trott) #52566 - [
7e93c4892b
] - doc: update test runner coverage limitations (Moshe Atlow) #52515 - [
3026401be1
] - events,doc: mark CustomEvent as stable (Daeyeon Jeong) #52618 - [
c6e0fe2f22
] - fs: allow setting Stat date properties (Nicolò Ribaudo) #52708 - [
f23fa1de72
] - fs: fix read / readSync positional offset types (Ruy Adorno) #52603 - [
a7e03d301a
] - fs: fixes recursive fs.watch crash on Linux when deleting files (Matteo Collina) #52349 - [
d5ecb6cd00
] - http2: fix excessive CPU usage when usingallowHTTP1=true
(Eugene) #52713 - [
d1adc9b140
] - lib: enforce ASCII order in error code imports (Antoine du Hamel) #52625 - [
9ffdcade37
] - lib: use predefined variable instead of bit operation (Deokjin Kim) #52580 - [
fdcde845ee
] - lib: refactor lazy loading of undici for fetch method (Victor Chen) #52275 - [
f6145aa2ca
] - lib: convert WeakMaps in cjs loader with private symbol properties (Chengzhong Wu) #52095 - [
014bf01efc
] - lib: replace string prototype usage with alternatives (Aviv Keller) #52440 - [
dc399ddd03
] - lib, doc: rename readme.md to README.md (Aviv Keller) #52471 - [
64428dc1c9
] - (SEMVER-MINOR) lib, url: add awindows
option to path parsing (Aviv Keller) #52509 - [
9b2b6abb62
] - lib,src: iterate module requests of a module wrap in JS (Chengzhong Wu) #52058 - [
896a80e366
] - meta: standardize regex (Aviv Keller) #52693 - [
20c07e922e
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52633 - [
e70d8a4fa9
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #52457 - [
20ab8f2a88
] - module: support ESM detection in the CJS loader (Joyee Cheung) #52047 - [
544c602b75
] - module: skip NODE_COMPILE_CACHE when policy is enabled (Joyee Cheung) #52577 - [
3df3afc284
] - module: detect ESM syntax by trying to recompile as SourceTextModule (Joyee Cheung) #52413 - [
4d77fd2c46
] - (SEMVER-MINOR) module: implement NODE_COMPILE_CACHE for automatic on-disk code caching (Joyee Cheung) #52535 - [
9794d21b07
] - module: fix submodules loaded by require() and import() (Joyee Cheung) #52487 - [
b00766d9e7
] - module: tidy code and comments (Jacob Smith) #52437 - [
d79ae74f71
] - (SEMVER-MINOR) net: add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474 - [
b17cfea289
] - node-api: address coverity report (Michael Dawson) #52584 - [
1fca8baac1
] - node-api: copy external type tags when they are set (Niels Martignène) #52426 - [
d086ab42a1
] - quic: address recent coverity warnings (Michael Dawson) #52647 - [
fb4edf70cf
] - quic: rework TLSContext, additional cleanups (James M Snell) #51340 - [
0c58d0319b
] - src: remove misplaced windows code under posix guard in node.cc (Ali Hassan) #52545 - [
e20d2f1de3
] - src: cast to v8::Value before using v8::EmbedderGraph::V8Node (Joyee Cheung) #52638 - [
43fa6a1a45
] - (SEMVER-MINOR) src: addstring_view
overload to snapshot FromBlob (Anna Henningsen) #52595 - [
a56faff4d0
] - src: parse inspector profiles with simdjson (Joyee Cheung) #51783 - [
ac04c6434a
] - src: remove regex usage for env file parsing (IlyasShabi) #52406 - [
f283d27285
] - src: fix loadEnvFile ENOENT error (mathis-west-1) #52438 - [
c6fe433d42
] - src,permission: throw async errors on async APIs (Rafael Gonzaga) #52730 - [
9f9eca965a
] - stream: update ongoing promise in async iterator return() method (Mattias Buelens) #52657 - [
d568a9a38e
] - test: marktest-error-serdes
as flaky (Antoine du Hamel) #52739 - [
45f7002b90
] - test: mark test as flaky (Michael Dawson) #52671 - [
10596e20e8
] - test: fix backtick usage in docs (Aviv Keller) #52643 - [
b2f754c9f1
] - test: skip test-fs-watch-recursive-delete.js on IBM i (Abdirahim Musse) #52645 - [
ed080d868d
] - test: ensure that all worker servers are ready (Luigi Pinca) #52563 - [
c8c61737e4
] - test: fix test-tls-ticket-cluster.js (Hüseyin Açacak) #52431 - [
18aa5d6640
] - test: split wasi poll test for windows (Hüseyin Açacak) #52538 - [
e34e0a9ba1
] - test: write tests for assertIsArray http2 util (Sinan Sonmez (Chaush)) #52511 - [
e247a61d15
] - (SEMVER-MINOR) test_runner: add --test-skip-pattern cli option (Aviv Keller) #52529 - [
e066ba2ae4
] - test_runner: better error handing for test hook (Alex Yang) #52401 - [
328755341d
] - test_runner: don't exceed call stack when filtering (Colin Ihrig) #52488 - [
b4ccb6c626
] - test_runner: move end of work check to finalize() (Colin Ihrig) #52488 - [
2ef9380472
] - tools: update lint-md-dependencies to rollup@4.17.0 (Node.js GitHub Bot) #52729 - [
db421bdefc
] - tools: take co-authors into account infind-inactive-collaborators
(Antoine du Hamel) #52669 - [
01103a85cb
] - tools: fix invalid escape sequence in mkssldef (Michaël Zasso) #52624 - [
382d951b01
] - tools: update lint-md-dependencies to rollup@4.15.0 (Node.js GitHub Bot) #52617 - [
f9ddd77ff3
] - tools: add lint rule to keep primordials in ASCII order (Antoine du Hamel) #52592 - [
552642a498
] - tools: update lint-md-dependencies (Rich Trott) #52581 - [
df61feb655
] - tools: fix heading spaces for osx-entitlements.plist (Jackson Tian) #52561 - [
6b4bbfbb1f
] - tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1 (Node.js GitHub Bot) #52518 - [
4e5ce3afb7
] - tools: use stylistic ESLint plugin for formatting (Michaël Zasso) #50714 - [
15c5686381
] - tools: update minimatch index path (Marco Ippolito) #52523 - [
8ae1507ae1
] - tools: add a linter for README lists (Antoine du Hamel) #52476 - [
0b970316bc
] - typings: fix invalid JSDoc declarations (Yagiz Nizipli) #52659 - [
9b18df9dcb
] - (SEMVER-MINOR) url: implement parse method for safer URL parsing (Ali Hassan) #52280 - [
d33131af3a
] - vm: fix ASCII-betical order (Aviv Keller) #52686
nodemailer/nodemailer (nodemailer)
v6.9.16
Bug Fixes
- addressparser: Correctly detect if user local part is attached to domain part (f2096c5)
v6.9.15
Bug Fixes
v6.9.14
Bug Fixes
postcss/postcss (postcss)
v8.4.49
- Fixed custom syntax without
source.offset
(by @romainmenke).
v8.4.48
- Fixed position calculation in error/warnings methods (by @romainmenke).
v8.4.47
- Removed debug code.
v8.4.46
- Fixed
Cannot read properties of undefined (reading 'before')
.
v8.4.45
- Removed unnecessary fix which could lead to infinite loop.
v8.4.44
- Another way to fix
markClean is not a function
error.
v8.4.43
- Fixed
markClean is not a function
error.
v8.4.42
- Fixed CSS syntax error on long minified files (by @varpstar).
v8.4.41
- Fixed types (by @nex3 and @querkmachine).
- Cleaned up RegExps (by @bluwy).
v8.4.40
- Moved to getter/setter in nodes types to help Sass team (by @nex3).
v8.4.39
- Fixed
CssSyntaxError
types (by @romainmenke).
react-icons/react-icons (react-icons)
v5.4.0
What's Changed
- Add closing of the icon details modal with the ESC key by @gabrielogregorio in https://github.com/react-icons/react-icons/pull/900
- support moduleResolution: bundler in tsconfig by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/970
- min search length changed to 2 by @Kumar06Lav in https://github.com/react-icons/react-icons/pull/967
- Bump webpack from 5.89.0 to 5.94.0 by @dependabot in https://github.com/react-icons/react-icons/pull/975
- Bump micromatch from 4.0.5 to 4.0.8 by @dependabot in https://github.com/react-icons/react-icons/pull/976
- Bump axios from 1.6.8 to 1.7.7 by @dependabot in https://github.com/react-icons/react-icons/pull/977
- preview: Reduce the number of results displayed in search results by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/997
- 2024-12-03 upgrade icons by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/998
- Bump dset from 3.1.3 to 3.1.4 by @dependabot in https://github.com/react-icons/react-icons/pull/979
- Bump express from 4.19.2 to 4.21.0 by @dependabot in https://github.com/react-icons/react-icons/pull/981
- Bump rollup from 2.79.1 to 2.79.2 by @dependabot in https://github.com/react-icons/react-icons/pull/982
- Bump http-proxy-middleware from 2.0.6 to 2.0.7 by @dependabot in https://github.com/react-icons/react-icons/pull/989
- Bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in https://github.com/react-icons/react-icons/pull/994
- workflow: upgrade workflows by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/999
New Contributors
- @Kumar06Lav made their first contribution in https://github.com/react-icons/react-icons/pull/967
Full Changelog: https://github.com/react-icons/react-icons/compare/v5.3.0...v5.4.0
v5.3.0
What's Changed
- Bump ejs from 3.1.9 to 3.1.10 by @dependabot in https://github.com/react-icons/react-icons/pull/942
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in https://github.com/react-icons/react-icons/pull/953
- Bump ws from 7.5.9 to 7.5.10 by @dependabot in https://github.com/react-icons/react-icons/pull/954
- feat: update simple icons to 12.4.0 by @sdabhi23 in https://github.com/react-icons/react-icons/pull/956
- update bootstrap, tabler icons by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/968
New Contributors
- @sdabhi23 made their first contribution in https://github.com/react-icons/react-icons/pull/956
Full Changelog: https://github.com/react-icons/react-icons/compare/v5.2.1...v5.3.0
v5.2.1
What's Changed
- bug fix: add filled suffix in tb by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/941
Full Changelog: https://github.com/react-icons/react-icons/compare/v5.2.0...v5.2.1
v5.2.0
What's Changed
- remove data-* attributes by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/936
- icons version up 2024-04-30 by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/937
- update lerna by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/938
- Update pacakges by @kamijin-fanta in https://github.com/react-icons/react-icons/pull/939
Full Changelog: https://github.com/react-icons/react-icons/compare/v5.1.0...v5.2.0
pmndrs/react-spring (react-spring)
v9.7.5
What's Changed
- fix: recognize
className
prop toAnimatedComponent
s by @LoganDark in https://github.com/pmndrs/react-spring/pull/2292 - fix: update document edit page links by @anonymousRecords in https://github.com/pmndrs/react-spring/pull/2320
New Contributors
- @LoganDark made their first contribution in https://github.com/pmndrs/react-spring/pull/2292
- @anonymousRecords made their first contribution in https://github.com/pmndrs/react-spring/pull/2320
Full Changelog: https://github.com/pmndrs/react-spring/compare/v9.7.4...v9.7.5
v9.7.4
What's Changed
- chore(deps): update dependency @types/jest to v29 by @renovate in https://github.com/pmndrs/react-spring/pull/2160
- chore(deps): update dependency @types/node to v18 by @renovate in https://github.com/pmndrs/react-spring/pull/2161
- Update interpolation.mdx by @enahsor in https://github.com/pmndrs/react-spring/pull/2191
- docs: typo infact fix by @dominik-stumpf in https://github.com/pmndrs/react-spring/pull/2196
- chore(deps): update dependency @vitejs/plugin-react to v4 by @renovate in https://github.com/pmndrs/react-spring/pull/2194
- chore(deps): update actions/checkout action to v4 by @renovate in https://github.com/pmndrs/react-spring/pull/2205
- Update animated-elements.mdx by @jazsouf in https://github.com/pmndrs/react-spring/pull/2209
- chore: update codebase to TS 5 by @joshuaellis in https://github.com/pmndrs/react-spring/pull/2210
- chore(deps): update actions/setup-node action to v4 by @renovate in https://github.com/pmndrs/react-spring/pull/2216
- chore(deps): update commitlint monorepo to v18 (major) - autoclosed by @renovate in https://github.com/pmndrs/react-spring/pull/2217
- chore(deps): update dependency konva to v9 by @renovate in https://github.com/pmndrs/react-spring/pull/2224
- chore(deps): update dependency resolve-esm to v2 by @renovate in https://github.com/pmndrs/react-spring/pull/2227
- docs: fix typo in testing guidelines by @romain-trotard in https://github.com/pmndrs/react-spring/pull/2201
- chore: update cypress by @joshuaellis in https://github.com/pmndrs/react-spring/pull/2211
- chore(deps): update dependency prettier to v3 by @renovate in https://github.com/pmndrs/react-spring/pull/2226
- chore(deps): update dependency @testing-library/jest-dom to v6 by @renovate in https://github.com/pmndrs/react-spring/pull/2193
- chore: update tooling deps by @joshuaellis in https://github.com/pmndrs/react-spring/pull/2230
- Type Error in docs: /docs/concepts/imperative-api#comparison by @muhammadtalha242 in https://github.com/pmndrs/react-spring/pull/2240
- fix: update useTransition docs to show correct tooltips for the
enter
,update
, andleave
props. by @dibenso in https://github.com/pmndrs/react-spring/pull/2239 - chore: update docs to use remix v2 by @joshuaellis in https://github.com/pmndrs/react-spring/pull/2238
- minor docs improvements by @btoo in https://github.com/pmndrs/react-spring/pull/2279
- docs: fix link by @revolunet in https://github.com/pmndrs/react-spring/pull/2256
- Docs: Improve grammar on
animated-elements.mdx
by @lordofthelake in https://github.com/pmndrs/react-spring/pull/2249 - Typo error in fixtures.tsx by @sivaprasadev in https://github.com/pmndrs/react-spring/pull/2223
- chore(deps): update commitlint monorepo to v19 (major) by @renovate in https://github.com/pmndrs/react-spring/pull/2259
- docs: added link for intersection observer api by @vCiKv in https://github.com/pmndrs/react-spring/pull/2126
- chore(deps): update dependency @testing-library/react to v15 by @renovate in https://github.com/pmndrs/react-spring/pull/2275
- chore(deps): update testing deps by @joshuaellis in https://github.com/pmndrs/react-spring/pull/2282
- chore(deps): update github artifact actions to v4 (major) by @renovate in https://github.com/pmndrs/react-spring/pull/2262
- chore: make deps absolute by @joshuaellis in https://github.com/pmndrs/react-spring/pull/2283
- chore(deps): update dependency tsx to v4 by @renovate in https://github.com/pmndrs/react-spring/pull/2260
- chore(deps): update dependency remark-mdx-frontmatter to v5 by @renovate in https://github.com/pmndrs/react-spring/pull/2298
- fix: add
useReducedMotion
compatibility for Safari 13 and older by @BenHodgsonR2R in https://github.com/pmndrs/react-spring/pull/2300
New Contributors
- @enahsor made their first contribution in https://github.com/pmndrs/react-spring/pull/2191
- @dominik-stumpf made their first contribution in https://github.com/pmndrs/react-spring/pull/2196
- @jazsouf made their first contribution in https://github.com/pmndrs/react-spring/pull/2209
- @romain-trotard made their first contribution in https://github.com/pmndrs/react-spring/pull/2201
- @muhammadtalha242 made their first contribution in https://github.com/pmndrs/react-spring/pull/2240
- @dibenso made their first contribution in https://github.com/pmndrs/react-spring/pull/2239
- @btoo made their first contribution in https://github.com/pmndrs/react-spring/pull/2279
- @revolunet made their first contribution in https://github.com/pmndrs/react-spring/pull/2256
- @lordofthelake made their first contribution in https://github.com/pmndrs/react-spring/pull/2249
- @sivaprasadev made their first contribution in https://github.com/pmndrs/react-spring/pull/2223
- @vCiKv made their first contribution in https://github.com/pmndrs/react-spring/pull/2126
- @BenHodgsonR2R made their first contribution in https://github.com/pmndrs/react-spring/pull/2300
Full Changelog: https://github.com/pmndrs/react-spring/compare/v9.7.3...v9.7.4
sass/dart-sass (sass)
v1.83.0
- Allow trailing commas in all argument and parameter lists.
v1.82.0
Command-Line Interface
-
Improve
--watch
mode reliability when making multiple changes at once, such as checking out a different Git branch. -
Parse the
calc-size()
function as a calculation now that it's supported in some browsers.
Dart API
- Add a
SassCalculation.calcSize()
function.
v1.81.1
- No user-visible changes.
v1.81.0
-
Fix a few cases where deprecation warnings weren't being emitted for global built-in functions whose names overlap with CSS calculations.
-
Add support for the CSS
round()
calculation with a single argument, as long as that argument might be a unitless number.
v1.80.7
Embedded Host
- Don't treat
0
asundefined
for thegreen
andblue
channels in theLegacyColor
constructor.
v1.80.6
Command-Line Interface
- Make
@parcel/watcher
an optional dependency so this can still be installed on operating systems where it's unavailable.
v1.80.5
Embedded Host
- Don't produce phantom
@import
deprecations when using an importer with the legacy API.
v1.80.4
- No user-visible changes.
v1.80.3
-
Fix a bug where
@import url("...")
would crash in plain CSS files. -
Improve consistency of how warnings are emitted by different parts of the compiler. This should result in minimal user-visible changes, but different types of warnings should now respond more reliably to flags like
--quiet
,--verbose
, and--silence-deprecation
.
v1.80.2
- Fix a bug where deprecation warnings were incorrectly emitted for the
plain-CSS
invert()
function.
v1.80.1
- Fix a bug where repeated deprecation warnings were not automatically limited.
v1.80.0
-
@import
is now officially deprecated, as are global built-in functions that are available within built-in modules. See the Sass blog post for more details on the deprecation process.
Embedded Host
- Fix an error that would sometimes occur when deprecation warnings were emitted when using a custom importer with the legacy API.
v1.79.6
-
Fix a bug where Sass would add an extra
*/
after loud comments with whitespace after an explicit*/
in the indented syntax. -
Potentially breaking bug fix: Adding text after an explicit
*/
in the indented syntax is now an error, rather than silently generating invalid CSS.
Embedded Host
- Properly export the
SassBoolean
type.
v1.79.5
-
Changes to how
selector.unify()
and@extend
combine selectors:-
The relative order of pseudo-classes (like
:hover
) and pseudo-elements (like::before
) within each original selector is now preserved when they're combined. -
Pseudo selectors are now consistently placed at the end of the combined selector, regardless of which selector they came from. Previously, this reordering only applied to pseudo-selectors in the second selector.
-
-
Tweak the color transformation matrices for OKLab and OKLCH to match the newer, more accurate values in the CSS spec.
-
Fix a slight inaccuracy case when converting to
srgb-linear
anddisplay-p3
. -
Potentially breaking bug fix:
math.unit()
now wraps multiple denominator units in parentheses. For example,px/(em*em)
instead ofpx/em*em
.
Command-Line Interface
- Use
@parcel/watcher
to watch the filesystem when running from JavaScript and not using--poll
. This should mitigate more frequent failures users have been seeing since version 4.0.0 of Chokidar, our previous watching tool, was released.
JS API
- Fix
SassColor.interpolate()
to allow an undefinedoptions
parameter, as the types indicate.
Embedded Sass
- Properly pass missing color channel values to and from custom functions.
v1.79.4
JS API
- Fix a bug where passing
green
orblue
tocolor.change()
for legacy colors would fail.
v1.79.3
- Update the
$channel
parameter in the suggested replacement forcolor.red()
,color.green()
,color.blue()
,color.hue()
,color.saturation()
,color.lightness()
,color.whiteness()
, andcolor.blackness()
to use a quoted string.
v1.79.2
-
Add a
$space
parameter to the suggested replacement forcolor.red()
,color.green()
,color.blue()
,color.hue()
,color.saturation()
,color.lightness()
,color.whiteness()
, andcolor.blackness()
. -
Update deprecation warnings for the legacy JS API to include a link to relevant documentation.
v1.79.1
- No user-visible changes.
v1.79.0
-
Breaking change: Passing a number with unit
%
to the$alpha
parameter ofcolor.change()
,color.adjust()
,change-color()
, andadjust-color()
is now interpreted as a percentage, instead of ignoring the unit. For example,color.change(red, $alpha: 50%)
now returnsrgb(255 0 0 / 0.5)
. -
Potentially breaking compatibility fix: Sass no longer rounds RGB channels to the nearest integer. This means that, for example,
rgb(0 0 1) != rgb(0 0 0.6)
. This matches the latest version of the CSS spec and browser behavior. -
Potentially breaking compatibility fix: Passing large positive or negative values to
color.adjust()
can now cause a color's channels to go outside that color's gamut. In most cases this will currently be clipped by the browser and end up showing the same color as before, but once browsers implement gamut mapping it may produce a different result. -
Add support for CSS Color Level 4 color spaces. Each color value now tracks its color space along with the values of each channel in that color space. There are two general principles to keep in mind when dealing with new color spaces:
-
With the exception of legacy color spaces (
rgb
,hsl
, andhwb
), colors will always be emitted in the color space they were defined in unless they're explicitly converted. -
The
color.to-space()
function is the only way to convert a color to another color space. Some built-in functions may do operations in a different color space, but they'll always convert back to the original space afterwards.
-
-
rgb
colors can now have non-integer channels and channels outside the normal gamut of 0-255. These colors are always emitted using thergb()
syntax so that modern browsers that are being displayed on wide-gamut devices can display the most accurate color possible. -
Add support for all the new color syntax defined in Color Level 4, including:
-
oklab()
,oklch()
,lab()
, andlch()
functions; - a top-level
hwb()
function that matches the space-separated CSS syntax; - and a
color()
function that supports thesrgb
,srgb-linear
,display-p3
,a98-rgb
,prophoto-rgb
,rec2020
,xyz
,xyz-d50
, andxyz-d65
color spaces.
-
-
Add new functions for working with color spaces:
-
color.to-space($color, $space)
converts$color
to the given$space
. In most cases this conversion is lossless—the color may end up out-of-gamut for the destination color space, but browsers will generally display it as best they can regardless. However, thehsl
andhwb
spaces can't represent out-of-gamut colors and so will be clamped. -
color.channel($color, $channel, $space: null)
returns the value of the given$channel
in$color
, after converting it to$space
if necessary. It should be used instead of the old channel-specific functions such ascolor.red()
andcolor.hue()
. -
color.same($color1, $color2)
returns whether two colors represent the same color even across color spaces. It differs from$color1 == $color2
because==
never consider colors in different (non-legacy) spaces as equal. -
color.is-in-gamut($color, $space: null)
returns whether$color
is in-gamut for its color space (or$space
if it's passed). -
color.to-gamut($color, $space: null)
returns$color
constrained to its space's gamut (or to$space
's gamut, if passed). This is generally not recommended since even older browsers will display out-of-gamut colors as best they can, but it may be necessary in some cases. -
color.space($color)
: Returns the name of$color
's color space. -
color.is-legacy($color)
: Returns whether$color
is in a legacy color space (rgb
,hsl
, orhwb
). -
color.is-powerless($color, $channel, $space: null)
: Returns whether the given$channel
of$color
is powerless in$space
(or its own color space). A channel is "powerless" if its value doesn't affect the way the color is displayed, such as hue for a color with 0 chroma. -
color.is-missing($color, $channel)
: Returns whether$channel
's value is missing in$color
. Missing channels can be explicitly specified using the special valuenone
and can appear automatically whencolor.to-space()
returns a color with a powerless channel. Missing channels are usually treated as 0, except when interpolating between two colors and incolor.mix()
where they're treated as the same value as the other color.
-
-
Update existing functions to support color spaces:
-
hsl()
andcolor.hwb()
no longer forbid out-of-bounds values. Instead, they follow the CSS spec by clamping them to within the allowed range. -
color.change()
,color.adjust()
, andcolor.scale()
now support all channels of all color spaces. However, if you want to modify a channel that's not in$color
's own color space, you have to explicitly specify the space with the$space
parameter. (For backwards-compatibility, this doesn't apply to legacy channels of legacy colors—for example, you can still adjust anrgb
color's saturation without passing$space: hsl
). -
color.mix()
andcolor.invert()
now support the standard CSS algorithm for interpolating between two colors (the same one that's used for gradients and animations). To use this, pass the color space to use for interpolation to the$method
parameter. For polar color spaces likehsl
andoklch
, this parameter also allows you to specify how hue interpolation is handled. -
color.complement()
now supports a$space
parameter that indicates which color space should be used to take the complement. -
color.grayscale()
now operates in theoklch
space for non-legacy colors. -
color.ie-hex-str()
now automatically converts its color to thergb
space and gamut-maps it so that it can continue to take colors from any color space.
-
-
The following functions are now deprecated, and uses should be replaced with the new color-space-aware functions defined above:
-
The
color.red()
,color.green()
,color.blue()
,color.hue()
,color.saturation()
,color.lightness()
,color.whiteness()
, andcolor.blackness()
functions, as well as their global counterparts, should be replaced with calls tocolor.channel()
. -
The global
adjust-hue()
,saturate()
,desaturate()
,lighten()
,darken()
,transaprentize()
,fade-out()
,opacify()
, andfade-in()
functions should be replaced bycolor.adjust()
orcolor.scale()
.
-
-
Add a
global-builtin
future deprecation, which can be opted-into with the--future-deprecation
flag or thefutureDeprecations
option in the JS or Dart API. This emits warnings when any global built-in functions that are now available insass:
modules are called. It will become active by default in an upcoming release alongside the@import
deprecation.
Dart API
-
Added a
ColorSpace
class which represents the various color spaces defined in the CSS spec. -
Added
SassColor.space
which returns a color's color space. -
Added
SassColor.channels
and.channelsOrNull
which returns a list of channel values, with missing channels converted to 0 or exposed as null, respectively. -
Added
SassColor.isLegacy
,.isInGamut
,.channel()
,.isChannelMissing()
,.isChannelPowerless()
,.toSpace()
,.toGamut()
,.changeChannels()
, and.interpolate()
which do the same thing as the Sass functions of the corresponding names. -
SassColor.rgb()
now allows out-of-bounds and non-integer arguments. -
SassColor.hsl()
and.hwb()
now allow out-of-bounds arguments. -
Added
SassColor.hwb()
,.srgb()
,.srgbLinear()
,.displayP3()
,.a98Rgb()
,.prophotoRgb()
,.rec2020()
,.xyzD50()
,.xyzD65()
,.lab()
,.lch()
,.oklab()
,.oklch()
, and.forSpace()
constructors. -
Deprecated
SassColor.red
,.green
,.blue
,.hue
,.saturation
,.lightness
,.whiteness
, and.blackness
in favor ofSassColor.channel()
. -
Deprecated
SassColor.changeRgb()
,.changeHsl()
, and.changeHwb()
in favor ofSassColor.changeChannels()
. -
Added
SassNumber.convertValueToUnit()
as a shorthand forSassNumber.convertValue()
with a single numerator. -
Added
InterpolationMethod
andHueInterpolationMethod
which collectively represent the method to use to interpolate two colors.
JS API
-
While the legacy API has been deprecated since we released the modern API, we now emit warnings when the legacy API is used to make sure users are aware that it will be removed in Dart Sass 2.0.0. In the meantime, you can silence these warnings by passing
legacy-js-api
insilenceDeprecations
when using the legacy API. -
Modify
SassColor
to accept a newspace
option, with support for all the new color spaces defined in Color Level 4. -
Add
SassColor.space
which returns a color's color space. -
Add
SassColor.channels
and.channelsOrNull
which returns a list of channel values, with missing channels converted to 0 or exposed as null, respectively. -
Add
SassColor.isLegacy
,.isInGamut()
,.channel()
,.isChannelMissing()
,.isChannelPowerless()
,.toSpace()
,.toGamut()
,.change()
, and.interpolate()
which do the same thing as the Sass functions of the corresponding names. -
Deprecate
SassColor.red
,.green
,.blue
,.hue
,.saturation
,.lightness
,.whiteness
, and.blackness
in favor ofSassColor.channel()
.
Embedded Sass
-
Add
Color
SassScript value, with support for all the new color spaces defined in Color Level 4. -
Remove
RgbColor
,HslColor
andHwbColor
SassScript values.
v1.78.0
-
The
meta.feature-exists
function is now deprecated. This deprecation is namedfeature-exists
. -
Fix a crash when using
@at-root
without any queries or children in the indented syntax.
JS API
-
Backport the deprecation options (
fatalDeprecations
,futureDeprecations
, andsilenceDeprecations
) to the legacy JS API. The legacy JS API is itself deprecated, and you should move off of it if possible, but this will allow users of bundlers and other tools that are still using the legacy API to still control deprecation warnings. -
Fix a bug where accessing
SourceSpan.url
would crash when a relative URL was passed to the Sass API.
Embedded Sass
-
Explicitly expose a
sass
executable from thesass-embedded
npm package. This was intended to be included in 1.63.0, but due to the way platform-specific dependency executables are installed it did not work as intended. Now users can runnpx sass
for local installs or justsass
whensass-embedded
is installed globally. -
Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the
sass-embedded
npm package. -
Fix an edge case where the Dart VM could hang when shutting down when requests were in flight.
-
Fix a race condition where the embedded host could fail to shut down if it was closed around the same time a new compilation was started.
-
Fix a bug where parse-time deprecation warnings could not be controlled by the deprecation options in some circumstances.
v1.77.8
- No user-visible changes.
v1.77.7
-
Declarations that appear after nested rules are deprecated, because the semantics Sass has historically used are different from the semantics specified by CSS. In the future, Sass will adopt the standard CSS semantics.
See the Sass website for details.
-
Potentially breaking bug fix:
//
in certain places such as unknown at-rule values was being preserved in the CSS output, leading to potentially invalid CSS. It's now properly parsed as a silent comment and omitted from the CSS output.
v1.77.6
- Fix a few cases where comments and occasionally even whitespace wasn't allowed between the end of Sass statements and the following semicolon.
v1.77.5
- Fully trim redundant selectors generated by
@extend
.
v1.77.4
Embedded Sass
-
Support passing
Version
input forfatalDeprecations
as string over embedded protocol. -
Fix a bug in the JS Embedded Host where
Version
could be incorrectly accepted as input forsilenceDeprecations
andfutureDeprecations
in pure JS.
v1.77.3
Dart API
-
Deprecation.duplicateVariableFlags
has been deprecated and replaced withDeprecation.duplicateVarFlags
to make it consistent with theduplicate-var-flags
name used on the command line and in the JS API.
v1.77.2
-
Don't emit deprecation warnings for functions and mixins beginning with
__
. -
Allow user-defined functions whose names begin with
_
and otherwise look like vendor-prefixed functions with special CSS syntax.
Command-Line Interface
-
Properly handle the
--silence-deprecation
flag. -
Handle the
--fatal-deprecation
and--future-deprecation
flags for--interactive
mode.
v1.77.1
- Fix a crash that could come up with importers in certain contexts.
v1.77.0
- Don't throw errors for at-rules in keyframe blocks.
v1.76.0
-
Throw errors for misplaced statements in keyframe blocks.
-
Mixins and functions whose names begin with
--
are now deprecated for forwards-compatibility with the in-progress CSS functions and mixins spec. This deprecation is namedcss-function-mixin
.
tailwindlabs/tailwindcss (tailwindcss)
v3.4.17
Fixed
- Work around Node v22.12+ issue (#15421)
v3.4.16
Fixed
- Ensure the TypeScript types for
PluginsConfig
allowundefined
values (#14668)
Changed
- Bumped lilconfig to v3.x (#15289)
v3.4.15
- Bump versions for security vulnerabilities (#14697)
- Ensure the TypeScript types for the
boxShadow
theme configuration allows arrays (#14856) - Set fallback for opacity variables to ensure setting colors with the
selection:*
variant works in Chrome 131 (#15003)
v3.4.14
Fixed
- Don't set
display: none
on elements that usehidden="until-found"
(#14625)
v3.4.13
Fixed
- Improve source glob verification performance (#14481)
v3.4.12
Fixed
- Ensure using
@apply
with utilities that use@defaults
works with rules defined in the base layer when usingoptimizeUniversalDefaults
(#14427)
v3.4.11
Fixed
- Allow
anchor-size(…)
in arbitrary values (#14393)
v3.4.10
Fixed
- Bump versions of plugins in the Standalone CLI (#14185)
v3.4.9
Fixed
- No longer warns when broad glob patterns are detecting
vendor
folders
v3.4.8
Fixed
- Fix minification when using nested CSS (#14105)
- Warn when broad glob patterns are used in the content configuration (#14140)
v3.4.7
Fixed
- Fix class detection in Slim templates with attached attributes and ID (#14019)
- Ensure attribute values in
data-*
andaria-*
modifiers are always quoted in the generated CSS (#14037)
v3.4.6
Fixed
- Fix detection of some utilities in Slim/Pug templates (#14006)
Changed
- Loosen
:is()
wrapping rules when using an important selector (#13900)
v3.4.5
Fixed
- Disable automatic
var()
injection for anchor properties (#13826) - Use no value instead of
blur(0px)
forbackdrop-blur-none
andblur-none
utilities (#13830) - Add
.mts
and.cts
config file detection (#13940) - Don't generate utilities like
px-1
unnecessarily when using utilities likepx-1.5
(#13959) - Always generate
-webkit-backdrop-filter
forbackdrop-*
utilities (#13997)
v3.4.4
Fixed
- Make it possible to use multiple
<alpha-value>
placeholders in a single color definition (#13740) - Don't prefix classes in arbitrary values of
has-*
,group-has-*
, andpeer-has-*
variants (#13770) - Support negative values for
{col,row}-{start,end}
utilities (#13781) - Update embedded browserslist database (#13792)
containous/traefik (traefik)
v3.2
Documentation:
- Update reference install documentation with current chart default (#11332 by mloiseleur)
Misc:
- Merge branch v2.11 into v3.2 (#11346 by kevinpollet)
- Merge branch v2.11 into v3.2 (#11337 by kevinpollet)
v3.2
Documentation:
- Update reference install documentation with current chart default (#11332 by mloiseleur)
Misc:
- Merge branch v2.11 into v3.2 (#11346 by kevinpollet)
- Merge branch v2.11 into v3.2 (#11337 by kevinpollet)
v3.1
Bug fixes:
- [k8s,k8s/gatewayapi] Preserve HTTPRoute filters order (#11198 by kevinpollet)
Documentation:
- [k8s,k8s/gatewayapi] Fix broken links in Kubernetes Gateway provider page (#11188 by mloiseleur)
Misc:
- Merge branch v2.11 into v3.1 (#11232 by kevinpollet)
- Merge branch v2.11 into v3.1 (#11218 by kevinpollet)
v3.1
Bug fixes:
- [k8s,k8s/gatewayapi] Preserve HTTPRoute filters order (#11198 by kevinpollet)
Documentation:
- [k8s,k8s/gatewayapi] Fix broken links in Kubernetes Gateway provider page (#11188 by mloiseleur)
Misc:
- Merge branch v2.11 into v3.1 (#11232 by kevinpollet)
- Merge branch v2.11 into v3.1 (#11218 by kevinpollet)
microsoft/TypeScript (typescript)
v5.7.2
: TypeScript 5.7
For release notes, check out the release announcement.
- fixed issues query for Typescript 5.7.0 (Beta).
- fixed issues query for Typescript 5.7.1 (RC).
- fixed issues query for Typescript 5.7.2 (Stable).
Downloads are available on:
v5.6.3
: TypeScript 5.6.3
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 5.6.0 (Beta).
- fixed issues query for Typescript 5.6.1 (RC).
- fixed issues query for Typescript 5.6.2 (Stable).
- fixed issues query for Typescript 5.6.3 (Stable).
Downloads are available on:
v5.6.2
: TypeScript 5.6
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 5.6.0 (Beta).
- fixed issues query for Typescript 5.6.1 (RC).
- fixed issues query for Typescript 5.6.2 (Stable).
Downloads are available on:
v5.5.4
: TypeScript 5.5.4
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for TypeScript v5.5.4 (Stable).
- fixed issues query for TypeScript v5.5.3 (Stable).
- fixed issues query for TypeScript v5.5.2 (Stable).
- fixed issues query for TypeScript v5.5.1 (RC).
- fixed issues query for TypeScript v5.5.0 (Beta).
Downloads are available on:
- npm
- NuGet package (soon!)
v5.5.3
: TypeScript 5.5.3
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for TypeScript v5.5.3 (Stable).
- fixed issues query for TypeScript v5.5.2 (Stable).
- fixed issues query for TypeScript v5.5.1 (RC).
- fixed issues query for TypeScript v5.5.0 (Beta).
Downloads are available on:
v5.5.2
: TypeScript 5.5
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for TypeScript v5.5.2 (Stable).
- fixed issues query for TypeScript v5.5.1 (RC).
- fixed issues query for TypeScript v5.5.0 (Beta).
Downloads are available on:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.