v0.8.0 Highlights
- New Magic.Link Auth provider π (documentation) #562
- New Destroy command π₯allows you to undo your
rw generate
fails. See all the options viayarn rw destroy --help
. #487 - Jest Tests Mocks for Web (initial documentation) #521
- Upgrades Prisma to v2.0.0-beta.6 (release notes)
Thank You to everyone below who contributed to this release. Redwood is better because of you!
Changed
- Prisma: Upgrade to Prisma-2.0.0-beta.6 #619
- Cell: enable cell to take functions for a query #505 @eurobob
- Cell: allow non-cell files name end with Cell #554 @gfpacheco
- Tests: Improve testing capabilities for Web #521 @RobertBroersma
- Dev-Server: add IP address to the Lambda event's requestContext in dev server #553 @bjackson
- Dev-Server: refactor Dev Server #573
- CLI: updates CLI build option to set default based on existing Sides (API or Web) #576
- CLI: Improve building api by first checking if
api/prisma/
exists #595 - Docs: add reference section to CONTRIBUTING.md #577 @jtoar
- Docs: add Private and Redirect to Router README #616 @twmilli
- Forms: allow override of input props #580 @gfpacheco
- Forms: update scaffold css to use semantic classes #611 @Terris
Added
- CLI: add destroy command #487 @antonmoiseev
- Auth: Magic.Link added as provider to @redwoodjs/auth #562 @burnsy
Fixed
- CLI: fix db/generate (nested command-dirs) help messages #555 @jtoar
- Cell: Fix cell plugin not handling default and named export #601 @gfpacheco
- Dev-Server: Fix dev server run error when path contains spaces #609
Breaking β οΈ
No breaking changes. π
How to upgrade RedwoodJS packages to v0.8
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.8.0β
web/package.json
"@redwoodjs/web": "^0.8.0β
"@redwoodjs/router": "^0.8.0β
"@redwoodjs/auth": "^0.8.0β
(if installed)
api/package.json
"@redwoodjs/api": "^0.8.0β
Install the upgraded packages
$ yarn install