This patch release fixes several bugs related to Router Sets, TypeScript, Apollo Server:
- TS: setup tsconfig: github version tag for canary builds #2156 by @dac09
- TS: named routes types #2154 by @dac09
- API: upgrade apollo-server-lambda and remove resolution #2153 by @thedavidprice
- Sets: Recalculate
useParams
on location change when used in<Set />
#2152 by @KrisCoulson - Sets: Make understand authentication #2147 by @peterp
Code Modification
Patch releases v0.28.1 and v0.28.2 introduced a workaround to fix an error in Apollo Server. Check if your ./package.json
includes "apollo-server-core": "2.21.2"
. If so, make the following modification:
},
"resolutions": {
"react": "17.0.1",
- "react-dom": "17.0.1",
+ "react-dom": "17.0.1"
- "// Temporary fix for": "https://github.com/redwoodjs/redwood/issues/2127",
- "apollo-server-core": "2.21.2"
}
}
See reference code here.