Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@data-client/core@0.15.0
Minor Changes
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate)We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Before
After
#3451
4939456
Thanks @ntucker! - state.entityMeta -> state.entitiesMeta#3394
d44d36a
Thanks @ntucker! - Change NetworkManager bookkeeping data structure for inflight fetchesBREAKING CHANGE: NetworkManager.fetched, NetworkManager.rejectors, NetworkManager.resolvers, NetworkManager.fetchedAt
-> NetworkManager.fetching
Before
After
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate)BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object.
We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments.
Before
After
Patch Changes
#3449
1f491a9
Thanks @ntucker! - Fix controller.get and controller.getQueryMeta 'state' argument types#3468
4dde1d6
Thanks @ntucker! - Improve performance of get/denormalize for small responsesUpdated dependencies [
4dde1d6
,246cde6
,4dde1d6
,939a4b0
,939a4b0
,66e1906
,1f491a9
,4dde1d6
,4939456
,25b153a
,4dde1d6
,1f491a9
]:@data-client/endpoint@0.15.0
Minor Changes
#3461
939a4b0
Thanks @ntucker! - Add delegate.INVALID to queryKeyThis is used in schema.All.queryKey().
Before
After
#3461
939a4b0
Thanks @ntucker! - Add delegate.invalidate() to normalizationBefore
After
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate)We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Before
After
#3468
4dde1d6
Thanks @ntucker! - delegate.getEntity(key) -> delegate.getEntities(this.key)Return value is a restricted interface with keys() and entries() iterator methods.
This applies to both schema.queryKey and schema.normalize method delegates.
Before
After
#3461
939a4b0
Thanks @ntucker! - RemoveINVALID
symbol exportSchemas can use delegate.invalidate() in normalize() or return delegate.INVALID in queryKey().
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate)BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object.
We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments.
Before
After
Patch Changes
#3449
1f491a9
Thanks @ntucker! - Fix: ensure string id in Entity set when process returns undefined (meaning INVALID)#3480
bab907c
Thanks @Tomaszal! - fix: export types needed for EntityMixin#3501
5699005
Thanks @ntucker! - Fix: schema.All() polymorphic handling of Invalidated entitiesIn case an Entity is invalidated, schema.All will continue to properly
filter it out of its list.
35552c7
Thanks @ntucker! - Include GPT link badge in readme@data-client/graphql@0.15.0
Minor Changes
#3461
939a4b0
Thanks @ntucker! - Add delegate.INVALID to queryKeyThis is used in schema.All.queryKey().
Before
After
#3461
939a4b0
Thanks @ntucker! - Add delegate.invalidate() to normalizationBefore
After
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate)We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Before
After
#3461
939a4b0
Thanks @ntucker! - RemoveINVALID
symbol exportSchemas can use delegate.invalidate() in normalize() or return delegate.INVALID in queryKey().
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate)BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object.
We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments.
Before
After
Patch Changes
#3449
1f491a9
Thanks @ntucker! - Fix: ensure string id in Entity set when process returns undefined (meaning INVALID)Updated dependencies [
1f491a9
,939a4b0
,939a4b0
,1f491a9
,4dde1d6
,bab907c
,5699005
,939a4b0
,1f491a9
,35552c7
]:@data-client/img@0.15.0
Minor Changes
769cb78
Thanks @ntucker! - Support 0.15 of @data-client/reactPatch Changes
b978362
Thanks @ntucker! - Update readme example to useSuspense()Updated dependencies [
1f491a9
,939a4b0
,939a4b0
,1f491a9
,4dde1d6
,bab907c
,5699005
,939a4b0
,1f491a9
,35552c7
]:@data-client/normalizr@0.15.0
Minor Changes
#3421
246cde6
Thanks @ntucker! - BREAKING CHANGE: Denormalize always transforms immutablejs entities into the classPreviously using ImmutableJS structures when calling denormalize() would maintain
nested schemas as immutablejs structures still. Now everything is converted to normal JS.
This is how the types have always been specified.
#3468
4dde1d6
Thanks @ntucker! - BREAKING: denormalize no longer detects ImmutableJS stateUse
/imm
exports to handle ImmutableJS stateBefore
After
#3461
939a4b0
Thanks @ntucker! - Add delegate.INVALID to queryKeyThis is used in schema.All.queryKey().
Before
After
#3461
939a4b0
Thanks @ntucker! - Add delegate.invalidate() to normalizationBefore
After
#3454
66e1906
Thanks @ntucker! - BREAKING CHANGE: MemoCache.query() and MemoCache.buildQueryKey() take state as one argumentBefore
After
Before
After
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate)We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Before
After
#3468
4dde1d6
Thanks @ntucker! - delegate.getEntity(key) -> delegate.getEntities(this.key)Return value is a restricted interface with keys() and entries() iterator methods.
This applies to both schema.queryKey and schema.normalize method delegates.
Before
After
#3451
4939456
Thanks @ntucker! - state.entityMeta -> state.entitiesMeta#3372
25b153a
Thanks @ntucker! - MemoCache.query returns{ data, paths }
just like denormalize.data
could be INVALIDBefore
After
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate)BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object.
We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments.
Before
After
Patch Changes
#3468
4dde1d6
Thanks @ntucker! - Add /imm exports path for handling ImmutableJS stateMemoCache
denormalize
non-memoized denormalize
#3468
4dde1d6
Thanks @ntucker! - Improve performance of get/denormalize for small responses@data-client/react@0.15.0
Minor Changes
#3459
997ca20
Thanks @ntucker! - BREAKING CHANGE: useDebounce() returns [val, isPending]This was previously exported in
@data-client/react/next
to make migrations easy. This willstill be available there.
Before
After
Before
After
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate)We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Before
After
#3451
4939456
Thanks @ntucker! - state.entityMeta -> state.entitiesMeta#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate)BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object.
We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments.
Before
After
Patch Changes
#3449
1f491a9
Thanks @ntucker! - Fix controller.get and controller.getQueryMeta 'state' argument types#3468
4dde1d6
Thanks @ntucker! - Improve performance of get/denormalize for small responses35552c7
Thanks @ntucker! - Include GPT link badge in readmeUpdated dependencies [
1f491a9
,1f491a9
,4939456
,d44d36a
,4dde1d6
,1f491a9
]:@data-client/rest@0.15.0
Minor Changes
#3461
939a4b0
Thanks @ntucker! - Add delegate.INVALID to queryKeyThis is used in schema.All.queryKey().
Before
After
#3461
939a4b0
Thanks @ntucker! - Add delegate.invalidate() to normalizationBefore
After
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate)We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Before
After
#3461
939a4b0
Thanks @ntucker! - RemoveINVALID
symbol exportSchemas can use delegate.invalidate() in normalize() or return delegate.INVALID in queryKey().
#3449
1f491a9
Thanks @ntucker! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate)BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object.
We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument.
Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments.
Before
After
Patch Changes
#3449
1f491a9
Thanks @ntucker! - Fix: ensure string id in Entity set when process returns undefined (meaning INVALID)35552c7
Thanks @ntucker! - Include GPT link badge in readmeUpdated dependencies [
1f491a9
,939a4b0
,939a4b0
,1f491a9
,4dde1d6
,bab907c
,5699005
,939a4b0
,1f491a9
,35552c7
]:@data-client/test@0.15.0
Minor Changes
#3394
d44d36a
Thanks @ntucker! - Change NetworkManager bookkeeping data structure for inflight fetchesBREAKING CHANGE: NetworkManager.fetched, NetworkManager.rejectors, NetworkManager.resolvers, NetworkManager.fetchedAt
-> NetworkManager.fetching
Before
After
769cb78
Thanks @ntucker! - Support 0.15 of @data-client/reactexample-benchmark@0.4.75
Patch Changes
4dde1d6
,246cde6
,1f491a9
,1f491a9
,4dde1d6
,939a4b0
,939a4b0
,66e1906
,1f491a9
,4dde1d6
,bab907c
,4939456
,d44d36a
,25b153a
,4dde1d6
,5699005
,939a4b0
,1f491a9
,35552c7
]:coinbase-lite@0.0.10
Patch Changes
1f491a9
,1f491a9
,997ca20
,939a4b0
,939a4b0
,1f491a9
,4939456
,b978362
,4dde1d6
,939a4b0
,769cb78
,1f491a9
,35552c7
]:normalizr-github-example@0.1.51
Patch Changes
4dde1d6
,246cde6
,1f491a9
,4dde1d6
,939a4b0
,939a4b0
,66e1906
,1f491a9
,4dde1d6
,bab907c
,4939456
,25b153a
,4dde1d6
,5699005
,939a4b0
,1f491a9
,35552c7
]:normalizr-redux-example@0.1.49
Patch Changes
4dde1d6
,246cde6
,1f491a9
,4dde1d6
,939a4b0
,939a4b0
,66e1906
,1f491a9
,4dde1d6
,bab907c
,4939456
,25b153a
,4dde1d6
,5699005
,939a4b0
,1f491a9
,35552c7
]:normalizr-relationships@0.1.51
Patch Changes
4dde1d6
,246cde6
,1f491a9
,4dde1d6
,939a4b0
,939a4b0
,66e1906
,1f491a9
,4dde1d6
,bab907c
,4939456
,25b153a
,4dde1d6
,5699005
,939a4b0
,1f491a9
,35552c7
]:test-bundlesize@0.1.1
Patch Changes
1f491a9
,1f491a9
,997ca20
,939a4b0
,939a4b0
,1f491a9
,4939456
,b978362
,4dde1d6
,939a4b0
,769cb78
,1f491a9
,35552c7
]: