Releases: tobias-tengler/create-relay-app
Releases · tobias-tengler/create-relay-app
v2.1.2
Changes
- Add
--legacy-peer-deps
flag when installing packages via npm
Full Changelog: v2.1.1...v2.1.2
v2.1.1
Changes
- Install
relay-runtime
package - Support
_app.{tsx,jsx}
being located undersrc/pages/
instead ofpages/
Full Changelog: v2.1.0...v2.1.1
v2.1.0
Changes
- Configure
relay-compiler
inrelay.config.json
instead of inpackage.json
- Add
--watch
torelay-compiler
script, ifwatchman
is installed - Send recommended
Accept
header as per the GraphQL over HTTP spec:
Accept: application/graphql-response+json; charset=utf-8, application/json; charset=utf-8
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Changes
- Script now infers project details per default. Interactive mode needs to be requested via
--interactive
explicitly - Put script arguments into README.md
Full Changelog: v1.0.0...v2.0.0
v1.0.0 🥳🎉
Changes
- Fix Next.js 12.3 Typescript issue, by passing
RelayPageProps
toAppProps<T>
in_app
component - Prevent
initialRecords
regenerating Relay environment upon new page visit - Introduce new typescript helpers like the afformentioned
RelayPageProps
, andGetRelayServerSideProps
as well asGetRelayStaticProps
- Update documentation to reflect changes: updated documentation
Full Changelog: v0.0.7...v1.0.0
v0.0.7
Changes
- Re-add
vite-plugin-relay
now that it supports Vite 3
Problems
I'm aware of a Typescript issue with Next.js 12.3. I'm working on resolving it for v1.0.0.
Full Changelog: v0.0.6...v0.0.7
v0.0.6
Changes
- Do not install
vite-plugin-relay
from GIT branch. Instead showcase how to add the plugin manually until it's fixed for Vite 3.
Full Changelog: v0.0.5...v0.0.6
v0.0.5
Changes
- New
--subscriptions
option to configure subscriptions viagraphql-ws
- Fix line ending of Relay artifacts to
LF
using.gitattributes
(when in a GIT repository) - Improve default value for
--package-manager
- Add Next steps documentation in case the user clears their terminal output
- Surface filesystem errors in a better format
Full Changelog: v0.0.4...v0.0.5
v0.0.4
Changes
- Add integration tests using Playwright to ensure that the tool is compatible with scaffolded projects produced by CRA, Vite and Next.js.
- Support Next.js server side rending
- Merge configuration in
next.config.js
instead of bailing - Project can now only be run from the root directory of a project
- Lots of internal refactoring to make it more testable
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Changes
- Support Create React App Typescript and Javascript projects
- Provide guidance on
babel-plugin-relay
setup for CRA: Link - Add reminder to use the
babel-plugin-relay
macro
Full Changelog: v0.0.2...v0.0.3