Highlight: 🧶 Yarn 3 (Preview)
This release adds preview support for using Yarn v3 with Redwood projects. Why would you want to bump from Yarn v1 to v3? Because it's amazingly superior. And it's SuperEasy™ to upgrade and try it out. Just run the codemod:
npx @redwoodjs/codemods@canary upgrade-yarn
Let us know how it goes!
Known Gotchas
Upgrading to Yarn 3 requirescorepack
. If you're on a Node.js version less thanv14.19
, you need to install it manually vianpm i -g corepack
Code Modification: Webhook timestamp verifiers
This is a required modification for projects using the the timestamp
webhook verifier option.
PR #4608 introduces a new option called eventTimestamp
. Together with the existing tolerance option it's possible to add timestamp diff checks to all verifiers. But do note that all webhook events won't have the needed timestamp info to implement. That's up to the vendor you're integrating with to include or not include. Currently we know Svix, Clerk and Stripe have the required info.
🚨This PR renames the timestamp
webhook verifier option to currentTimestampOverride
.
To automatically update your code, simply run this code modification in your Redwood project:
npx @redwoodjs/codemods@canary rename-verifier-timestamp
Manual Upgrade Step
Only necessary if you do not use the automated code mod above.
- For any webhook verifier you have a customized
timestamp
value, you'll need to rename the timestamp object key tocurrentTimestampOverride
. A simple find and replace should do the trick!
Changelog
Unique contributors: 9
PRs merged: 22
Features
- Enable yarn 3 for Redwood projects #4444 by @jtoar
- Webhook verifiers: Add Base64Sha256 version for Svix webhooks used by Clerk auth #4598 by @Tobbe
- feat(exec): Allow listing of scripts with rw exec to improve dx #4600 by @dac09
- Webhook verifiers: Make them all support timestamp diff check #4608 by @Tobbe
- BREAKING: see "Code Modifications"
Fixed
- Checking jest config web api #4529 by @josemasar
- Tailwind: Generate prettier-approved code #4541 by @Tobbe
- Update seed.ts to reflect correct input type #4560 by @martinjuhasz
- remove --schema option from
rw prisma migrate diff
#4590 by @thedavidprice
Chore
- Revamp Readme for 1.0 #4398 by @mojombo
- improve rebuildFixture ts-to-js logic #4574 by @thedavidprice
- use rebuildFixture without passing dir, fix test-project tailwind deps installation #4576 by @thedavidprice
- Add Codemod to Update Fatal Error Page to support Development version #4577 by @dthyresson
- updates the release script used to bump package versions #4612 by @thedavidprice
- remove Redwood extension from CRWA VS Code extension list #4613 by @thedavidprice
- Add custom log payload support to logFormatter #4619 by @dthyresson
- (fixture chore) move tailwind devDeps into root package.json #4623 by @thedavidprice
- part II of
#4623
#4626 by @thedavidprice - [CI] E2E wait for server start and Test move
setTimeout
outside test block #4638 by @jtoar - [Codemod] Handle node versions that don't bundle corepack #4645 by @jtoar
- fix dbAuth Auth template roles logic and types, run type-check on Smoke-test CI, and resolve TS errors #4566 by @thedavidprice
Package Dependencies
View all Dependency Version Upgrades
- Update prisma monorepo to v3.10.0 #4551 by @renovate
- Update graphql-tools monorepo #4568 by @renovate
- Update dependency @clerk/clerk-sdk-node to v2.9.4 #4570 by @renovate
- Update dependency @clerk/types to v1.25.4 #4571 by @renovate
- Update dependency @playwright/test to v1.19.2 #4572 by @renovate
- Update dependency @types/node to v16.11.26 #4573 by @renovate
- Update dependency @clerk/clerk-js to v2.14.3 #4575 by @renovate
- Update dependency eslint-plugin-react to v7.29.1 #4579 by @renovate
- Update actions/setup-node action to v3 #4580 by @renovate
- Update dependency @types/lodash to v4.14.179 #4582 by @renovate
- Update dependency eslint to v8.10.0 #4583 by @renovate
- Update dependency eslint-plugin-react to v7.29.2 #4586 by @renovate
- Update dependency systeminformation to v5.11.5 #4587 by @renovate
- Update dependency @supabase/supabase-js to v1.30.7 #4589 by @renovate
- Update dependency yargs-parser to v21.0.1 #4595 by @renovate
- Update dependency zx to v5.2.0 #4596 by @renovate
- Update typescript-eslint monorepo to v5.13.0 #4601 by @renovate
- Update dependency cypress to v9.5.1 #4602 by @renovate
- Update dependency typescript to v4.6.2 #4603 by @renovate
- Update dependency @clerk/clerk-js to v2.15.0 #4606 by @renovate
- Update dependency @clerk/types to v1.26.0 #4607 by @renovate
- Update dependency @apollo/client to v3.5.10 #4609 by @renovate
- Update actions/checkout action to v3 #4610 by @renovate
- Update dependency systeminformation to v5.11.6 #4611 by @renovate
- Update dependency @types/aws-lambda to v8.10.93 #4620 by @renovate
- Update dependency @types/react-dom to v17.0.12 #4621 by @renovate
- Update dependency @types/testing-library__jest-dom to v5.14.3 #4624 by @renovate
- Update dependency @clerk/clerk-js to v2.16.0 #4627 by @renovate
- Update dependency @clerk/types to v1.27.0 #4628 by @renovate
- Update dependency @types/react-dom to v17.0.13 #4629 by @renovate
- Update dependency msw to v0.38.2 #4630 by @renovate
- Update dependency eslint-config-prettier to v8.5.0 #4631 by @renovate
- Update dependency esbuild to v0.14.24 #4635 by @renovate
- Update dependency graphql-scalars to v1.15.0 #4636 by @renovate
- Update dependency @clerk/clerk-js to v2.16.1 #4639 by @renovate
- Update dependency @clerk/types to v1.27.1 #4640 by @renovate
- Update dependency supertokens-auth-react to v0.19.0 #4641 by @renovate
- Update dependency webpack to v5.70.0 #4642 by @renovate
- Update dependency @envelop/core to v2.1.0 #4643 by @renovate
- Update dependency @envelop/depth-limit to v1.3.0 #4644 by @renovate
- Update dependency @envelop/disable-introspection to v3.1.0 #4646 by @renovate
- Update dependency @envelop/filter-operation-type to v3.1.0 #4647 by @renovate
- Update dependency @envelop/parser-cache to v4.1.0 #4648 by @renovate
- Update dependency @envelop/testing to v4.1.0 #4649 by @renovate
- Update dependency eslint-plugin-react to v7.29.3 #4650 by @renovate
- Update dependency @envelop/validation-cache to v4.1.0 #4651 by @renovate
- Update dependency @types/vscode to v1.65.0 #4652 by @renovate
- Update dependency mini-css-extract-plugin to v2.6.0 #4653 by @renovate
- Update actions/upload-artifact action to v3 #4654 by @renovate
- Update dependency npm-packlist to v4 #4655 by @renovate
- Update dependency ts-morph to v14 #4656 by @renovate
- Bump url-parse from 1.5.7 to 1.5.10 in /__fixtures__/example-todo-main-with-errors #4584 by @dependabot
- Bump url-parse from 1.5.7 to 1.5.10 in /__fixtures__/example-todo-main #4585 by @dependabot