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

Adds caching for services #6082

Merged
merged 104 commits into from
Nov 11, 2022
Merged

Adds caching for services #6082

merged 104 commits into from
Nov 11, 2022

Commits on Jul 27, 2022

  1. Configuration menu
    Copy the full SHA
    4ad89d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    3eca534 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6645579 View commit details
    Browse the repository at this point in the history
  3. Comments

    cannikin committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    e5d5e71 View commit details
    Browse the repository at this point in the history
  4. Adds RedisClient

    cannikin committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    86c7336 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    88d7f2e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b2544b6 View commit details
    Browse the repository at this point in the history
  7. Adds redis package

    cannikin committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    74dbf6f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    89f1d9a View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. Merge branch 'main' into rc-service-caching

    # Conflicts:
    #	yarn.lock
    cannikin committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    54a0f2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38fba8c View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. Use logger for messages

    cannikin committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    2b1cc0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce39cff View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Merge branch 'main' into rc-service-caching

    # Conflicts:
    #	packages/api/package.json
    #	yarn.lock
    cannikin committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    e6bafa5 View commit details
    Browse the repository at this point in the history
  2. Adds docs on service caching

    cannikin committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    d3aead0 View commit details
    Browse the repository at this point in the history
  3. Add timeout for cache calls

    cannikin committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    49b6460 View commit details
    Browse the repository at this point in the history
  4. Adds setup command for cache

    cannikin committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    4b1c871 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Configuration menu
    Copy the full SHA
    b181182 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34adb9b View commit details
    Browse the repository at this point in the history
  3. Comment

    cannikin committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    5d4e947 View commit details
    Browse the repository at this point in the history
  4. Move errors to separate file

    cannikin committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    cdbb4a6 View commit details
    Browse the repository at this point in the history
  5. Allow renaming of id/updatedAt fields, catch error if model has no id…

    …/updatedAt, catch if no records in cacheLatest
    cannikin committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    2240e32 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    111c844 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Configuration menu
    Copy the full SHA
    9a455f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b1d6af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    45a2809 View commit details
    Browse the repository at this point in the history
  4. Start of tests

    cannikin committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    4179f17 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Configuration menu
    Copy the full SHA
    3b5f34c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdee22a View commit details
    Browse the repository at this point in the history
  3. Adds cache tests

    cannikin committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    56d3614 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Doc updates

    cannikin committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    33979ce View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into rc-service-caching

    # Conflicts:
    #	packages/api/package.json
    #	yarn.lock
    cannikin committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    c21a3d2 View commit details
    Browse the repository at this point in the history
  3. --rebuild-fixture

    cannikin committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    487b94c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f7e023 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. yarn constraints --fix

    cannikin committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    9d40b61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfc3801 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f0d6c0d View commit details
    Browse the repository at this point in the history
  4. Types in template

    cannikin committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    8fd5863 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    64d3377 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    45cbdd9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5522b87 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Configuration menu
    Copy the full SHA
    597eeeb View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2022

  1. Fix link

    cannikin committed Sep 3, 2022
    Configuration menu
    Copy the full SHA
    0bb3013 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. Doc updates

    cannikin committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    16862a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. More doc updates

    cannikin committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    785e645 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Configuration menu
    Copy the full SHA
    3d1ce5c View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    c67ac2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    394597b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e97831f View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. Fix some type issues

    Fix bugs in tests
    dac09 committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    73187a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fa2048 View commit details
    Browse the repository at this point in the history
  3. Handle redis disconnect

    cannikin committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    42556ce View commit details
    Browse the repository at this point in the history
  4. Pass logger to RedisClient

    cannikin committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    a4a516b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cd52c72 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' into rc-service-caching

    # Conflicts:
    #	packages/api/package.json
    #	yarn.lock
    cannikin committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    671f7b9 View commit details
    Browse the repository at this point in the history
  7. Adds reconnect() function

    cannikin committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    37f179f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    316cbec View commit details
    Browse the repository at this point in the history
  9. Adds test for reconnect()

    cannikin committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    77f151c View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Remove commented mock code

    cannikin committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    ad46dfb View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Update docs/docs/cli-commands.md

    Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
    cannikin and dac09 authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    6b12f52 View commit details
    Browse the repository at this point in the history
  2. Update packages/api/src/cache/clients/BaseClient.ts

    Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
    cannikin and dac09 authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    8eed195 View commit details
    Browse the repository at this point in the history
  3. Update packages/cli/src/commands/setup/cache/cache.js

    Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
    cannikin and dac09 authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    8432279 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Update docs/docs/services.md

    Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
    cannikin and dac09 authored Oct 12, 2022
    Configuration menu
    Copy the full SHA
    63a33a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d17c669 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31ad0f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Fix type issue in BaseClient

    dac09 committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    c477ca7 View commit details
    Browse the repository at this point in the history
  2. Refactor to use async imports

    Introduce connect/disconnect
    dac09 committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    b42f074 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9fbd589 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b15bd13 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85850be View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9db1f7c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8975841 View commit details
    Browse the repository at this point in the history
  8. Export client for testing

    cannikin committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    3637bc1 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Merge branch 'main' of github.com:redwoodjs/redwood into rc-service-c…

    …aching
    
    * 'main' of github.com:redwoodjs/redwood: (244 commits)
      chore(deps): update dependency @replayio/playwright to v0.3.0 (#6735)
      chore: update all contributors
      Update Clerk docs (#6712)
      Update firebase auth docs (#6717)
      Clerk: Simplify web implementation (#6713)
      Add auth decoder to clerk auth setup (#6718)
      Auth: Update firebase setup script (#6716)
      chore: Remove redundant space " " (#6714)
      Update the Clerk setup script and templates (#6710)
      Fix decouple auth related type errors (#6709)
      fix(deps): update dependency css-minimizer-webpack-plugin to v4.2.2 (#6688)
      fix(deps): update dependency @graphql-codegen/cli to v2.13.7 (#6687)
      feat: publish 2nd canary (@next) from release branch (#6505)
      fix: don't pr if can't cherry pick cleanly (#6703)
      fix(dbAuth): add required packages to setup command (#6698)
      Netlify: Enable auth-providers-api and auth-providers-web installation (#6697)
      chore: make misc change to trigger canary publishing (#6695)
      chore: remove private on new packages (#6692)
      chore: run lint fix (#6691)
      Decouple auth (#5985)
      ...
    dac09 committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    2f9bc6b View commit details
    Browse the repository at this point in the history
  2. Fix merge conflicts

    dac09 committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    1866d1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    187bdb6 View commit details
    Browse the repository at this point in the history
  4. Use listr2 instead

    dac09 committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    1fdcf9c View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. Configuration menu
    Copy the full SHA
    0dc5e25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df49081 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'rc-service-caching' of github.com:redwoodjs/redwood int…

    …o rc-service-caching
    
    * 'rc-service-caching' of github.com:redwoodjs/redwood:
      chore: tweak release script for publishing from the next branch (#6745)
      Okta: Add packages to setup script (#6732)
      Azure setup auth: Install and import all needed packages (#6736)
      Setup auth: Update goTrue (#6733)
      Auth0 setup: Install correct packages (#6734)
      nhost auth: Add missing packages (#6742)
      Add missing packages to magicLink setup (#6741)
      supertokens setup auth: Add missing RW packages (#6744)
      Update Clerk import in decoder (#6685)
      Missing packages for Ethereum auth setup (#6740)
      supabase auth setup: Add missing rw packages (#6743)
      fix(Supabase): Set Supabase webPackage to 1.35.7 (#6739)
    dac09 committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    ec91bf3 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Configuration menu
    Copy the full SHA
    525d7e7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of github.com:redwoodjs/redwood into rc-service-c…

    …aching
    
    * 'main' of github.com:redwoodjs/redwood:
      Fix auth0 decoder import (#6764)
      chore: update all contributors
      chore(deps): update dependency @replayio/playwright to v0.3.1 (#6752)
      Backports tutorial updates to 3.1 and 3.2 (#6754)
      fix: handle webpackFinal merging separately (#5957)
      [Tutorial] Adds api-side usage of currentUser (#6465)
      Update auth docs to not import global context (#6749)
      Update netlify auth docs (#6748)
      Update auth setup warning message (#6746)
    dac09 committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    bcb712d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    804d68d View commit details
    Browse the repository at this point in the history
  4. Fix bugs in the cli helper

    dac09 committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    a8f46ae View commit details
    Browse the repository at this point in the history
  5. Add partialMatch helper

    dac09 committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    3517a08 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. Updates toHaveCached() to accept an optional argument

    Can include the key you expect the value to have so that you can verify both
    cannikin committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    9be4d2a View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Configuration menu
    Copy the full SHA
    92c94b9 View commit details
    Browse the repository at this point in the history
  2. Support multiple values in partialMatch array |

    Disable parse(stringfy())
    dac09 committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    fa990ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    85846f7 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. fix: Check string values after serializing

    | update types
    dac09 committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    be443c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. docs: Update testing docs

    dac09 committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    55d3402 View commit details
    Browse the repository at this point in the history
  2. docs: small update

    dac09 committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    054e97e View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Merge branch 'main' of github.com:redwoodjs/redwood into rc-service-c…

    …aching
    
    * 'main' of github.com:redwoodjs/redwood: (21 commits)
      [Tutorial]: Fix Typescript code blocks inconsistency (#6801)
      chore: update all contributors
      Custom auth: Fix comment in template (#6804)
      fix(deps): update dependency eslint to v8.26.0 (#6785)
      [CRWA]: Switch to using enquirer, add engine compatibility override option (#6723)
      (docs): Minor Command update about Storybook (#6722)
      docs: Add mocking useLocation to docs (#6791)
      Update generated render.yaml (#6771)
      fix flightcontrol config template (#6789)
      fix: publish canary using premajor (#6794)
      Strip resetToken and resetTokenExpiresAt from dbAuth forgotPassword handler (#6778)
      Fix WebAuthn when event body is base64 encoded (like when deploying to Vercel) (#6757)
      fix(deps): update jest monorepo (#6787)
      fix(deps): update dependency react-hook-form to v7.39.1 (#6786)
      fix(deps): update dependency fastify to v4.9.2 (#6781)
      fix(deps): update dependency @apollo/client to v3.7.1 (#6780)
      chore: fix and rebuild test project fixture (#6775)
      fix: add prisma resolutions to tutorial e2e test proj (#6772)
      fix(deps): update prisma monorepo to v4.5.0 (#6485)
      Fix dbauth webauthn template (redundant type import) (#6769)
      ...
    dac09 committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    f7edb1d View commit details
    Browse the repository at this point in the history
  2. fix: Remove matcher options

    Update docs on strict matching
    dac09 committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    5b33cd6 View commit details
    Browse the repository at this point in the history
  3. Update docs/docs/testing.md

    dac09 authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    63dadc7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94ecbc2 View commit details
    Browse the repository at this point in the history
  5. Update docs/docs/services.md

    Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
    cannikin and jtoar authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    ad55b55 View commit details
    Browse the repository at this point in the history
  6. Update docs/docs/services.md

    Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
    cannikin and jtoar authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    f5a9386 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Apply suggestions from code review

    Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
    Co-authored-by: Rob Cameron <cannikin@fastmail.com>
    3 people authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    86adeab View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
    dac09 and jtoar authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    a6e62d0 View commit details
    Browse the repository at this point in the history
  3. Update docs/docs/services.md

    Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
    cannikin and jtoar authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    ddb5ae6 View commit details
    Browse the repository at this point in the history
  4. Code example changes

    cannikin committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    b069817 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7e05ff1 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Configuration menu
    Copy the full SHA
    61a58d9 View commit details
    Browse the repository at this point in the history