-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Packages #3132
Merged
Merged
Version Packages #3132
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3132 +/- ##
=======================================
Coverage 98.79% 98.79%
=======================================
Files 131 131
Lines 2247 2247
Branches 455 455
=======================================
Hits 2220 2220
Misses 16 16
Partials 11 11 ☔ View full report in Codecov by Sentry. |
c1f0396
to
8f14c22
Compare
f00a313
to
099ed35
Compare
099ed35
to
39b9e68
Compare
640a653
to
d13a345
Compare
d13a345
to
fa9ed45
Compare
768868e
to
f9799e3
Compare
5342138
to
25cca20
Compare
25cca20
to
2f75ca8
Compare
b4275c4
to
8778ccb
Compare
d7e6397
to
71597e2
Compare
3672904
to
540fb78
Compare
021a3dc
to
03c2fe4
Compare
03c2fe4
to
9360860
Compare
ntucker
approved these changes
Jul 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.14.0
Minor Changes
#3141
d225595
Thanks @ntucker! - BREAKING CHANGE: setResponseAction.payload -> setResponseAction.responseThis only affects those writing custom Managers that
inspect
SET_RESPONSE_TYPE
action.payload
.Before
After
96f7eb0
Thanks @ntucker! - Renamed FETCH action.meta.createdAt to fetchedAt to be consistent with other actions likeSET_RESPONSE.
BREAKING CHANGE: fetchAction.meta.createdAt -> fetchAction.meta.fetchedAt
#3138
ee509fb
Thanks @ntucker! - Remove throttle from FETCH_TYPE actionBREAKING CHANGE: action.meta.throttle -> !action.endpoint.sideEffect
#3143
f4cf8a4
Thanks @ntucker! - action.meta.args -> action.args#3143
f4cf8a4
Thanks @ntucker! - Addactions
exportactions
is a namespace for all action creators. It is typicallypreferred to use Controller's type-safe dispatch methods, as
members of this namespace could have breaking changes in a minor release.
BREAKING CHANGE: Removed
createFetch
,createSet
,createSetResponse
from export. Use action.createFetch instead.#3141
d225595
Thanks @ntucker! - BREAKING CHANGE: remove fetchAction.payloadThis only affects those writing custom Managers that
inspect
FETCH_TYPE
action.fetch
.Before
After
#3143
f4cf8a4
Thanks @ntucker! - action.meta.key -> action.key#3139
9df0f7c
Thanks @ntucker! - Get rid of fetch action.meta.nm. This is not used anywhere.Patch Changes
3ffa454
Thanks @ntucker! - internal: Simplify fetchReducer code#3134
2ad1811
Thanks @ntucker! - Change Schema.normalizevisit()
interface; removing non-contextual arguments.This results in a 10% normalize performance boost.
The information needed from these arguments are provided by closing
visit()
around them.#3134
2ad1811
Thanks @ntucker! - Change Schema.normalize interface from direct data access, to using functions likegetEntity
We also add
checkLoop()
, which moves some logic in Entityto the core normalize algorithm.
#3134
2ad1811
Thanks @ntucker! - Change Schema.denormalizeunvisit
to have schema argument first.Updated dependencies [
2ad1811
,2ad1811
,2ad1811
,2ad1811
,2ad1811
,2ad1811
]:@data-client/endpoint@0.14.0
Minor Changes
#3134
2ad1811
Thanks @ntucker! - Change Schema.normalizevisit()
interface; removing non-contextual arguments.This results in a 10% normalize performance boost.
The information needed from these arguments are provided by closing
visit()
around them.#3134
2ad1811
Thanks @ntucker! - Change Schema.normalize interface from direct data access, to using functions likegetEntity
We also add
checkLoop()
, which moves some logic in Entityto the core normalize algorithm.
#3134
2ad1811
Thanks @ntucker! - Change Schema.denormalizeunvisit
to have schema argument first.Patch Changes
#3133
7bd322d
Thanks @ntucker! - Validate after marking cirucular reference loopsThis should not change any behavior as validate should be deterministic so if it fails
it will fail again and failure measure throwing which exits the whole stack.
This improves code grouping. (And possibly cache locality improvement - though didn't check.)
@data-client/graphql@0.14.0
Minor Changes
#3134
2ad1811
Thanks @ntucker! - Change Schema.normalizevisit()
interface; removing non-contextual arguments.This results in a 10% normalize performance boost.
The information needed from these arguments are provided by closing
visit()
around them.#3134
2ad1811
Thanks @ntucker! - Change Schema.normalize interface from direct data access, to using functions likegetEntity
We also add
checkLoop()
, which moves some logic in Entityto the core normalize algorithm.
#3134
2ad1811
Thanks @ntucker! - Change Schema.denormalizeunvisit
to have schema argument first.Patch Changes
2ad1811
,2ad1811
,2ad1811
,7bd322d
]:@data-client/normalizr@0.14.0
Minor Changes
#3134
2ad1811
Thanks @ntucker! - Change Schema.normalizevisit()
interface; removing non-contextual arguments.This results in a 10% normalize performance boost.
The information needed from these arguments are provided by closing
visit()
around them.#3134
2ad1811
Thanks @ntucker! - Change Schema.normalize interface from direct data access, to using functions likegetEntity
We also add
checkLoop()
, which moves some logic in Entityto the core normalize algorithm.
#3134
2ad1811
Thanks @ntucker! - Change Schema.denormalizeunvisit
to have schema argument first.#3134
2ad1811
Thanks @ntucker! - Change normalize() interfaceUsage
#3134
2ad1811
Thanks @ntucker! - Change denormalize() interfaceUsage
#3134
2ad1811
Thanks @ntucker! - Change MemoCache methods interface@data-client/react@0.14.0
Minor Changes
#3146
6325384
Thanks @ntucker! - Call fetches immediately - do not wait for idleNetworkManager will fetch
immediately, rather than waiting for idle. With React 18+ it is expected for
React to better handle work with concurrent mode and batching. Due to this, it
is not longer deemed the best performance to wait for idle and instead we should
fetch immediately.
IdlingNetworkManager
is still available to keep the previous behavior.Patch Changes
#3141
d225595
Thanks @ntucker! - BREAKING CHANGE: setResponseAction.payload -> setResponseAction.responseThis only affects those writing custom Managers that
inspect
SET_RESPONSE_TYPE
action.payload
.Before
After
#3143
f4cf8a4
Thanks @ntucker! - action.meta.args -> action.args#3134
2ad1811
Thanks @ntucker! - Change Schema.normalizevisit()
interface; removing non-contextual arguments.This results in a 10% normalize performance boost.
The information needed from these arguments are provided by closing
visit()
around them.#3141
d225595
Thanks @ntucker! - BREAKING CHANGE: remove fetchAction.payloadThis only affects those writing custom Managers that
inspect
FETCH_TYPE
action.fetch
.Before
After
#3134
2ad1811
Thanks @ntucker! - Change Schema.normalize interface from direct data access, to using functions likegetEntity
We also add
checkLoop()
, which moves some logic in Entityto the core normalize algorithm.
#3134
2ad1811
Thanks @ntucker! - Change Schema.denormalizeunvisit
to have schema argument first.8aabe18
Thanks @ntucker! - More robust requestIdleCallback wrapper#3143
f4cf8a4
Thanks @ntucker! - action.meta.key -> action.key#3139
9df0f7c
Thanks @ntucker! - Get rid of fetch action.meta.nm. This is not used anywhere.Updated dependencies [
d225595
,96f7eb0
,3ffa454
,ee509fb
,f4cf8a4
,f4cf8a4
,2ad1811
,d225595
,2ad1811
,2ad1811
,f4cf8a4
,9df0f7c
]:@data-client/rest@0.14.0
Minor Changes
#3134
2ad1811
Thanks @ntucker! - Change Schema.normalizevisit()
interface; removing non-contextual arguments.This results in a 10% normalize performance boost.
The information needed from these arguments are provided by closing
visit()
around them.#3134
2ad1811
Thanks @ntucker! - Change Schema.normalize interface from direct data access, to using functions likegetEntity
We also add
checkLoop()
, which moves some logic in Entityto the core normalize algorithm.
#3134
2ad1811
Thanks @ntucker! - Change Schema.denormalizeunvisit
to have schema argument first.Patch Changes
2ad1811
,2ad1811
,2ad1811
,7bd322d
]:@data-client/img@0.14.0
Patch Changes
#3134
2ad1811
Thanks @ntucker! - Expand peerdep support range to include ^0.14.0Updated dependencies [
2ad1811
,2ad1811
,2ad1811
,7bd322d
]:@data-client/ssr@0.12.14
Patch Changes
2ad1811
Thanks @ntucker! - Expand peerdep support range to include ^0.14.0@data-client/test@0.14.0
Patch Changes
#3141
d225595
Thanks @ntucker! - BREAKING CHANGE: setResponseAction.payload -> setResponseAction.responseThis only affects those writing custom Managers that
inspect
SET_RESPONSE_TYPE
action.payload
.Before
After
#3141
d225595
Thanks @ntucker! - BREAKING CHANGE: remove fetchAction.payloadThis only affects those writing custom Managers that
inspect
FETCH_TYPE
action.fetch
.Before
After
#3134
2ad1811
Thanks @ntucker! - Expand peerdep support range to include ^0.14.039471f5
Thanks @ntucker! - Add missing types export to @data-client/test/browserexample-benchmark@0.4.53
Patch Changes
d225595
,96f7eb0
,3ffa454
,ee509fb
,f4cf8a4
,f4cf8a4
,2ad1811
,d225595
,2ad1811
,2ad1811
,2ad1811
,2ad1811
,2ad1811
,f4cf8a4
,7bd322d
,9df0f7c
]:coinbase-lite@0.0.9
Patch Changes
d225595
,f4cf8a4
,2ad1811
,d225595
,2ad1811
,2ad1811
,6325384
,2ad1811
,8aabe18
,f4cf8a4
,9df0f7c
]:normalizr-github-example@0.1.36
Patch Changes
2ad1811
,2ad1811
,2ad1811
,2ad1811
,2ad1811
,2ad1811
,7bd322d
]:normalizr-redux-example@0.1.34
Patch Changes
2ad1811
,2ad1811
,2ad1811
,7bd322d
]:normalizr-relationships@0.1.36
Patch Changes
2ad1811
,2ad1811
,2ad1811
,2ad1811
,2ad1811
,2ad1811
,7bd322d
]: