v6.6.1
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, likeuuid
oremail
. -
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 includeapiKey: 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 ofimport
andrequire
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
- Switches the
opentelemetry.ts
file to useimport
overrequire
syntax. - Removes the
apiSdk
toml option and now assumes the file exists atapi/src/opentelemetry.ts
such that it then also exists atapi/dist/opentelemetry.js
. - 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 theBatchSpanProcessor
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 toapi/src/opentelemetry.ts
- Switches the
-
fix(crwa): use
fs.renameSync
instead offs.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: 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