Skip to content

Version 12.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 06 Oct 08:50
· 144 commits to master since this release

Major

  • Concurrent GraphQL operations with the same cache key no longer share the first request.

  • The GraphQL instance property operations type has changed:

    - object<GraphQLCacheKey, Promise<GraphQLCacheValue>>
    + object<GraphQLCacheKey, Array<Promise<GraphQLCacheValue>>>

Patch

  • Updated dev dependencies.
  • Improved the test utility promisifyEvent function.
  • Test the the GraphQL instance method operate option reloadOnLoad in isolation.
  • Test better the order of the GraphQL instance method operate triggered events.
  • Refactored the GraphQL instance method operate to eliminate the GraphQL private instance method fetch and reduce the chance of race conditions in consumer code.
  • Reduced the number of promises created by the GraphQL instance method operate when the reloadOnLoad and reloadOnLoad options are false.
  • Added a code example for how to await all loading GraphQL operations.
  • Used consistent JSDoc types for promises that resolve void.
  • Tweaked JSDoc.
  • Tweaked changelog entries.