v0.10.0
Prisma v2.0.0 General Availability π
Prisma has released version 2, and we are celebrating their hard-earned release by including it in v0.10! From all of us, we offer a huge congrats to the entire Prisma Team for building something amazing. Without it, the Redwood experience just wouldn't be the same.
General Availability Announcement and Release Notes
Note: Prisma Migrate is not part of this GA release -- it is still experimental.
Prisma v2 Highlights and Changes
- Improved Pagination: added
cursor
andtake
- This is a Breaking Change: see beta.7 release notes
- Improved Raw SQL Queries: splitting
.raw
intoqueryRaw
and.executeRaw
- This is a Breaking Change: see beta.8 release notes
- Enforcing Arrays in
OR
- This is a Breaking Change: see beta.9 release notes
Other Redwood v0.10.0 Highlights
- Improved Windows Support and Bug Fixes (with more to come!)
- Added Firebase Auth Provider
- Initial Typescript Support for Generators including SDL, Service, and Component
Thank You to everyone below who contributed. This release includes several PRs that were especially above and beyond thanks to @jtoar @jmreidy and @Tobbe π
Redwood is better because of you!
Changed
- TS: Convert packages/api/makeMergedSchema/* to TypeScript #592 @MarkPollmann
- CLI: Audit CLI commands, improve
--help
#594 @jtoar π - Console: Format errors in terminal #599
- Prisma: Upgrade to Prisma-2.0.0 #645 #655 #668 #672
Added
- TS: enable typescript services and sdl #515 @jmreidy π
- TS: Convert component generator to TS #632 @kimadeline π
- Auth: Adding Firebase to the AuthClients #593 @noire-munich
- Auth: add cli support for generating Magic.Link authentication provider #644 @gizmoGremlin
- CSS: SCSS/CSS Module support #662 @bjackson
Fixed
- CI: Fix Windows CI Runner Failing Tests #543
- Auth: Auth0Client needs to be destructured from @auth0/auth0-spa-js #640
- Apollo: upgrade apollo-server-lambda per security alert #659
- Router: Fix windows matching paths in babel #665
- CSS: Fix style loader order #667
Breaking β οΈ
- See Prisma "Highlights and Changes" above for related breaking changes
- Scaffold Generator CSS has been updated to use Semantic Classes, which breaks styling when new CRUD is added alongside existing. To learn more and resolve any issues, see this forum topic How to Upgrade Scaffold CRUD Styling to v0.8.0 (or greater)
How to upgrade RedwoodJS packages to v0.10.0
If the Current Version is > v0.6.0
Redwood v0.6.0 included a new CLI command to upgrade @redwoodjs NPM packages. Run the following command within your App directory:
yarn rw upgrade
If the Current Version is < v0.6.0
Manually update the following @redwoodjs/*
packages.
Root directory package.json
"@redwoodjs/core": "^0.10.0β
web/package.json
"@redwoodjs/web": "^0.10.0β
"@redwoodjs/router": "^0.10.0β
"@redwoodjs/auth": "^0.10.0β
(if installed)
api/package.json
"@redwoodjs/api": "^0.10.0β
Install the upgraded packages
$ yarn install