Commit d17b546
GraphiQL 5 (#3979)
* enter rc
* Revert "revert #3946 to have support …" (#3972)
This reverts commit 7054591.
* [1] various refactor after zustand migration (#3949)
* use execution store
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* default query
* persist headers
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* reduce rerenders
* add logs
* try
* cleanup
* cspell
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* fixes
* fixes
* fixes
* fixes
* fixes
* Delete .changeset/five-cars-roll.md
* Apply suggestions from code review
* Apply suggestions from code review
* Update .changeset/chilly-sloths-heal.md
* Update .changeset/chilly-sloths-heal.md
* Update .changeset/chilly-sloths-heal.md
* Update release.yml
* [2] remove `useQueryEditor`, `useVariableEditor`, `useHeaderEditor`, `useResponseEditor` hooks (#3950)
* use execution store
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* default query
* persist headers
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* reduce rerenders
* add logs
* try
* cleanup
* cspell
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* fixes
* fixes
* fixes
* fixes
* fixes
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* prettier
* upd
* move plugins check to store
* upd
* upd
* refactor
* refactor
* upd
* upd
* upd
* upd
* upd
* upd
* lint fix
* Delete .changeset/five-cars-roll.md
* Update .changeset/warm-shoes-boil.md
* fix build
* update yarn.lock
* [3] GraphiQL 5 x Monaco editor / Monaco-GraphQL / JSONC variables/headers (#3234)
* use execution store
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* default query
* persist headers
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* reduce rerenders
* add logs
* try
* cleanup
* cspell
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* fixes
* fixes
* fixes
* fixes
* fixes
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* prettier
* upd
* move plugins check to store
* upd
* upd
* refactor
* refactor
* upd
* upd
* upd
* upd
* upd
* upd
* lint fix
* all in one
* yarn lokc
* fix
* yarn.lock
* update babel.config.js
* fix tests
* Delete .changeset/five-cars-roll.md
* fix build
* fix netlify
* update changeset
* update yarn.lock
* polish
* polish
* Merge branch 'main' into graphiql-5
# Conflicts:
# yarn.lock
* Update soft-cars-notice.md (#3987)
* [4] Update graphiql examples, add GraphiQL 5 x Vite and GraphiQL 5 x Next.js examples (#3966)
* use execution store
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* default query
* persist headers
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* reduce rerenders
* add logs
* try
* cleanup
* cspell
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* fixes
* fixes
* fixes
* fixes
* fixes
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* prettier
* upd
* move plugins check to store
* upd
* upd
* refactor
* refactor
* upd
* upd
* upd
* upd
* upd
* upd
* lint fix
* all in one
* yarn lokc
* fix
* yarn.lock
* update babel.config.js
* fix tests
* update examples
* yarn.lock
* run yarn
* add changeset
* Delete .changeset/five-cars-roll.md
* upd snapshot
* trigger rebuild of netlify example
* should fix netlify
* and here
* upd yarn.lock
* ignore react and next.js example in changesets config.json
* Update chilly-sloths-heal.md
* Version Packages (rc) (#3981)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* merge conflicts
* merge conflicts
* graphiql 5: allow multiple independant instances on the same page (#3990)
* upd
* upd
* upd
* default query
* persist headers
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* reduce rerenders
* add logs
* try
* cleanup
* cspell
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* fixes
* fixes
* fixes
* fixes
* fixes
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* prettier
* upd
* move plugins check to store
* upd
* upd
* refactor
* refactor
* upd
* upd
* upd
* upd
* upd
* upd
* lint fix
* all in one
* yarn lokc
* fix
* yarn.lock
* update babel.config.js
* fix tests
* update examples
* yarn.lock
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* pick
* provider
* autocomplete leafs
* editors
* query editor
* upd
* upd
* upd
* useSynchronizeValue
* synchronizeActiveTabValues
* synchronizeActiveTabValues and setEditorValues
* storeTabs
* actions
* setOperationFacts
* cleanup
* move editor logic to provider
* add InnerGraphiQLProvider
* move editor logic
* move more
* move schema
* refactor plugins and graphiql
* upd
* upd
* swap isIntrospecting and isFetching
* cleanupDisposables
* lint
* add test-d typecheck test
* gitignore
* run yarn
* fix graphiql build
* use cn
* fix history tests
* fix tests
* types check pass
* run ayrn
* run ayrn
* tests pass
* upd
* Delete .changeset/five-cars-roll.md
* Update packages/graphiql-plugin-doc-explorer/src/components/__tests__/doc-explorer.spec.tsx
* fix run at cursor action
* add run action for response editor
* fix copy query action
* copy query
* fix prettify editors action
* fix merge query action
* polish
* move `getAutoCompleteLeafs`
* formatShortcutForOS
* formatShortcutForOS
* formatShortcutForOS
* remove on click reference from variable editor
* store on click reference in ref
* polish
* add changeset and allow override all default GraphiQL plugins
* upd
* better autocomplete for editor theme
* try fix tests
* merge conflicts and fix ClipboardItem is not defined
* fix vitest and e2e
* Update .changeset/beige-months-care.md
* upd setup-files
* upd monaco-editor mocks
* fix lint
* should works now!
* polish
* polish
* polish
* build pass on next 15.4
* remove unneeded actions
* merge conflicts
* Update .changeset/beige-months-care.md
* Update .changeset/beige-months-care.md
* rm next.js example because netlify fails
* Update config.json
* Version Packages (rc) (#3998)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: update graphiql-cdn example to show how to load workers with esm.sh (#3999)
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* debug go to definition issue on esm.sh
* allow alpha releases
* put monaco-editor/monaco-graphql as peerDep
* try initialize mode..
* try initialize mode..
* upd
* upd
* upd
* try
* use interface
* move to dependencies
* try
* try yet more time
* debug
* try browser field in package.json
* try browser field in package.json
* cleanup
* update cdn example
* update cdn example
* Update .changeset/dull-balloons-warn.md
* update cdn example
* Update .changeset/dull-balloons-warn.md
* graphiql 5: remove UMD builds (#4002)
* upd
* upd
* upd
* graphiql 5: remove `readOnly` prop, document `keyMap` prop was removed in migration guide (#4003)
* upd
* upd
* upd
* upd (#4004)
* graphiql 5: support `externalFragments` prop and remove `validationRules` prop (#4005)
* upd
* upd
* upd
* externalFragments
* externalFragments
* externalFragments
* remove unused types BaseSchemaConfig
IDisposable
JSONDiagnosticOptions
IEvent
FilePointer
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* add changeset
* cspell
* lint
* lint
* lint
* graphiql 5: push field type on stack too before field (#4006)
* push field type on stack too before field
* add comment
* graphiql 5: Use an additional `Alt` key for focus doc explorer search input instead of `Cmd/Ctrl+K` because monaco-editor has a built-in shortcut for `Cmd/Ctrl+K` (#4007)
* upd
* upd snapshots lines since graphql description was changed
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* polish
* polish
* polish
* graphiql 5: add f1 command as first item in shortcut table (#4008)
* add f1 command as first item in shortcut table
* add f1 command as first item in shortcut table
* rollback
* Version Packages (rc) (#4001)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: separate store actions from state, add `useGraphiQLActions` state (#4009)
* add f1 command as first item in shortcut table
* add f1 command as first item in shortcut table
* rollback
* refactor plugins
* refactor editor
* refactor execution
* refactor schema
* refactor schema
* export actions
* add SlicesWithActions
* add types tests
* execution
* lint
* editor refactoring
* avoid calling get() in set()
* fix state creators
* useGraphiQLActions
* add comment
* fix type errors
* fix type errors
* more types check
* more types check
* more types check
* upd
* add changeset
* Update editor.ts
* Version Packages (rc) (#4012)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* [graphiql 5] fix: save last opened plugin in storage (#4011)
* add f1 command as first item in shortcut table
* add f1 command as first item in shortcut table
* rollback
* refactor plugins
* refactor editor
* refactor execution
* refactor schema
* refactor schema
* export actions
* add SlicesWithActions
* add types tests
* execution
* lint
* editor refactoring
* avoid calling get() in set()
* fix state creators
* useGraphiQLActions
* add comment
* fix type errors
* fix type errors
* more types check
* more types check
* more types check
* upd
* add changeset
* Update editor.ts
* add initial values for execution store
* add initial values for plugin store
* add initial values for schema store
* add initial values for schema store
* external fragments
* external fragments
* add plugins
* polish
* polish
* polish
* polish
* polish
* polish
* polish
* polish
* polish
* polish
* polish
* polish
* polish
* add changeset
* fix cypress
* Version Packages (rc) (#4013)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: extract storage key constants (#4014)
* upd
* upd
* Version Packages (rc) (#4015)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: extract graphiql sidebar to react component (#4017)
* extract sidebar into component
* upd
* add changeset
* fix cypress
* Version Packages (rc) (#4018)
* Version Packages (rc)
* upd
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: run cypress tests in React strict mode (#4020)
* run cypress tests in React strict mode
* upd
* upd
* upd
* Update packages/graphiql/cypress/e2e/tabs.cy.ts
* Version Packages (rc) (#4021)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: set "importsNotUsedAsValues": "error" in tsconfig (#4025)
* upd
* upd
* upd
* upd
* upd
* set `"importsNotUsedAsValues": "error"` in tsconfig
* add changeset
* graphiql 5: fix GraphiQL 5 feedback (#4026)
* fix GraphiQL 5 feedback
* add deprecated.ts
* add more deprecated
* useExecutionContext
* usePluginContext
* useSchemaContext
* useStorageContext
* useHistoryContext
* useExplorerContext
* upd readme
* upd readme
* upd readme
* polish
* mention never rerender
* upd
* upd
* fix toolbar
* toolbar changes
* upd
* upd
* upd
* upd
* fix graphiql footer overflow
* add changeset
* add changeset
* prettier
* Version Packages (rc) (#4027)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: Remove `query`, `variables`, `headers` and `response` props from `<GraphiQL />` (#3735)
* changeset pre enter alpha
* [graphiql-react/graphiql] new looks of tabs (#3644)
* new looks of tabs
* add graphiql react too
* all fixes
* more polishing
* more
* more
* more
* more
* more
* prettier
* polish changeset
* disable shrinking while changing the operation name
* Update packages/graphiql-react/src/ui/tabs.css
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* yarn i
* apply new design changes
* prettier
* Update .changeset/thirty-spoons-call.md
* fix cypress
* this fix locally
---------
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* [2] GraphiQL x Vite v5 (#3679)
* new looks of tabs
* add graphiql react too
* all fixes
* more polishing
* more
* more
* more
* more
* more
* prettier
* polish changeset
* disable shrinking while changing the operation name
* Update packages/graphiql-react/src/ui/tabs.css
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* yarn i
* apply new design changes
* prettier
* vite
more
more
more
* fix demo
* fix cspell
* fix dev
* update cypress to v13
* upd cache key
* Update .changeset/thirty-spoons-call.md
* Update packages/graphiql/vite.config.mts
* merge
* add changeset
* yarn.lock
---------
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* [3] remove unused webpack deps (#3681)
* new looks of tabs
* add graphiql react too
* all fixes
* more polishing
* more
* more
* more
* more
* more
* prettier
* polish changeset
* disable shrinking while changing the operation name
* Update packages/graphiql-react/src/ui/tabs.css
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* yarn i
* apply new design changes
* prettier
* vite
more
more
more
* fix demo
* fix cspell
* fix dev
* update cypress to v13
* upd cache key
* remove webpack deps
* fix `yarn jest --coverage`
* Update .changeset/thirty-spoons-call.md
* Update packages/graphiql/vite.config.mts
* merge
* add changeset
* yarn.lock
* yarn.lock
---------
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* [4] update graphql to `16.9.0` and use vite `define` configuration to remove development code from cdn bundle (#3683)
* vite
more
more
more
* fix demo
* fix cspell
* fix dev
* update cypress to v13
* upd cache key
* remove webpack deps
* fix `yarn jest --coverage`
* upd graphql
* aa
* yarn.lock
* fix tests
* remove `data-testid="graphiql-container"` (#3688)
* commit `pre.json` until `graphiql-v4` will be added to list of authorized branches to deploy
* remove `graphiql-v4` from release.yml
* [v4] remove `disableTabs` option (#3687)
* remove `disableTabs` option
* format
* commit `pre.json`
* add `graphiql-v4` in release.yml
* [v4] prefer `location` over `window.location` and prefer `navigator` over `window.navigator` (#3692)
* [v4] remove `build.sh` and `checkgit.sh` (#3694)
* [v4] test umd build only on ci, locally test cdn.ts (#3693)
* test umd build only on ci, locally test cdn.ts
* Update custom-words.txt
* [v4] convert graphiql e2e server to ESM (#3697)
* aa
* fix netlify
* fix
* fix fails on ci
* [v4] update changeset for changed exports (#3700)
* [v4] generate types with `vite-plugin-dts` (#3702)
* generate types with `vite-plugin-dts`
* add types:check in prebuild
* more
* more
* more
* update vite
* upd
* use terser
* [v4] use `vite build --watch` instead of `vite` for `dev` script because we don't need development server for them (#3705)
* [v4] remove graphiql default export (#3706)
* aa
* aa
* polish
* [v4] fix netlify deploy (#3708)
* fix netlify deploy
* fix cypress
* change `style.css` imports (#3709)
* Update poor-ghosts-jump.md
* Version Packages (alpha) (#3689)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* [v4] show tabs even there is only 1 tab (#3713)
* aa
* aa
* fix unit tests
* fix cypress
* [v4] Remove `toolbar.additionalContent` and `toolbar.additionalComponent` props in favor of `GraphiQL.Toolbar` render props. (#3707)
* Version Packages (alpha) (#3714)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* [v4] use `position: absolute` for `.graphiql-logo` class (#3716)
* [v4] remove `createComponentGroup` utility in favour `Object.assign` (#3717)
* Version Packages (alpha) (#3718)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* [v4] fix merge conflicts with `main` (#3719)
* upgrade to graphql v17 including support for new incremental delivery format (#3682)
* add support for new incremental delivery format
* fix vitest
* add patch for graphql-js bug
submittes upstream with test at graphql/graphql-js#4160
* apply feedback
* move patches!
* some fixes
* fix netlify/cypress
* remove export
* update changeset
---------
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* Version Packages (#3715)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* prettier
* fix e2e
* update pr-graphql-compat-check.yml
* prettier
---------
Co-authored-by: Yaacov Rydzinski <yaacovCR@gmail.com>
Co-authored-by: Rikki Schulte <rikki.schulte@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* [v4] fix scrollbar appearing in sidebar (#3720)
* replace `overflow-y: scroll` with `overflow-y: auto`
* fix netlify graphql function
* Version Packages (alpha) (#3723)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* style: Don't convert single \n to <br> (#3414)
* Update development instructions
* Don't convert single \n to <br>
* Add changeset
* Update .changeset/olive-mice-hide.md
---------
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* [v4] some refactoring (#3726)
* some refactoring
* use `right: var(--px-16)` instead of `right: 0` for `.graphiql-logo`
* more
* try to fix
* fix join is not defined
* Update packages/graphiql/cypress/e2e/incremental-delivery.cy.ts
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
---------
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* [v4] polish `tabs.cy` tests, remove `.graphiql-session` class (#3728)
* aa
* aa
* aa
* aa
* fix tests
* [v4] rollback `position: absolute` style for `.graphiql-logo` because tabs will behind logo (#3730)
* Version Packages (alpha) (#3725)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add support for onPrettifyQuery callback to enable customised query formatting (#3733)
* aa
* prettifyyy
* Version Packages (alpha) (#3732)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* aa
* aa
* Apply suggestions from code review
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* upd
* upd
* Delete .changeset/breezy-chicken-crash.md
* Delete .changeset/add-on-prettify-callback.md
* Delete .changeset/few-steaks-clap.md
* Delete .changeset/flat-lies-heal.md
* Delete .changeset/gentle-bugs-mix.md
* Delete .changeset/green-pugs-worry.md
* Delete .changeset/good-vans-refuse.md
* Delete .changeset/metal-glasses-bow.md
* Delete .changeset/hungry-spiders-cheat.md
* Delete .changeset/old-zebras-knock.md
* Delete .changeset/orange-rivers-draw.md
* Delete .changeset/olive-mice-hide.md
* Delete .changeset/pink-moose-shake.md
* Delete .changeset/poor-ghosts-jump.md
* Delete .changeset/red-papayas-fly.md
* Delete .changeset/rich-jobs-kick.md
* Delete .changeset/serious-forks-sip.md
* Delete .changeset/strong-ears-bake.md
* Delete .changeset/spotty-bulldogs-confess.md
* Delete .changeset/thick-adults-leave.md
* Delete .changeset/weak-dancers-jog.md
* Delete .changeset/wicked-seas-laugh.md
* Delete .changeset/thirty-spoons-call.md
* Update .changeset/nasty-cows-train.md
* Update resources/custom-words.txt
* rollback
* rollback
* rollback
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* prettier
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* try isMounted
* Update packages/graphiql/cypress/e2e/headers.cy.ts
* Update packages/graphiql/src/e2e.ts
* fix tabs tests
* try
* improve use did update
* upd
* upd changeset
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd error message and changeset
* Update packages/graphiql/src/GraphiQL.spec.tsx
* Update packages/graphiql/src/GraphiQL.spec.tsx
* improve tsdoc comment
---------
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Rikki Schulte <rikki.schulte@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yaacov Rydzinski <yaacovCR@gmail.com>
Co-authored-by: Leonard Ehrenfried <mail@leonard.io>
* Version Packages (rc) (#4028)
* Version Packages (rc)
* run yarn
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
* graphiql 5: improve migration guide (#4029)
* improve migration guide
* upd
* upd
* upd
* upd
* upd
* prettier
* upd
* upd
* upd
* upd
* upd
* upd
* prettier
* exit changeset
* Version Packages (#4030)
* Version Packages
* run yarn
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
---------
Co-authored-by: Rikki Schulte <rikki.schulte@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yaacov Rydzinski <yaacovCR@gmail.com>
Co-authored-by: Leonard Ehrenfried <mail@leonard.io>1 parent a862358 commit d17b546
286 files changed
Lines changed: 8272 additions & 6751 deletions
File tree
- .changeset
- .github/workflows
- docs/migration
- examples
- graphiql-cdn
- graphiql-create-react-app
- public
- src
- graphiql-nextjs
- src/app
- graphiql-parcel
- src
- graphiql-vite
- public
- src
- graphiql-webpack
- src
- monaco-graphql-nextjs
- src
- app
- pages
- monaco-graphql-react-vite
- src
- monaco-graphql-webpack
- packages
- codemirror-graphql
- src/utils
- graphiql-plugin-code-exporter
- example
- src
- graphiql-plugin-doc-explorer
- __mocks__
- src
- components
- __tests__
- graphiql-plugin-explorer
- src
- graphiql-plugin-history
- __mocks__
- src
- __tests__
- graphiql-react
- __mocks__
- src
- components
- button-group
- button
- dialog
- execute-button
- markdown-content
- spinner
- tabs
- toolbar-button
- tooltip
- editor
- __tests__
- components
- style
- icons
- setup-workers
- stores
- style
- toolbar
- ui
- utility
- graphiql-toolkit/src/create-fetcher
- graphiql
- __mocks__
- cypress
- e2e
- support
- src
- setup-workers
- ui
- test
- graphql-language-service-server/src/__tests__
- graphql-language-service/src/utils
- monaco-graphql
- src
- typings
- test
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
145 | 157 | | |
146 | 158 | | |
147 | 159 | | |
| |||
171 | 183 | | |
172 | 184 | | |
173 | 185 | | |
174 | | - | |
| 186 | + | |
175 | 187 | | |
176 | 188 | | |
177 | 189 | | |
| |||
362 | 374 | | |
363 | 375 | | |
364 | 376 | | |
| 377 | + | |
365 | 378 | | |
366 | 379 | | |
367 | 380 | | |
| |||
374 | 387 | | |
375 | 388 | | |
376 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
377 | 397 | | |
378 | 398 | | |
379 | 399 | | |
| |||
388 | 408 | | |
389 | 409 | | |
390 | 410 | | |
| 411 | + | |
391 | 412 | | |
392 | 413 | | |
393 | 414 | | |
| |||
404 | 425 | | |
405 | 426 | | |
406 | 427 | | |
407 | | - | |
408 | | - | |
| 428 | + | |
409 | 429 | | |
410 | 430 | | |
411 | | - | |
| 431 | + | |
412 | 432 | | |
413 | 433 | | |
414 | 434 | | |
| |||
565 | 585 | | |
566 | 586 | | |
567 | 587 | | |
| 588 | + | |
568 | 589 | | |
569 | 590 | | |
570 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 49 | | |
| 50 | + | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
2 | 96 | | |
3 | 97 | | |
4 | 98 | | |
5 | 99 | | |
6 | 100 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
11 | 107 | | |
12 | 108 | | |
13 | | - | |
14 | | - | |
| 109 | + | |
15 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
0 commit comments