Skip to content

v6.6.1

Compare
Choose a tag to compare
@Tobbe Tobbe released this 01 Jan 14:52
· 2551 commits to main since this release

Patch Release

Note

If you're using the experimental OpenTelemetry support, and have your config file in a non-standard location this release is breaking.
See further down for more info
TL;DR: Please move the config file to api/src/opentelemetry.ts

  • fix: Support Custom Id Field Names when generating Cells #9778 by @dthyresson

    With this fix in place it's now possible to use yarn rw g cell ModelName for models that use a custom id field name, like uuid or email.

  • fix(baremetal) sshExec() errors not displaying #9743 by @Mirai-Miki

    Running yarn rw deploy baremetal production could sometimes exit without displaying an error. With this fix a nicely formated error is now displayed

  • fix(studio): Fix windows path issues #9752 by @Josh-Walker-GM

    Removes some assumptions of / as the path separator.

  • fix(path-alias): Fix aliasing of paths using ts/jsconfig #9574 by @dac09

  • Fix supertokens docs & integration issues #9757 by @suzdalnitski

    Adds more details to the Supertokens docs. Especially around environment variables.

    Also updates the api/lib/supertokens.ts template to include apiKey: process.env.SUPERTOKENS_API_KEY.

  • Fixes the way OpenTelemetry setup template uses project-config for port setting #9775 by @dthyresson

    The syntax in the opentelemetry.ts template was wrong. It was using a mix of import and require on the same line. This PR fixes this, so the file can be executed properly

  • fix(otel): Fix OTel sdk loading #9777 by @Josh-Walker-GM

    Problem
    The toml config value that was supported for the experimental OpenTelemetry support points to the source file. It was however being used as if it were pointing to the transpiled version of the file.

    Changes

    1. Switches the opentelemetry.ts file to use import over require syntax.
    2. Removes the apiSdk toml option and now assumes the file exists at api/src/opentelemetry.ts such that it then also exists at api/dist/opentelemetry.js.
    3. Adds a large concurrencyLimit option to the OTel trace exporter. This fixes a limitation of the current redwood studio. This config will be removed in an upcoming change to the redwood studio which will better support the BatchSpanProcessor instead.

    Warning
    If you're using the experimental OpenTelemetry support, and have your config file in a non-standard location this change is breaking.
    Please move the config file to api/src/opentelemetry.ts

  • fix(crwa): use fs.renameSync instead of fs.rename #9787 by @jtoar

  • Adds a note about the two commands you will use with your schema to the top of the schema file #8589 by @orta

    The following comment is now part of the schema.prisma template

     // Don't forget to tell Prisma about your edits to this file using
     // `yarn rw prisma migrate dev` or `yarn rw prisma db push`.
     // `migrate` is like committing while `push` is for prototyping.
     // Read more about both here:
     // https://www.prisma.io/docs/orm/prisma-migrate
    
  • Docker: Update to work with corepack and yarn v4 #9764

    Update our experimental Dockerfile support to work with corepack and yarn v4. If you're using this experimental feature you probably want to run yarn rw exp setup-docker -f to generate a new Dockerfile and compare the changes to your own Dockerfile to see what you might want to incorporate.

  • docs: Update Metadata docs #9744 by @Tobbe

  • docs: added some clarification on serverless functions getting executed in a non-serverless environment #9742 by @suzdalnitski

  • docs: Replaced deprecated <Set private> with PrivateSet within router.md #9749 by @suzdalnitski

  • docs: Make it easier to find useMatch docs #9756 by @Tobbe

  • docs: Supertokens.md: Fix typo #9765 by @Tobbe

  • docs: docker.md: Fix web path #9768 by @Tobbe