Open renovate[bot] opened 2 years ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
This PR contains the following updates:
0.47.1
->0.50.0
0.47.1
->0.50.0
0.47.1
->0.50.0
0.47.1
->0.50.0
0.47.1
->0.50.0
Release Notes
redwoodjs/redwood
### [`v0.50.0`](https://togithub.com/redwoodjs/redwood/releases/tag/v0.50.0) [Compare Source](https://togithub.com/redwoodjs/redwood/compare/v0.49.1...v0.50.0) > ⚠️ This release removes prior Deprecations and includes Code Modifications ##### Changelog Unique contributors: 19 PRs merged: 76 ##### Features - allow Redirect to use navigate options.replace [#4704](https://togithub.com/redwoodjs/redwood/issues/4704) by [@odjhey](https://togithub.com/odjhey) - Use GraphQL Yoga [#4712](https://togithub.com/redwoodjs/redwood/issues/4712) by [@ardatan](https://togithub.com/ardatan) - Send a 'ready' message to parent process if api server was spawned [#4744](https://togithub.com/redwoodjs/redwood/issues/4744) by [@cannikin](https://togithub.com/cannikin) - Adds baremetal deploy strategy [#4750](https://togithub.com/redwoodjs/redwood/issues/4750) by [@cannikin](https://togithub.com/cannikin) - Add yarn 3 to create redwood app template [#4761](https://togithub.com/redwoodjs/redwood/issues/4761) by [@jtoar](https://togithub.com/jtoar) - Auth Provider: Update Nhost to V2 [#4770](https://togithub.com/redwoodjs/redwood/issues/4770) by [@nunopato](https://togithub.com/nunopato) - See Code Modification section below - Add flightcontrol deploy command [#4788](https://togithub.com/redwoodjs/redwood/issues/4788) by [@beerose](https://togithub.com/beerose) - Add Layer0 deploy command to CLI and docs [#4886](https://togithub.com/redwoodjs/redwood/issues/4886) by [@tristanlee85](https://togithub.com/tristanlee85) - Cleanup deprecated features [#4856](https://togithub.com/redwoodjs/redwood/issues/4856) by [@callingmedic911](https://togithub.com/callingmedic911) - DEPRECATION: see section below - Sets Secure cookie attribute in config template to be dependent on NODE_ENV [#4722](https://togithub.com/redwoodjs/redwood/issues/4722) by [@cannikin](https://togithub.com/cannikin) - BREAKING: see sections below - Pretty print query in DevFatalErrorPage for better DX and readability [#4696](https://togithub.com/redwoodjs/redwood/issues/4696) by [@dthyresson](https://togithub.com/dthyresson) - BREAKING: see sections below - Update private routes and Set to use roles vs role [#4681](https://togithub.com/redwoodjs/redwood/issues/4681) by [@dthyresson](https://togithub.com/dthyresson) - BREAKING: see sections below - netlify build with rw record [#4618](https://togithub.com/redwoodjs/redwood/issues/4618) by [@aguscha333](https://togithub.com/aguscha333) - RW Record is an experimental package. This release requires a Code Modification to deploy on Netlify ##### Fixed - Catch getToken error and set token to null [#4669](https://togithub.com/redwoodjs/redwood/issues/4669) by [@kengreeff](https://togithub.com/kengreeff) - Fix react/prop-types lint warnings [#4674](https://togithub.com/redwoodjs/redwood/issues/4674) by [@callingmedic911](https://togithub.com/callingmedic911) - fix(auth): hasRole handles when currentUser.roles is a string [#4678](https://togithub.com/redwoodjs/redwood/issues/4678) by [@dac09](https://togithub.com/dac09) - Allow requireAuth directive to be used with a string or array of strings [#4680](https://togithub.com/redwoodjs/redwood/issues/4680) by [@dthyresson](https://togithub.com/dthyresson) - Allow the number 0 for numericality validation values [#4700](https://togithub.com/redwoodjs/redwood/issues/4700) by [@kwstewar](https://togithub.com/kwstewar) - Fix failing codemod test for RedwoodDevFatalErrorPage [#4723](https://togithub.com/redwoodjs/redwood/issues/4723) by [@dthyresson](https://togithub.com/dthyresson) - Check for gql documents before running codegen [#4728](https://togithub.com/redwoodjs/redwood/issues/4728) by [@Tobbe](https://togithub.com/Tobbe) - Serverles api template: Fix spelling [#4736](https://togithub.com/redwoodjs/redwood/issues/4736) by [@Tobbe](https://togithub.com/Tobbe) - graphql-server types: Fix/format jsdocs [#4737](https://togithub.com/redwoodjs/redwood/issues/4737) by [@Tobbe](https://togithub.com/Tobbe) - dbAuth: Prevent futureExpiresDate from changing when referenced in tests [#4742](https://togithub.com/redwoodjs/redwood/issues/4742) by [@cannikin](https://togithub.com/cannikin) - Service Validations - Adds error message for FormError fields [#4756](https://togithub.com/redwoodjs/redwood/issues/4756) by [@dthyresson](https://togithub.com/dthyresson) - feat: only wrap affected resolver functions by using the 'onSchemaChange' hook with 'mapSchema' instead of the 'onResolverCalled' hook. [#4760](https://togithub.com/redwoodjs/redwood/issues/4760) by [@n1ru4l](https://togithub.com/n1ru4l) - When mocking a cell, set the id value as a String or Number based on the type of primary key [#4778](https://togithub.com/redwoodjs/redwood/issues/4778) by [@dthyresson](https://togithub.com/dthyresson) - Always generate 200.html as part of web build | Change [#4782](https://togithub.com/redwoodjs/redwood/issues/4782) by [@dac09](https://togithub.com/dac09) - Generate CRUD by default for SDL and Services to mitigate issues in GraphQL used in cells [#4785](https://togithub.com/redwoodjs/redwood/issues/4785) by [@dthyresson](https://togithub.com/dthyresson) - Service Validations: Returns error message as an array in faked extensions [#4792](https://togithub.com/redwoodjs/redwood/issues/4792) by [@cannikin](https://togithub.com/cannikin) - Copy fix from learn PR [#222](https://togithub.com/redwoodjs/redwood/issues/222) [#4803](https://togithub.com/redwoodjs/redwood/issues/4803) by [@jtoar](https://togithub.com/jtoar) - Copy fix from learn PR [#221](https://togithub.com/redwoodjs/redwood/issues/221) [#4804](https://togithub.com/redwoodjs/redwood/issues/4804) by [@jtoar](https://togithub.com/jtoar) - Copy fix from learn PR [#218](https://togithub.com/redwoodjs/redwood/issues/218) [#4805](https://togithub.com/redwoodjs/redwood/issues/4805) by [@jtoar](https://togithub.com/jtoar) - Reverse logic in smoke test for setting yarn 1 [#4806](https://togithub.com/redwoodjs/redwood/issues/4806) by [@jtoar](https://togithub.com/jtoar) - Copy fix from learn PR [#217](https://togithub.com/redwoodjs/redwood/issues/217) [#4807](https://togithub.com/redwoodjs/redwood/issues/4807) by [@jtoar](https://togithub.com/jtoar) - Copy fix from learn PR [#213](https://togithub.com/redwoodjs/redwood/issues/213) [#4808](https://togithub.com/redwoodjs/redwood/issues/4808) by [@jtoar](https://togithub.com/jtoar) - Copy fix from learn PR [#207](https://togithub.com/redwoodjs/redwood/issues/207) [#4809](https://togithub.com/redwoodjs/redwood/issues/4809) by [@jtoar](https://togithub.com/jtoar) - Copy fix from learn PR [#198](https://togithub.com/redwoodjs/redwood/issues/198) [#4810](https://togithub.com/redwoodjs/redwood/issues/4810) by [@jtoar](https://togithub.com/jtoar) - Fix import in tutorial [#4838](https://togithub.com/redwoodjs/redwood/issues/4838) by [@jtoar](https://togithub.com/jtoar) - change flightcontrol setup to use yarn v3 and change cookie config [#4843](https://togithub.com/redwoodjs/redwood/issues/4843) by [@flybayer](https://togithub.com/flybayer) - Update algolia config [#4851](https://togithub.com/redwoodjs/redwood/issues/4851) by [@jtoar](https://togithub.com/jtoar) - Fix URL of all tutorial path [#4852](https://togithub.com/redwoodjs/redwood/issues/4852) by [@simoncrypta](https://togithub.com/simoncrypta) - Fix linting warnings on new gql function [#4859](https://togithub.com/redwoodjs/redwood/issues/4859) by [@dac09](https://togithub.com/dac09) - Handle case when requestContext is undefined getting protocol [#4864](https://togithub.com/redwoodjs/redwood/issues/4864) by [@dthyresson](https://togithub.com/dthyresson) - Make doc links to relative file paths [#4866](https://togithub.com/redwoodjs/redwood/issues/4866) by [@jtoar](https://togithub.com/jtoar) - Fix Request object passed to Yoga [#4870](https://togithub.com/redwoodjs/redwood/issues/4870) by [@ardatan](https://togithub.com/ardatan) - Fix favicon on docs site [#4874](https://togithub.com/redwoodjs/redwood/issues/4874) by [@jtoar](https://togithub.com/jtoar) - Fix favicon for docs site (continued) [#4875](https://togithub.com/redwoodjs/redwood/issues/4875) by [@jtoar](https://togithub.com/jtoar) - Try using URL for favicon [#4876](https://togithub.com/redwoodjs/redwood/issues/4876) by [@jtoar](https://togithub.com/jtoar) - event.requestContext can be optional for domain name [#4877](https://togithub.com/redwoodjs/redwood/issues/4877) by [@dthyresson](https://togithub.com/dthyresson) - GraphQL Yoga / Rework multi and non-multi query string param handling when building request [#4883](https://togithub.com/redwoodjs/redwood/issues/4883) by [@dthyresson](https://togithub.com/dthyresson) - add rw-server bin to core bins [#4889](https://togithub.com/redwoodjs/redwood/issues/4889) by [@thedavidprice](https://togithub.com/thedavidprice) - Fallback to localhost for hostname correctly and respect base64 encoded event bodies [#4891](https://togithub.com/redwoodjs/redwood/issues/4891) by [@ardatan](https://togithub.com/ardatan) - Use Node's Buffer.from to decode base64 instead of atob [#4892](https://togithub.com/redwoodjs/redwood/issues/4892) by [@ardatan](https://togithub.com/ardatan) - Fix link to docs/contributing [#4893](https://togithub.com/redwoodjs/redwood/issues/4893) by [@jtoar](https://togithub.com/jtoar) ##### Chore - Auth smoke tests [#4673](https://togithub.com/redwoodjs/redwood/issues/4673) by [@dac09](https://togithub.com/dac09) - Remove supertokens-node from packages/api dependencies [#4715](https://togithub.com/redwoodjs/redwood/issues/4715) by [@dthyresson](https://togithub.com/dthyresson) - jwtVerifier: Remove unreachable code [#4734](https://togithub.com/redwoodjs/redwood/issues/4734) by [@Tobbe](https://togithub.com/Tobbe) - useRequireAuth: Refactor to make it easier to read [#4738](https://togithub.com/redwoodjs/redwood/issues/4738) by [@Tobbe](https://togithub.com/Tobbe) - Move tutorial and docs into main repo [#4749](https://togithub.com/redwoodjs/redwood/issues/4749) by [@jtoar](https://togithub.com/jtoar) - \[Renovate] Ignore [@types/lru-cache](https://togithub.com/types/lru-cache) [#4759](https://togithub.com/redwoodjs/redwood/issues/4759) by [@jtoar](https://togithub.com/jtoar) - (docs) update link to Tutorial forms section [#4771](https://togithub.com/redwoodjs/redwood/issues/4771) by [@thedavidprice](https://togithub.com/thedavidprice) - Update links and codeblocks in tutorial [#4781](https://togithub.com/redwoodjs/redwood/issues/4781) by [@jtoar](https://togithub.com/jtoar) - Documents how to regenerate just SDL [#4787](https://togithub.com/redwoodjs/redwood/issues/4787) by [@dthyresson](https://togithub.com/dthyresson) - Skip v44.x updateJestConfig codemod test [#4789](https://togithub.com/redwoodjs/redwood/issues/4789) by [@dac09](https://togithub.com/dac09) - Reorg codemod for dev fatal error page [#4790](https://togithub.com/redwoodjs/redwood/issues/4790) by [@dac09](https://togithub.com/dac09) - Chore: Change yarn cache key, to bust invalid cache [#4791](https://togithub.com/redwoodjs/redwood/issues/4791) by [@dac09](https://togithub.com/dac09) - Updates Saving Data section with Service Validations [#4796](https://togithub.com/redwoodjs/redwood/issues/4796) by [@cannikin](https://togithub.com/cannikin) - Consider not running CI on changes to docs [#4816](https://togithub.com/redwoodjs/redwood/issues/4816) by [@jtoar](https://togithub.com/jtoar) - Copy content and fixes from redwoodjs.com [#4819](https://togithub.com/redwoodjs/redwood/issues/4819) by [@jtoar](https://togithub.com/jtoar) - (docs) add Flightcontrol.dev Deploy [#4826](https://togithub.com/redwoodjs/redwood/issues/4826) by [@thedavidprice](https://togithub.com/thedavidprice) - Minor tweaks to the "regenerate" docs [#4841](https://togithub.com/redwoodjs/redwood/issues/4841) by [@Tobbe](https://togithub.com/Tobbe) - Reorgnize tutorial into chapters [#4855](https://togithub.com/redwoodjs/redwood/issues/4855) by [@cannikin](https://togithub.com/cannikin) - Change reference link to the docs [#4845](https://togithub.com/redwoodjs/redwood/issues/4845) by [@joriswill](https://togithub.com/joriswill) - Remove pre-v1 warning [#4865](https://togithub.com/redwoodjs/redwood/issues/4865) by [@thedavidprice](https://togithub.com/thedavidprice) - Restore some redwood-iness to the docs styles [#4881](https://togithub.com/redwoodjs/redwood/issues/4881) by [@jtoar](https://togithub.com/jtoar) ##### Package DependenciesView all Dependency Version Upgrades
View all Dependency Version Upgrades
View all Dependency Version Upgrades
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.