This PR contains the following updates:
Release Notes
dotansimha/graphql-yoga (@graphql-yoga/node)
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Patch Changes
eecf24c: Fix CommonJS TypeScript resolution withmoduleResolutionnode16 ornodenext- Updated dependencies [
eecf24c]
Compare Source
Patch Changes
c00dad3: Resolve issue where@whatwg-node/fetch caused otherfetch to fail processing HTTP requests.- Updated dependencies [
c00dad3]
Compare Source
Patch Changes
Compare Source
Patch Changes
639607d: Previously the async iterable returned by GraphQL executor isn't cleaned up properly on Node environments because ReadableStream implementation of Node doesn't call defined "cancel" method in the right time. Now it has been patched in cross-undici-fetch and we ensure "Response.body" is destroyed after Node.js's ServerResponse is ended by any means
Compare Source
Patch Changes
Compare Source
Patch Changes
Compare Source
Patch Changes
Compare Source
Patch Changes
ca5f940:Usereq.body only if it is filled
Some frameworks use this unofficialbody field to send the parsed body to the middlewares.
GraphQL Yoga respects that and uses thisbody as it is like a JSON request.
But sometimes speifically for multipart requests,body is present even if the actual request stream isn't parsed yet.
Now GraphQL Yoga checks the body content is filled to see if the request is bothered to make surebody is correct.
This fixes an issue that happens when you usebodyParser withexpress.bodyParser sends an emptybody in case ofmultipart request.
Compare Source
Patch Changes
9248df8: Bring back Node 12 support
Even if Node 12 reached the end of its life, we keep supporting it until the next major release.
So in the previous release, we broke this support because of the new import names of Node's native packages such asnode:http instead ofhttp.
Compare Source
Patch Changes
8947657: ## Correct status code for multipart request errors
Return correct 413 (Request Entity Too Large) HTTP status code if the given request body is larger then the specified one inmultipart options.
Previously it was returning 400 or 500 which is an incorrect behavior misleading the client.
Possible to configure the HTTP status code and headers of the response
Now we add a new `http` field to `GraphQLErrorExtensions` that you can set the status code and headers of the response;```tsthrow new GraphQLError('You are not authorized to access this field', { extensions: { http: { status: 401, headers: { 'WWW-Authenticate': 'Bearer', }, }, },})```
Compare Source
Minor Changes
Patch Changes
8922c3b: ## Multiple parameters are not recommended (not used internally) for log methods
Previously sometimes Yoga used to send data to the provided logger like below;
yogaLogger.debug(arg1,arg2,arg3)
This behavior is working fine with JavaScript's nativeconsole implementation but most of the other non native logger implementation like Pino only accept a single parameter for its logging methods. So we decided to avoid sending multiple parameters to the logger.
However, in order to prevent a breaking change, we kept the signatures of logger methods and they will still accept multiple parameters in a single call. You should keep on mind that eventually we will stop accepting multiple parameters and have the behavior similar to Pino's.
Note for custom logger and fastify users
We still recommend to update your `logging` parameter in `createServer` call to make sure the other parameters after the first one aren't ignored if exists;```jscreateServer({ ...someOtherOptions, logging: { // app.log is Fastify's logger // You should replace it with your own if you have some other logger implementation debug: (...args) => args.forEach((arg) => app.log.debug(arg)), info: (...args) => args.forEach((arg) => app.log.info(arg)), warn: (...args) => args.forEach((arg) => app.log.warn(arg)), error: (...args) => args.forEach((arg) => app.log.error(arg)), },})```
No more custominspect
Previously Yoga's default logger implementation was using a platform independent port of Node's `util.inspect`. It was helping us to mimic `console.log`'s behavior to serialize object in a pretty way. But we no longer use it and pass multiple parameters to `console.log/debug/info/error` instead and leave the serialization to the environment. Don't get confused with the one above :) This is an optimization with default `console` which already supports multiple values. But the improvement above is for non native logger implementations.
Compare Source
Patch Changes
Compare Source
Patch Changes
Compare Source
Minor Changes
2d3c54c: export node yoga server types
Patch Changes
06652c7: Fix GraphQLYogaError being thrown from contextFactory to be treated as an unexpected error. The bug would previously prevent the GraphQLYogaErrorextensions from being exposed in the result and cause a status code of 500.- Updated dependencies [
06652c7] - Updated dependencies [
a4960bd]
microsoft/TypeScript-Website (@typescript/ata)
Compare Source
Patch Changes
Compare Source
Patch Changes
Compare Source
Patch Changes
46eba14: Initial bump for changesets
vercel/nft (@vercel/nft)
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Features
Compare Source
Bug Fixes
- Add special case for Serial Port binary (.node) modules (#415) (e001d05)
Compare Source
Bug Fixes
- analyze: node-gyp-build not including zeromq prebuilds (#392) (0598a4c), closes#391
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
- add special case for sharp@0.33.0 optional dependencies (#372) (9470e71)
Compare Source
Features
Compare Source
Features
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
Features
Compare Source
Bug Fixes
Compare Source
Features
Compare Source
Bug Fixes
- Make caching work correctly in async context (#320) (1a7f083)
Compare Source
Bug Fixes
Compare Source
Patches
- Chore: Bump moment-timezone from 0.5.33 to 0.5.37:#308
- Revert "major: assets should not be parsed":#309
Compare Source
Changes
- Major: assets should not be parsed:#304
Compare Source
Minor Changes
- Feat: Support
fs-extra andgraceful-fs:#296 - Fix: add concurrency limit to fs calls:#301
Credits
Huge thanks to@kachkaev and@Brooooooklyn for helping!
Compare Source
Changes
- Fix: remove
node-pre-gyp dependency:#299 - Chore: Bump shell-quote from 1.7.2 to 1.7.3:#298
Compare Source
Changes
- Feat: Allow all file extension inputs (including
.jsx):#294 - Chore: Bump sharp from 0.30.0 to 0.30.5:#291
- Chore: Bump protobufjs from 6.10.2 to 6.11.3:#292
- Chore: Windows tests should preserve yarn.lock:#295
Compare Source
Patches
- Fix: handle static eval for sequence expression (fix TS 4.4+):#289
Compare Source
Minor Changes
- Fix: handle
node: prefix:#285 - Fix: node-gyp-build binary locating in different versions:#286
- Chore: Update node prefix tests:#287
Credits
Huge thanks to@Rich-Harris for helping!
apollographql/apollo-server (apollo-server-micro)
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
troy351/emmet-monaco-es (emmet-monaco-es)
Compare Source
- fixed compatibility with monaco-editor 0.52.0, thanks to@dmx-patrick
Compare Source
Compare Source
Compare Source
Compare Source
Compare Source
fixed compatibility with monaco-editor 0.37.0734ea41
Compare Source
- figured out a general method to support minified monaco-editor source code
7e3f116
Compare Source
- fixed compatibility with monaco-editor 0.35.0
06c4e19
Compare Source
- fixed compatibility with monaco-editor 0.34.0
5e444d6
Compare Source
graphql/graphql-js (graphql)
Compare Source
v16.10.0 (2024-12-15)
New Feature 🚀
Bug Fix 🐞
Docs 📝
10 PRs were merged
Internal 🏠
4 PRs were merged
Committers: 5
Compare Source
v16.9.0 (2024-06-21)
New Feature 🚀
- #4119 backport[v16]: Introduce "recommended" validation rules (@benjie)
- #4122 backport[v16]: Enable passing values configuration to GraphQLEnumType as a thunk (@benjie)
- #4124 backport[v16]: Implement OneOf Input Objects via
@oneOf directive (@benjie)
Committers: 1
Compare Source
v16.8.2 (2024-06-12)
Bug Fix 🐞*#4022 fix: removeglobalThis check and align with what bundlers can accept (@JoviDeCroock)
Internal 🏠*#4104 Fix publish scripts (@benjie)
Committers: 2
Compare Source
v16.8.1 (2023-09-19)
Bug Fix 🐞
Committers: 1
Compare Source
v16.8.0 (2023-08-14)
New Feature 🚀
Committers: 1
Compare Source
v16.7.1 (2023-06-22)
📢 Big shout out to@phryneas, who managed to reproduce this issue and come up with this fix.
Bug Fix 🐞
Committers: 1
Compare Source
v16.7.0 (2023-06-21)
New Feature 🚀
Bug Fix 🐞
Committers: 3
Compare Source
v16.6.0 (2022-08-16)
New Feature 🚀
Bug Fix 🐞
Committers: 2
vercel/micro (micro)
Compare Source
Patches
- Bring back default http server wrapper:#460
https://www.npmjs.com/package/micro/v/9.4.1
Compare Source
Patches
- Chore(examples/with-https): using destructuring:
62c1e01 - Convert getURL fn to more ergonomic one liner:
85d7bd6 - Decrease install size:#396
- Bring in is-stream:#397
- Add new programmatic usage:#399
- Automatic publishing:#400
- Add .d.ts for TypeScript compatibility:#401
- Boot up http server in cli:#406
- Bump raw-body version:#411
- Remove request-promise (deprecation):#435
- Gracefully shutdown: exit after server is closed:#418
Other
- Remove duplicated code "getUrl" (tests):#436
- chore(examples/socket.io-chat-app): use vanilla JS instead of jquery for DOM manipulation:#428
- Move to GitHub Actions, general cleanup: (#456)
https://www.npmjs.com/package/micro/v/9.4.0
nuxt/nuxt (nuxt)
Compare Source
3.14.1592 is the next patch release.
👉 Changelog
compare changes
🩹 Fixes
- rspack: Update
webpackbar with support for rspack (#29823) - nuxt: Assign default name to component without setup (#29869)
- kit: Use
dst to deduplicate templates when adding them ([#29895](https://redirect.github
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 PR becomes conflicted, or you tick the rebase/retry checkbox.
👻Immortal: This PR will be recreated if closed unmerged. Getconfig help if that's undesired.
This PR was generated byMend Renovate. View therepository job log.
Uh oh!
There was an error while loading.Please reload this page.
This PR contains the following updates:
2.8.0->2.13.130.9.3->0.9.70.18.2->0.27.103.8.2->3.13.05.1.0->5.5.016.5.0->16.10.09.3.4->9.4.13.0.0-rc.4->3.14.15924.18.0->4.19.0Release Notes
dotansimha/graphql-yoga (@graphql-yoga/node)
v2.13.13Compare Source
v2.13.12Compare Source
v2.13.11Compare Source
v2.13.10Compare Source
v2.13.9Compare Source
v2.13.8Compare Source
v2.13.7Compare Source
v2.13.6Compare Source
Patch Changes
eecf24c: Fix CommonJS TypeScript resolution withmoduleResolutionnode16ornodenexteecf24c]v2.13.5Compare Source
Patch Changes
c00dad3: Resolve issue where@whatwg-node/fetchcaused otherfetchto fail processing HTTP requests.c00dad3]v2.13.4Compare Source
Patch Changes
889d16d]v2.13.3Compare Source
Patch Changes
639607d: Previously the async iterable returned by GraphQL executor isn't cleaned up properly on Node environments because ReadableStream implementation of Node doesn't call defined "cancel" method in the right time. Now it has been patched in cross-undici-fetch and we ensure "Response.body" is destroyed after Node.js's ServerResponse is ended by any meansv2.13.2Compare Source
Patch Changes
3363de2]v2.13.1Compare Source
Patch Changes
ebddc71]v2.12.0Compare Source
Patch Changes
5bcd8ea]v2.11.2Compare Source
Patch Changes
ca5f940:Usereq.bodyonly if it is filledSome frameworks use this unofficial
bodyfield to send the parsed body to the middlewares.GraphQL Yoga respects that and uses this
bodyas it is like a JSON request.But sometimes speifically for multipart requests,
bodyis present even if the actual request stream isn't parsed yet.Now GraphQL Yoga checks the body content is filled to see if the request is bothered to make sure
bodyis correct.This fixes an issue that happens when you use
bodyParserwithexpress.bodyParsersends an emptybodyin case ofmultipartrequest.v2.11.1Compare Source
Patch Changes
9248df8: Bring back Node 12 supportEven if Node 12 reached the end of its life, we keep supporting it until the next major release.
So in the previous release, we broke this support because of the new import names of Node's native packages such as
node:httpinstead ofhttp.v2.11.0Compare Source
Patch Changes
8947657: ## Correct status code for multipart request errorsReturn correct 413 (Request Entity Too Large) HTTP status code if the given request body is larger then the specified one in
multipartoptions.Previously it was returning 400 or 500 which is an incorrect behavior misleading the client.
Possible to configure the HTTP status code and headers of the response
8947657]v2.10.0Compare Source
Minor Changes
7de07cd: Support TypeScript ECMA script resolution. More information onhttps://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-jsPatch Changes
8922c3b: ## Multiple parameters are not recommended (not used internally) for log methodsPreviously sometimes Yoga used to send data to the provided logger like below;
This behavior is working fine with JavaScript's native
consoleimplementation but most of the other non native logger implementation like Pino only accept a single parameter for its logging methods. So we decided to avoid sending multiple parameters to the logger.However, in order to prevent a breaking change, we kept the signatures of logger methods and they will still accept multiple parameters in a single call. You should keep on mind that eventually we will stop accepting multiple parameters and have the behavior similar to Pino's.
Note for custom logger and fastify users
No more custom
inspectUpdated dependencies [
7de07cd]Updated dependencies [
8922c3b]v2.9.2Compare Source
Patch Changes
2c0bcda]v2.9.1Compare Source
Patch Changes
a06091f]v2.9.0Compare Source
Minor Changes
2d3c54c: export node yoga server typesPatch Changes
06652c7: Fix GraphQLYogaError being thrown from contextFactory to be treated as an unexpected error. The bug would previously prevent the GraphQLYogaErrorextensionsfrom being exposed in the result and cause a status code of 500.06652c7]a4960bd]microsoft/TypeScript-Website (@typescript/ata)
v0.9.7Compare Source
Patch Changes
1d0af97Thanks@Renegade334! - Always treatnode:modules as Node, expand list of known Node modulesv0.9.6Compare Source
Patch Changes
#2977
7691811Thanks@curran! - Widen typescript peer dependency range#3000
71776aeThanks@antfu! - Handle.d.ctsand.d.mtsfiles#3002
fd776c0Thanks@antfu! - Fix return type ofsetupTypeAcquisitionv0.9.5Compare Source
Patch Changes
46eba14: Initial bump for changesetsvercel/nft (@vercel/nft)
v0.27.10Compare Source
Bug Fixes
v0.27.9Compare Source
Bug Fixes
v0.27.8Compare Source
Bug Fixes
v0.27.7Compare Source
Bug Fixes
v0.27.6Compare Source
Bug Fixes
@mapbox/node-pre-gyp@1.0.11(#451) (12116d2)v0.27.5Compare Source
Bug Fixes
geoip-lite(#446) (b3d2da0)v0.27.4Compare Source
Bug Fixes
module.registerdependencies (#429) (37b3c16), closes#428v0.27.3Compare Source
Bug Fixes
false(#427) (099608f), closes/github.com/inspect-js/object-inspect/blob/main/package.json#L82/github.com/inspect-js/object-inspect/blob/main/index.js#L68-L70v0.27.2Compare Source
Bug Fixes
v0.27.1Compare Source
Bug Fixes
@datadog/pprof(#419) (db6c65a)v0.27.0Compare Source
Features
v0.26.5Compare Source
Bug Fixes
v0.26.4Compare Source
Bug Fixes
v0.26.3Compare Source
Bug Fixes
v0.26.2Compare Source
Bug Fixes
>=16(#383) (adda8f4)v0.26.1Compare Source
Bug Fixes
v0.26.0Compare Source
Features
v0.25.0Compare Source
Features
v0.24.4Compare Source
Bug Fixes
v0.24.3Compare Source
Bug Fixes
v0.24.2Compare Source
Bug Fixes
v0.24.1Compare Source
Bug Fixes
v0.24.0Compare Source
Features
v0.23.1Compare Source
Bug Fixes
builtinModulesfrommodule(#358) (bcb71fd)v0.23.0Compare Source
Features
resolve()function (#354) (0da80c0)v0.22.6Compare Source
Bug Fixes
v0.22.5Compare Source
Bug Fixes
v0.22.1Compare Source
Patches
v0.22.0Compare Source
Changes
v0.21.0Compare Source
Minor Changes
fs-extraandgraceful-fs:#296Credits
Huge thanks to@kachkaev and@Brooooooklyn for helping!
v0.20.1Compare Source
Changes
node-pre-gypdependency:#299v0.20.0Compare Source
Changes
.jsx):#294v0.19.1Compare Source
Patches
v0.19.0Compare Source
Minor Changes
node:prefix:#285Credits
Huge thanks to@Rich-Harris for helping!
apollographql/apollo-server (apollo-server-micro)
v3.13.0Compare Source
v3.12.1Compare Source
v3.12.0Compare Source
v3.11.1Compare Source
v3.11.0Compare Source
v3.10.4Compare Source
v3.10.3Compare Source
v3.10.2Compare Source
v3.10.1Compare Source
v3.10.0Compare Source
v3.9.0Compare Source
troy351/emmet-monaco-es (emmet-monaco-es)
v5.5.0Compare Source
v5.4.0Compare Source
mdxlanguage#105, thanks to@remcohaszingv5.3.2Compare Source
v5.3.1Compare Source
v5.3.0Compare Source
ec12f37, fixed#110v5.2.2Compare Source
fixed compatibility with monaco-editor 0.37.0
734ea41v5.2.1Compare Source
7e3f116v5.2.0Compare Source
06c4e19v5.1.2Compare Source
5e444d6v5.1.1Compare Source
graphql/graphql-js (graphql)
v16.10.0: 16.10.0Compare Source
v16.10.0 (2024-12-15)
New Feature 🚀
extensionsin GraphQLFormattedError (@tpoisseau)Bug Fix 🐞
Docs 📝
10 PRs were merged
@oneOfin the graphql-js documentation (@JoviDeCroock)Internal 🏠
4 PRs were merged
Committers: 5
v16.9.0Compare Source
v16.9.0 (2024-06-21)
New Feature 🚀
@oneOfdirective (@benjie)Committers: 1
v16.8.2Compare Source
v16.8.2 (2024-06-12)
Bug Fix 🐞*#4022 fix: remove
globalThischeck and align with what bundlers can accept (@JoviDeCroock)Internal 🏠*#4104 Fix publish scripts (@benjie)
Committers: 2
v16.8.1Compare Source
v16.8.1 (2023-09-19)
Bug Fix 🐞
Committers: 1
v16.8.0Compare Source
v16.8.0 (2023-08-14)
New Feature 🚀
Committers: 1
v16.7.1Compare Source
v16.7.1 (2023-06-22)
📢 Big shout out to@phryneas, who managed to reproduce this issue and come up with this fix.
Bug Fix 🐞
process.env(@IvanGoncharov)Committers: 1
v16.7.0Compare Source
v16.7.0 (2023-06-21)
New Feature 🚀
Bug Fix 🐞
Committers: 3
v16.6.0Compare Source
v16.6.0 (2022-08-16)
New Feature 🚀
Bug Fix 🐞
Committers: 2
vercel/micro (micro)
v9.4.1Compare Source
Patches
https://www.npmjs.com/package/micro/v/9.4.1
v9.4.0Compare Source
Patches
62c1e0185d7bd6Other
https://www.npmjs.com/package/micro/v/9.4.0
nuxt/nuxt (nuxt)
v3.14.1592Compare Source
👉 Changelog
compare changes
🩹 Fixes
webpackbarwith support for rspack (#29823)dstto deduplicate templates when adding them ([#29895](https://redirect.githubConfiguration
📅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 PR becomes conflicted, or you tick the rebase/retry checkbox.
👻Immortal: This PR will be recreated if closed unmerged. Getconfig help if that's undesired.
This PR was generated byMend Renovate. View therepository job log.