Skip to content

Conversation

@schwma
Copy link
Member

@schwma schwma commented Jul 4, 2023

The dist filename of the GraphiQL Explorer Plugin changed upstream causing the CDN URL to need to be adjusted.

See: https://github.com/graphql/graphiql/releases/tag/%40graphiql%2Fplugin-explorer%400.2.0

@schwma schwma requested a review from a team as a code owner July 4, 2023 16:28
@johannes-vogel johannes-vogel merged commit 76ba892 into main Jul 5, 2023
@johannes-vogel johannes-vogel deleted the graphiql-plugin-explorer-cdn-path branch July 5, 2023 08:01
johannes-vogel added a commit that referenced this pull request Jul 5, 2023
* refactor: move graphiql GET route registration into `graphiql.js` (#98)

* Move graphiql GET route registration into graphiql.js

* Remove underscore prefix since function isn't private

* chore: prepare next release (#99)

* adapt urls and references to repo name (#100)

* feat: improved query logging  (#85)

* Don't log 'GET undefined' when missing query

* WIP improved request logger

* Add operationName and variables to object

* Extract request logger to own module

* Add changelog entry

* Reformat changelog entry

* Remove outdated changelog entry

* Remove padding after query

* Prettier format

* Log `operationName` and `variables` from URL query parameter

* Parse variables JSON string if taken from `req.query`

* Add typeof object short-circuiting before Object.keys

* Sanitize arguments and their values in production

* Reorder changelog entries

* Rename requestLogger to queryLogger

* Add query logging tests

* Rename `logger.test.js` to `logger-dev.test.js`

* Add test for log sanetization in production

* Prettier format

* Fix logger module path

* Fix truncation of nested variables

* Fix typo

* Move object formatting to only affect query info object

* Add and improve comments

* Log variables object as '***' in production

* Fix typo

* Use mocked instead of dummy auth

* Add dev logging tests to prod to ensure no unwanted values are sanitized

* Add tests that ensures literal values are not sanitized in dev

* Use `{color:false,depth:null}` options for formatting everywhere

* Prettier format

* Fix property name typo `color`->`colors` and helper function call

* Move changelog entries from added to changed section

---------

Co-authored-by: Johannes Vogel <31311694+johannes-vogel@users.noreply.github.com>

* fix: GraphiQL Explorer Plugin CDN URL (#101)

* Fix GraphiQL explorer plugin CDN URL

* Add changelog entry

* prepare 0.6.1 hotfix (#102)

* prepare 0.6.1 hotfix

* 0.6.1 in package.json

---------

Co-authored-by: Marcel Schwarz <marcel.schwarz@sap.com>
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.

3 participants