npm @redwoodjs/core 0.8.2
v0.8.2

latest releases: 9.0.0-canary.246, 9.0.0-canary.243, 9.0.0-canary.241...
4 years ago

Changed

  • Forms: Show authentication errors in <FormError> #621 @Terris
  • Config: Add babel-plugin-redwood-import-dir #598
  • Template: remove api/tsconfig file, fixes prisma default autocomplete redwoodjs/create-redwood-app#60 @guledali
    • note: to apply this change to an existing project, see "How to Upgrade" section below

Fixed

  • Config: Test and fix babel plugin for routes auto-loader #628
  • Config: Files that end with Cell are not considered Cells if they have a default export #597
  • Config: Convert route auto import to TypeScript #635

Breaking ⚠️

No breaking changes. 🎉


How to upgrade RedwoodJS packages to v0.8.2

Manual Code Change

The tsconfig.json file was removed from api/. Because this file existed alongside a jsconfig.json file, it was blocking Prisma's autocomplete feature. See redwoodjs/create-redwood-app#60

To apply this change to your project, remove the following file:

api/tsconfig.json

⚠️ Do not remove this file if you previously modified the API-side language target to be TypeScript. If this is your case, you might not need the jsconfig.json file and it could be possible to restore Prisma autocomplete via its removal -- proceed according to your own testing and needs.

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.2”
web/package.json
  • "@redwoodjs/web": "^0.8.2”
  • "@redwoodjs/router": "^0.8.2”
  • "@redwoodjs/auth": "^0.8.2” (if installed)
api/package.json
  • "@redwoodjs/api": "^0.8.2”

Install the upgraded packages

$ yarn install

Don't miss a new core release

NewReleases is sending notifications on new releases.