Service Caching
This release introduces Service Caching! Now you can cache below the GraphQL layer at the Service level. Once you've upgraded, you can get started by using the cache setup command for the client of your choice (memcached or redis):
yarn rw setup cache memcached
yarn rw setup cache redis
@cannikin made a brand-new video to show you what it's all about: https://www.youtube.com/watch?v=TChU_mwQUoY (and wrote docs for good measure). We'll also have a special edition of Redwood Office hours dedicated to Service Caching December 1st. Register on Discord or using this link: https://discord.gg/fe8kBuBa?event=1044622098573840404.
Changelog
Unique contributors: 9
PRs merged: 18
Features
- Adds caching for services #6082 by @cannikin
- (crwa): Switch to using enquirer, add engine compatibility override option #6723 by @ehowey
- (crwa): Add git init option #6805 by @ehowey
Fixed
- fix(deps): update dependency fastify to v4.10.2 [security] #6936
- fix: print notes straight to stdout #6871 by @jtoar
- fix: add missing
jsonDisplay
function to formatters.tsx.template #6902 by @Josh-Walker-GM
Chore
- chore: publish canary using premajor #6794 by @jtoar
- chore(generate): refactor how page tests are written #6825 by @dac09
- chore(generate): refactor layout generator tests for performance #6826 by @dac09
- chore(generate): refactor functions generator tests for performance #6827 by @dac09
- chore(generate): update scaffoldPath test #6828 by @dac09
- chore: add branch strategy tooling #6857 by @jtoar
- chore: fix rebuild test-project fixture by passing
--no-git
#6861 by @jtoar
Docs
- docs: minor Command update about Storybook #6722 by @jacebenson
- docs: add mocking useLocation to docs #6791 by @bigbuckalex
- docs: move hooks section after components section in testing reference #6797 by @jtoar
- tutorial: fix Typescript code blocks inconsistency #6801 by @simoncrypta
- docs(tutorial): fix typo in createContact service type #6810 by @dac09
- docs: fix capitalization of "--webauthn" #6815 by @james-interfold
Package Dependencies
View all Dependency Version Upgrades
- chore(deps): update babel monorepo #6779 by @renovate
- fix(deps): update dependency eslint to v8.26.0 #6785 by @renovate
- fix(deps): update dependency react-hook-form to v7.39.1 #6786 by @renovate
- fix(deps): update jest monorepo #6787 by @renovate
- fix(deps): update dependency babel-loader to v9 #6788 by @renovate
- chore(deps): update dependency @replayio/playwright to v0.3.2 #6816 by @renovate
- fix(deps): update dependency fastify-raw-body to v4.1.1 #6817 by @renovate
- fix(deps): update jest monorepo #6818 by @renovate
- fix(deps): update storybook monorepo to v6.5.13 #6819 by @renovate
- chore(deps): update dependency cypress to v10.11.0 #6820 by @renovate
- fix(deps): update dependency @fastify/http-proxy to v8.3.0 #6821 by @renovate
- fix(deps): update dependency core-js to v3.26.0 #6822 by @renovate
- fix(deps): update dependency pino to v8.7.0 #6823 by @renovate
- fix(deps): update jest monorepo to v29.3.1 #6848 by @renovate
- fix(deps): update dependency webpack to v5.75.0 #6849 by @renovate
- chore(deps): update dependency cypress to v11 #6850 by @renovate
- fix(deps): update prisma monorepo to v4.6.0 #6851 by @renovate
- fix(deps): update prisma monorepo to v4.6.1 #6860 by @renovate