This repository was archived by the owner on Mar 31, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
7.7.4
->8.6.0
Release Notes
redwoodjs/redwood (@redwoodjs/api)
v8.6.0
Compare Source
v8.5.0
Compare Source
Changelog
🚀 Features
feat(cli): Support generating sdls for models with only an id and relation (#11931) by @Tobbe
It's now possible to generate SDL files for models that look like this[Storybook] Improve typing, add doc links & remove redundant JSDoc in preview.tsx (#11745) by @Philzen
Better types for storybook preview config Better IntelliSense hints for storybookfeat(router): Add option to not reset scroll to the top on navigate/link (#11380) by @guitheengineer
You can now donavigate(`?id=${id}`, { scroll: false })
and<Link to={`?id=${id}`} options={{ scroll: false }} />
to not reset the scroll to the top when navigating.feat(dbAuth): Lax SameSite cookie policy (#11889) by @Tobbe
Setting theSameSite
cookie policy toLax
allows users to be immediately authenticated when arriving from external domains.🛠️ Fixes
fix(cli): Pin TailwindCSS to v3 (#11920) by @Tobbe
Pinning TW to v3 for our `yarn rw setup ui tailwind` command until we've added support for TW v4📚 Docs
📦 Dependencies
Click to see all dependency updates
v8.4.4
Compare Source
Changelog
This release manually fixes the versioning issue with previous release.
📦 Dependencies
Click to see all dependency updates
v8.4.3
Compare Source
Changelog
🛠️ Fixes
<PrivateSet>
s (#11739) by @Philzenid
(#11749) by @TobbeuseEffect is not defined
in i18n template (#11788) by @Philzenyarn rw test
(#11887) by @PhilzenFix AuthProviderProps export missing from
`AuthProviderProps` is now exported from `@redwood/auth`@redwood/auth
(#11766) by @PhilzenFix absolute & component folder imports in Storybook config folder (#11746) by @Philzen
Include the storybook config folder in the includes in `{ts,js}config.json`[TS] Include query parameters in typed Cell component props (#11737) by @Philzen
If you have a Cell that for example takes an `id` prop, to be used as a query parameter, it'd also be passed to the individual cell components. This is now properly reflected in the types.fix(ogimage): Corrected package.json exports (#11724) by @Tobbe
Fix publish warnings in our ogImage package. Making TS types available for anyone using this packageRemove header example with broken link (#11776) by @Philzen
We used to have an `x-auth-comment` header with a link describing how to set up auth for the graphql playground. The link was broken, and no extra setup is needed anymore. So the comment header is now removed.Fix Storybook preview config being set up in old config directory (#11869) by @Philzen
Store Storybook config in `web/.storybook/`fix(forms): Re-export InputFieldProps (#11879) by @Tobbe
Makes it possible to import the `InputFieldProps` type from `@redwoodjs/forms`📚 Docs
📦 Dependencies
Click to see all dependency updates
🧹 Chore
Click to see all chore contributions
v8.4.2
Compare Source
Changelog
🛠️ Fixes
fix: 🐛 add custom headers to subscription in apollo client (#11744) by @dennemark
Allow passing custom headers to `sseLink`, which is used by the Apollo client for subscriptions.Include
.storybook
folder in Linting (#11748) by @Philzenfix(api-server): prevent race condition in server restart process (#11731) by @o0charlie0o
📚 Docs
📦 Dependencies
Click to see all dependency updates
🧹 Chore
Click to see all chore contributions
v8.4.1
Compare Source
Changelog
🛠️ Fixes
fix(dbAuth): Don't use Multi Value Headers on Vercel (#11718) by @Tobbe
Fixes a regression regarding dbAuth on Vercel introduced in RW 8
Properly kill dev api-server (#11691) by @callingmedic911
Sometime the api-server doesn't get killed in time before the new instance is started. This change makes sure that we wait for the process. If it's not killed within 2 seconds with SIGTERM, we send a SIGKILL to it.
Fix build with TS alias without basePath (#11693) by @callingmedic911
It fixes the build process for a project with TypeScript path alias. It uses root directory as the fallback if there's no baseUrl in
tsconfig.json
.v8.4.0
Compare Source
Changelog
🚧 🚨 Experimental Breaking
breaking(rsc): Removing live-reload RSC dev server approach (#11648) by @Tobbe
Please see #11648 for more details🚀 Features
feat(baremetal): Check available disk space (#11469) by @Tobbe
Adds an early step to the
yarn rw deploy baremetal
command that checks tomake sure there is enough free disk space on the server before continuing.
By default it will make sure there is at least 2048 MB (2 GB) of free disk space
but this can be changed by setting the new
deploy.toml
optionfreeSpaceRequired
to however many MB you want.You can skip this step by passing
--no-df
to thedeploy baremetal
command orsetting
freeSpaceRequired
to0
.🛠️ Fixes
fix(jobs): merge job options to prevent 'undefined' values in place of defaults (#11666) by @Josh-Walker-GM
Please see #11666 for more detailsfix(jobs): Fixes creating worker with deleteSuccessfulJobs config setting in JobManager (#11653) by @dthyresson
According to the Job documentation, the JobManager's
deleteSuccessfulJobs
can be used to decide if one wants successfully completed jobs from being deleted from theBackgroundJobs
table.Keeping job run history around is useful for reporting purposes, such s hoe many jobs run over time, how many fails, how many successes, etc.
However, the
deleteSuccessfulJobs
was not being correctly passed to the worker increateWorker
so the worker always used the default value -- true -- and always deleted the job run record regardless of configuration.This PR fixes this issue by setting the config value when creating the worker.
fix(crwa): Add missing quotes to seed example (#11651) by @Tobbe
Just un-commenting the example seed code now gives you valid code to seed your database with
fix(web) type NonSuspenseCellQueryResult... (#11639) by @richard-stafflink
The result you get back as
queryResult
is now properly typed. Typically thetype will be something like
FindPostById
, i.e. the first type that is passedto
CellSuccessProps
(instead of just beingany
).fix(crwa): Better handling of installing to . (#11645) by @Tobbe
When installing to
cwd
:cd
(which would move you to your home directory, whichmost likely is not what you want)
📚 Docs
docs(deploy): fix grove command (#11689) by @Josh-Walker-GM
Please see #11689 for more detailsdocs: fix versioned docs (#11643) by @Josh-Walker-GM
Please see #11643 for more detailsRemoved 'Azure' as deploy provider mention' (#11116) by @pantheredeye
Please see #11116 for more detailsFix email link in tutorial (#11636) by @cannikin
Please see #11636 for more detailsUpdate the Deployment step of the tutorial for GROVE (#10890) by @cannikin
Please see #10890 for more details📦 Dependencies
Click to see all dependency updates
🧹 Chore
Click to see all chore contributions
🚧 🧹 Experimental Chore
Click to see all chore contributions
v8.3.0
Compare Source
Changelog
🚧 🚨 Experimental Breaking
chore(deps): Upgrade to React 19 RC 20240916 (#11575) by @Tobbe
Please see #11575 for more details🛠️ Fixes
fix `NODE_OPTIONS` env forwarding (#11587) by @cometkim
This change updates how we pass through any
NODE_OPTIONS
when you run the API side development server withyarn rw dev
. Previously there may have been issues like unescaped spaces in paths which would have produced errors like:Now these sort of error should no longer occur.
fix(dbAuth): Fix WebAuthn when authModelAccessor is set to a custom value (#11605) by @antonmoiseev
Previously if you had setup dbAuth with WebAuthn support and had chosen to rename the
User
andUserCredential
models to some other name, such asAccount
andAccountCredential
then dbAuth would have failed with an error something like:This change fixes the database access so that it correctly takes into account the configured
authModelAccessor
.Note: You should ensure your WebAuthn table has a unique index applied on the configured
id
column. Something like what our setup command generates will work great:Fix storybook-vite not starting when `auth.ts` contains named imports after `createAuth` (#11593) by @Philzen
This change fixes an issue with our internal storybook mocks. Previous to this you might find that your storybook would fail with an error like:
This was due to a bug in our handling of imports which this change fixes.
Fixes `yarn rw jobs clear` command (#11578) by @cannikin
fix(graphql): Allow including 'File' scalar by default to be disabled (#11540) by @Josh-Walker-GM
As of v8.0.0 a
File
scalar was added to your graphql schema by default. This could be problematic if you wanted to define your ownFile
scalar.With this change it is now possible to disable including this scalar by default. To see how to do so look at the
Default Scalar
section of theGraphql
docs hereDefault NODE_ENV to "development" if it's `undefined` when starting jobs worker (#11572) by @cannikin
This mimics the behavior of
yarn rw dev
whereNODE_ENV
will equaldevelopment
if you don't set it explicitly.🚧 🛠️ Experimental Fixes
Revert "fix(rsc): Set a yarn resolution for rollup 4.21.3 (#11592)" (#11600) by @Tobbe
Please see #11600 for more detailsfix(rsc): Set a yarn resolution for rollup 4.21.3 (#11592) by @Tobbe
Please see #11592 for more details📚 Docs
fix(docs): warn that uploads/storage is experimental (#11590) by @Josh-Walker-GM
Please see #11590 for more details📦 Dependencies
Click to see all dependency updates
🧹 Chore
Click to see all chore contributions
🚧 🧹 Experimental Chore
Click to see all chore contributions
v8.2.0
Compare Source
Changelog
🚀 Features
feat(cli): Make scaffolded layout routing type-safe (#11542) by @Tobbe
With this feature we now make sure only valid route names are passed as
titleTo
andbuttonTo
props to the scaffolded layout.This also means you get helpful code completion when typing out the prop values
[gh11385] Updated the generated page template (#11533) by @ahaywood
This change alters the default content produced when you generate page with
yarn rw g page
. Previously our generated content contained code that would error out if you had a route parameter in your page - because the link we automatically generated would not contain a value for that parameter.🛠️ Fixes
fix(scaffold): Use plain strings in NamesCell template (#11546) by @Tobbe
Please see #11546 for more detailsfix(crwrsca): Spawn in shell on Windows (#11565) by @Tobbe
Please see #11565 for more detailsfix(crwa): silence telemetry errors (#11557) by @Josh-Walker-GM
Please see #11557 for more detailsfix(crwrsca): Check for Node >= 20.10.0 (#11544) by @Tobbe
Please see #11544 for more details📚 Docs
docs(uploads): Tweaks from updating the Recipes example app (#11571) by @Tobbe
Please see #11571 for more detailsdocs(how-to): replace crypto-js with node's crypto module for random number generation in passwordless auth (#11568) by @antonmoiseev
Please see #11568 for more detailsdocs(how-to): Fix example in dbauth-passworless docs (#11567) by @Tobbe
Please see #11567 for more detailsDocs: Use Redwood's hashPassword() for loginToken hashing in the password-less dbAuth flow (#11566) by @antonmoiseev
Please see #11566 for more detailsReplace MetaTags with Metadata component (#11564) by @antonmoiseev
Please see #11564 for more detailsdocs(chore): Fix formatting (#11524) by @Tobbe
Please see #11524 for more details📦 Dependencies
Click to see all dependency updates
🧹 Chore
Click to see all chore contributions
🚧 🧹 Experimental Chore
Click to see all chore contributions
v8.1.1
Compare Source
Changelog
🛠️ Fixes
fix(cli): handle both single and double quotes during dbAuth setup (#11534) by @Josh-Walker-GM
If you had changed your prettier config to use double quotes instead of the default single quotes then the
yarn rw setup auth dbAuth
would fail. This change fixes that command to work regardless of quote flavour.fix(auth0): avoid use of undefined global in browser environment (#11531) by @Josh-Walker-GM
The Auth0 auth provider was failing in the browser due to trying to access
global
. This change corrects this and fixes Auth0 usage in the browser.🧹 Chore
Click to see all chore contributions
v8.1.0
Compare Source
Changelog
🚧 🚀 Experimental Features
feat(uploads): Add setup command (#11423) by @dac09
Please see #11423 for more details🛠️ Fixes
fix: update community discussion link in output from cli - yarn rw upgrade (#11468) by @jgal1
Please see #11468 for more detailsfix(cli): explicitly set the version so `--version` works (#11461) by @Josh-Walker-GM
Please see #11461 for more detailsfix(jobs): Make deleteSuccessfulJobs configurable (#11459) by @Tobbe
Make the jobs Executor respect the
deleteSuccessfulJobs
config optionfix(linting): Re-enable babel presets during linting of javascript projects (#11458) by @Josh-Walker-GM
The
yarn rw lint
command was failing for JavaScript projects. This change re-enables certain babel plugins to correct this issue and allow this command to succeed again.fix(resolutions): Remove rehackt resolution (#11447) by @Tobbe
The rehackt resolution isn't needed anymore. Apollo Client has updated to rehackt 0.1.0. See https://github.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#3101
Unfortunately this requires our users to manually go and update their resolutions
Updates SDL codegen to handle prettier 3 correctly (#11446) by @orta
Please see #11446 for more details🚧 🛠️ Experimental Fixes
fix(rsc): Don't run the Vite dev server in production (#11425) by @Tobbe
Please see #11425 for more detailsfix(rsa): Use dist filenames when registering server references (#11417) by @Tobbe
Please see #11417 for more details📚 Docs
Correct Note Admonition (#11455) by @pantheredeye
Please see #11455 for more detailsdocs(uploads): Add upload docs (#11398) by @dac09
Please see #11398 for more details📦 Dependencies
Click to see all dependency updates
🧹 Chore
Click to see all chore contributions
🚧 🧹 Experimental Chore
Click to see all chore contributions
v8.0.0
Compare Source
Upgrade Guide
https://redwoodjs.com/upgrade/v8
Changelog
🚨 Breaking
deps(react): 18.3.1 (#10885) by @Tobbe
- If you want to rebase/retry this PR, check this box
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.