0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
Commit graph

5,909 commits

Author SHA1 Message Date
Tanner Linsley
1d480c394d Update README.md 2020-05-05 12:01:35 -06:00
Tanner Linsley
911f123a8f v1.3.1 v1.3.1 2020-05-05 12:01:29 -06:00
Tanner Linsley
cbac04f35f chore: Test Semantic Release! 2020-05-05 11:25:59 -06:00
Tanner Linsley
7000e33b97 chore: Test semantic-release! 2020-05-05 11:16:43 -06:00
Rohit Garg
7e38bd2e7a
Semantic release support (#403)
* chore: Using semantic release for publishing and changelog generation

* sync master (#1)

sync master (#1)

* Semantic release support (#2)

chore: Using semantic release for publishing and changelog generation

* chore: Correcting action indentation

* build: test semantic release of react-query

* feat: A new feature

* fix: yarn install (#3)

* feat: renaming module for test

* feat: change pkg name

* chore: adding yarn install

* doc: revert vscode settings

* Update package.json
2020-05-05 11:02:56 -06:00
Dennis Oluoch
a9a7bc7c62
Fixed automatic call of onIntersect function in infite-scroll example (#449) 2020-05-05 11:02:30 -06:00
Costas Ioannou
d02413485a
fix typescript issue: force option not allowed in prefetchQuery (#448) 2020-05-05 08:56:51 -06:00
Andrew Cherniavskii
9bd077a6e3
fix isDataEqual dates comparison (#436)
* add tests

* format

* fix failing test
2020-05-05 08:55:55 -06:00
Kanitkorn Sujautra
4be9726b49
Add queryFnParamsFilter to useQuery API section in the readme (#441) 2020-05-04 13:26:49 -06:00
Gabriel Loiácono
f99e39e4fb
fix(utils): compare equals first to prevent error on null variables (#440)
* fix(utils): compare equals first on includes

* test(queryCache): added setQueryData updater test
2020-05-04 09:38:52 -06:00
Tanner Linsley
7031167cb6
Update README.md 2020-05-02 23:07:30 -06:00
Tanner Linsley
7cce707a32 Update Types 2020-05-01 16:49:02 -06:00
Tanner Linsley
ff5595b98f v1.3.0 2020-05-01 11:50:15 -06:00
Tanner Linsley
21ace4c49d Update CHANGELOG.md 2020-05-01 11:48:33 -06:00
Tanner Linsley
89bec20393 Use deep equal to compare incoming data for referential stability
Fixes #430
2020-05-01 11:43:38 -06:00
Tanner Linsley
1353c420d1 Trigger side-effects for non-mounted queries too
Fixes #357
2020-05-01 10:14:05 -06:00
Tanner Linsley
7d786c7631 Fix suspense double rendering
Fixes #324
2020-05-01 09:53:13 -06:00
Simon Carpinter
c83bb19607
test that Suspense mode calls queryFn only once (#325)
Co-authored-by: Simon Carpinter <simon.carpinter@charge.net.nz>
2020-05-01 08:49:58 -06:00
Andrew Cherniavskii
43e223ac1f
Fix refetchInterval infinite loop (#404)
* use queryRef to avoid infinite loop in refetch interval effect

* fix original config being mutated by config from another hook instance

* store refetchIntervalId and fix refetchInterval comparison

* clear query.currentRefetchInterval on cleanup
2020-04-30 21:16:11 -06:00
Andrew Bazhanov
6bf1f300f6
types: add isStale to query results (#422) 2020-04-29 10:00:07 -06:00
hiramatsutaku
de67ab7527
Fix typo (#410) 2020-04-26 09:31:32 -06:00
Krasimir Nedew
0a66bab348
fix: edge case when refetching infinite query (#409) 2020-04-26 09:29:49 -06:00
Krasimir Nedew
9cd7a3578f
fix: rebuild cursors on infinite query refetch (#408)
* fix: rebuild cursors on infinite query refetch

* update the infinite query docs about refetching
2020-04-26 09:19:34 -06:00
TC Schiller
a8fbacd583
Ensure useIntersectionObserver hook only reruns on target.current updates (#406) 2020-04-25 19:17:10 -06:00
allcontributors[bot]
24bac238bb
docs: add tibotiber as a contributor (#387)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-04-21 08:15:00 -06:00
Alex Lockhart
652567be0b
Update CachedQuery to add type to state member (#386) 2020-04-21 08:13:29 -06:00
Thibaut Tiberghien
da81b9f635
add note to the docs about shared options (#384) 2020-04-20 22:32:58 -06:00
Tanner Linsley
7d6b9fb57e v1.2.9 2020-04-20 11:44:56 -06:00
Andrew Cherniavskii
1467ac14c5
add homepage to package.json (#383) 2020-04-20 11:43:20 -06:00
Andrew Cherniavskii
8a19f6cc23
Use jest node environment instead of mocking window object for SSR tests (#382)
* use jest node environment instead of mocking window object

* clear query cache after each test

* remove unnecessary test cleanup
2020-04-20 11:29:34 -06:00
Tanner Linsley
f1ca0a1970 Update README.md 2020-04-20 11:04:57 -06:00
Tanner Linsley
2a5294f9f2 v1.2.8 v1.2.8 2020-04-20 09:56:42 -06:00
Tanner Linsley
76199778a0 Fix timeouts to not fire in server-like evironments
Fixes #381
2020-04-20 09:55:53 -06:00
Daniel Schmidt
3eafb40cec
types: add retry function to query options (#380) 2020-04-20 07:58:47 -06:00
Andrew Cherniavskii
dd52f77e84
add unit test for cacheTime: Infinity (#378) 2020-04-19 13:50:44 -06:00
Andrew Cherniavskii
5f1e3a52ec
include scripts in npm package (#377) 2020-04-19 13:50:24 -06:00
Tanner Linsley
5559b447db Update README formatting 2020-04-18 10:29:56 -06:00
Tanner Linsley
12ef20032d Remove Jump2Header 2020-04-18 10:09:28 -06:00
Tanner Linsley
0b54fecee8 Merge branch 'master' of https://github.com/tannerlinsley/react-query 2020-04-18 10:01:59 -06:00
Tanner Linsley
69d4e94bde 1.2.7 - Add Typscript Type Definitions 2020-04-18 10:00:55 -06:00
allcontributors[bot]
a0a7023cf0
docs: add cherniavskii as a contributor (#369)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-04-18 09:58:48 -06:00
Przemyslaw Kalisiewicz
62119c4897
Extract status for the easier readability in simple example - docs (#367) 2020-04-18 08:46:23 -06:00
Rohit Garg
b89aebeb60
Adding all-contributors support (#366) 2020-04-18 08:45:41 -06:00
Avi Press
8a6ec246de
Update @scarf/scarf version to ^1.0.0 (#363) 2020-04-16 23:15:26 -06:00
Tanner Linsley
218cd73aa3 Prefetch next page! 2020-04-16 16:11:41 -06:00
Tanner Linsley
07daf3fc8a v1.2.6 2020-04-16 09:19:12 -06:00
Tanner Linsley
70c7b00479 Fix issue where isLoading === true when falsey query key supplied
Fixes #360
2020-04-16 09:17:56 -06:00
Tanner Linsley
9fa8336c73 Update README.md 2020-04-15 09:49:48 -06:00
Tanner Linsley
0fb1621de8 Update README.md 2020-04-15 09:48:23 -06:00
Tanner Linsley
6db2cd3951 v1.2.5 2020-04-15 09:41:38 -06:00