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

8 commits

Author SHA1 Message Date
Wonsuk Choi
683c869265
refactor(examples/angular/basic-persister): use 'output()' instead of '@Output()', remove the unused 'QueryClient', and align the components with the basic example (#12172) 2026-10-20 11:37:31 +09:00
Wonsuk Choi
542a134e03
refactor(examples/angular/basic-persister): make the 'postId' input required and remove the always-true 'enabled' in 'PostComponent' (#12171) 2026-10-20 10:56:08 +09:00
Arnoud
e75a5f9d55
feat(angular-query): move devtools to conditional sub-paths (#9270)
* feat(angular-query-devtools): move devtools to conditional sub-paths, improves tree shaking and dependency injection

* Fix compatibility with moduleResolution node

* ci: apply automated fixes

* fix preview release for angular-query

* Fix angular-query preview release

* Revert some changes made obsolete by better Vite based alternative

* Update export paths

* Fix production exports and publishconfig

* knip config

* remove postpack

* Generate API reference docs

* type declarations in correct directory

* Update documentation

* knip config

* Optional core devtools dependency

* ci: apply automated fixes

* regenerate api reference docs

* ci: apply automated fixes

* ci: apply automated fixes (attempt 2/3)

* regenerate api reference docs

* formatting

* apply coderabbit suggestions

* Improve unit tests

* docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 00:07:53 +02:00
Arnoud
e3b40d4d0d
chore(angular-query): remove standalone component markers as it's now the default (#9647) 2025-09-12 15:09:42 +02:00
Dominik Dorfmeister
1078bce264
refactor: deprecate createSyncStoragePersister (#9316) 2025-06-27 15:52:38 +02:00
autofix-ci[bot]
0de3843c4f
ci: apply automated fixes 2025-06-25 12:14:38 +00:00
Arnoud de Vries
f0741dbc24 docs(angular-query): fix nullish coalescing warnings in examples 2025-06-25 14:12:35 +02:00
Omer Gronich
967c231d2a
feat(angular-query): add angular-persist-query-client
* feat(angular-query):
- Created isRestoring injection token and provider
- handled restoration phase in create-base-query.ts
- handled restoration phase in

* feat(angular-query): created package for experimental persistence support, and the withPersistQueryClient feature

* test(persistQuery): add tests for withPersistQueryClient

* docs(angular-query): add basic persister example

* fix(angular-query): synced angular versions in new package

* fix(angular-query): commit before ng update

* feat(angular-query): updated example to v18

* fix(angular-query): fixed project name to basic-persister

* feat(angular-query): updated example basic-persister to v19

* feat(angular-query): included back the persister package after angular migration

* feat(angular-query): migrate to provideEnvironmentInitializer

* fix(angular-query): fix eslint issues in inject-queries.ts

* Revert "feat(angular-query): migrate to provideEnvironmentInitializer"

This reverts commit af5b47b31511dd2db180abfd92f08541f29532d4.

* fix(angular-query): only track the isRestoring in the effect

* fix(angular-query): removed conditional _isRestoring

* ci: apply automated fixes

* fix(angular-query): used effect onCleanup instead of destroy ref

* Update examples/angular/basic-persister/.devcontainer/devcontainer.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/basic-persister/package.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/basic-persister/src/index.html

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/basic-persister/tsconfig.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/basic-persister/tsconfig.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update examples/angular/basic-persister/tsconfig.json

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* Update packages/angular-query-experimental/src/inject-is-restoring.ts

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>

* fix(angular-query): fixed lock file

* fix(angular-query): aligned package.json versions

* added missing dep from basic-persister example

* Added a more complex example for persistence. This examples demonstrates how to selectively persist queries to different persisters.

* fix(angular-query) bumped versions to 5.62.4

* refactor(angular-query) refactored to implicit return

* fix(angular-query) bump angular persister package and examples version

* fix(angular-query) fixed eslint errors

* refactor(angular-query) set initial `isRestoring` to true to match the React adapter logic

* Revert "refactor(angular-query) set initial `isRestoring` to true to match the React adapter logic"

This reverts commit 235bbabebf.

* fix(angular-query) fixed formatting of JSDOC comment ruined by eslint

* update build configs

* zoneless unit tests

* replace deprecated injectQueryClient

* createBaseQuery is always run in injection context, remove inject(Injector)

* remove api extractor config

* update example dependencies

* comment out from publish script for now

* refactor(persist-query-client): simplify configuration by removing array structure for persistOptions

* refactor(angular-query-persist-client): removed experimental from package name and updated configurations

* fix example

* fix outdated comment

* exclude from preview for now

* mark package as private instead

* configure injectIsRestoring injector through options object

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
2025-04-13 19:42:49 +02:00