Arnoud
60cbd75e40
docs(angular-query): add guides ( #6530 )
...
* docs(angular-query): add guides
* docs(angular-query): add mutations guide
* docs(angular-query): guides improvements
* docs(angular-query): update docs
* docs(angular-query): add initial query data guide
* add keywords and optimistic updates guide
* Replace React specifics with Angular ones
2023-12-16 13:11:39 +01:00
Tanner Linsley
84e2ef2197
release: v5.14.0
v5.14.0
2023-12-15 12:02:22 +00:00
Dominik Dorfmeister
94154d73aa
feat(core): changing mutationKeys should reset observer ( #6511 )
...
this allows key-ing of mutations without having to re-mount components using mutations; the mutationKey basically defines the identity of the mutation - it doesn't make much sense to keep data of a different mutationKey around at observer level if the key changes
2023-12-15 12:56:15 +01:00
Tanner Linsley
e2d5da2fd3
Update config.json
2023-12-14 10:23:38 -07:00
Tanner Linsley
b3a73b0de4
Update config.json
2023-12-14 10:20:04 -07:00
Tanner Linsley
5eb4f6dead
Update config.json
2023-12-14 10:14:35 -07:00
Tanner Linsley
2539b37ddf
Update config.json
2023-12-14 09:58:58 -07:00
Arnoud
258238cfb7
docs(angular-query): update examples and getting started docs ( #6520 )
2023-12-12 15:39:09 +01:00
Drew Powers
e45c11973e
docs: add openapi-fetch to community-projects( #6499 )
...
Hello, I’m the maintainer of openapi-fetch, and use it primarily with TanStack Query. Though it’s a vanillaJS project, it works perfectly with TanStack Query and there are even dedicated docs to using the two together.
Happy to accept any change requests in the description, etc.
2023-12-12 10:15:15 +01:00
Jonghyeon Ko
894561098c
docs(docs/react): update spelling opera consistency ( #6523 )
2023-12-12 09:47:31 +01:00
Harry Chen
b484fe5adb
docs: Update query-options.md ( #6506 )
...
* Update query-options.md
I supposed it was a link to https://tanstack.com/query/v5/docs/react/typescript#typing-query-options
* Update query-options.md
Change to relative path
* Update query-options.md
2023-12-11 14:41:07 +01:00
이효범
f093f4b6b0
docs: Update useQueries.md ( #6514 )
2023-12-11 13:57:46 +01:00
Tanner Linsley
56983b3a0b
release: v5.13.5
v5.13.5
2023-12-10 23:24:15 +00:00
Aryan Deora
fca1b4569c
fix(query-devtools): Fix scroll on container ( #6519 )
2023-12-10 18:21:34 -05:00
Arnoud
990acd416d
docs(angular-query): run prettier on readme ( #6517 )
2023-12-10 15:40:19 +01:00
Arnoud
b811190edf
docs(angular-query): add readme ( #6515 )
2023-12-10 15:22:40 +01:00
Tanner Linsley
f459f28cce
release: v5.13.4
v5.13.4
2023-12-09 09:52:12 +00:00
Dominik Dorfmeister
e34bfabe25
fix(core): mutation GC leak when reset, but not unsubscribed ( #6509 )
...
mutations were not gc'd correctly when being reset. GC was invoked on unsubscribe, but reset disconnects the observer from the mutation in the cache and must thus also trigger a GC, because the observer is no longer watching the values of that mutation, and another mutate() call will create a new mutation anyway. Thus, the old mutation becomes orphaned when reset is called.
2023-12-09 10:48:50 +01:00
Tanner Linsley
9b1aa77010
release: v5.13.3
v5.13.3
2023-12-06 03:38:50 +00:00
Aryan Deora
e766929fe2
fix(query-devtools): Improve Perf for queries table ( #6493 )
...
This change dramatically improves the performance of the queries table. The issue was that each Query Row would update on every queryCache update. Now, each QueryRow only updates when its particular query is updated.
2023-12-05 22:35:38 -05:00
Tanner Linsley
f4822a739a
release: v5.13.2
v5.13.2
2023-12-05 02:25:20 +00:00
Lachlan Collins
de82bd60dc
fix(svelte-query): Support v5 alpha ( #6487 )
2023-12-05 11:23:39 +09:00
Tanner Linsley
d0f5722985
release: v5.13.1
v5.13.1
2023-12-04 14:42:21 +00:00
Lachlan Collins
e44f96378b
fix(svelte-query): Remove incorrect CJS resolution ( #6485 )
2023-12-04 23:40:23 +09:00
Dominik Dorfmeister
ecb71fbca4
docs: query options
2023-12-04 14:16:18 +01:00
Tanner Linsley
478ed5bc21
release: v5.13.0
v5.13.0
2023-12-03 16:30:45 +00:00
Arnoud
21502ad8e5
feat(angular-query): rename Angular Query devtools ( #6479 )
2023-12-03 17:27:23 +01:00
Tanner Linsley
7946653999
release: v5.12.2
v5.12.2
2023-12-02 09:37:17 +00:00
Charlotte Grace (Bone)
b54936f11d
fix(useQueries): add type tests for useQueries and fix a couple of type bugs ( #6471 )
...
Creating new useQueries type tests in react-query and vue-query and fixing a couple of type bugs.
2023-12-02 10:34:05 +01:00
Enea Jahollari
23374bb434
docs(angular-query): fix quickstart
2023-12-01 20:01:16 +01:00
Arnoud
ac046b1170
docs(angular-query): compatible with angular 17 ( #6469 )
2023-12-01 18:53:05 +01:00
Tanner Linsley
1198570cbb
release: v5.12.1
v5.12.1
2023-12-01 15:43:27 +00:00
Dominik Dorfmeister
4e8a6c5acc
fix: angular release process ( #6468 )
...
RELEASE_ALL
* fix: make sure there is only one package.json after build
* fix: angular release
we cannot publish out of the build directory because pnpm doesn't see it as a workspace, so it won't replace workspace dependencies. To fix this, we:
- make the publish script point to the root directory (config.js)
- make sure our top-level package.json has types and exports and that they point to ./build
- make sure to remove the build/package.json after the build script ran
* chore: use rimraf
* chore: specify files to limit what we include
* chore: fix relative workspace dependencies
* chore: fix ci.json
* fix: package.json path
2023-12-01 16:30:04 +01:00
Lachlan Collins
3a60413d94
chore: Use prettier v4 alpha ( #6466 )
2023-12-01 22:36:48 +09:00
Dominik Dorfmeister
a914166b16
feat: trigger release
...
v5.12.0
RELEASE_ALL
2023-12-01 14:25:40 +01:00
Dominik Dorfmeister
776a2098f9
chore: trigger release
...
RELEASE_ALL
2023-12-01 14:19:21 +01:00
Tanner Linsley
16494bd480
release: v5.11.0
v5.11.0
2023-12-01 13:15:44 +00:00
Arnoud
46034aada2
feat: experimental angular query adapter ( #6195 )
...
* feat(angular-query): add Angular Query
* feat(angular-query): integration test
* fix(angular-query): PR feedback on QueryClientService injection
* fix(angular-query): PR feedback
* chore(angular-query): update unit tests
* feat(angular-query): custom inject functions
* feat(angular-query): docs
* fix(angular-query): replace React context mention with Angular injector
* fix(angular-query): re-add missing angular-query-experimental package config
* feat: updated angular version
* feat: code improvements, DX improvements, fixed small doc example to use http client,
* Update docs/angular/overview.md
* version fixes
* feat: use proxy object to create single signals (computed) for query fields instead of query itself being a signal and improved types
* fix: docs
* Update packages/angular-query-experimental/src/query-proxy.ts
Co-authored-by: Chau Tran <nartc7789@gmail.com>
* Update packages/angular-query-experimental/src/query-proxy.ts
Co-authored-by: Chau Tran <nartc7789@gmail.com>
* fix: add missing import
* revert: use helper method for injectQueryClient
* Add Angular-CLI apps for testing
* fix: useValue instead of useFactory
* fix(angular-query): examples
* chore(angular-query): remove build script from angular 17 integration
* fix(angular-query): add sandbox config
* build working for angular-query-devtools-experimental
* fix(angular-query): improve development workflow
* fix(angular-query): downgrade vitest
* fix(angular-query): eslint and unit test typing fix
* fix(angular-query): test:ci fixes
* fix(angular-query): relative workspace path to build dir
* fix(angular-query): configure workspaces for top directories only
* chore(angular-query): remove dead code found by Knip
---------
Co-authored-by: Enea Jahollari <jahollarienea14@gmail.com>
Co-authored-by: Chau Tran <nartc7789@gmail.com>
Co-authored-by: Tomasz Ducin <tomasz@ducin.it>
Co-authored-by: Tomasz Ducin <tomasz.ducin@gmail.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-12-01 14:09:39 +01:00
Tyler Dane
af0ff9ad50
docs(initial-query-data.md): simplify initialDataUpdatedAt ( #6458 )
...
Simplify `initialDataUpdatedAt` description to avoid confusion
2023-12-01 13:28:37 +01:00
Dammy O
0604a40d37
docs: Update paginated-queries.md ( #6463 )
...
use isPlaceholderData instead of isPreviousData.
isPreviousData does not exist, and should be replaced with isPlaceholderData.
Also keepPreviousData: true does not also exist and should be replaced as written.
2023-12-01 13:24:50 +01:00
Tanner Linsley
e5d1e247ae
release: v5.10.0
v5.10.0
2023-11-29 15:07:47 +00:00
Damian Osipiuk
050577e84e
feat(experimental_createPersister): support async serialization and storage of arbitrary values instead of strings ( #6450 )
...
* feat(experimental_createPersister): support async serialization and storage of arbitrary values instead of strings
* fix: allow async serialization in async-storage-persister
2023-11-29 16:01:47 +01:00
Lars Kappert
5d29f8ff47
chore: introduce Knip as dead-code removal tool ( #6368 )
...
* Add knip with inital config
* Rename vite.config.js → vite.config.js (`__dirname` not in ESM scope)
* chore: upgrade to knip v3
* chore(knip): remove duplicate exports
* chore(knip): remove unused types from query devtools
* chore(knip): do not export unused types
* chore(knip): run knip in ci
* chore(knip): ignore certain .d.ts files
* chore(knip): remove unused file
* chore(knip): use devtools in next integration
so the dependency doesn't show up as unused
* chore(knip): remove unused dependencies
* chore(knip): remove unused exports
* chore(knip): add unlisted dependencies
* chore(knip): remove unnecessary scope-manager dependency
* Update knip to 3.3.0
* Update knip to 3.3.1
* chore: ignore custom deps, remove unneeded file
* chore: remove unused util
* chore: remove esbuild dep as it's not directly used
* chore: bump tsup to match esbuild types with the plugin
* chore: remove unused peer deps
* chore: remove unneeded deps
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2023-11-29 15:58:02 +01:00
Arnoud
ac92fc9c83
chore(codemods): disable no-unnecessary-condition in test fixtures ( #6457 )
2023-11-29 12:58:27 +01:00
Tanner Linsley
9f7725a30c
release: v5.9.0
v5.9.0
2023-11-29 07:48:31 +00:00
Charlotte Grace (Bone)
3319d80d59
fix(types): Fix types when using select with the queryOptions helper ( #6454 )
...
useQueries, createQueries and useSuspenseQueries now return the correct data type if using the queryOptions helper with the select option.
fixes #6442
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-11-29 08:28:27 +01:00
Zachary DeRose
568ce178cc
chore: switching retry strategy ( #6453 )
2023-11-29 08:25:08 +01:00
Balázs Máté Petró
f62e079a4f
feat(codemod): isLoading codemod ( #6388 )
...
* feat(codemod): implement codemod that replaces the `isLoading` usages with `isPending`
* fix(codemod): differentiate shorthand property usages in the codemod
* chore(codemod): add the `useMutation` hook as well to the "affected hooks" list
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-11-28 13:29:01 +01:00
Tanner Linsley
50391134f9
release: v5.8.9
v5.8.9
2023-11-28 08:28:04 +00:00
Dominik Dorfmeister
5163ed4d7e
chore: remove integrations packages from sherif
2023-11-28 09:22:23 +01:00