Skip to content

Commit

Permalink
Release '@adeira/relay' version 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnzlml committed Mar 9, 2021
1 parent 64bf099 commit b4ba790
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/example-relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@adeira/graphql-relay": "^0.3.0",
"@adeira/js": "^2.1.0",
"@adeira/monorepo-utils": "^0.11.0",
"@adeira/relay": "^3.0.1",
"@adeira/relay": "^3.1.0",
"@adeira/sx": "^0.24.0",
"@artsy/fresnel": "^1.3.1",
"apollo-server-micro": "^2.21.1",
Expand Down
5 changes: 4 additions & 1 deletion src/relay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Unreleased

This release introduces Relay Hooks in a backward compatible fashion. Next major version of `@adeira/relay` will focus on removing legacy parts of Relay Modern so it's highly encouraged to upgrade as soon as possible.
# 3.1.0

This release introduces Relay Hooks in a backward compatible fashion. Next major version of `@adeira/relay` will focus on phasing out legacy parts of Relay Modern (containers API), so it's highly encouraged to upgrade as soon as possible.

- Relay dependencies upgraded to version `11.0.0`, see: https://github.com/facebook/relay/releases/tag/v11.0.0
- Additional Relay hooks were exposed: `useEntryPointLoader`, `useFragment`, `useLazyLoadQuery`, `usePaginationFragment`, `usePreloadedQuery`, `useQueryLoader`, `useRefetchableFragment`, `useSubscribeToInvalidationState` and `useSubscription` (+ some other hooks specific functions)
Expand All @@ -9,6 +11,7 @@ This release introduces Relay Hooks in a backward compatible fashion. Next major
For more information about Relay Hooks evolution please visit the following links:

- https://github.com/facebook/relay/releases/tag/v11.0.0
- https://relay.dev/blog/2021/03/09/introducing-relay-hooks/
- https://relay.dev/docs/ _(new)_
- https://github.com/facebook/relay/issues/3371

Expand Down
4 changes: 2 additions & 2 deletions src/relay/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@adeira/relay",
"private": false,
"version": "3.0.1",
"version": "3.1.0",
"main": "src/index",
"module": false,
"sideEffects": false,
Expand Down Expand Up @@ -41,6 +41,6 @@
},
"peerDependencies": {
"graphql": "^14.5.8",
"react": "^16.14.0 || ^17.0.0"
"react": "^17.0.0"
}
}
2 changes: 1 addition & 1 deletion src/ya-comiste-backoffice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@adeira/js": "^2.1.0",
"@adeira/relay": "^3.0.1",
"@adeira/relay": "^3.1.0",
"@adeira/sx": "^0.24.0",
"@adeira/sx-design": "^0.5.0",
"babel-plugin-fbt": "^0.17.2",
Expand Down

0 comments on commit b4ba790

Please sign in to comment.