Skip to content

Releases: apollographql/apollo-utils

@apollo/[email protected]

28 May 20:19
bc706f2
Compare
Choose a tag to compare

Minor Changes

@apollo/[email protected]

21 May 18:43
4a0d73a
Compare
Choose a tag to compare

Major Changes

@apollo/[email protected]

21 May 18:43
4a0d73a
Compare
Choose a tag to compare

Patch Changes

@apollo/[email protected]

02 Jan 18:21
b1e940a
Compare
Choose a tag to compare

Patch Changes

@apollo/[email protected]

02 Jan 18:27
3a2508f
Compare
Choose a tag to compare

Patch Changes

@apollo/[email protected]

22 Oct 18:57
031123e
Compare
Choose a tag to compare

Major Changes

@apollo/[email protected]

02 Aug 19:34
419aac0
Compare
Choose a tag to compare

Patch Changes

@apollo/[email protected]

09 May 23:40
03d8be1
Compare
Choose a tag to compare

Patch Changes

  • #435 9c3d761 Thanks @jerelmiller! - Better report errors that originate from Apollo Client during manifest generation.

  • #435 9c3d761 Thanks @jerelmiller! - Detect multiple operations during manifest generation and report them as errors.

@apollo/[email protected]

26 Feb 22:30
d0ceb57
Compare
Choose a tag to compare

Minor Changes

  • #414 b8b7d12 Thanks @jerelmiller! - Add ability to parse documents generated by GraphQL Codegen's persisted documents feature.

    // persisted-query-manifest.config.ts
    import { fromGraphQLCodegenPersistedDocuments } from "@apollo/generate-persisted-query-manifest";
    
    const config = {
      documents: fromGraphQLCodegenPersistedDocuments(
        "./path/to/persisted-documents.json",
      ),
    };
    
    export default config;
  • #412 c43f485 Thanks @jerelmiller! - Add ability to specify a custom document transform used during manifest generation.

    [!NOTE]
    You must be running Apollo Client 3.8.0 or greater to use this feature.

    [!IMPORTANT]
    This should be the same document transform that is passed to your ApolloClient instance, otherwise you risk mismatches in the query output.

    // persisted-query-manifest.config.ts
    import { PersistedQueryManifestConfig } from "@apollo/generate-persisted-query-manifest";
    import { DocumentTransform } from "@apollo/client/core";
    
    const documentTransform = new DocumentTransform((document) => {
      // transform your document
      return transformedDocument;
    });
    
    const config: PersistedQueryManifestConfig = {
      documentTransform,
    };
    
    export default config;

@apollo/[email protected]

08 Nov 18:35
3e4fe74
Compare
Choose a tag to compare

Minor Changes