Skip to content
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

2.0.1 #265

Merged
merged 244 commits into from
Apr 8, 2024
Merged

2.0.1 #265

merged 244 commits into from
Apr 8, 2024

Conversation

nmathew98
Copy link
Owner

No description provided.

* feat: useQwery hook

* fix: proxy onChange for when a Promise is not returned, so onSuccess is not triggered
* types: rough types for useQweryOptions

* fix: with makeMonitoredFetch, if a fetch is not enabled then it returns void so don't initialize the crdt in this case. update useRememberScroll to not execute server side
* test: add tests for useQwery, csr and ssr

* chore: add gh actions
* fix: effects don't run in ssr so return initialValue if it is an object, up to client to await and use suspense or what not. also update renderSsr to remove window while calling ReactDOMServer

* test: adding tests for async caches

* style: remove unused import

* types: update types

* refactor: update QweryProvider

* style: double quotes
…ts (#239)

* feat(react,vue,solid,svelte,gqwery): request manager to dedupe requests

* style: lint

* fix(react,vue,svelte,solid,gqwery): failing tests and update gqwery exports

* feat: make RequestManager a singleton

* fix: optional request manager

* docs: adding comments

* refactor: export QweryRequestManager type

* types: update types for request store

* chore: export RequestManager
* feat(gqwery): fetch executor

* refactor: remove ability to specify a fetchFn
* feat(gqwery): support array of entities

* fix: every item in array has to be an entity

* fix: union types and lists

* fix: reassigning references for entities which already exist

* fix: update isMatch checks

* docs: comments for pluck

* test: tests for pluck

* fix: update creation of getter for entities

* refactor: simplify normalizeAndCache

* refactor: simplify normalizedCache

* refactor: simplify normalized cache more
* perf(gqwery): remove filter for entries

* refactor(gqwery): simplify pluck
* fix(gqwery): pluck and circular references

* fix(gqwery): update error message thrown

* test(gqwery): update test for error

* test(gqwery): update error message thrown
…et the merge from normalizeAndCache, otherwise just set (#257)
BREAKING CHANGE: Context is no longer just the cache store, request manager is also attached to it
* chore(react,vue,solid,svelte): update readme

* chore: update lockfile
@nmathew98 nmathew98 merged commit 573e7f8 into master Apr 8, 2024
1 check passed
@nmathew98 nmathew98 deleted the chore/2.0.1 branch April 8, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant