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

Update dependency @graphiql/plugin-explorer to ^0.3.5 #82

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 3, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphiql/plugin-explorer (source) ^0.1.15 -> ^0.3.5 age adoption passing confidence

Release Notes

graphql/graphiql (@​graphiql/plugin-explorer)

v0.3.5

Compare Source

Patch Changes

v0.3.4

Compare Source

Patch Changes

v0.3.3

Compare Source

Patch Changes

v0.3.2

Compare Source

Patch Changes

v0.3.1

Compare Source

Patch Changes

v0.3.0

Compare Source

Minor Changes
  • #​3330 bed5fc86 Thanks @​acao! - BREAKING CHANGE: fix lifecycle issue in plugin-explorer, change implementation pattern

    value and setValue is no longer an implementation detail, and are handled internally by plugins. the plugin signature has changed slightly as well.

    now, instead of something like this:

    import { useExplorerPlugin } from '@​graphiql/plugin-explorer';
    import { snippets } from './snippets';
    import { useExporterPlugin } from '@​graphiql/plugin-code-exporter';
    
    const App = () => {
      const [query, setQuery] = React.useState('');
      const explorerPlugin = useExplorerPlugin({
        query,
        onEdit: setQuery,
      });
      const codeExporterPlugin = useExporterPlugin({
        query,
        snippets,
      });
    
      const plugins = React.useMemo(
        () => [explorerPlugin, codeExporterPlugin],
        [explorerPlugin, codeExporterPlugin],
      );
    
      return (
        <GraphiQL
          query={query}
          onEditQuery={setQuery}
          plugins={plugins}
          fetcher={fetcher}
        />
      );
    };

    you can just do this:

    import { explorerPlugin } from '@&#8203;graphiql/plugin-explorer';
    import { snippets } from './snippets';
    import { codeExporterPlugin } from '@&#8203;graphiql/plugin-code-exporter';
    import { createGraphiQLFetcher } from '@&#8203;graphiql/toolkit';
    
    // only invoke these inside the component lifecycle
    // if there are dynamic values, and then use useMemo() (see below)
    const explorer = explorerPlugin();
    const exporter = codeExporterPlugin({ snippets });
    
    const fetcher = createGraphiQLFetcher({ url: '/graphql' });
    
    const App = () => {
      return <GraphiQL plugins={[explorer, exporter]} fetcher={fetcher} />;
    };

    or this, for more complex state-driven needs:

    import { useMemo } from 'react';
    import { explorerPlugin } from '@&#8203;graphiql/plugin-explorer';
    import { snippets } from './snippets';
    import { codeExporterPlugin } from '@&#8203;graphiql/plugin-code-exporter';
    
    const explorer = explorerPlugin();
    const fetcher = createGraphiQLFetcher({ url: '/graphql' });
    
    const App = () => {
      const { snippets } = useMyUserSuppliedState();
      const exporter = useMemo(
        () => codeExporterPlugin({ snippets }),
        [snippets],
      );
    
      return <GraphiQL plugins={[explorer, exporter]} fetcher={fetcher} />;
    };

v0.2.0

Compare Source

Minor Changes
Patch Changes
  • #​3319 2f51b1a5 Thanks @​LekoArts! - Use named Explorer import from graphiql-explorer to fix an issue where the bundler didn't correctly choose either the default or Explorer import. This change should ensure that @graphiql/plugin-explorer works correctly without graphiql-explorer being bundled.

v0.1.22

Compare Source

Patch Changes
  • #​3292 f86e4172 Thanks @​B2o5T! - fix umd build names graphiql-plugin-code-exporter.umd.js and graphiql-plugin-explorer.umd.js

v0.1.21

Compare Source

Patch Changes

v0.1.20

Compare Source

Patch Changes

v0.1.19

Compare Source

Patch Changes

v0.1.18

Compare Source

Patch Changes

v0.1.17

Compare Source

Patch Changes

v0.1.16

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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

@changeset-bot
Copy link

changeset-bot bot commented May 3, 2023

⚠️ No Changeset found

Latest commit: b075993

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented May 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ❌ Failed (Inspect) Apr 10, 2024 6:53pm

@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from c922788 to 2450491 Compare May 8, 2023 13:32
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.1.16 Update dependency @graphiql/plugin-explorer to ^0.1.17 May 8, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 2450491 to 71736bc Compare May 11, 2023 14:14
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.1.17 Update dependency @graphiql/plugin-explorer to ^0.1.18 May 11, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 71736bc to 749ddbc Compare May 23, 2023 19:10
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.1.18 Update dependency @graphiql/plugin-explorer to ^0.1.19 May 23, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 749ddbc to f263a61 Compare May 28, 2023 00:07
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.1.19 Update dependency @graphiql/plugin-explorer to ^0.1.20 May 28, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from f263a61 to 74696df Compare June 24, 2023 09:44
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.1.20 Update dependency @graphiql/plugin-explorer to ^0.1.21 Jun 24, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 74696df to 12a397f Compare June 26, 2023 20:20
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.1.21 Update dependency @graphiql/plugin-explorer to ^0.1.22 Jun 26, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 12a397f to 0d1a952 Compare July 4, 2023 09:37
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.1.22 Update dependency @graphiql/plugin-explorer to ^0.2.0 Jul 4, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 0d1a952 to 2e9d26f Compare July 11, 2023 17:08
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.2.0 Update dependency @graphiql/plugin-explorer to ^0.3.0 Jul 11, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 2e9d26f to 8f350c5 Compare July 14, 2023 14:02
@renovate renovate bot changed the title Update dependency @graphiql/plugin-explorer to ^0.3.0 Update dependency @graphiql/plugin-explorer to ^0.3.1 Jul 14, 2023
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 00fe14b to 501f0da Compare October 21, 2023 18:20
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 501f0da to 02f0dc1 Compare October 30, 2023 14:12
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 02f0dc1 to 694cc0c Compare January 15, 2024 02:31
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 694cc0c to 2cfb97b Compare January 17, 2024 13:25
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 2cfb97b to ff7de6e Compare January 17, 2024 13:27
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from ff7de6e to 8069719 Compare January 17, 2024 14:10
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 8069719 to 1995450 Compare January 17, 2024 14:13
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 1995450 to bd9d0d7 Compare January 17, 2024 14:21
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from bd9d0d7 to 50c895d Compare January 17, 2024 14:23
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 50c895d to 6dc1104 Compare January 25, 2024 15:33
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 6dc1104 to b075993 Compare January 25, 2024 15:35
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from b075993 to 29e2412 Compare February 26, 2024 17:23
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from 29e2412 to d2bec1b Compare February 26, 2024 19:30
@renovate renovate bot force-pushed the renovate/graphiql-plugin-explorer-0.x branch from d2bec1b to f83f12e Compare April 10, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants