Skip to content

v8.4.0

Compare
Choose a tag to compare
@Josh-Walker-GM Josh-Walker-GM released this 09 Oct 13:08
· 257 commits to main since this release
c608868

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

🚧 🧹 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