{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":207645083,"defaultBranch":"main","name":"query","ownerLogin":"TanStack","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-09-10T19:23:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/72518640?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1713857583.0","currentOid":""},"activityList":{"items":[{"before":"2ffd9fbd848c8ce4b62f354b21ae25a2040eeae2","after":"2aca521a882e54b01ee6a070cb4a38f38bfa4bcf","ref":"refs/heads/main","pushedAt":"2024-04-25T07:06:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lachlancollins","name":"Lachlan Collins","path":"/lachlancollins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1667261?s=80&v=4"},"commit":{"message":"fix(codemods): Use .cjs extension for CommonJS files (#7333)\n\n* bug(codemods): rename CommonJS files to .cjs\r\n\r\nRename CommonJS files in codemods to distinguish them from ES module\r\nfiles otherwise used in this project.\r\nResolve an issue occuring since package.json in codemods is removed when\r\npublishing causing module type data to be lost.\r\n\r\nFix issue #7154\r\n\r\n* Fix knip errors\r\n\r\n* Add file extension to tests\r\n\r\n* Update migration doc\r\n\r\n---------\r\n\r\nCo-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>","shortMessageHtmlLink":"fix(codemods): Use .cjs extension for CommonJS files (#7333)"}},{"before":"e3240f0233a2e901c7364aa6d477f9ead4df98e5","after":"2ffd9fbd848c8ce4b62f354b21ae25a2040eeae2","ref":"refs/heads/main","pushedAt":"2024-04-23T07:33:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.32.0","shortMessageHtmlLink":"release: v5.32.0"}},{"before":"9ea0fd91a6b20f87537c6ee04e81e6f644e4756e","after":null,"ref":"refs/heads/feature/public-observers","pushedAt":"2024-04-23T07:29:44.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"}},{"before":"f025a7c2e63ed8b3052d998669add4dd6f1d8abd","after":"e3240f0233a2e901c7364aa6d477f9ead4df98e5","ref":"refs/heads/main","pushedAt":"2024-04-23T07:29:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"feat(core): make observers on Query a public property (#7326)","shortMessageHtmlLink":"feat(core): make observers on Query a public property (#7326)"}},{"before":"1e2ee37a40558c9dfbcf4ca4682bda4d4a337fcb","after":"7c0187e8ec869f03d45279bf11b29c1a043ba43e","ref":"refs/heads/v4","pushedAt":"2024-04-23T07:11:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"docs: fix syntax highlighting","shortMessageHtmlLink":"docs: fix syntax highlighting"}},{"before":"aef18c27d3ede534fb3b3413765c986aa59d096f","after":"9ea0fd91a6b20f87537c6ee04e81e6f644e4756e","ref":"refs/heads/feature/public-observers","pushedAt":"2024-04-23T07:10:06.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feature/public-observers","shortMessageHtmlLink":"Merge branch 'main' into feature/public-observers"}},{"before":"b92fb043afd27d203c9dec2291f139866dc4917e","after":"f025a7c2e63ed8b3052d998669add4dd6f1d8abd","ref":"refs/heads/main","pushedAt":"2024-04-23T07:09:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"chore(docs): fix prettier","shortMessageHtmlLink":"chore(docs): fix prettier"}},{"before":"919427ccda23d89a110209cb6a326ab83b4b1ef6","after":"aef18c27d3ede534fb3b3413765c986aa59d096f","ref":"refs/heads/feature/public-observers","pushedAt":"2024-04-23T06:53:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feature/public-observers","shortMessageHtmlLink":"Merge branch 'main' into feature/public-observers"}},{"before":null,"after":"919427ccda23d89a110209cb6a326ab83b4b1ef6","ref":"refs/heads/feature/public-observers","pushedAt":"2024-04-23T05:48:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"feat(core): make observers on Query a public property","shortMessageHtmlLink":"feat(core): make observers on Query a public property"}},{"before":"8fa82653dd8f766488e37739a9feb5952b2f02be","after":"b92fb043afd27d203c9dec2291f139866dc4917e","ref":"refs/heads/main","pushedAt":"2024-04-22T11:16:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"docs: fix pages breaking due to diff in markdown (#7321)","shortMessageHtmlLink":"docs: fix pages breaking due to diff in markdown (#7321)"}},{"before":"5b6c67f5816f1da56483072c4d42f1a06b9832be","after":"8fa82653dd8f766488e37739a9feb5952b2f02be","ref":"refs/heads/main","pushedAt":"2024-04-22T08:38:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"docs: fix broken internal links in the query docs (#7247)\n\n* wip - 1\r\n\r\n* Fix more links\r\n\r\n* Fix one more link\r\n\r\n* Another one\r\n\r\n* Update a link\r\n\r\n* Fix the broken links in the Angular docs\r\n\r\n* Fix the broken links in the Vue docs\r\n\r\n* Fix the Svelte links in the docs\r\n\r\n---------\r\n\r\nCo-authored-by: Dominik Dorfmeister ","shortMessageHtmlLink":"docs: fix broken internal links in the query docs (#7247)"}},{"before":"24f1d45cbd3a252e2c8bb3471591502a2418b6ad","after":"5b6c67f5816f1da56483072c4d42f1a06b9832be","ref":"refs/heads/main","pushedAt":"2024-04-22T06:43:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.31.0","shortMessageHtmlLink":"release: v5.31.0"}},{"before":"12948697491ac4608111ff8a4e93c9458957e3d7","after":null,"ref":"refs/heads/feature/scoped-mutations","pushedAt":"2024-04-22T06:39:12.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"}},{"before":"7368bd0f62360c2395eb31b1abf97dbaf0af46ce","after":"24f1d45cbd3a252e2c8bb3471591502a2418b6ad","ref":"refs/heads/main","pushedAt":"2024-04-22T06:39:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"feat: scoped mutations (#7312)\n\n* refactor: add scope to mutationCache internally\r\n\r\n* refactor: remove unused defaultOptions on mutation\r\n\r\nthis private field is a leftover from v4\r\n\r\n* feat: make sure to not run mutations if there is already one running in the scope of this mutation\r\n\r\n* feat: make sure mutations in the same scope can run in serial\r\n\r\n* fix: find a _lot_ better way to determine if a mutation can run\r\n\r\n* test: widen test scenario to include scopes\r\n\r\n* fix: there is a difference between starting and continuing\r\n\r\nwhen starting, we need to check the networkMode differently than when continuing, because of how offlineFirst works (can start, but can't continue)\r\n\r\n* refactor: switch to a scope object with `id`\r\n\r\n* feat: dehydrate and hydrate mutation scope\r\n\r\n* fix: initiate the mutationCache with a random number\r\n\r\nsince we use the mutationId to create the default scope, and the mutationId is merely incremented, we risk colliding scopes when hydrating mutations into an existing cache. That's because the mutationId itself is never dehydrated. When a mutation gets hydrated, it gets re-built, thus getting a new id. At this point, its id and the scope can differ. That per se isn't a problem. But if a mutation was dehydrated with scope:1, it would put into the same scope with another mutation from the new cache that might also have the scope:1.\r\n\r\nTo avoid that, we can initialize the mutationId with Date.now(). It will make sure (or at least very likely) that there is no collision\r\n\r\nIn the future, we should just be able to use `Crypto.randomUUID()` to generate a unique scope, but our promised compatibility doesn't allow for using this function\r\n\r\n* test: hydration\r\n\r\n* test: those tests actually fail because resumePausedMutations is still wrongly implemented\r\n\r\n* fix: simplify and fix resumePausedMutations\r\n\r\nwe can fire off all mutations at the same time - only the first one in each scope will actually fire, the others have to stay paused until their time has come. mutation.continue handles this internally.\r\n\r\nbut, we get back all the retryer promises, so resumePausedMutations will wait until the whole chain is done\r\n\r\n* test: more tests\r\n\r\n* refactor: scopeFor doesn't use anything of the mutationCache class\r\n\r\n* docs: scoped mutations","shortMessageHtmlLink":"feat: scoped mutations (#7312)"}},{"before":"91982c7604be725fc98ada23c229b5c5585a0c31","after":"12948697491ac4608111ff8a4e93c9458957e3d7","ref":"refs/heads/feature/scoped-mutations","pushedAt":"2024-04-21T08:13:48.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"docs: scoped mutations","shortMessageHtmlLink":"docs: scoped mutations"}},{"before":"bae2349e5330dcd8f53fea20894e2aa938b1a3b2","after":"91982c7604be725fc98ada23c229b5c5585a0c31","ref":"refs/heads/feature/scoped-mutations","pushedAt":"2024-04-21T07:39:22.000Z","pushType":"push","commitsCount":63,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"Merge branch 'main' into feature/scoped-mutations","shortMessageHtmlLink":"Merge branch 'main' into feature/scoped-mutations"}},{"before":"6e5a4a84adccc711afadad3eb1d1457911770f31","after":"7368bd0f62360c2395eb31b1abf97dbaf0af46ce","ref":"refs/heads/main","pushedAt":"2024-04-18T18:54:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.30.6","shortMessageHtmlLink":"release: v5.30.6"}},{"before":"405135d02c58ad15095824e7ea4d20fb7a13525b","after":"6e5a4a84adccc711afadad3eb1d1457911770f31","ref":"refs/heads/main","pushedAt":"2024-04-18T18:50:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ardeora","name":"Aryan Deora","path":"/ardeora","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45807386?s=80&v=4"},"commit":{"message":"fix(solid-query): Allow disabled queries to be SSR'd (#7300)","shortMessageHtmlLink":"fix(solid-query): Allow disabled queries to be SSR'd (#7300)"}},{"before":"23c4661790e844273cb97e69b310a3758f270357","after":"405135d02c58ad15095824e7ea4d20fb7a13525b","ref":"refs/heads/main","pushedAt":"2024-04-18T15:19:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.30.5","shortMessageHtmlLink":"release: v5.30.5"}},{"before":"69d37f33bdee50d73d0f05256f243113a857a1ee","after":"23c4661790e844273cb97e69b310a3758f270357","ref":"refs/heads/main","pushedAt":"2024-04-18T15:15:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ardeora","name":"Aryan Deora","path":"/ardeora","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45807386?s=80&v=4"},"commit":{"message":"fix(solid-query): Trigger refetch when query changes before hydration (#7299)","shortMessageHtmlLink":"fix(solid-query): Trigger refetch when query changes before hydration ("}},{"before":"e1979659405042f29b5e6ad4e10c49641267f72b","after":"69d37f33bdee50d73d0f05256f243113a857a1ee","ref":"refs/heads/main","pushedAt":"2024-04-17T04:38:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ardeora","name":"Aryan Deora","path":"/ardeora","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45807386?s=80&v=4"},"commit":{"message":"docs(solid-query): Add Astro Example (#7292)","shortMessageHtmlLink":"docs(solid-query): Add Astro Example (#7292)"}},{"before":"d9473a80ece5a23cf1f21c3dce51b9e926883da0","after":"e1979659405042f29b5e6ad4e10c49641267f72b","ref":"refs/heads/main","pushedAt":"2024-04-16T23:45:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.30.4","shortMessageHtmlLink":"release: v5.30.4"}},{"before":"536965176fd9bd59e3820e960fe1add56eb3faee","after":"d9473a80ece5a23cf1f21c3dce51b9e926883da0","ref":"refs/heads/main","pushedAt":"2024-04-16T23:41:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ardeora","name":"Aryan Deora","path":"/ardeora","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45807386?s=80&v=4"},"commit":{"message":"fix(solid-query): Simplify SSR Hydration Strategy (#7291)","shortMessageHtmlLink":"fix(solid-query): Simplify SSR Hydration Strategy (#7291)"}},{"before":"727eb557ed590edd4984b5ed2445e44b14430a46","after":"536965176fd9bd59e3820e960fe1add56eb3faee","ref":"refs/heads/main","pushedAt":"2024-04-15T20:03:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ardeora","name":"Aryan Deora","path":"/ardeora","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45807386?s=80&v=4"},"commit":{"message":"docs(solid-query): Update SolidStart Example to RC version (#7283)","shortMessageHtmlLink":"docs(solid-query): Update SolidStart Example to RC version (#7283)"}},{"before":"eee8ab157e245ec7be033c2e05558b0747fa8ae3","after":"727eb557ed590edd4984b5ed2445e44b14430a46","ref":"refs/heads/main","pushedAt":"2024-04-15T08:59:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"TkDodo","name":"Dominik Dorfmeister","path":"/TkDodo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1021430?s=80&v=4"},"commit":{"message":"docs: Update spelling in devtools.md (#7269)","shortMessageHtmlLink":"docs: Update spelling in devtools.md (#7269)"}},{"before":"d384cacced5f162548a2e399ee043b80125ab6fe","after":"eee8ab157e245ec7be033c2e05558b0747fa8ae3","ref":"refs/heads/main","pushedAt":"2024-04-15T04:25:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.30.3","shortMessageHtmlLink":"release: v5.30.3"}},{"before":"8469951141199a253cc187090ea865ad1241e066","after":"d384cacced5f162548a2e399ee043b80125ab6fe","ref":"refs/heads/main","pushedAt":"2024-04-15T04:22:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ardeora","name":"Aryan Deora","path":"/ardeora","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45807386?s=80&v=4"},"commit":{"message":"fix(solid-query): Resolve resource before unmounting query (#7279)","shortMessageHtmlLink":"fix(solid-query): Resolve resource before unmounting query (#7279)"}},{"before":"6c1af4e858cc688c131c04c8300fccc0d8b9ad28","after":"8469951141199a253cc187090ea865ad1241e066","ref":"refs/heads/main","pushedAt":"2024-04-14T16:21:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.30.2","shortMessageHtmlLink":"release: v5.30.2"}},{"before":"4ce55099c78b35cef462cfcbd08257bed64e9fd7","after":"6c1af4e858cc688c131c04c8300fccc0d8b9ad28","ref":"refs/heads/main","pushedAt":"2024-04-14T16:17:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"ardeora","name":"Aryan Deora","path":"/ardeora","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/45807386?s=80&v=4"},"commit":{"message":"fix(solid-query): Fix reconciliation strategy for createBaseQuery (#7277)","shortMessageHtmlLink":"fix(solid-query): Fix reconciliation strategy for createBaseQuery (#7277"}},{"before":"841d9f70c3b825482a92d369ec053f6dd18a28d2","after":"4ce55099c78b35cef462cfcbd08257bed64e9fd7","ref":"refs/heads/main","pushedAt":"2024-04-13T16:14:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"release: v5.30.1","shortMessageHtmlLink":"release: v5.30.1"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEOdp-yAA","startCursor":null,"endCursor":null}},"title":"Activity · TanStack/query"}