Along with bug fixes, ENV var support, Router enhancements, and improved TypeScript support, this release introduces a new workflow with CLI tools for contributing to the RedwoodJS Framework. For more information, please read CONTRIBUTING.md
Changed
- Prisma: upgrade to Prisma-2.0.0-beta.3 #457
- Config: Only use redwood-eslint-plugin when in a redwood project #443
- Framework: build core packages and reference them correctly #456
- TypeScript: Let api-dev-server and webpack load .ts and .tsx files #438
Added
- CLI: Add workflow tools for local development #429 #442
- Config: support ENV vars in webpack projects #430 @snormore
- write tests and docs for environmental variables #444
- Router: add useMatch for crafting stateful links #416 @RobertBroersma
- TypeScript: Setup TS Project References #359 @mohsen1
- CLI: add βyarn rw upgradeβ helper to upgrade
@redwoodjs
packages #436
Fixed
- Router: fixes
validatePath
duplicate params & reject spaces in routes #420 @olance - Deploy: add process.exit(1) to ensure Netlify build fails on error #447
- CLI: fixes mutation constant names in generated code #458
- Docs: fix link markup #459 @benmccann
Breaking
Breaking changes only apply to Apps upgrading from previous versions.
Prisma-2.0.0-beta.3 has two major changes that may affect some applications upgrading from previous Redwood versions.
- Enums are now disallowed for SQLite
- Required 1-1 self relations are forbidden now
Release notes are available here.
How to upgrade RedwoodJS packages to v0.6.0
Redwood v0.6.0 includes a new CLI command to upgrade
@redwoodjs
NPM packages. However, you must first upgrade to v0.6.0 to useyarn rw upgrade
Update your @redwoodjs/*
packages.
Four packages should be updated to v0.6.0
Root directory package.json
"@redwoodjs/core": "^0.6.0β
web/package.json
"@redwoodjs/web": "^0.6.0β
"@redwoodjs/router": "^0.6.0β
api/package.json
"@redwoodjs/api": "^0.6.0β
After updating and saving the files, install the packages from the root directory:
$ yarn install
Redwood Releases on GitHub
You can see all Redwood release notes and version history on GitHub.