Skip to content

v7.0.3

Compare
Choose a tag to compare
@jtoar jtoar released this 26 Feb 21:27
· 1646 commits to main since this release
ac260a6

Patch Release

  • fix(render): reduce memory and handle server file by @jtoar

    This PR improves Render deploys by reducing memory consumption and fixing it so that it uses the server file if it's present.

    Render deploys seem to consistently run out of memory during the data migration step. This step is configurable and its doubtful that every deploy has data migrations to apply, but it's enabled by default so it runs more-or-less every time in practice. The main issue is that the data migrate functionality is a plugin so a yarn install kicks off in Render's deploy container which must be more memory-constrained than the build container. (Assuming there are two different containers, which seems to be the case.)

    Instead of running data migrations, this PR issues a warning that if you want to run data migrations, you need to first add the @redwoodjs/cli-data-migrate package as a devDependency:

    yarn add -D @redwoodjs/cli-data-migrate
    

    That way a yarn install won't be necessary to run data migrations.

    Although this PR fixes Render deploy so that it uses the server file if present, realtime features still don't seem to work. We're still investigating; in the meantime, consider using another provider like Coherence if you're just getting started and want to try out realtime features.

  • Update MetaTags to be Metadata in Docs (#10053) by @codisfy

    The tutorial still used the MetaTags component instead of the newer Metadata component that the generator templates use. This PR updates all instances of MetaTags with Metadata.