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

Version Packages (beta) #10907

Merged
merged 1 commit into from
May 26, 2023
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 22, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-3.8, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

release-3.8 is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on release-3.8.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@apollo/client@3.8.0-beta.0

Minor Changes

  • #10887 f8c0b965d Thanks @phryneas! - Add a new mechanism for Error Extraction to reduce bundle size by including
    error message texts on an opt-in basis.
    By default, errors will link to an error page with the entire error message.
    This replaces "development" and "production" errors and works without
    additional bundler configuration.
    Bundling the text of error messages and development warnings can be enabled by

    import { loadErrorMessages, loadDevMessages } from '@apollo/client/dev';
    if (process.env.NODE_ENV !== 'production') {
      loadErrorMessages();
      loadDevMessages();
    }
  • #10509 79df2c7ba Thanks @jerelmiller! - Add the ability to specify custom GraphQL document transforms. These transforms are run before reading data from the cache, before local state is resolved, and before the query document is sent through the link chain.

    To register a custom document transform, create a transform using the DocumentTransform class and pass it to the documentTransform option on ApolloClient.

    import { DocumentTransform } from '@apollo/client';
    
    const documentTransform = new DocumentTransform((document) => {
      // do something with `document`
      return transformedDocument;
    });
    
    const client = new ApolloClient({ documentTransform: documentTransform });

    For additional documentation on the behavior and API of DocumentTransform, see the pull request.

Patch Changes

  • #10891 ab42a5c08 Thanks @laverdet! - Fixes a bug in how multipart responses are read when using @defer. When reading a multipart body, HttpLink no longer attempts to parse the boundary (e.g. "---" or other boundary string) within the response data itself, only when reading the beginning of each mulitpart chunked message.

  • #10916 ea75e18de Thanks @alessbell! - Remove experimental labels from hooks, move to beta.

@github-actions github-actions bot force-pushed the changeset-release/release-3.8 branch 2 times, most recently from e871cee to 575451f Compare May 26, 2023 15:57
@github-actions github-actions bot changed the title Version Packages (alpha) Version Packages (beta) May 26, 2023
@github-actions github-actions bot force-pushed the changeset-release/release-3.8 branch 2 times, most recently from 6a27a89 to 4c6fd21 Compare May 26, 2023 16:26
@github-actions github-actions bot force-pushed the changeset-release/release-3.8 branch from 4c6fd21 to 551a812 Compare May 26, 2023 16:32
@jerelmiller jerelmiller merged commit a445e44 into release-3.8 May 26, 2023
@alessbell alessbell deleted the changeset-release/release-3.8 branch May 26, 2023 16:47
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants