Releases: redwoodjs/redwood
v7.7.1
Patch Release
This release contains no implementation changes. It was needed to resolve a mistake in our previously published release due to an issue with our release tooling. This issue has now been corrected and a correctly published set of packages can be found at this new patch version.
v7.7.0
Changelog
-
Add Storybook (Vite) framework package (#10064) by @arimendelow
This change adds a Storybook framework package for using Storybook with Vite. It updates the CLI to include a new
yarn rw sbv
for running Storybook using Vite. The new CLI package additionally creates Mock Service Worker, and, on first run, the project-side Storybook config files. For more information and feedback please see this community post. -
feat(tw): Add IntelliSense settings for Tailwind CSS VS Code plugin (#10344) by @Tobbe
Add intellisense and color support for not only
className
(which is enabled by default), but also foractiveClassName
anderrorClassName
, which are two css class name props we use in RedwoodManual Instructions
If you already have TW set up and want to enable this, open.vscode/settings.json
and add this:"tailwindCSS": { "classAttributes": ["class", "className", "activeClassName", "errorClassName"] }
-
feat: add customize content type parsers for api plugin (#10573) by @Josh-Walker-GM
This change adds a new
configureApiServer
option to thecreateServer
function used within the server file. This fixes an issue where it was not possible to configure the API server - such as adding custom content parsers or adding compression. Updated docs on how to use this new functionality can currently be found here. -
docs(docker): Clarify how to setup Docker with custom Server File (#10702) by @dthyresson
This change added clarity to how to setup Docker with custom Server File.
-
chore(auth): add password validation to dbAuth resetPassword handler (#10734) by @irg1008
This pull request adds password validation on resetPassword handler using the one from the signup handler. This was previously missing from the default implementation. See #10724 for more details.
-
Updates seeds script to be more generic, no more errors throw on first run (#10739) by @cannikin
Updated the template seed script to not contain any actual seed data, just comments about how to use it when the time comes. This comes with updated documentation.
-
feat(cli): react compiler lint only setting (#10761) by @Josh-Walker-GM
You can now add
lintOnly = true
within your[experimental.reactCompiler]
TOML settings to enable the react compiler linting rules without the compiler itself enabled during code compilation. See here for more details. -
fix(dbauth): Combine react imports (#10788) by @Tobbe
Clean up imports in
g dbAuth
templates. -
fix(dbauth): Don't duplicate authDecoder creation (#10791) by @Tobbe
Make it possible to run the dbAuth setup command more than once without getting invalid code as a result.
-
feat(dbAuth): Only suggest dbAuth setup if needed (#10793) by @Tobbe
Detect if dbAuth is already setup, and don't suggest setting it up if it is.
-
fix(dbauth): Fix spacing issue in task titles (#10811) by @Tobbe
Fix double space issue in
yarn rw generate dbAuth
output -
fix(dbAuth): Print the correct "post message" after setup (#10813) by @Tobbe
After running
yarn rw generate dbAuth
the correct message describing the needed manual steps is now printed if the user choses to enable WebAuthn support
Dependencies
Click to see all upgraded dependencies
- fix(deps): update dependency systeminformation to v5.22.10 #10785
- chore(deps): update dependency @supabase/supabase-js to v2.43.4 #10772
- fix(deps): update dependency @clerk/clerk-sdk-node to v4.13.20 #10780
- fix(deps): update dependency react-hook-form to v7.51.5 #10784
- chore(deps): update dependency supertokens-node to v15.2.3 #10779
- fix(deps): update dependency eslint-plugin-react to v7.34.2 #10782
- chore(deps): update dependency @azure/msal-browser to v2.39.0 #10806
- fix(deps): update dependency systeminformation to v5.22.11 #10804
- chore(deps): update dependency nodemon to v3.1.3 #10803
- chore(deps): update dependency @clerk/clerk-react to v4.32.2 #10794
- chore(deps): update dependency firebase to v10.12.2 #10802
- chore(deps): update yarn to v4.3.0 #10801
v7.6.3
Patch Release
-
fix(cli): Fix issues with Serverless deployments in 7.x (#10646) by @jwwisgerhof
Serverless deployments were not functional since an internal update in the last minor versions. This change updates the NFT packer to a more modern import system which resolves the issue.
-
fix(cli): Directive generator command was not creating files (#10698) by @dthyresson
The change fixes a regression in the directive generator where files were not created.. For more information see this issue.
v7.6.2
Patch Release
-
fix(cli): Correct baremetal deploy command construction (#10675) by @Josh-Walker-GM
We correct a bug in the CLI introduced in the prior patch for baremetal deployments.
v7.6.1
Patch Release
-
fix(cli): Handle case for no arguments for verbose baremetal deploy (#10663) by @Josh-Walker-GM
The change corrects a bug during baremetal deployments when using the
--verbose
flag. See #10654 for more details.
v7.6.0
Changelog
-
feat(cli): Add experimental setup command for React Compiler (#10574) by @Josh-Walker-GM
You can now use
yarn rw exp setup-react-compiler
to enable the experimental React Compiler. See our forum post for more information and feedback. -
fix(cli): Add deprecation notice for edgio deployment (#10551) by @Josh-Walker-GM
This change adds notices to the CLI and our documentation site to inform you that the edgio deployment provider is now deprecated as of v7.
-
Added warning note to not add WebAuthn (#10231) by @pantheredeye
Adds a warning to the tutorial telling users not to add WebAuthn as it's not supported by the generated login pages the tutorial uses.
-
fix(functions): Fix context variable warning/error (#10556) by @Tobbe
In a newly generated function there's a warning/error in the JSDoc that also prevents VSCode from showing the correct information. This change corrects this problem.
-
patch(crwa): Fix small annoyances (formatting, spell-check) (#10651) by @Tobbe
This change corrects a few typo errors and improves the formatting of our template files.
-
Docs: QoL Updates to Contributing.md (#10561) by @pantheredeye
Quality of life updates for the contributing doc (the document in the root of the main repository).
Dependencies
Click to see all upgraded dependencies
- fix(deps): update dependency systeminformation to v5.22.9 #10575
- fix(deps): update dependency lru-cache to v10.2.2 #10580
- chore(deps): update dependency rimraf to v5.0.7 #10577
- chore(deps): update dependency esbuild to v0.21.3 #10581
- chore(deps): update dependency semver to v7.6.2 #10578
- fix(deps): update dependency @react-email/render to v0.0.13 #10590
- chore(deps): update dependency @envelop/core to v5.0.1 #10587
- fix(deps): update dependency @types/aws-lambda to v8.10.137 #10591
- chore(deps): update dependency @testing-library/jest-dom to v6.4.5 #10588
- fix(deps): update dependency ioredis to v5.4.1 #10583
- chore(deps): update dependency supertokens-node to v15.2.2 #10597
- fix(deps): update dependency qs to v6.12.1 #10599
- fix(deps): update dependency css-loader to v6.11.0 #10601
- fix(deps): update dependency envinfo to v7.13.0 #10603
- fix(deps): update dependency pino to v8.21.0 #10604
- fix(deps): update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.13 #10605
- fix(deps): update dependency graphql-yoga to v5.3.1 #10607
- fix(deps): update dependency @types/webpack-env to v1.18.5 #10609
- fix(deps): update dependency @types/aws-lambda to v8.10.138 #10608
- fix(deps): update dependency webpack-bundle-analyzer to v4.10.2 #10612
- fix(deps): update dependency @clerk/clerk-sdk-node to v4.13.16 #10611
- chore(deps): update dependency redis to v4.6.14 #10610
- fix(deps): update dependency babel-plugin-module-resolver to v5.0.2 #10615
- chore(deps): update dependency @clerk/clerk-react to v4.31.1 #10616
- fix(deps): update dependency react-hook-form to v7.51.4 #10622
- fix(deps): update dependency react-helmet-async to v2.0.5 #10621
- fix(deps): update dependency fastify to v4.27.0 #10625
- fix(deps): update prisma monorepo to v5.14.0 #10627
- fix(deps): update dependency @sdl-codegen/node to v0.0.15 #10632
- fix(deps): update dependency mini-css-extract-plugin to v2.9.0 #10633
- chore(deps): update yarn monorepo #10624
- chore(deps): update dependency firebase to v10.12.0 #10635
- fix(deps): update dependency @graphql-yoga/plugin-defer-stream to v3.3.1 #10638
- fix(deps): update dependency @graphql-yoga/plugin-persisted-operations to v3.3.1 #10640
- fix(deps): update dependency core-js to v3.37.1 #10630
- fix(deps): update graphql-tools monorepo #10641
- fix(deps): update dependency @graphql-yoga/plugin-graphql-sse to v3.3.1 #10639
- chore(deps): update babel monorepo to v7.24.5 #10614
- chore(deps): update dependency @supabase/supabase-js to v2.43.2 #10365
- fix(deps): update dependency graphql-sse to v2.5.3 #10364
- chore(deps): update node.js to >=14.17 <=20.13 #10368
- chore(deps): update dependency vscode-languageserver-protocol to v3.17.5 #10351
v7.6.0-rc.73
Changelog
-
feat(cli): Add experimental setup command for React Compiler (#10574) by @Josh-Walker-GM
You can now use
yarn rw exp setup-react-compiler
to enable the experimental React Compiler. See our forum post for more information and feedback. -
fix(cli): Add deprecation notice for edgio deployment (#10551) by @Josh-Walker-GM
This change adds notices to the CLI and our documentation site to inform you that the edgio deployment provider is now deprecated as of v7.
-
Added warning note to not add WebAuthn (#10231) by @pantheredeye
Adds a warning to the tutorial telling users not to add WebAuthn as it's not supported by the generated login pages the tutorial uses.
-
fix(functions): Fix context variable warning/error (#10556) by @Tobbe
In a newly generated function there's a warning/error in the JSDoc that also prevents VSCode from showing the correct information. This change corrects this problem.
-
Docs: QoL Updates to Contributing.md (#10561) by @pantheredeye
Quality of life updates for the contributing doc (the document in the root of the main repository).
Dependencies
Click to see all upgraded dependencies
- fix(deps): update dependency systeminformation to v5.22.9 #10575
- fix(deps): update dependency lru-cache to v10.2.2 #10580
- chore(deps): update dependency rimraf to v5.0.7 #10577
- chore(deps): update dependency esbuild to v0.21.3 #10581
- chore(deps): update dependency semver to v7.6.2 #10578
- fix(deps): update dependency @react-email/render to v0.0.13 #10590
- chore(deps): update dependency @envelop/core to v5.0.1 #10587
- fix(deps): update dependency @types/aws-lambda to v8.10.137 #10591
- chore(deps): update dependency @testing-library/jest-dom to v6.4.5 #10588
- fix(deps): update dependency ioredis to v5.4.1 #10583
- chore(deps): update dependency supertokens-node to v15.2.2 #10597
- fix(deps): update dependency qs to v6.12.1 #10599
- fix(deps): update dependency css-loader to v6.11.0 #10601
- fix(deps): update dependency envinfo to v7.13.0 #10603
- fix(deps): update dependency pino to v8.21.0 #10604
- fix(deps): update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.13 #10605
- fix(deps): update dependency graphql-yoga to v5.3.1 #10607
- fix(deps): update dependency @types/webpack-env to v1.18.5 #10609
- fix(deps): update dependency @types/aws-lambda to v8.10.138 #10608
- fix(deps): update dependency webpack-bundle-analyzer to v4.10.2 #10612
- fix(deps): update dependency @clerk/clerk-sdk-node to v4.13.16 #10611
- chore(deps): update dependency redis to v4.6.14 #10610
- fix(deps): update dependency babel-plugin-module-resolver to v5.0.2 #10615
- chore(deps): update dependency @clerk/clerk-react to v4.31.1 #10616
- fix(deps): update dependency react-hook-form to v7.51.4 #10622
- fix(deps): update dependency react-helmet-async to v2.0.5 #10621
- fix(deps): update dependency fastify to v4.27.0 #10625
- fix(deps): update prisma monorepo to v5.14.0 #10627
- fix(deps): update dependency @sdl-codegen/node to v0.0.15 #10632
- fix(deps): update dependency mini-css-extract-plugin to v2.9.0 #10633
- chore(deps): update yarn monorepo #10624
- chore(deps): update dependency firebase to v10.12.0 #10635
- fix(deps): update dependency @graphql-yoga/plugin-defer-stream to v3.3.1 #10638
- fix(deps): update dependency @graphql-yoga/plugin-persisted-operations to v3.3.1 #10640
- fix(deps): update dependency core-js to v3.37.1 #10630
- fix(deps): update graphql-tools monorepo #10641
- fix(deps): update dependency @graphql-yoga/plugin-graphql-sse to v3.3.1 #10639
v7.5.1
Patch Release
-
Fix radio button null element default prop to use correct input (#10510) by @jason-curtis
This change fixes an issue with the
defaultChecked
field when using the scaffold generator with an enum. You should now see correct code generated to determine if the default is checked or unchecked. -
fix(functions): Mock context in function test template (#10555) by @Tobbe
Currently if you switch on TypeScript strict mode in a Redwood project you will get red squiggles in our default function tests that we create when users generate new functions. This change corrects this particular error by providing the correct function parameter in the generated code.
v7.5.0
Changelog
-
feat(upgrade): Use GitHub token if available when downloading patches (#10515) by @Tobbe
When you upgrade via
yarn rw upgrade
and require yarn patches, we will now use a GitHub token if it is available in your environment when fetching the git tree from GitHub. We supportGH_TOKEN
,GITHUB_TOKEN
andREDWOOD_GITHUB_TOKEN
as the env var names. -
feat(baremetal): Add verbose output to ssh exec (#10525) by @Tobbe
This change adds additional logging to the ssh during baremetal when you use
--verbose
. Allowing you to see exactly what SSH commands are being run, and in what path. -
feat(baremetal): Add more details to error messages (#10527) by @Tobbe
Now when an ssh command execution fails the error message will additionally include the directory it was executed in and the full stderr message
-
Add redwood.toml to
yarn rw info
(#10518) by @TobbeThe project
redwood.toml
file is now included in theyarn rw info
output to make it easier and faster to provide enough details for issues to be debugged quicklyBefore
System: OS: macOS 14.1.1 Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.0 - /usr/local/bin/node Yarn: 4.1.1 - /usr/local/bin/yarn Databases: SQLite: 3.39.5 - /usr/bin/sqlite3 Browsers: Safari: 17.1
After
System: OS: macOS 14.1.1 Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.0 - /usr/local/bin/node Yarn: 4.1.1 - /usr/local/bin/yarn Databases: SQLite: 3.39.5 - /usr/bin/sqlite3 Browsers: Safari: 17.1 redwood.toml: [web] title = "Redwood App" port = 8910 apiUrl = "/.redwood/functions" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths includeEnvironmentVariables = [ # Add any ENV vars that should be available to the web side to this array # See https://redwoodjs.com/docs/environment-variables#web ] [api] port = 8911 [browser] open = true [notifications] versionUpdates = ["latest"]
-
Fix invisible tags in MetaTag & Metadata JSDoc (#10504) by @Philzen
This change fixes the common pitfall that tags of all kind are not visible in JSDoc view because it will try to interpret them as HTML. Now these tags should be visible when the JSDoc is rendered. See #10504 for more information
-
docs: Adds GraphQL Caching docs for Client and Response caching (#10054) by @dthyresson
This PR introduces new GraphQL documentation to cover both client and server (aka response) caching.
-
deps: Upgrade to React Testing Library 14.3.1 (#10514) by @Tobbe
v7.5.0-rc.33
Changelog
-
Fix invisible tags in MetaTag & Metadata JSDoc (#10504) by @Philzen
This change fixes the common pitfall that tags of all kind are not visible in JSDoc view because it will try to interpret them as HTML. Now these tags should be visible when the JSDoc is rendered. See #10504 for more information
-
feat(upgrade): Use GitHub token if available when downloading patches (#10515) by @Tobbe
If a GitHub token is available in the environment we use that when fetching the
git tree from GitHub. That way we're less likely to be rate limited. For most
users the token shouldn't be needed. The free allowance/usage of the GitHub API
should be enough.We support
GH_TOKEN
,GITHUB_TOKEN
andREDWOOD_GITHUB_TOKEN
as the env var names -
Add redwood.toml to
yarn rw info
(#10518) by @TobbeThe project
redwood.toml
file is now included in theyarn rw info
output to
make it easier and faster to help with issue reportsBefore
System: OS: macOS 14.1.1 Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.0 - /usr/local/bin/node Yarn: 4.1.1 - /usr/local/bin/yarn Databases: SQLite: 3.39.5 - /usr/bin/sqlite3 Browsers: Safari: 17.1
After
System: OS: macOS 14.1.1 Shell: 5.9 - /bin/zsh Binaries: Node: 20.11.0 - /usr/local/bin/node Yarn: 4.1.1 - /usr/local/bin/yarn Databases: SQLite: 3.39.5 - /usr/bin/sqlite3 Browsers: Safari: 17.1 redwood.toml: [web] title = "Redwood App" port = 8910 apiUrl = "/.redwood/functions" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths includeEnvironmentVariables = [ # Add any ENV vars that should be available to the web side to this array # See https://redwoodjs.com/docs/environment-variables#web ] [api] port = 8911 [browser] open = true [notifications] versionUpdates = ["latest"]
-
feat(baremetal): Add verbose output to ssh exec (#10525) by @Tobbe
Passing
--verbose
to the baremetal deploy command is supposed to give you
more detailed info about what's happening. Previously however passing
--verbose
didn't actually provide any extra information. This PR adds logging
to the new SshExecutor class so that you can see exactly what SSH commands are
being run, and in what path.Standard output (this stays the same before and after)
Before (verbose output)
Doesn't really help much compared to the standard output 😅 -
feat(baremetal): Add more details to error messages (#10527) by @Tobbe
Now when an ssh command execution fails the error message will additionally
include the directory it was executed in and the full stderr message