Skip to content
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
wants to merge 48 commits into
base: next
Choose a base branch
from

Commits on Feb 7, 2024

  1. feat(next/app-dir): cacheTag generation to consider context

    This 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
    dalechyn committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    6f32a91 View commit details
    Browse the repository at this point in the history
  2. nit: lint

    dalechyn committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    7ee54e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6cfe7f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf3c99f View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    6989a2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b29441a View commit details
    Browse the repository at this point in the history
  3. nit: lint

    dalechyn committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    655888e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dfb02d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8e88f1 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Configuration menu
    Copy the full SHA
    336f480 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d133445 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e35dda View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    726931d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f5fdff View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. hoist

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    2f1baad View commit details
    Browse the repository at this point in the history
  2. feat: delete server-http

    Doesn't serve any benefit since `server-invoker` exists.
    dalechyn committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    f305da3 View commit details
    Browse the repository at this point in the history
  3. 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.
    dalechyn committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    129d8f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    75af515 View commit details
    Browse the repository at this point in the history
  5. fix(server): use the recommended connection handler from @fastify/web…

    …socket to avoid triggering stream backpressure (trpc#5530) (trpc#5532)
    mat-sz authored and dalechyn committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    0866a5a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e66cd06 View commit details
    Browse the repository at this point in the history
  7. 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
    juliusmarminge authored and dalechyn committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    c054046 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    60976e9 View commit details
    Browse the repository at this point in the history
  9. feat: bring the http back

    The latest regression test should have failed though.
    dalechyn committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    1dfd889 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2d4e0af View commit details
    Browse the repository at this point in the history
  11. fix: nextHttp tests

    dalechyn committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    7348eec View commit details
    Browse the repository at this point in the history
  12. revert unrelated

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    b80e148 View commit details
    Browse the repository at this point in the history
  13. rev more

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    174cd91 View commit details
    Browse the repository at this point in the history
  14. nice

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    64faf05 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    aaa7983 View commit details
    Browse the repository at this point in the history
  16. revert some stuff

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    66ae725 View commit details
    Browse the repository at this point in the history
  17. revert more unused

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    f568388 View commit details
    Browse the repository at this point in the history
  18. wtf autolinter

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    df05c4e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    6662379 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    0b24086 View commit details
    Browse the repository at this point in the history
  21. revv lock

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    4e0b11a View commit details
    Browse the repository at this point in the history
  22. fuck this autolinter

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    68b265b View commit details
    Browse the repository at this point in the history
  23. cache context

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    3edaaed View commit details
    Browse the repository at this point in the history
  24. niceee

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    c89d7c2 View commit details
    Browse the repository at this point in the history
  25. fix

    juliusmarminge committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    342537a View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    bf86986 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a01dfcd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68429bb View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. feat: requested changes

    dalechyn committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    e38a826 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a51b953 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. nit: comment

    dalechyn committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    e0dda23 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. nit: revert lockfile changes

    dalechyn committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    2ab36b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    525f326 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    531717e View commit details
    Browse the repository at this point in the history