MessagesForMacintosh/JS/node_modules/apollo-utilities/CHANGELOG.md

3.0 KiB

CHANGELOG


NOTE: This changelog is no longer maintained. Changes are now tracked in the top level CHANGELOG.md.


1.0.16

1.0.15

  • No changes

1.0.14

  • Store key names generated by getStoreKeyName now leverage a more deterministic approach to handling JSON based strings. This prevents store key names from differing when using args like { prop1: 'value1', prop2: 'value2' } and { prop2: 'value2', prop1: 'value1' }. PR #2869
  • Avoid needless hasOwnProperty check in deepFreeze. PR #3545

1.0.13

  • Make maybeDeepFreeze a little more defensive, by always using Object.prototype.hasOwnProperty (to avoid cases where the object being frozen doesn't have its own hasOwnProperty). Issue #3426 PR #3418
  • Remove certain small internal caches to prevent memory leaks when using SSR. PR #3444

1.0.12

  • Not documented

1.0.11

  • toIdValue helper now takes an object with id and typename properties as the preferred interface PR #3159
  • Map coverage to original source
  • Don't deepFreeze in development/test environments if ES6 symbols are polyfilled PR #3082
  • Added ability to include or ignore fragments in getDirectivesFromDocument PR #3010

1.0.9

  • Dependency updates
  • Added getDirectivesFromDocument utility function PR #2974

1.0.8

  • Add client, rest, and export directives to list of known directives PR #2949

1.0.7

  • Fix typo in error message for invalid argument being passed to @skip or @include directives PR #2867

1.0.6

  • Update getStoreKeyName to support custom directives

1.0.5

  • Package dependency updates

1.0.4

  • Package dependency updates

1.0.3

  • Package dependency updates

1.0.2

  • Improved rollup builds

1.0.1

  • Added config to remove selection set of directive matches test

1.0.0

  • Added utilities from hermes cache
  • Added removeDirectivesFromDocument to allow cleaning of client only directives
  • Added hasDirectives to recurse the AST and return a boolean for an array of directive names
  • Improved performance of common store actions by memoizing addTypename and removeConnectionDirective