npm @redwoodjs/core 0.7.0
v0.7.0

latest releases: 8.0.0-canary.851, 8.0.0-rc.854, 8.0.0-rc.853...
4 years ago

This release introduces the new πŸŽ‰ Redwood Auth Package πŸŽ‰, which is a lightweight wrapper around popular SPA authentication libraries. Current support includes Netlify Identity Widget, Auth0, and Netlify GoTrue-JS. (With more on the way!) And it wouldn't be done the Redwood Way if it didn't include a generator to handle the boilerplate for you. We hope you find it delightful to use!

Getting Started with Redwood Auth

Documentation

Example App Implementations

CLI Trailblazing

  • Feeling 😜? Just dive in with yarn rw g auth [netlify|auth0]

Other v0.7.0 Highlights πŸš€

  • New Function generator and Custom Function Cookbook guide
  • New Scaffold generator option to add 'path/' structure via yarn rw g scaffold <path/model> #423
  • New Form fields (too many to list!) and improvements to Redwood Forms
  • Upgrades Prisma to v2.0.0-beta.5 (release notes for beta.4 and beta.5)

And a gigantic Thank You to all the amazing contributors below who are making Redwood better every day. It's a blast to build this with you! πŸ™Œ

Changed

  • Dev-server: improve Error Handling at FatalErrorBoundary #486
  • Generators: humanize labels on scaffold forms #493 @lachlanjc
  • Config: convert custom webpack cell-loader into Babel Plugin #512 @RobertBroersma
  • Prisma: upgrade to Prisma v2.0.0-beta.5 #525 #532
    • ⚠️possible breaking change to migration files; see "Breaking" below

Added

  • Auth: add @redwoodjs/auth package #497 #536 πŸŽ‰
  • Generators: adds auth generator #539 πŸŽ‰
  • Generators: adds function generator #517 πŸŽ‰
  • Generators: add path specification to scaffolds #423 @jtoar πŸŽ‰
  • CLI: add console log on rebuild complete #504 @vikash-eatgeek
  • CLI: add @redwoodjs/auth package to CLI upgrade command #556
    • CLI upgrade command: add option --tag with choices 'canary' or 'rc' #560
  • Docs: add router docs for useMatch and NavLink #470 @RobertBroersma
  • Forms: add Radio Field #479 @vikash-eatgeek
  • Forms: add checkbox field #488 @vikash-eatgeek
  • Forms: adds all input type Field form helpers #511

Fixed

  • CLI: fix yarn rw info not displaying redwoodjs packages on Windows #476
  • Generators: remove excess closing braces from foreign key map on scaffold generator #482 @eurobob
  • Generators: fixes possible null error in truncate #485 @kwyoung11
  • Generators: switch out "Hammer" data source in tests #506 @lachlanjc
  • Generators: fix NamesCell reload after deleting item #519 @cephalization
  • Dev-server: 'yarn rw dev' now only starts the API and DB servers when the api folder is present #490 @ackinc
  • Dev-server: fix Prisma Client error when running dev server w/out DB #524
  • Router: Convert children into array to do array things #547

Breaking ⚠️

For previously deployed applications, it is possible the new Prisma migration files from beta.5 are incompatible with previous migrations. If you encounter a migration error on deployment, follow these steps after you backup your deployment DB:

  1. Remove your local Prisma "migrations/" directory and files.
  2. Create a new migration via yarn rw db save
  3. Drop the "_Migrations" table on your deployment DB
  4. If you are using the netlify-plugin-prisma-provider, make sure it is at v0.3.0

Rerun your deployment, which should complete successfully.


How to upgrade RedwoodJS packages to v0.7.0

If the Current Version is v0.6.0

Redwood v0.6.0 includes 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 four @redwoodjs/* packages.

Root directory package.json
  • "@redwoodjs/core": "^0.7.0”
web/package.json
  • "@redwoodjs/web": "^0.7.0”
  • "@redwoodjs/router": "^0.7.0”
api/package.json
  • "@redwoodjs/api": "^0.7.0”

Install the upgraded packages

$ yarn install

Don't miss a new core release

NewReleases is sending notifications on new releases.