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/[email protected]
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 typesUpdated dependencies [
246cde6
,939a4b0
,939a4b0
,66e1906
,1f491a9
,4939456
,25b153a
,1f491a9
]:@data-client/[email protected]
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)#3480
bab907c
Thanks @Tomaszal! - fix: export types needed for EntityMixin@data-client/[email protected]
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
,bab907c
,939a4b0
,1f491a9
]:@data-client/[email protected]
Minor Changes
769cb78
Thanks @ntucker! - Support 0.15 of @data-client/reactPatch Changes
1f491a9
,939a4b0
,939a4b0
,1f491a9
,bab907c
,939a4b0
,1f491a9
]:@data-client/[email protected]
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.
#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
#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
@data-client/[email protected]
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 typesUpdated dependencies [
1f491a9
,1f491a9
,4939456
,d44d36a
,1f491a9
]:@data-client/[email protected]
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
,bab907c
,939a4b0
,1f491a9
]:@data-client/[email protected]
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/react[email protected]
Patch Changes
246cde6
,1f491a9
,1f491a9
,939a4b0
,939a4b0
,66e1906
,1f491a9
,bab907c
,4939456
,d44d36a
,25b153a
,939a4b0
,1f491a9
]:[email protected]
Patch Changes
1f491a9
,1f491a9
,997ca20
,939a4b0
,939a4b0
,1f491a9
,4939456
,939a4b0
,769cb78
,1f491a9
]:[email protected]
Patch Changes
246cde6
,1f491a9
,939a4b0
,939a4b0
,66e1906
,1f491a9
,bab907c
,4939456
,25b153a
,939a4b0
,1f491a9
]:[email protected]
Patch Changes
246cde6
,1f491a9
,939a4b0
,939a4b0
,66e1906
,1f491a9
,bab907c
,4939456
,25b153a
,939a4b0
,1f491a9
]:[email protected]
Patch Changes
246cde6
,1f491a9
,939a4b0
,939a4b0
,66e1906
,1f491a9
,bab907c
,4939456
,25b153a
,939a4b0
,1f491a9
]:[email protected]
Patch Changes
1f491a9
,1f491a9
,997ca20
,939a4b0
,939a4b0
,1f491a9
,4939456
,939a4b0
,769cb78
,1f491a9
]: