Skip to content

Latest commit

 

History

History
484 lines (291 loc) · 33.6 KB

CHANGELOG.md

File metadata and controls

484 lines (291 loc) · 33.6 KB

Changelog

4.13.1

Patch Changes

  • #1378 02e6fba Thanks @jerelmiller! - Fix intermittent issue where data would not show up in the devtools after refreshing the page while the Apollo devtools panel is open.

  • #1375 7267351 Thanks @jerelmiller! - Use Object.defineProperty to register legacy clients to avoid the need to search for the client in a loop in initialization.

4.13.0

Minor Changes

  • #1373 23a8cf6 Thanks @jerelmiller! - Show connected Apollo Client version in the devtools. Hovering over the version gives you the release notes for that version, or the pull request information if its a snapshot release.

4.12.4

Patch Changes

4.12.3

Patch Changes

4.12.2

Patch Changes

4.12.1

Patch Changes

4.12.0

Minor Changes

  • #1348 3aba499 Thanks @jerelmiller! - Add a new button that makes it easier to report an issue in GitHub from the devtools.

Patch Changes

4.11.6

Patch Changes

4.11.5

Patch Changes

4.11.4

Patch Changes

4.11.3

Patch Changes

4.11.2

Patch Changes

4.11.1

Patch Changes

  • #1303 df0d242 Thanks @jerelmiller! - Fix issue where terminating the client by calling .stop would not disconnect it from devtools making it difficult to track newly created clients.

4.11.0

Minor Changes

  • #1286 11309f3 Thanks @phryneas! - Change transpilation target to create a smaller and more modern DevTools build.

4.10.1

Patch Changes

  • #1287 052f242 Thanks @phryneas! - Move access to the gql helper into the background worker to reduce size of injected JavaScript.

4.10.0

Minor Changes

  • #1281 badb1f9 Thanks @phryneas! - Add the ability for devtools to provide full error and log messages without the need to need to call loadDevMessages or loadErrorMessages.

Patch Changes

4.9.1

Patch Changes

  • #1278 e886145 Thanks @jerelmiller! - Fix issue with error serialization when sending an error back through the message passing system. Unfortunately the raw error instance was lost in this process. This fix retains the error message when sending error messages in rpc calls.

4.9.0

Minor Changes

  • #1256 28140d8 Thanks @jerelmiller! - Introduce rpc utilities to communicate between the extension scripts. Migrate the call to get client data into the devtools to use the rpc utilities.

4.8.3

Patch Changes

  • #1264 66c05ae Thanks @phryneas! - Enable "@typescript-eslint/consistent-type-imports" lint rule

  • #1265 df5300f Thanks @phryneas! - Use relative-CI to monitor build artefact sizes

  • #1268 4c98879 Thanks @jerelmiller! - Revert change that removed JSON stringify on the entire set of client data. This is a followup to #1259 which only partially fixed the issue.

4.8.2

Patch Changes

4.8.1

Patch Changes

  • #1245 cb22c6f Thanks @jerelmiller! - Don't JSON.stringify the Apollo Client instance data before sending it in the message payload when communicating between the various parts of the devtools extension. This was mostly redundant since message passing already relies on the structured clone algorithm.

  • #1249 a36f59d Thanks @jerelmiller! - Merge the tabRelay script with the tab script by extracting the body of the Promise callback into tab.ts. This behavior was no longer needed.

4.8.0

Minor Changes

  • #1232 8ce6fef Thanks @jerelmiller! - Changes the tab injection mechanism for better compatibility with websites that might have issues with hydration mismatches when using the old injection mechanism.

4.7.0

Minor Changes

  • #1226 7c89199 Thanks @jerelmiller! - Rework the message passing between all areas of the devtools to provide more stability. In particular, the message passing has changed in the following ways:

    • All messages now contain a source property set to apollo-client-devtools. This avoids potential clashes with events emitted from window that had nothing to do with the devtools. This also means that apps or other utilities that listen to messages on window know where the message originates.
    • Strengthen the relationship in the background scripts between the tab and devtools ports.
    • Add much better type safety for all messages sent through the various areas of the devtools.

Patch Changes

4.6.0

Minor Changes

4.5.0

Minor Changes

  • #1220 efcd415 Thanks @jerelmiller! - Change the devtools behavior to always create a panel regardless of whether an Apollo Client instance can be found. This ensures the panel can at least be reached even if the inter-extension communiation is flaky, or our client detection mechanism is buggy. This should help alleviate the large number of reports that the devtools is simply broken.

    To provide more helpful feedback during usage, status messages are now displayed to show that the devtools is acively trying to locate the client. When a client instance is not found, a helpful dialog is now shown with troubleshooting steps to try and help resolve the issue.

4.4.3

Patch Changes

  • #1202 a36a3b7 Thanks @jerelmiller! - Remove action-hook-fired event that was triggered with nothing listening. This change meant that the __actionHookForDevTools callback did nothing. This has now been disabled to avoid adding an extra onBroadcast listener on the client.

4.4.2

Patch Changes

  • #1198 5d75744 Thanks @jerelmiller! - Stop broadcasting messages that aren't listened to by the extension.

    • client-found
    • panel-open
    • panel-closed
  • #1197 7e9f4ec Thanks @jerelmiller! - Fix font size of code blocks to match new Apollo design system.

4.4.1

Patch Changes

4.4.0

Minor Changes

  • #1180 3a5d8dd Thanks @jerelmiller! - Update to new Apollo branding and color scheme. Includes layout improvements and reduces some information redundancy.

4.3.1

Patch Changes

4.3.0

Minor Changes

  • #1164 f57d124 Thanks @phryneas! - Change the tab script injection mechanism for better compatibility with websites that might see hydration mismatches with the old injection mechanism.

4.2.3

Patch Changes

  • #1128 576efe6 Thanks @alessbell! - Adds settings modal that displays the current devtools version with a link to the GitHub release page

  • #1097 0c3e8ec Thanks @alessbell! - Remove unused files broadcastQueries.js and link.js.

4.2.2

Patch Changes

4.2.1

Patch Changes

4.2.0

Minor Changes

Patch Changes

  • #1072 0d16b8e Thanks @jerelmiller! - Upgrade @emotion/react to v11.11.1 to get access to updated TypeScript types

  • #1073 bc0cd51 Thanks @jerelmiller! - Upgrade to TypeScript v5

  • #1056 ddaec3d Thanks @jerelmiller! - Improve searching the cache by filtering the list of cache ids that match the search term and highlight the matched substring. This change removes the matching against the cache values as that was difficult to determine why a match occurred.

  • #1085 61540a8 Thanks @alessbell! - Fix scrolling bug introduced when making sidebar expandable.

4.1.6

Patch Changes

4.1.5

Patch Changes

  • #745 d6cb6f4 Thanks @renovate! - Bumps graphql dependency to v16

  • #1038 72292ca Thanks @phryneas! - Make the devtools <> client registration mechanism more robust. Also lays the groundwork for registering multiple Apollo Client instances in the future.

4.0.0 (2021-10-15)

  • This release introduces a significant functionality change: GraphiQL and GraphiQL Explorer have been removed and replaced with an embedded version of Apollo Studio's Explorer. This means many of the more advanced features of Apollo Studio's Explorer are now available to run against your application's defined GraphQL endpoint, all from the comfort of a browser devtools panel. This change does not require you to have a Studio account and all existing GraphiQL / GraphiQL Explorer functionality has been replicated. @mayakoneval in #660

3.0.5 (2021-04-29)

  • Fix issues caused by auto-prettying graphiql operations, which can lead to the cursor jumping around in the graphiql editor.
    @hwillson in #541
  • Make sure fragment imports are properly resolved.
    @hwillson in #542

3.0.4 (2021-04-04)

  • Fix an issue where removing a field in graphiql caused a panel crash.
    @hwillson in #508

3.0.3 (2021-04-03)

  • Make sure null and boolean values are rendered properly in the Cache tree.
    @alexTayanovsky in #446
  • Delay the loading / initialization of Apollo Client on each browser tab until it is really needed.
    @hwillson in #479
  • Make sure variables are copied to the GraphiQL panel when using the "Run in GraphiQL" button.
    @hwillson in #491
  • Make sure queries missing document details aren't attempted to be used.
    @yrambler2001 in #500

3.0.2 (2021-03-17)

  • Update the @apollo/client dep to make sure >= 0.7.0 of ts-invariant is used, to pull in a fix that makes sure window.process remains writable.
    @hwillson in #463

3.0.1 (2021-03-15)

  • Update the @apollo/client dep to make sure >= 0.6.2 of ts-invariant is used, to pull in a fix that makes sure window.process remains writable.
    @hwillson in #460

3.0.0 (2021-03-02)

  • Apollo Client Devtools 3.0 is a ground up behind the scenes re-write that is focused on modernizing the codebase, making it easier to maintain and add new features to moving forward. It includes a new UI that aligns more closely with other Apollo tools like Apollo Studio, and numerous integration/performance enhancements to better communicate with Apollo Client. The specific changes in this release are too numerous to list here, and are mostly internal, but for those interested in the details the majority of the changes can be seen in #292.

2.3.5 (2020-12-18)

2.3.4 (2020-12-14)

  • Add interval to check for updates; resolves non-updating cache issue
    @jcreighton in #321

2.3.3 (2020-10-30)

2.3.2 (2020-10-29)

2.3.1 (2020-06-02)

2.3.0 (2020-05-28)

  • Support for Apollo Client 3 🎉 + fixes local state detection
    @hwillson in #263

2.2.5 (2019-09-13)

2.2.4

  • Fix to enable scrolling on the explorer sidebar.
    @RIP21 in #217

2.2.3

  • Integrate OneGraph's GraphiQL Explorer.
    @sgrove in #199
  • Make sure devtools can be used when the transport layer is websockets only.
    @kamerontanseli in #163
  • Debounce broadcast messages to improve devtools responsiveness and memory usage.
    @thomassuckow in #173
  • Gracefully handle a failed version compatibility check.
    @mjlyons in #201
  • Increase timeout when checking whether to display the devtools panel.
    @Gongreg in #203
  • Fully reload devtools when a page reload happens, to make sure it is reconnected to the current Apollo Client instance properly.
    @hwillson in #205

2.2.1 & 2.2.2

  • Fixes an issue preventing scrolling from working properly in Chrome 72 and up.
    @scfoxcode in #193

2.2.0

2.1.9

2.1.8

2.1.7

2.1.5

  • Fixes a query name parsing issue that lead to a blank page showing when viewing the queries panel.
    @hwillson in #149

2.1.4

2.1.3

  • fixed styling of mutation list
  • Allow to use query.metadata.component.displayName (#126)
  • Fixed mutation run in GraphiQL button (#127)
  • Fixed bug where query.queryString did not exist (#125)
  • Update vendor GraphiQL styles & fix autocomplete styling (#123)

2.1.0

  • rebuilt with new architecture
  • initial local schema support (when using cache)
  • initial subscription support
  • improved dark theme

< 2.1.0

  • We didn't keep a changelog :-(