Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update minor and patch dependencies for gatsby #38297

Merged
merged 3 commits into from
Jul 5, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
browserslist ^4.21.7 -> ^4.21.9 age adoption passing confidence
enhanced-resolve ^5.14.1 -> ^5.15.0 age adoption passing confidence
graphql ^16.6.0 -> ^16.7.1 age adoption passing confidence
graphql-http ^1.18.0 -> ^1.19.0 age adoption passing confidence
react-server-dom-webpack 0.0.0-experimental-c8b778b7f-20220825 -> 0.0.1 age adoption passing confidence
socket.io 4.6.1 -> 4.7.1 age adoption passing confidence
socket.io-client 4.6.1 -> 4.7.1 age adoption passing confidence
webpack ^5.85.0 -> ^5.88.1 age adoption passing confidence
webpack-stats-plugin ^1.1.1 -> ^1.1.3 age adoption passing confidence
xstate (source) ^4.37.2 -> ^4.38.0 age adoption passing confidence

Release Notes

browserslist/browserslist (browserslist)

v4.21.9

Compare Source

  • Fixed Opera Mobile edge cases (by Steve Repsher).

v4.21.8

Compare Source

  • Fixed supports query and mobileToDesktop (by Steve Repsher).
webpack/enhanced-resolve (enhanced-resolve)

v5.15.0

Compare Source

New Features

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/enhanced-resolve@v5.14.1...v5.15.0

graphql/graphql-js (graphql)

v16.7.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

v16.7.0

Compare Source

v16.7.0 (2023-06-21)

New Feature 🚀
Bug Fix 🐞
Committers: 3
graphql/graphql-http (graphql-http)

v1.19.0

Compare Source

Bug Fixes
  • use: process global is not available in all environments and NODE_ENV doesn't necessarily depict production vs. development (d08ead3)
Features
facebook/react (react-server-dom-webpack)

v0.0.0-experimental-fccf3a9fb-20230213

Compare Source

v0.0.0-experimental-fa4314841-20230502

Compare Source

v0.0.0-experimental-efb381bbf-20230505

Compare Source

v0.0.0-experimental-e40893d09-20221005

Compare Source

v0.0.0-experimental-e1dd0a2f5-20221115

Compare Source

v0.0.0-experimental-df12d7eac-20230510

Compare Source

v0.0.0-experimental-d962f35ca-20230418

Compare Source

v0.0.0-experimental-d1e35c703-20221110

Compare Source

socketio/socket.io (socket.io)

v4.7.1

Compare Source

The client bundle contains a few fixes regarding the WebTransport support.

Dependencies

v4.7.0

Compare Source

Bug Fixes
  • remove the Partial modifier from the socket.data type (#​4740) (e5c62ca)
Features
Support for WebTransport

The Socket.IO server can now use WebTransport as the underlying transport.

WebTransport is a web API that uses the HTTP/3 protocol as a bidirectional transport. It's intended for two-way communications between a web client and an HTTP/3 server.

References:

Until WebTransport support lands in Node.js, you can use the @fails-components/webtransport package:

import { readFileSync } from "fs";
import { createServer } from "https";
import { Server } from "socket.io";
import { Http3Server } from "@​fails-components/webtransport";

// WARNING: the total length of the validity period MUST NOT exceed two weeks (https://w3c.github.io/webtransport/#custom-certificate-requirements)
const cert = readFileSync("/path/to/my/cert.pem");
const key = readFileSync("/path/to/my/key.pem");

const httpsServer = createServer({
  key,
  cert
});

httpsServer.listen(3000);

const io = new Server(httpsServer, {
  transports: ["polling", "websocket", "webtransport"] // WebTransport is not enabled by default
});

const h3Server = new Http3Server({
  port: 3000,
  host: "0.0.0.0",
  secret: "changeit",
  cert,
  privKey: key,
});

(async () => {
  const stream = await h3Server.sessionStream("/socket.io/");
  const sessionReader = stream.getReader();

  while (true) {
    const { done, value } = await sessionReader.read();
    if (done) {
      break;
    }
    io.engine.onWebTransportSession(value);
  }
})();

h3Server.startServer();

Added in 123b68c.

Client bundles with CORS headers

The bundles will now have the right Access-Control-Allow-xxx headers.

Added in 63f181c.

Dependencies

v4.6.2

Compare Source

Bug Fixes
Dependencies
socketio/socket.io-client (socket.io-client)

v4.7.1

Compare Source

Some bug fixes are included from the engine.io-client package:

  • make closeOnBeforeunload default to false (a63066b)
  • webtransport: properly handle abruptly closed connections (cf6aa1f)
Dependencies

v4.7.0

Compare Source

Bug Fixes
  • properly report timeout error when connecting (5bc94b5)
  • use same scope for setTimeout and clearTimeout calls (#​1568) (f2892ab)
Features
Support for WebTransport

The Engine.IO client can now use WebTransport as the underlying transport.

WebTransport is a web API that uses the HTTP/3 protocol as a bidirectional transport. It's intended for two-way communications between a web client and an HTTP/3 server.

References:

For Node.js clients: until WebTransport support lands in Node.js, you can use the @fails-components/webtransport package:

import { WebTransport } from "@​fails-components/webtransport";

global.WebTransport = WebTransport;

Added in 7195c0f.

Cookie management for the Node.js client

When setting the withCredentials option to true, the Node.js client will now include the cookies in the HTTP requests, making it easier to use it with cookie-based sticky sessions.

import { io } from "socket.io-client";

const socket = io("https://example.com", {
  withCredentials: true
});

Added in 5fc88a6.

Conditional import of the ESM build with debug logs

By default, the ESM build does not include the debug package in the browser environments, because it increases the bundle size (see 16b6569).

Which means that, unfortunately, debug logs are not available in the devtools console, even when setting the localStorage.debug = ... attribute.

You can now import the build which includes the debug packages with a conditional import. Example with vite:

import { defineConfig } from 'vite'
import react from '@​vitejs/plugin-react'

export default defineConfig({
  plugins: [react()],
  server: {
    port: 4000
  },
  resolve: {
    conditions: ["development"]
  }
})

Reference: https://v2.vitejs.dev/config/#resolve-conditions

Added in 781d753.

Dependencies

v4.6.2

Compare Source

Bug Fixes
Dependencies
webpack/webpack (webpack)

v5.88.1

Compare Source

Developer Experience

Full Changelog: webpack/webpack@v5.88.0...v5.88.1

v5.88.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.87.0...v5.88.0

v5.87.0

Compare Source

New Features
Bug Fixes
Developer Experience
Dependencies & Maintenance
New Contributors

@​aboktor made their first contribution in #​16991 #​16989
@​silverwind made their first contribution in #​17339 via #​17329

Full Changelog: webpack/webpack@v5.86.0...v5.87.0

v5.86.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.85.1...v5.86.0

v5.85.1

Compare Source

Bug Fixes

Dependencies & Maintenance

Full Changelog: webpack/webpack@v5.85.0...v5.85.1

FormidableLabs/webpack-stats-plugin (webpack-stats-plugin)

v1.1.3

Compare Source

Patch Changes
  • Provenance Badge to NPM Addition (#​101)

v1.1.2

Compare Source

Patch Changes
  • Adding GitHub Action release workflow (#​98)
statelyai/xstate (xstate)

v4.38.0

Compare Source

Minor Changes
  • #​4098 ae7691811 Thanks @​davidkpiano! - The log, pure, choose, and stop actions were added to the main export:

    import { log, pure, choose, stop } from 'xstate';

Configuration

📅 Schedule: Branch creation - "before 7am on the first day of the month" in timezone GMT, 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. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot label Jul 1, 2023
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 1, 2023
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 3, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Jul 3, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@LekoArts LekoArts merged commit 544862b into master Jul 5, 2023
@LekoArts LekoArts deleted the renovate/gatsby-prod-minor branch July 5, 2023 06:34
This was referenced Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant