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

Update redwood monorepo to v8 (major) #64

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 30, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@redwoodjs/api (source) 4.1.4 -> 8.6.0 age adoption passing confidence
@redwoodjs/api (source) ^4.0.0-canary.227 -> ^8.0.0 age adoption passing confidence
@redwoodjs/api (source) 3.4.0 -> 8.6.0 age adoption passing confidence
@redwoodjs/auth (source) 4.0.0-canary.227+80b207b88 -> 8.6.0 age adoption passing confidence
@redwoodjs/core (source) 4.1.4 -> 8.6.0 age adoption passing confidence
@redwoodjs/core (source) ^4.0.0-canary.227 -> ^8.0.0 age adoption passing confidence
@redwoodjs/core (source) 3.4.0 -> 8.6.0 age adoption passing confidence
@redwoodjs/core (source) 3.2.1 -> 8.6.0 age adoption passing confidence
@redwoodjs/forms (source) 4.1.4 -> 8.6.0 age adoption passing confidence
@redwoodjs/forms (source) ^4.0.0-canary.227 -> ^8.0.0 age adoption passing confidence
@redwoodjs/forms (source) 3.4.0 -> 8.6.0 age adoption passing confidence
@redwoodjs/graphql-server (source) 4.1.4 -> 8.6.0 age adoption passing confidence
@redwoodjs/graphql-server (source) ^4.0.0-canary.227 -> ^8.0.0 age adoption passing confidence
@redwoodjs/graphql-server (source) 3.4.0 -> 8.6.0 age adoption passing confidence
@redwoodjs/router (source) 4.1.4 -> 8.6.0 age adoption passing confidence
@redwoodjs/router (source) ^4.0.0-canary.227 -> ^8.0.0 age adoption passing confidence
@redwoodjs/router (source) 3.4.0 -> 8.6.0 age adoption passing confidence
@redwoodjs/web (source) 4.1.4 -> 8.6.0 age adoption passing confidence
@redwoodjs/web (source) ^4.0.0-canary.227 -> ^8.0.0 age adoption passing confidence
@redwoodjs/web (source) 3.4.0 -> 8.6.0 age adoption passing confidence

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
// This would be seeded with available car brands
model CarBrand {
  brand String @​id
  cars  Car[]
}
[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 storybook
  • [TS + Docs] Include potential gql input variables in ListCell's Loading and Success component typing & improve TS docs (#​11773) by @​Philzen
feat(router): Add option to not reset scroll to the top on navigate/link (#​11380) by @​guitheengineer You can now do navigate(`?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 the SameSite cookie policy to Lax 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
  • chore(deps): update dependency prettier-plugin-curly to v0.3.1 (#​11855) by @​renovate
  • chore(deps): [email protected] (#​11895) by @​Tobbe
  • chore(deps) re-upgrade to yarn 4.6.0 (#​11911) by @​Tobbe
  • fix(deps): update dependency isbot to v5.1.21 (#​11912) by @​renovate
  • fix(deps): update dependency vite to v5.4.12 [security] (#​11916) by @​renovate
  • fix(deps): update dependency @​fastify/multipart to v8.3.1 [security] (#​11922) by @​renovate
  • chore(deps): bump store2 from 2.14.2 to 2.14.4 (#​11927) by @​dependabot

v8.4.4

Compare Source

Changelog

This release manually fixes the versioning issue with previous release.

📦 Dependencies
Click to see all dependency updates
  • chore(deps): docusaurus 3.7.0 (#​11900) by @​Tobbe

v8.4.3

Compare Source

⚠️
⚠️ This release is broken. Because of a bug in one of our dependencies the
⚠️ versioning of our packages did not work properly
⚠️ Please use a newer version
⚠️

Changelog
🛠️ Fixes
Fix AuthProviderProps export missing from @​redwood/auth (#​11766) by @​Philzen `AuthProviderProps` is now exported from `@redwood/auth`
Fix 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 package
Remove 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(deps): update dependency typescript-eslint to v8 (#​11234) by @​renovate
  • chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#​11725) by @​dependabot
  • chore(deps): bump nanoid from 3.3.7 to 3.3.8 (#​11778) by @​dependabot
  • chore(deps): Bump systeminformation from 5.23.5 to 5.23.8 (#​11793) by @​Tobbe
  • fix(deps): update dependency @​whatwg-node/server to v0.9.65 (#​11819) by @​renovate
  • fix(deps): update dependency dotenv to v16.4.7 (#​11820) by @​renovate
  • fix(deps): update dependency @​vitejs/plugin-react to v4.3.4 (#​11818) by @​renovate
  • fix(deps): update dependency isbot to v5.1.19 (#​11821) by @​renovate
  • chore(deps): update dependency @​clerk/types to v3.65.4 (#​11829) by @​renovate
  • chore(deps): update dependency @​clerk/clerk-react to v4.32.4 (#​11828) by @​renovate
  • chore(deps): update dependency @​types/nodemailer to v6.4.17 (#​11833) by @​renovate
  • chore(deps): update dependency eslint-plugin-n to v17.15.1 (#​11840) by @​renovate
  • chore(deps): update dependency firebase to v10.14.1 (#​11834) by @​renovate
  • chore(deps): update dependency @​types/nodemailer to v6.4.17 (#​11845) by @​renovate
  • chore(deps): update dependency ioredis to v5.4.2 (#​11846) by @​renovate
  • chore(deps): update dependency eslint-plugin-jsonc to v2.18.2 (#​11839) by @​renovate
  • fix(deps): update dependency esbuild to v0.24.2 (#​11847) by @​renovate
  • fix(deps): update dependency eslint-plugin-jsx-a11y to v6.10.2 (#​11848) by @​renovate
  • chore(deps): update dependency eslint-plugin-package-json to ^0.18.0 (#​11849) by @​renovate
  • chore(deps): update dependency eslint-plugin-perfectionist to v3.9.1 (#​11850) by @​renovate
  • chore(deps): update dependency eslint-plugin-yml to v1.16.0 (#​11853) by @​renovate
  • chore(deps): update dependency prettier to v3.4.2 (#​11854) by @​renovate
  • fix(deps): update dependency nodemailer to v6.9.16 (#​11858) by @​renovate
  • chore(deps): update dependency knip to v5.41.1 (#​11861) by @​renovate
  • [chore] Use framer-motion @​^11 instead of @​^9 for Chakra UI setup (#​11870) by @​Philzen
  • Update to @​typescript-eslint version that supports TypeScript 5.6.2 (#​11878) by @​Philzen
🧹 Chore
Click to see all chore contributions
  • [TS/chore] Migrate deprecated apollo `QueryReference` type in cellTypes.ts (#​11780) by @​Philzen
  • chore(formatting): Fix formatting in auth/src/index.ts (#​11792) by @​Tobbe
  • Remove extraneous `i18n` dependency from i18n setup (#​11789) by @​Philzen
  • [Chore] Update yarn to v4.6.0 (#​11874) by @​Philzen
  • [chore] Re-use loadEnvFiles from cli-helpers lib, elimininating code duplicatation (#​11885) by @​Philzen

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 @​Philzen

fix(api-server): prevent race condition in server restart process (#​11731) by @​o0charlie0o

📚 Docs
📦 Dependencies
Click to see all dependency updates
  • chore(deps): bump @​eslint/plugin-kit from 0.2.0 to 0.2.3 in /packages/create-redwood-rsc-app (#​11720) by @​dependabot
  • chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 in /packages/create-redwood-rsc-app (#​11723) by @​dependabot
  • fix(deps): update dependency smol-toml to v1.3.1 [security] (#​11733) by @​renovate
🧹 Chore
Click to see all chore contributions
  • chore(test-project): Update TailwindCSS to 3.4.15 and PostCSS to 8.4.49 (#​11721) by @​Tobbe
  • chore(dbAuth): Early return to make code easier to read (#​11722) by @​Tobbe

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 to
make 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 option
freeSpaceRequired to however many MB you want.

You can skip this step by passing --no-df to the deploy baremetal command or
setting freeSpaceRequired to 0.

🛠️ Fixes
fix(jobs): merge job options to prevent 'undefined' values in place of defaults (#​11666) by @​Josh-Walker-GM Please see #​11666 for more details
fix(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 the BackgroundJobs 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 in createWorker 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 the
type will be something like FindPostById, i.e. the first type that is passed
to CellSuccessProps (instead of just being any).

fix(crwa): Better handling of installing to . (#​11645) by @​Tobbe

When installing to cwd:

  • Print "the current directory" instead of "."
  • Skip the output of cd (which would move you to your home directory, which
    most likely is not what you want)
📚 Docs
docs(deploy): fix grove command (#​11689) by @​Josh-Walker-GM Please see #​11689 for more details
docs: fix versioned docs (#​11643) by @​Josh-Walker-GM Please see #​11643 for more details
Removed 'Azure' as deploy provider mention' (#​11116) by @​pantheredeye Please see #​11116 for more details
Fix email link in tutorial (#​11636) by @​cannikin Please see #​11636 for more details
Update 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(deps): update babel monorepo to v7.25.7 (#​11682) by @​renovate
  • chore(deps): update dependency firebase to v10.14.0 (#​11680) by @​renovate
  • fix(deps): update dependency firebase-admin to v12.6.0 (#​11681) by @​renovate
  • fix(deps): update dependency @​types/node to v20.16.11 (#​11679) by @​renovate
  • fix(deps): update dependency @​joshwooding/vite-plugin-react-docgen-typescript to v0.4.1 (#​11675) by @​renovate
  • fix(deps): update dependency @​vitejs/plugin-react to v4.3.2 (#​11673) by @​renovate
  • chore(deps): update dependency node to v20.18.0 (#​11669) by @​renovate
  • fix(deps): update dependency @​faire/mjml-react to v3.4.0 (#​11672) by @​renovate
  • fix(deps): update dependency cookie to v0.7.2 (#​11670) by @​renovate
  • chore(deps): bump cookie from 0.7.0 to 0.7.1 (#​11665) by @​dependabot
  • fix(deps): update dependency cookie to v0.7.0 [security] (#​11661) by @​renovate
  • fix(deps): update dependency http-proxy-middleware to v3.0.3 (#​11657) by @​renovate
  • fix(deps): update dependency vite to v5.4.8 (#​11658) by @​renovate
🧹 Chore
Click to see all chore contributions
  • chore(deps): update github/codeql-action digest to c36620d (#​11678) by @​renovate
  • chore(deps): update actions/checkout action to v4.2.1 (#​11676) by @​renovate
  • chore(deps): update dependency @​actions/core to v1.11.1 (#​11677) by @​renovate
  • chore(deps): update dependency eslint-plugin-perfectionist to v3.8.0 (#​11674) by @​renovate
  • chore(deps): update dependency @​types/jscodeshift to v0.12.0 (#​11671) by @​renovate
  • chore(deps): update dependency knip to v5.33.1 (#​11668) by @​renovate
  • chore(deps): update dependency @​types/lodash to v4.17.10 (#​11667) by @​renovate
  • chore(deps): update dependency rollup to v4.24.0 (#​11664) by @​renovate
  • chore(deps): update dependency memfs to v4.13.0 (#​11663) by @​renovate
  • chore(deps): update chore (#​11662) by @​renovate
  • chore(deps): update dependency @​types/vscode to v1.94.0 (#​11659) by @​renovate
  • chore(release): update docs (#​11637) by @​Josh-Walker-GM
🚧 🧹 Experimental Chore
Click to see all chore contributions
  • chore(rsc): Extract importRsdwServer() and move type assertions to utils (#​11688) by @​Tobbe
  • chore(rsc): Fix console log and add todo (#​11685) by @​Tobbe
  • chore(rsc): Fix TODO and simplify SSR code (#​11650) by @​Tobbe
  • chore(rsc): Rename renderRoutesFromDist to renderRoutesSsr (#​11647) by @​Tobbe
  • chore(rsc): Make Router-related imports safer for RSC (#​11644) by @​Tobbe
  • chore(rsc): Remove unused node-loader (#​11642) by @​Tobbe
  • chore(rsc): Refactor: Extract rscFetch and rsaFetch (#​11582) by @​Tobbe

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 with yarn rw dev. Previously there may have been issues like unescaped spaces in paths which would have produced errors like:

api | node:events:497
api |       throw er; // Unhandled 'error' event
api |       ^
api |
api | Error: spawn space.js --enable-source-maps ENOENT
api |     at ChildProcess._handle.onexit (node:internal/child_process:286:19)
api |     at onErrorNT (node:internal/child_process:484:16)
api |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
api | Emitted 'error' event on ChildProcess instance at:
api |     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
api |     at onErrorNT (node:internal/child_process:484:16)
api |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
api |   errno: -2,
api |   code: 'ENOENT',
api |   syscall: 'spawn space.js --enable-source-maps',
api |   path: 'space.js --enable-source-maps',
api |   spawnargs: [
api |     'yarn',
api |     'nodemon',
api |     '--quiet',
api |     '--watch',
api |     '/Users/jgmw/Development/redwood/rw-test/node_options_fix/redwood.toml',
api |     '--exec',
api |     'yarn rw-api-server-watch       --port 8911       --debug-port 18911       | rw-log-formatter'
api |   ]
api | }
api |
api | Node.js v20.17.0

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 and UserCredential models to some other name, such as Account and AccountCredential then dbAuth would have failed with an error something like:

{
  "error": "this.dbCredentialAccessor.findFirst(...).user is not a function"
}

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:

model UserCredential {
  id         String @&#8203;id // <-- Note the index!
  ...
}
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:

3:49:51 PM [vite] Internal server error: Transform failed with 1 error:
…/web/src/auth.ts:2:9: ERROR: Expected identifier but found ","
  Plugin: vite:esbuild
  File: …/web/src/auth.ts:3:6

  Expected identifier but found ","
  1  |  import { createAuthentication as createAuth } from '@&#8203;redwoodjs/testing/dist/web/mockAuth.js'
  2  |  import { , createDbAuthClient } from '@&#8203;redwoodjs/auth-dbauth-web';
     |           ^
  3  |  const dbAuthClient = createDbAuthClient();
  4  |  export const {

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 own File 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 the Graphql docs here

Default NODE_ENV to "development" if it's `undefined` when starting jobs worker (#​11572) by @​cannikin

This mimics the behavior of yarn rw dev where NODE_ENV will equal development 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 details
fix(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(deps): update babel monorepo (#​11633) by @​renovate
  • chore(deps): update eslint monorepo (#​11634) by @​renovate
  • chore(deps): update dependency firebase to v10.13.2 (#​11632) by @​renovate
  • chore(deps): update dependency @​supabase/supabase-js to v2.45.4 (#​11631) by @​renovate
  • chore(deps): update dependency nodemon to v3.1.7 (#​11627) by @​renovate
  • chore(deps): update dependency esbuild to v0.24.0 (#​11622) by @​renovate
  • fix(deps): update dependency @​swc/core to v1.7.28 (#​11617) by @​renovate
  • fix(deps): update dependency @​rollup/pluginutils to v5.1.2 (#​11616) by @​renovate
  • fix(deps): update dependency @​types/node to v20.16.6 (#​11618) by @​renovate
  • fix(deps): update dependency vite-plugin-cjs-interop to v2.1.4 (#​11613) by @​renovate
  • chore(deps): update prisma monorepo to v5.20.0 (#​11615) by @​renovate
  • fix(deps): update dependency vite to v5.4.7 (#​11612) by @​renovate
  • chore(deps): update dependency rollup to v4.22.4 [security] (#​11604) by @​renovate
  • fix(deps): update dependency find-my-way to v8.2.2 [security] (#​11585) by @​renovate
  • fix(deps): update dependency vite to v5.4.6 [security] (#​11580) by @​renovate
🧹 Chore
Click to see all chore contributions
  • chore(deps): update dependency eslint-plugin-perfectionist to v3.7.0 (#​11630) by @​renovate
  • chore(deps): update dependency eslint-plugin-package-json to v0.15.3 (#​11629) by @​renovate
  • chore(deps): update dependency eslint-plugin-n to v17.10.3 (#​11628) by @​renovate
  • chore(deps): update github/codeql-action digest to 461ef6c (#​11625) by @​renovate
  • chore(deps): update actions/setup-node digest to 0a44ba7 (#​11624) by @​renovate
  • chore(deps): update chore (#​11626) by @​renovate
  • chore(deps): Bump rollup (#​11623) by @​Josh-Walker-GM
  • chore(deps): update dependency publint to v0.2.11 (#​11621) by @​renovate
  • chore(deps): update dependency knip to v5.30.5 (#​11619) by @​renovate
  • chore(deps): update dependency publint to v0.2.11 (#​11620) by @​renovate
  • chore(deps): update dependency memfs to v4.12.0 (#​11614) by @​renovate
  • chore(deps): update dependency @​types/qs to v6.9.16 (#​11611) by @​renovate
  • chore(deps): update dependency @​types/nodemailer to v6.4.16 (#​11610) by @​renovate
  • chore(deps): update dependency @​types/lodash to v4.17.9 (#​11609) by @​renovate
  • chore(deps): update dependency @​types/jsonwebtoken to v9.0.7 (#​11608) by @​renovate
  • chore(deps): update dependency @​types/estree to v1.0.6 (#​11607) by @​renovate
  • chore(deps): update dependency @​playwright/test to v1.47.2 (#​11606) by @​renovate
  • chore(deps): update dependency @​arethetypeswrong/cli to v0.16.4 (#​11586) by @​renovate
  • chore(test-project): Update TailwindCSS (#​11583) by @​Tobbe
🚧 🧹 Experimental Chore
Click to see all chore contributions
  • chore(rsc): Simplify RscRoutes by removing external promise (#​11574) by @​Tobbe

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 and buttonTo 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 details
fix(crwrsca): Spawn in shell on Windows (#​11565) by @​Tobbe Please see #​11565 for more details
fix(crwa): silence telemetry errors (#​11557) by @​Josh-Walker-GM Please see #​11557 for more details
fix(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 details
docs(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 details
docs(how-to): Fix example in dbauth-passworless docs (#​11567) by @​Tobbe Please see #​11567 for more details
Docs: Use Redwood's hashPassword() for loginToken hashing in the password-less dbAuth flow (#​11566) by @​antonmoiseev Please see #​11566 for more details
Replace MetaTags with Metadata component (#​11564) by @​antonmoiseev Please see #​11564 for more details
docs(chore): Fix formatting (#​11524) by @​Tobbe Please see #​11524 for more details
📦 Dependencies
Click to see all dependency updates
  • fix(deps): update dependency vite to v5.4.5 (#​11556) by @​renovate
  • fix(deps): update dependency @​types/jest to v29.5.13 (#​11554) by @​renovate
  • fix(deps): update dependency unplugin-auto-import to v0.18.3 (#​11555) by @​renovate
  • fix(deps): update dependency @​swc/core to v1.7.26 (#​11553) by @​renovate
  • fix(deps): update dependency eslint-plugin-react to v7.36.1 (#​11550) by @​renovate
  • fix(deps): update dependency firebase-admin to v12.5.0 (#​11551) by @​renovate
  • fix(deps): update dependency envinfo to v7.14.0 (#​11549) by @​renovate
  • fix(deps): update dependency express to v4.21.0 (#​11548) by @​renovate
  • fix(deps): update dependency express to v4.20.0 (#​11525) by @​renovate
🧹 Chore
Click to see all chore contributions
  • Add note to error message about running `yarn rw dev` or `yarn rw build` before the workers can be started (#​11573) by @​cannikin
  • chore(kitchen-sink): Fix css for page width (#​11570) by @​Tobbe
  • chore(deps): update chore (#​11561) by @​renovate
  • chore(deps): update dependency tsx to v4.19.1 (#​11559) by @​renovate
  • chore(deps): update dependency eslint-plugin-perfectionist to v3.6.0 (#​11562) by @​renovate
  • chore(deps): update dependency tsx to v4.19.1 (#​11560) by @​renovate
  • chore(fixture): update deps (#​11552) by @​Josh-Walker-GM
  • chore(rsc): Don't pass any props to the user's Routes (#​11539) by @​Tobbe
  • chore(deps): bump dset from 3.1.2 to 3.1.4 (#​11535) by @​dependabot
  • chore(deps): bump express from 4.19.2 to 4.20.0 in /docs (#​11530) by @​dependabot
  • chore(rsc): Remove RSC-specific logic from our babel config (#​11528) by @​Tobbe
🚧 🧹 Experimental Chore
Click to see all chore contributions
  • chore(rsc): Remove client.ts and clean-up outdated tests (#​11527) by @​Tobbe
  • chore(rsc): Unify RSC and RSA cache structure (#​11521) by @​Tobbe
  • chore(rsc/rsa): Use "model" naming (#​11522) by @​Tobbe

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
  • chore(crwa): transform lint ignore line as part of ts-to-js (#​11538) by @​Josh-Walker-GM

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 details
fix(cli): explicitly set the version so `--version` works (#​11461) by @​Josh-Walker-GM Please see #​11461 for more details
fix(jobs): Make deleteSuccessfulJobs configurable (#​11459) by @​Tobbe

Make the jobs Executor respect the deleteSuccessfulJobs config option

fix(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 details
fix(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 details
docs(uploads): Add upload docs (#​11398) by @​dac09 Please see #​11398 for more de

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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@netlify
Copy link

netlify bot commented Jan 30, 2023

Deploy Preview for rw-office-hours-og-images failed. Why did it fail? →

Name Link
🔨 Latest commit 21b0e27
🔍 Latest deploy log https://app.netlify.com/sites/rw-office-hours-og-images/deploys/67e2a7adb8e0310008e89266

@netlify
Copy link

netlify bot commented Jan 30, 2023

Deploy Preview for rw-office-hours-rest-directive failed. Why did it fail? →

Name Link
🔨 Latest commit 21b0e27
🔍 Latest deploy log https://app.netlify.com/sites/rw-office-hours-rest-directive/deploys/67e2a7ad7fefcf0008f85e59

@netlify
Copy link

netlify bot commented Jan 30, 2023

Deploy Preview for rw-office-hours-enum-select-list failed. Why did it fail? →

Name Link
🔨 Latest commit 21b0e27
🔍 Latest deploy log https://app.netlify.com/sites/rw-office-hours-enum-select-list/deploys/67e2a7add26c710008679ad7

@netlify
Copy link

netlify bot commented Jan 30, 2023

Deploy Preview for rw-office-hours-custom-auth failed. Why did it fail? →

Name Link
🔨 Latest commit 21b0e27
🔍 Latest deploy log https://app.netlify.com/sites/rw-office-hours-custom-auth/deploys/67e2a7add5bdce00080cc915

@netlify
Copy link

netlify bot commented Jan 30, 2023

Deploy Preview for rw-office-hours-algolia-autocomplete failed. Why did it fail? →

Name Link
🔨 Latest commit 21b0e27
🔍 Latest deploy log https://app.netlify.com/sites/rw-office-hours-algolia-autocomplete/deploys/67e2a7adf07b0a0008ab5c5d

@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from 8798b08 to a5724d2 Compare February 23, 2023 00:38
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from 4ac2e0e to ba0168e Compare March 1, 2023 19:39
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from 79a9aa4 to 7b7130c Compare March 9, 2023 20:40
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 4 times, most recently from 63d83e4 to c3346f7 Compare March 25, 2023 02:21
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from c3346f7 to d698615 Compare April 2, 2023 05:01
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from d698615 to eeb577f Compare April 11, 2023 07:03
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from eeb577f to 5fae91b Compare May 28, 2023 11:05
@renovate renovate bot changed the title Update redwood monorepo to v4 (major) Update redwood monorepo to v5 (major) May 28, 2023
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from d4e989a to ab0868f Compare June 6, 2023 23:43
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from 169f27f to 294065e Compare June 23, 2023 04:29
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 3 times, most recently from 688b90f to c913317 Compare July 1, 2023 07:53
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from c913317 to f98f5bd Compare July 9, 2023 10:37
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from f98f5bd to 6621c98 Compare July 28, 2023 01:45
@renovate renovate bot changed the title Update redwood monorepo to v5 (major) Update redwood monorepo to v6 (major) Jul 28, 2023
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from 6621c98 to d395d1b Compare July 28, 2023 07:18
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from 8ba18f7 to 97401e8 Compare April 23, 2024 17:04
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from c9ab4a6 to 2942e5b Compare May 8, 2024 18:15
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from 2942e5b to 386ab70 Compare May 15, 2024 18:04
Copy link
Contributor Author

renovate bot commented May 15, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: 2022-11-13-custom-md5-auth/yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

File name: 2022-11-02-og-image-demo/yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

File name: 2022-10-26-nested-writes-demo/yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

File name: 2022-10-19-snaplet-copycat-seeds/yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

File name: 2022-10-12-algolia-autocomplete/yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

File name: 2022-10-05-enum-select-options/yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

File name: 2022-09-28-rest-directive/yarn.lock
/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22546:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22695:20)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22913:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22952:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.32.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23648:7)

@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 3 times, most recently from c896c3e to bf04b46 Compare May 22, 2024 22:45
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from bf04b46 to 350a151 Compare June 3, 2024 20:13
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from 350a151 to fa3b194 Compare June 17, 2024 16:54
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from fa3b194 to 014281f Compare June 28, 2024 14:16
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from 014281f to 78ff454 Compare July 11, 2024 00:58
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from 228d595 to 055e22e Compare August 9, 2024 21:39
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from 055e22e to f6f9251 Compare September 4, 2024 01:40
@renovate renovate bot changed the title Update redwood monorepo to v7 (major) Update redwood monorepo to v8 (major) Sep 4, 2024
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 3 times, most recently from f58ddb0 to d7b5f02 Compare September 17, 2024 01:07
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from d7b5f02 to 752fed8 Compare September 25, 2024 01:26
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from 752fed8 to ead4f52 Compare October 9, 2024 13:55
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from 6fb1be1 to e5dba3a Compare November 15, 2024 02:08
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from e5dba3a to 4398b5d Compare December 25, 2024 19:41
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch 2 times, most recently from ba5f621 to 96430c9 Compare January 16, 2025 20:38
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from 96430c9 to d46725a Compare January 26, 2025 17:17
@renovate renovate bot force-pushed the renovate/major-redwood-monorepo branch from d46725a to 21b0e27 Compare March 25, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants