Patch Release
Hi Folks! Our last release had some issues running on Windows. This patch resolves these issues!
Includes the following fixes and changes:
- DbAuth Vercel Fix: Handles Base64 encoded payloads (#3309) by @cannikin, @dac09
- see Code Modification recommendation below
- Honor the port in redwood.toml for api server (#3308) by @callingmedic911
- Add babel polyfill plugin to pretranspile. (#3301) by @peterp
- [Windows] Clean api using fs-extra's removeSync instead of rimraf (#3285) by @jtoar
- [Windows] babel-plugin-redwood-import-dir: Fix regex and Windows paths (#3311) by @Tobbe
- [Windows] Ensure dist, types and db paths are ignored for api during dev (#3335) by @jtoar, @dac09
- fix(contributor-workflow): Adjust prebuild commands on gitpod #3257 @dac09
- puts includeEnvironmentVariables in redwood.toml #3277 @sarthaktexas
- upgrades to Prisma v2.30.0 #3290 @vchoy
dbAuth recommended Code Modification
Serverless functions may already wait for async code to complete before returning (this hasn't been an issue in dev or a serverfull deployment). But in case they don't, anyone already using dbAuth should update their api/src/functions/auth.js
to include an await
on the final line of code:
Before:
return authHandler.invoke()
After:
return await authHandler.invoke()