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

chore(deps): bump apollo-upload-client and @types/apollo-upload-client #1330

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 15, 2024

Bumps apollo-upload-client and @types/apollo-upload-client. These dependencies needed to be updated together.
Updates apollo-upload-client from 17.0.0 to 18.0.1

Release notes

Sourced from apollo-upload-client's releases.

Version 18.0.1

Patch

  • Corrected the function createUploadLink option uri type, fixing #316.
  • Prefixed unused parameters with _, fixing #317.
  • Fixed a typo in the changelog entry for v18.0.0.

Version 18.0.0

Major

  • Updated Node.js support to ^18.15.0 || >=20.4.0.

  • Updated the @apollo/client peer dependency to ^3.8.0.

  • Updated the extract-files dependency to v13.

    • React Native is no longer supported out of the box.

      The class ReactNativeFile is no longer exported, or matched by the function isExtractableFile.

      This class was bloating non React Native environments with an extra module, increasing bundle sizes when building and adding an extra step to ESM loading waterfalls in browsers.

      It’s the responsibility of Facebook to adhere to web standards and implement spec-complaint Blob, File, and FormData globals in the React Native environment.

      To migrate, React Native projects that are unable to use the standard globals can manually implement a class ReactNativeFile and match it with a custom function isReactNativeFile for use with the function createUploadLink option isExtractableFile.

    • “Plain” objects in the GraphQL operation that aren’t Object instances (e.g. Object.create(null)) are now also deep cloned when searching for extractable files.

  • Updated dev dependencies, some of which require newer Node.js versions than previously supported.

  • Use the Node.js test runner API and remove the dev dependency test-director.

  • Refactored tests to use the standard AbortController, AbortSignal, File, FormData, and Response APIs available in modern Node.js and removed the dev dependencies abort-controller, formdata-node, and node-fetch.

  • Public modules are now individually listed in the package files and exports fields.

  • Removed the package main index module; deep imports must be used. To migrate:

    - import {
    -   createUploadLink,
    -   formDataAppendFile,
    -   isExtractableFile
    - } from "apollo-upload-client";
    + import createUploadLink from "apollo-upload-client/createUploadLink.mjs";
    + import formDataAppendFile from "apollo-upload-client/formDataAppendFile.mjs";
    + import isExtractableFile from "apollo-upload-client/isExtractableFile.mjs";
  • Shortened public module deep import paths, removing the /public/. To migrate:

    - import createUploadLink from "apollo-upload-client/public/createUploadLink.js";
    + import createUploadLink from "apollo-upload-client/createUploadLink.mjs";
    
    import formDataAppendFile from "apollo-upload-client/public/formDataAppendFile.js";

... (truncated)

Changelog

Sourced from apollo-upload-client's changelog.

18.0.1

Patch

  • Corrected the function createUploadLink option uri type, fixing #316.
  • Prefixed unused parameters with _, fixing #317.
  • Fixed a typo in the changelog entry for v18.0.0.

18.0.0

Major

  • Updated Node.js support to ^18.15.0 || >=20.4.0.

  • Updated the @apollo/client peer dependency to ^3.8.0.

  • Updated the extract-files dependency to v13.

    • React Native is no longer supported out of the box.

      The class ReactNativeFile is no longer exported, or matched by the function isExtractableFile.

      This class was bloating non React Native environments with an extra module, increasing bundle sizes when building and adding an extra step to ESM loading waterfalls in browsers.

      It’s the responsibility of Facebook to adhere to web standards and implement spec-complaint Blob, File, and FormData globals in the React Native environment.

      To migrate, React Native projects that are unable to use the standard globals can manually implement a class ReactNativeFile and match it with a custom function isReactNativeFile for use with the function createUploadLink option isExtractableFile.

    • “Plain” objects in the GraphQL operation that aren’t Object instances (e.g. Object.create(null)) are now also deep cloned when searching for extractable files.

  • Updated dev dependencies, some of which require newer Node.js versions than previously supported.

  • Use the Node.js test runner API and remove the dev dependency test-director.

  • Refactored tests to use the standard AbortController, AbortSignal, File, FormData, and Response APIs available in modern Node.js and removed the dev dependencies abort-controller, formdata-node, and node-fetch.

  • Public modules are now individually listed in the package files and exports fields.

  • Removed the package main index module; deep imports must be used. To migrate:

    - import {
    -   createUploadLink,
    -   formDataAppendFile,
    -   isExtractableFile
    - } from "apollo-upload-client";
    + import createUploadLink from "apollo-upload-client/createUploadLink.mjs";
    + import formDataAppendFile from "apollo-upload-client/formDataAppendFile.mjs";
    + import isExtractableFile from "apollo-upload-client/isExtractableFile.mjs";
  • Shortened public module deep import paths, removing the /public/. To migrate:

    - import createUploadLink from "apollo-upload-client/public/createUploadLink.js";
    + import createUploadLink from "apollo-upload-client/createUploadLink.mjs";

... (truncated)

Commits
  • 5e6d5c1 Version 18.0.1.
  • 0274489 Correct the function createUploadLink option uri type.
  • 5c21ed6 Prefix unused parameters with _.
  • f44feaf Fix a typo in the changelog entry for v18.0.0.
  • 0b7551c Version 18.0.0.
  • dc323d3 Update the package.json field repository to conform to new npm requirements.
  • e3db4c2 Add a new option print for the function createUploadLink.
  • 37dbf10 Refactor example code in the readme.
  • 4a60069 Integrat the ESLint plugin eslint-plugin-optimal-modules.
  • 1490df4 Use the Node.js test runner API and remove the dev dependency test-director.
  • Additional commits viewable in compare view

Updates @types/apollo-upload-client from 17.0.2 to 18.0.0

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 15, 2024
@joonatank
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-multi-f5f8ff15f7 branch from 4fe5a12 to d068621 Compare August 16, 2024 03:45
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-multi-f5f8ff15f7 branch 2 times, most recently from e4a7d19 to 971650b Compare September 3, 2024 12:30
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-multi-f5f8ff15f7 branch 2 times, most recently from 85433b6 to 0c7adfe Compare September 10, 2024 13:28
@joonatank
Copy link
Contributor

@dependabot rebase

Bumps [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client) and [@types/apollo-upload-client](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/apollo-upload-client). These dependencies needed to be updated together.

Updates `apollo-upload-client` from 17.0.0 to 18.0.1
- [Release notes](https://github.com/jaydenseric/apollo-upload-client/releases)
- [Changelog](https://github.com/jaydenseric/apollo-upload-client/blob/master/changelog.md)
- [Commits](jaydenseric/apollo-upload-client@v17.0.0...v18.0.1)

Updates `@types/apollo-upload-client` from 17.0.2 to 18.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/apollo-upload-client)

---
updated-dependencies:
- dependency-name: apollo-upload-client
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/apollo-upload-client"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-main-multi-f5f8ff15f7 branch from 0c7adfe to c58aff2 Compare October 22, 2024 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant