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): update graphqlcodegenerator monorepo #2747

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/cli (source) 5.0.0 -> 5.0.2 age adoption passing confidence
@graphql-codegen/client-preset (source) 4.1.0 -> 4.3.3 age adoption passing confidence
@graphql-codegen/introspection (source) 4.0.0 -> 4.0.3 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

dotansimha/graphql-code-generator (@​graphql-codegen/cli)

v5.0.2

Compare Source

Patch Changes

v5.0.1

Compare Source

Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/client-preset)

v4.3.3

Compare Source

Patch Changes

v4.3.2

Compare Source

Patch Changes

v4.3.1

Compare Source

Patch Changes

v4.3.0

Compare Source

Minor Changes
  • #​10001 1be6e65 Thanks @​n1ru4l! - Support discriminating null and undefined within the useFragment function.

    function MyComponent(props: FragmentType<typeof MyFragment> | null) {
      const data = useFragment(MyFragment, props);
      // data is `MyFragment | null`
    }
    
    function MyComponent(props: FragmentType<typeof MyFragment> | undefined) {
      const data = useFragment(MyFragment, props);
      // data is `MyFragment | undefined`
    }

    Before, the returned type from useFragment was always TType | null | undefined.

  • #​9804 5e594ef Thanks @​rachel-church! - Preserving Array<T> or ReadonlyArray<T> in useFragment() return type.

Patch Changes
  • #​9996 99f449c Thanks @​nahn20! - Added configuration to allow for custom hash functions for persisted documents in the client preset
Example
import { type CodegenConfig } from '@&#8203;graphql-codegen/cli';

const config: CodegenConfig = {
  schema: 'schema.graphql',
  documents: ['src/**/*.tsx'],
  generates: {
    './src/gql/': {
      preset: 'client',
      presetConfig: {
        persistedDocuments: {
          hashAlgorithm: operation => {
            const shasum = crypto.createHash('sha512');
            shasum.update(operation);
            return shasum.digest('hex');
          },
        },
      },
    },
  },
};

v4.2.6

Compare Source

Patch Changes

v4.2.5

Compare Source

Patch Changes

v4.2.4

Compare Source

Patch Changes

v4.2.3

Compare Source

Patch Changes

v4.2.2

Compare Source

Patch Changes

v4.2.1

Compare Source

Patch Changes

v4.2.0

Compare Source

Minor Changes
Patch Changes
dotansimha/graphql-code-generator (@​graphql-codegen/introspection)

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

Patch Changes

v4.0.1

Compare Source

Patch Changes

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. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • New Features
    • Released version 0.36.0 of the Synapse Interface package, bringing enhancements and improvements.
    • Introduced a new bridge type, Rfq, to enhance transaction categorization.
    • Expanded DateResultByChain type to include new optional properties: blast, linea, and scroll, improving data handling across various blockchain platforms.
  • Bug Fixes
    • Updated dependencies likely include fixes and performance enhancements to improve package functionality.

bd46e2f: synapse-interface preview link
8d45006: synapse-interface preview link
a2da7d9: synapse-interface preview link
050bc62: synapse-interface preview link
2d7bb34: synapse-interface preview link
61639a7: synapse-interface preview link
7c943ce: synapse-interface preview link
11dcfe7: synapse-interface preview link
355e284: synapse-interface preview link
12cd7d8: synapse-interface preview link
15d5736: synapse-interface preview link
72a3ed1: synapse-interface preview link
08001ca: synapse-interface preview link
687d532: synapse-interface preview link

Copy link
Contributor

coderabbitai bot commented Jun 20, 2024

Walkthrough

The @synapsecns/synapse-interface package has been updated to version 0.36.0, indicating a new release. This update includes enhancements in the dependency versions of GraphQL Code Generator packages, specifically updating @graphql-codegen/cli, @graphql-codegen/client-preset, and @graphql-codegen/introspection. Additionally, new enumerations and properties were added to improve data representation, including the introduction of Rfq to existing enums and new optional properties for a type.

Changes

File Change Summary
.../package.json Version updated from 0.35.x to 0.36.0; dependencies updated: @graphql-codegen/cli from 5.0.0 to 5.0.2, @graphql-codegen/client-preset from 4.1.0 to 4.3.3, and @graphql-codegen/introspection from 4.0.0 to 4.0.3.
.../slices/api/generated.ts Added new value Rfq to BridgeType and ContractType enums; expanded DateResultByChain type with new optional properties: blast, linea, and scroll.

Poem

🐰 In the garden of code, we bounce with delight,
A new version blooms, oh what a sight!
With sprightly updates, our tools shine bright,
Hopping through bugs, everything feels right.
Dependencies dance, performance takes flight,
Let's cheer for progress, our future is bright! 🎉


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 31.47943%. Comparing base (ef021dc) to head (438187a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@                 Coverage Diff                 @@
##              master       #2747         +/-   ##
===================================================
+ Coverage   31.41151%   31.47943%   +0.06792%     
===================================================
  Files            419         418          -1     
  Lines          27127       27078         -49     
  Branches          82          82                 
===================================================
+ Hits            8521        8524          +3     
+ Misses         17798       17747         -51     
+ Partials         808         807          -1     
Flag Coverage Δ
packages 90.56974% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from 271ee17 to 7c5dbd6 Compare June 25, 2024 21:46
Copy link

cloudflare-workers-and-pages bot commented Jun 25, 2024

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: 438187a
Status: ✅  Deploy successful!
Preview URL: https://dc370d99.sanguine-fe.pages.dev
Branch Preview URL: https://renovate-synapse-interface-g.sanguine-fe.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch 4 times, most recently from 8f05eb5 to 44d7724 Compare June 27, 2024 20:44
@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch 4 times, most recently from 4d3c7eb to eccc95f Compare July 3, 2024 19:06
Copy link

codecov bot commented Jul 3, 2024

Bundle Report

Changes will decrease total bundle size by 25 bytes ⬇️

Bundle name Size Change
sdk-router-@synapsecns/sdk-router-cjs 117.19kB 0 bytes
sdk-router-@synapsecns/sdk-router-esm 254.83kB 0 bytes
synapse-interface-server-cjs 1.53MB 11 bytes ⬇️
synapse-interface-edge-server-array-push 83 bytes 0 bytes
synapse-interface-client-array-push 7.46MB 14 bytes ⬇️

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from eccc95f to bc4f711 Compare July 5, 2024 11:27
@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch 6 times, most recently from b2c3957 to 69f269d Compare July 17, 2024 19:28
@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch 2 times, most recently from c632f05 to bd3bb64 Compare July 23, 2024 18:51
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c439779 and 9086c3e.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Additional comments not posted (4)
packages/synapse-interface/package.json (4)

3-3: Confirm version update and verify associated changes.

The package version has been updated to 0.35.0. Ensure that all changes associated with this version are documented and tested.


99-99: Verify compatibility for @graphql-codegen/cli update.

The version has been updated to 5.0.2. Ensure compatibility and test any changes introduced in this update.


101-101: Verify compatibility for @graphql-codegen/introspection update.

The version has been updated to 4.0.3. Ensure compatibility and test any changes introduced in this update.


100-100: Verify compatibility for @graphql-codegen/client-preset update.

The version has been updated to 4.3.3. Ensure compatibility with the current codebase, especially regarding ESM environments and custom hash functions.

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from 9086c3e to 0cec389 Compare August 13, 2024 20:47
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 9086c3e and 0cec389.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/synapse-interface/package.json

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from 0cec389 to 5f6abb6 Compare August 13, 2024 21:07
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0cec389 and 5f6abb6.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/synapse-interface/package.json

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from 5f6abb6 to e3ccf06 Compare August 14, 2024 17:30
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 5f6abb6 and e3ccf06.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/synapse-interface/package.json

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from e3ccf06 to 7574f37 Compare August 15, 2024 18:40
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between e3ccf06 and 7574f37.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/synapse-interface/package.json

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from 7574f37 to 7022b32 Compare August 16, 2024 19:20
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7574f37 and 7022b32.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/synapse-interface/package.json

@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from 7022b32 to d1f456e Compare August 19, 2024 22:18
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 7022b32 and d1f456e.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Additional comments not posted (4)
packages/synapse-interface/package.json (4)

3-3: Version update approved.

The package version has been incremented from 0.34.7 to 0.35.0, indicating a new release. This change aligns with the PR objectives.


99-99: Dependency update approved: @graphql-codegen/cli.

The @graphql-codegen/cli package has been updated from 5.0.0 to 5.0.2. This minor version bump likely includes bug fixes and improvements.


100-100: Dependency update approved: @graphql-codegen/client-preset.

The @graphql-codegen/client-preset package has been updated from 4.1.0 to 4.3.3. This update resolves runtime errors in ESM environments and adds support for custom hash functions.


101-101: Dependency update approved: @graphql-codegen/introspection.

The @graphql-codegen/introspection package has been updated from 4.0.0 to 4.0.3. This patch version bump likely includes bug fixes and minor improvements.

| datasource | package                        | from  | to    |
| ---------- | ------------------------------ | ----- | ----- |
| npm        | @graphql-codegen/cli           | 5.0.0 | 5.0.2 |
| npm        | @graphql-codegen/client-preset | 4.1.0 | 4.3.3 |
| npm        | @graphql-codegen/introspection | 4.0.0 | 4.0.3 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from d1f456e to ff085a3 Compare August 26, 2024 02:46
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between d1f456e and ff085a3.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • packages/synapse-interface/package.json

@bigboydiamonds bigboydiamonds force-pushed the renovate/synapse-interface-graphqlcodegenerator-monorepo branch from d6f65ae to ff085a3 Compare August 26, 2024 19:07
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between ff085a3 and d6f65ae.

Files selected for processing (1)
  • packages/synapse-interface/slices/api/generated.ts (4 hunks)
Additional comments not posted (3)
packages/synapse-interface/slices/api/generated.ts (3)

139-139: LGTM! Verify the usage of the new properties.

The new properties blast, linea, and scroll enhance the flexibility and extensibility of the data structures used in the application. Ensure that these new properties are handled correctly in the codebase.

The code changes are approved.

Run the following script to verify the usage of the new properties:

Also applies to: 151-151, 157-157


115-115: LGTM! Verify the usage of the new enum value.

The new value Rfq enhances the categorization of contract types. Ensure that this new value is handled correctly in the codebase.

The code changes are approved.

Run the following script to verify the usage of the new enum value:


94-94: LGTM! Verify the usage of the new enum value.

The new value Rfq enhances the categorization of bridge transactions. Ensure that this new value is handled correctly in the codebase.

The code changes are approved.

Run the following script to verify the usage of the new enum value:

@abtestingalpha abtestingalpha marked this pull request as ready for review August 26, 2024 19:50
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between d6f65ae and 438187a.

Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing (1)
  • packages/synapse-interface/package.json (1 hunks)
Files skipped from review due to trivial changes (1)
  • packages/synapse-interface/package.json

@abtestingalpha abtestingalpha merged commit 224606f into master Aug 26, 2024
38 checks passed
@abtestingalpha abtestingalpha deleted the renovate/synapse-interface-graphqlcodegenerator-monorepo branch August 26, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants