0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

5,264 commits

Author SHA1 Message Date
Tanner Linsley
66190c4109 release: v4.3.3 2022-09-11 09:39:48 +00:00
Dominik Dorfmeister
6af7b9a1ca fix(publish): make sure we can release transitive dependency packages v4.3.3
RELEASE_ALL
2022-09-11 11:34:58 +02:00
Tanner Linsley
1cfaa55787 release: v4.3.2 2022-09-11 08:58:00 +00:00
Vitalii Hopaniuk
f828528c93
fix(types): change MutateOptions return types to void (#4133) v4.3.2
* Docs: Update mutate options description

* fix(types): change MutateOptions return types to void

* fix(types): undo context param type change for mutate onSuccess

* style: run prettier for types
2022-09-11 10:52:07 +02:00
Tanner Linsley
0c276467ad release: v4.3.1 2022-09-10 10:22:51 +00:00
Dominik Dorfmeister
41ad9a2ddc
fix: force release v4.3.1
RELEASE_ALL
2022-09-10 12:17:14 +02:00
Tanner Linsley
61e47913cf release: v4.3.0 2022-09-10 10:11:28 +00:00
Dominik Dorfmeister
ea80700c2c
feat: ESM support (#4092) v4.3.0
* fix: restore missing `exports` declarations (#3892)

* fix: restore missing `exports` declarations

* fix: restore package.json exports[C

* fix: reexport types used by vue-query

* fix: react-native uSES usage

* fix: emit mjs for esm

* fix: uSES build

* fix: devtools exports to allow devtools in prod

* fix: cjs and esm build bundled to lib dir

* fix: sideEffect in react-query, better files paths

* fix: generate declarations to lib

* fix: lint and tests

* fix: use the same ts build method for tests

* fix: change force prod import

* fix: subpackage dependencies (#4013)

* fix: umd-build (#3924)

* - Fix UMD build getting overwritten
- Updating "browser" field for @tanstack/react-query-devtools

* Updating the "browser" field to be the same as "main"

* release: v4.0.11-beta.0

* release: v4.0.11-beta.1

* fix(react-query-devtools): cjs devtools fallback (#4048)

* release: v4.0.11-beta.2

* fix: remove browser entry, fix umd size (#4044)

* fix: remove browser entry, fix umd size

* fix: bundle query-core with react-query for umd

* fix: remove missed browser entry

* chore: remove 'browser' field from package validation

because it doesn't exist anymore

* release: v4.0.11-beta.3

* release: v4.0.11-beta.4

* chore: react-query should be a peerDependency of the devtools

* release: v4.0.11-beta.5

* release: v4.3.0-beta.0

* fix: webpack 4 fallback to cjs (#4069)

* fix: publish script shouldn't check against module anymore

* fix: publish script

I don't think we can have single quotes in commit message when passing them to --notes

* release: v4.3.0-beta.2

* release: v4.3.0-beta.3

* fix: umd build size, force prod devtools (#4074)

* fix: umd build size

* fix: devtools force production

* release: v4.3.0-beta.4

* release: v4.3.0-beta.5

* fix: reintroduce production export (#4090)

* release: v4.3.0-beta.6

* fix(react-query-devtools): always useEffect for the mounted check

no effect runs on the server, and there is no real advantage to useLayoutEffect on the client; somehow, this dynamic check creates problems with the production build of the devtools

* release: v4.3.0-beta.7

* docs: document devtools in production

* docs: document devtools in production

* docs: document devtools in production

nodenext needs 4.7

* fix: support react-native (#4125)

* fix: support react-native

* chore: remove banner from build

Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
Co-authored-by: John Daly <john.daly2@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
2022-09-10 12:06:42 +02:00
Dhruv Jain
f231f8ca6f
docs: fix comment in comparison doc (#4137) 2022-09-09 12:57:46 +02:00
João Pedro Magalhães
ebd657064b
docs: query keys consistency (#4122) 2022-09-06 09:49:19 +02:00
Ross Gardiner
21eef3ca1b
docs: Fix link to Mutations page from Queries page (#4123) 2022-09-06 09:49:01 +02:00
David Jebing
292f021aa1
docs(migration-guide): multiline codemod commands (#4116) 2022-09-03 10:51:13 +02:00
Dominik Dorfmeister
f6f211fd57
docs(examples): react-router example (#4058) 2022-08-28 09:13:17 +02:00
Dominik Dorfmeister
607a6c31e8 chore(publish): do not release without changed packages
we might have commits in files that are not in the src directory; this will right now create a tag, but there will be nothing published to npm; early exit stops creating the tag.
2022-08-28 08:28:45 +02:00
Dominik Dorfmeister
6630b1b28d
chore: update CONTRIBUTING.md 2022-08-26 21:16:32 +02:00
Dominik Dorfmeister
cd89dc2907 chore(publish): restrict change detection to src directory
since package.json is updated a lot by the cipublish script itself, that basically means every release releases all packages. Changes to non-src directories not yielding releases should be fine. For false-negatives, we can still trigger manually.
2022-08-26 14:05:31 +02:00
Tanner Linsley
e0405faede release: v4.2.3 2022-08-26 11:39:36 +00:00
Nicholas Griffin
fabb2ae571
fix(react-query-devtools): Adding screenreader text to offline mock button (#4087) v4.2.3 2022-08-26 13:32:50 +02:00
Tanner Linsley
7db5da560e release: v4.2.2 2022-08-26 09:52:08 +00:00
Nicholas Griffin
e97a9a5b7e
fix(react-query-devtools): Adding screenreader text to the DevTools open icon (#4063) v4.2.2 2022-08-26 11:45:29 +02:00
Dominik Dorfmeister
a1050eb0d7 docs(query-cancellation): remove reference to old cancel function
This doesn't exist at all anymore in v4
2022-08-26 11:28:16 +02:00
Amer Lotfi Orimi
76b98ed107
docs: Add new guides for React Native createAsyncStoragePersister (#4064) 2022-08-22 20:41:04 +02:00
Henry Nguyen
4690b58572
docs: Fix typos (#4061)
* docs(reference): Fix typo

* docs(guides): Fix typo
2022-08-21 08:47:17 +02:00
Vlad Tansky
e7171444f1
docs: fix /reactjs import path (#4059) 2022-08-20 21:13:32 +02:00
Artur Drobinskiy
f0870bbd5a
docs: Update the docs for loading state of status field (#4057)
The current definition is incorrect, since `status` might be `loading` even if `isFetching` is false (e.g. when query is disabled)
2022-08-20 11:19:15 +02:00
Dominik Dorfmeister
c1aa2a5c21 docs: update blogposts 2022-08-19 14:22:29 +02:00
Dominik Dorfmeister
1da9e43895 chore: use strict dependency versions in publish scripts 2022-08-19 08:55:25 +02:00
Dominik Dorfmeister
213a85fec5
chore: fix release script (#4053)
* chore: remove testing from ci-publish pipeline

because the cipublish script does it internally, so we have been doing twice the tests now

* chore: fix release script

any change in package should result in a package release - not just the `src` directory

* fix: publish script

the Package that's defined in config does not have dependencies / peerDependencies, so we need to iterate over the object we find package.json
2022-08-18 21:42:33 +02:00
Samuli Suomi
f7a365b6fd
docs: Fix networkMode case in v4 migration guide (#4032) 2022-08-18 08:57:26 +02:00
Tanner Linsley
b462044b91 release: v4.2.1 2022-08-17 13:41:30 +00:00
Dominik Dorfmeister
f39e960dc3
fix: force release v4.2.1
RELEASE_ALL
2022-08-17 15:34:33 +02:00
Eric
262f83f959
docs: spell fix (#4041) 2022-08-16 14:35:57 +02:00
Tima Gixe
d20eaf8e5b
docs: Update Best of JS and Bundlephobia badges links in README (#4040)
* docs: update best of js badge link

* docs: update bundlephobia link and badge
2022-08-16 13:17:23 +02:00
Michal Tecza
4bc258b17e
docs(examples): remove redundant examples (#3951)
* docs(examples): remove redundant examples
- "custom hooks" because "basic" example uses custom hooks already
- "window focus refetching" because this feature is already turned on by default

* docs(examples): remove redundant examples
- "optimistic updates" because "optimistic updates typescript" already covers this functionality

* docs(examples): remove links to deleted examples from the docs

* docs(examples): remove redundant examples - update package-lock.json
2022-08-16 10:25:14 +02:00
Tanner Linsley
55249fd244 release: v4.2.0 2022-08-16 08:24:23 +00:00
Richard Silverton
f9ebf9aaae
feat: allow custom function for structuralSharing (#3868) v4.2.0 2022-08-16 10:17:18 +02:00
Tanner Linsley
f82e6e0b40 release: v4.1.4 2022-08-16 08:14:49 +00:00
Dominik Dorfmeister
41742cd0b0 chore(query-broadcast-client-experimental): fix build v4.1.4
main pointed to a non-existing file
2022-08-16 10:05:27 +02:00
Michal Tecza
a3fd7f286e
docs(examples): migrate examples/react/basic to vite (#3949)
* docs(examples): migrate examples/react/basic to vite - adjust file structure

* docs(examples): migrate examples/react/basic to vite

* docs(examples): migrate examples/react/basic to vite - update package-lock.json
2022-08-16 09:03:31 +02:00
Nima Dehnashi
aa660da5ed
fix(query-broadcast-client-experimental): upgrade broadcast-channel (#4038) 2022-08-16 08:34:41 +02:00
Dominik Dorfmeister
c08c0a1cd3
docs: update quick-start 2022-08-13 13:02:13 +02:00
Tanner Linsley
4403cc827e release: v4.1.3 2022-08-13 09:13:28 +00:00
Ronny Hsieh
6d219e17f3
fix(types): get the proper loading related types for DefinedUseQueryResult (#3988) v4.1.3 2022-08-13 11:04:53 +02:00
Dominik Dorfmeister
74541edb34
docs: update readme 2022-08-13 08:02:43 +02:00
Tanner Linsley
e494c772bf release: v4.1.2 2022-08-12 18:49:29 +00:00
Dmitrii Kartashev
86592d6aa3
fix(types): allow returning non-promise values from mutation callbacks v4.1.2 2022-08-12 20:42:19 +02:00
Taylor Smith
881048dfa7
docs: fix broken links (#4027) 2022-08-12 20:36:29 +02:00
Michal Tecza
b3201e991d
docs(examples): fix codesandbox of optimistic updates typescript example (#3950) 2022-08-12 15:22:04 +02:00
Burak
a6d455b7d1
docs: Update InfiniteQueryObserver.md (#3849)
* Update InfiniteQueryObserver.md

fix reference link

* Update docs/reference/InfiniteQueryObserver.md

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2022-08-12 15:21:32 +02:00
xylb
14ed785938
docs(reference): clarification setQueriesData description (#4025) 2022-08-12 15:10:39 +02:00