New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(next/app-dir): contextCache
to control context values to add to cacheTag
#5537
Open
dalechyn
wants to merge
48
commits into
trpc:next
Choose a base branch
from
dalechyn:cache-context
base: next
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Feb 7, 2024
-
feat(next/app-dir):
cacheTag
generation to consider contextThis change allows a user to specify `contextCache` method in the `experimental_nextCacheLink`, which lets one select the values from the context that should be considered when a `cacheTag` is generated. It also changes the way `cacheTag` is generated, taking care of the fact that the `cacheTag` cannot be longer then 256 characters, thus instead of stringifying input values, it will form a sha-256 hash of those. Implements trpc#5455
Configuration menu - View commit details
-
Copy full SHA for 6f32a91 - Browse repository at this point
Copy the full SHA 6f32a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ee54e8 - Browse repository at this point
Copy the full SHA 7ee54e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cfe7f4 - Browse repository at this point
Copy the full SHA 6cfe7f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf3c99f - Browse repository at this point
Copy the full SHA cf3c99fView commit details
Commits on Feb 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6989a2e - Browse repository at this point
Copy the full SHA 6989a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b29441a - Browse repository at this point
Copy the full SHA b29441aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 655888e - Browse repository at this point
Copy the full SHA 655888eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfb02d1 - Browse repository at this point
Copy the full SHA dfb02d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e88f1 - Browse repository at this point
Copy the full SHA a8e88f1View commit details
Commits on Feb 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 336f480 - Browse repository at this point
Copy the full SHA 336f480View commit details -
Configuration menu - View commit details
-
Copy full SHA for d133445 - Browse repository at this point
Copy the full SHA d133445View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e35dda - Browse repository at this point
Copy the full SHA 8e35ddaView commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 726931d - Browse repository at this point
Copy the full SHA 726931dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f5fdff - Browse repository at this point
Copy the full SHA 2f5fdffView commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2f1baad - Browse repository at this point
Copy the full SHA 2f1baadView commit details -
Doesn't serve any benefit since `server-invoker` exists.
Configuration menu - View commit details
-
Copy full SHA for f305da3 - Browse repository at this point
Copy the full SHA f305da3View commit details -
test: add regression test for
cacheContext
I haven't found a way to mock `next-auth` from playwright so instead, I'm setting different extra headers that go into the `cacheContext` fn.
Configuration menu - View commit details
-
Copy full SHA for 129d8f4 - Browse repository at this point
Copy the full SHA 129d8f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75af515 - Browse repository at this point
Copy the full SHA 75af515View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0866a5a - Browse repository at this point
Copy the full SHA 0866a5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e66cd06 - Browse repository at this point
Copy the full SHA e66cd06View commit details -
chore: use vitest workspaces (trpc#5461)
* use vitewt workspaces * sync lock * fix coverage? * maybe CI bust? * oh yeet * test v3 * change some scripts * rev settings.json
Configuration menu - View commit details
-
Copy full SHA for c054046 - Browse repository at this point
Copy the full SHA c054046View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60976e9 - Browse repository at this point
Copy the full SHA 60976e9View commit details -
The latest regression test should have failed though.
Configuration menu - View commit details
-
Copy full SHA for 1dfd889 - Browse repository at this point
Copy the full SHA 1dfd889View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d4e0af - Browse repository at this point
Copy the full SHA 2d4e0afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7348eec - Browse repository at this point
Copy the full SHA 7348eecView commit details -
Configuration menu - View commit details
-
Copy full SHA for b80e148 - Browse repository at this point
Copy the full SHA b80e148View commit details -
Configuration menu - View commit details
-
Copy full SHA for 174cd91 - Browse repository at this point
Copy the full SHA 174cd91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64faf05 - Browse repository at this point
Copy the full SHA 64faf05View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaa7983 - Browse repository at this point
Copy the full SHA aaa7983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66ae725 - Browse repository at this point
Copy the full SHA 66ae725View commit details -
Configuration menu - View commit details
-
Copy full SHA for f568388 - Browse repository at this point
Copy the full SHA f568388View commit details -
Configuration menu - View commit details
-
Copy full SHA for df05c4e - Browse repository at this point
Copy the full SHA df05c4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6662379 - Browse repository at this point
Copy the full SHA 6662379View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b24086 - Browse repository at this point
Copy the full SHA 0b24086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e0b11a - Browse repository at this point
Copy the full SHA 4e0b11aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b265b - Browse repository at this point
Copy the full SHA 68b265bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3edaaed - Browse repository at this point
Copy the full SHA 3edaaedView commit details -
Configuration menu - View commit details
-
Copy full SHA for c89d7c2 - Browse repository at this point
Copy the full SHA c89d7c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 342537a - Browse repository at this point
Copy the full SHA 342537aView commit details
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bf86986 - Browse repository at this point
Copy the full SHA bf86986View commit details -
Configuration menu - View commit details
-
Copy full SHA for a01dfcd - Browse repository at this point
Copy the full SHA a01dfcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68429bb - Browse repository at this point
Copy the full SHA 68429bbView commit details
Commits on Mar 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e38a826 - Browse repository at this point
Copy the full SHA e38a826View commit details -
Configuration menu - View commit details
-
Copy full SHA for a51b953 - Browse repository at this point
Copy the full SHA a51b953View commit details
Commits on Apr 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e0dda23 - Browse repository at this point
Copy the full SHA e0dda23View commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2ab36b7 - Browse repository at this point
Copy the full SHA 2ab36b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 525f326 - Browse repository at this point
Copy the full SHA 525f326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 531717e - Browse repository at this point
Copy the full SHA 531717eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.