Skip to content

Releases: tobias-tengler/create-relay-app

v2.1.2

26 Apr 18:32
Compare
Choose a tag to compare

Changes

  • Add --legacy-peer-deps flag when installing packages via npm

Full Changelog: v2.1.1...v2.1.2

v2.1.1

02 Apr 10:54
Compare
Choose a tag to compare

Changes

  • Install relay-runtime package
  • Support _app.{tsx,jsx} being located under src/pages/ instead of pages/

Full Changelog: v2.1.0...v2.1.1

v2.1.0

02 Mar 21:06
Compare
Choose a tag to compare

Changes

  • Configure relay-compiler in relay.config.json instead of in package.json
  • Add --watch to relay-compiler script, if watchman 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

18 Dec 21:49
Compare
Choose a tag to compare

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 🥳🎉

10 Sep 16:23
Compare
Choose a tag to compare

Changes

  • Fix Next.js 12.3 Typescript issue, by passing RelayPageProps to AppProps<T> in _app component
  • Prevent initialRecords regenerating Relay environment upon new page visit
  • Introduce new typescript helpers like the afformentioned RelayPageProps, and GetRelayServerSideProps as well as GetRelayStaticProps
  • Update documentation to reflect changes: updated documentation

Full Changelog: v0.0.7...v1.0.0

v0.0.7

10 Sep 10:06
Compare
Choose a tag to compare

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

08 Sep 08:43
Compare
Choose a tag to compare

Changes

Full Changelog: v0.0.5...v0.0.6

v0.0.5

28 Aug 11:01
Compare
Choose a tag to compare

Changes

  • New --subscriptions option to configure subscriptions via graphql-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

19 Aug 15:27
Compare
Choose a tag to compare

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

14 Aug 20:01
Compare
Choose a tag to compare

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