Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update relay monorepo to v16 (major) #599

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 10, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
babel-plugin-relay (source) ^10.1.3 -> ^16.2.0 age adoption passing confidence
react-relay (source) ^12.0.0 -> ^16.2.0 age adoption passing confidence
relay-compiler (source) ^12.0.0 -> ^16.2.0 age adoption passing confidence
relay-runtime (source) ^12.0.0 -> ^16.2.0 age adoption passing confidence

Release Notes

facebook/relay (babel-plugin-relay)

v16.2.0

Compare Source

Minor breaking changes

This change is a breaking change, as the customScalars config option in the single-project config must now be specified as customScalarTypes.

Added

Bug fixes

  • [b995eec40461]: Update config.ts for typo (#​4594) by Orta Therox
  • [2f9e88affdc7]: Fix goto references for TerseRelayResolver (#​4587) by tobias-tengler
  • [d513e42f881e]: Suspend on active promises for client edge queries in the new hooks implementation by Andrey Lunyov
  • [eb0b7fcd991c]: Cleanup outdated records after model/output type resolvers updates by Andrey Lunyov
  • [ece1fd953b98]: Fix SDLSchema replacing logic by Deepak Singh
  • [d90dedfc577e]: Replace invariant in SuspenseResource with the warning in the case where GC is disabled by Monica Tang
  • [9f135b8f92a7]: Fix path on Windows (#​4544) by martin
  • [aac57b30e812]: UseFragmentInternal should suspend if environment changes and there is a query in flight by Andrey Lunyov
  • [00aabd00be72]: Fix client->client nullable model issue for PluralConcrete object output types by Monica Tang
  • [7b3b0779b570]: Fix client->client nullable model issue for SingularConcrete object output types by Monica Tang
  • [3873809c2df8]: Handle missed updates from the low-priority state changes in the new hooks implementation by Andrey Lunyov

Improvements

  • [0037d05c61d8]: Cleanup allow(unused_imports) by Cameron Pickett
  • [ada971e33838]: Disallow some read time features in mutation responses by Jordan Eldredge
  • [a2c7ed480e2d]: Relay-compiler diagnostic errors logging improvements (#​4574) by Alex Coleman
  • [1a57f0832665]: FIX(Graphql): Add support for input with default values (#​4540) by eMerzh
  • [2f97f25e53a1]: Consume LiveState from relay-runtime root in typegen by Jordan Eldredge
  • [182a86647000]: Fix missing space in diagnostic location print (#​4573) by Alex Coleman
  • [5a18984e4155]: Refactor model resolver codegen to re-use build_reader_relay_resolver by Monica Tang
  • [1972913c2d12]: Augment corpus digraph logic to intake a vec of TextSource by Monica Tang
  • [06cb092ae28f]: Implement compiler command to get graphql text sources and program by Monica Tang
  • [1a06f3269985]: Use Parameters and indexed access type to extract PreloadParams by Sam Zhou
  • [5cf0af11be92]: Update print_schema to support ARGUMENT_DEFINITION and INPUT_FIELD_DEFINITION directives by James Wren
  • [4c25549bcb1a]: More strict selectors equal check by Tianyu Yao

Documentation Improvements

Miscellaneous

  • [4619f9706d97]: Add a json output option by Tianyu Yao
  • [49e4da17abbc]: Make compiler results seriaizable by Tianyu Yao

Experimental Changes

  • [5718ca9fd9b2]: Transform to convert fragments and linked fields on abstract types to inline fragment by Monica Tang
  • [399bf9201eba]: 6/n - Add tests for errorResponseFields by Itamar Kestenbaum
  • [27a062376ce3]: 5/n - Add erroring on seeing relayFieldErrors by Itamar Kestenbaum
  • [12d169fc9c23]: 4/n - Add logging on seeing relayFieldErrors by Itamar Kestenbaum
  • [0a9d473edeee]: 3/n - Add RelayFieldError and rename RelayFieldError to TRelayFieldError by Itamar Kestenbaum
  • [914794c4ddba]: 2/n - Rename requiredFieldLogger to relayFieldLogger by Itamar Kestenbaum
  • [af4afbdc2ab3]: 1/n - Add field errors to Snapshot by Itamar Kestenbaum
  • [08c32cfede3b]: Integration test for resolvers implementing fields for interface by Jordan Eldredge
  • [396a1dbfb8cd]: Expose live resolver modules outside of experimental-live-resolvers directory by Jordan Eldredge
  • [bac5f9c790a9]: Update for normalization node changes by Bhuwan Khattar
  • [8dd004f4711a]: Add apply_to_normalization_ast config for resolvers_schema_module by Bhuwan Khattar

Full Changelog: facebook/relay@v16.1.0...v16.2.0

v16.1.0

Compare Source

Added

  • [b683e8c2c355]: Add validations for custom scalar arguments by Alex Danoff
    Enable flag enable_strict_custom_scalars to perform validations when custom scalar types are used, to check that the user doesn't try to pass literal values (strings, ints, etc) in positions where a custom scalar type is expected, as this can break type safety since Relay can't know whether those literals conform to the underlying custom type.

Bug fixes

  • [b379edf30a6e]: Handle the document type change from Query to Fragment by Andrey Lunyov
  • [5ffcdbcf0114]: Fix missing validation for global variables in client-edges (#​4513) by Andrey Lunyov
  • [8e0949d6d90a]: Apply fragment renaming to resolver fields by Jordan Eldredge

Improvements

  • [dfad61878904]: Fix types in RelayMockPayloadGenerator.js by George Zahariev
  • [24ef22b4946c]: Adopt conditional type for useRefetchableFragment related functions by Sam Zhou
  • [400cfa841445]: Refactor extra typegen config fields into TypegenOptions struct by Monica Tang
  • [e694ba8792a6]: Use conditional type to power EntryPointElementConfig by Sam Zhou
  • [1cc9d937ea1a]: Refactor extra artifact project config fields into extra_artifacts_config by Monica Tang
  • [cf0fb394dbb6]: Incremental build compatible ResolversSchemaModule by Bhuwan Khattar
  • [0d429f796e69]: Implement fmt::Display for SchemaChange by Monica Tang
  • [d48a0e025385]: Fix RelayResolverModel-test by Monica Tang
  • [ab92df525948]: Use placeholder in connection warning by Jan Kassens
  • [6519571a092a]: Shallow freeze resolver value by Tianyu Yao
  • [7f54255c92ea]: Do not mutate a shallowly frozen subtree by Tianyu Yao
  • [904924c6925b]: Add validations for mutation resolvers by Alex Danoff
  • [ef84550353b6]: Handle panics in integration tests by Alex Danoff
  • [5c7555b2c00d]: Expose Sink type from relay-runtime (#​4516) by jaroslav-kubicek
  • [9e0acc1d8c77]: Improve test coverage for recycleNodesInto on deeply frozen data by Tianyu Yao
  • [6b89a29678ad]: Add normalizeResponse to MultiActorEnvironmentConfig by Bhuwan Khattar
  • [61c7bffac76f]: Regression test for mutating complex resolver values by Tianyu Yao
  • [22a3c89f9518]: Import ClientRequest for client only mutations by Alex Danoff
  • [3017057e77eb]: Only freeze plain JS objects and arrays by Tianyu Yao
  • [f90edc4cb52a]: Add regression test for fragment spreads with undefined global variables as arguments by Monica Tang
  • [8011e22b6043]: Add areEqualOwners to check for structural equality of fragment owners. (#​4500) by Andrey Lunyov

Documentation Improvements

  • [e854fa04acfe]: Typos (#​4532) by Michael Letcher
  • [06756209a4aa]: Fix typo in website/docs/tutorial/queries-1.md (#​4522) by Priyansh Agrawal
  • [59f5d604bb43]: Fix typo in Relay Mutations & updates doc by Mingshi Yang
  • [a0b50ac400b4]: Add graphql operation naming and organization docs by Aaron Lichtman
  • [19970477942d]: Add blog post explaining how Relay provides unique value in data loading by Jordan Eldredge
  • [4668757a37e9]: Add back updating-connections to current doc by Tianyu Yao

Miscellaneous

  • [2863820b5000]: Export fragment type generation for FCL setup by Monica Tang
  • [4712bcc92e85]: Replace uppercase React import with lowercase one by Sam Zhou

Experimental Changes

  • [cf30bf4a3561]: Upstream resolvers_schema_module from fb-relay-compiler by Bhuwan Khattar
  • [05689b07f341]: Js_module_import_path -> js_module_import_identifier by Bhuwan Khattar
  • [a2c57d988bc2]: Consolidate __relay_model_instance definitions by Monica Tang
  • [4f7739ac3363]: Generate_schema_resolvers -> ResolversSchemaModule by Bhuwan Khattar
  • [400090b0ad8a]: Make LiveState and suspenseSentinel top level exports of Relay by Jordan Eldredge
  • [07a90ee56ab5]: Repro tests for resolver client edges to nullable models by Monica Tang
  • [5bbdfc92cd35]: Generate rootFragment normalization ast for schema_resolvers by Bhuwan Khattar
  • [70a5ff0b15c9]: Always pass an args object to resolvers that define runtime args by Jordan Eldredge
  • [3ee60181ff50]: Inject useFragmentInternal to use in useLazyLoadQueryNode by Andrey Lunyov
  • [aa64b588fff4]: Unsubscribing from resolvers before removing the record while runing the garbage collector by Leonel Fernandez Mir
  • [44227353d574]: Validate that field arguments passed to relay resolvers are defined by Monica Tang
  • [930864a33ede]: Deprecate verbose resolver syntax with feature flag to enable by Jordan Eldredge
  • [86dc27050b26]: Add regression tests for undefined fragment arguments in relay resolvers by Monica Tang
  • [00d621701622]: Add regression tests for undefined field arguments in relay resolvers by Monica Tang
  • [41a33a19331f]: Add regression tests for both field and fragment arguments in relay resolvers by Monica Tang
  • [0c70e547f27b]: Update normalization AST generation by Gerard Moreno-Torres Bertran

v16.0.0

Compare Source

Breaking
  • Arguments passed to the filters keyword for the @connection directive will now throw if they are invalid instead of being a no-op. [2dd7954]

Flow-related breaking changes:

  • Explicit type annotations are no longer needed for commitMutation [603ce54] and useMutation [051e469].
  • Records can no longer be modified directly and can only be passed to utility functions such as those in RelayModernRecord.js. [21a896c]
  • Added the babel-plugin-syntax-hermes-parser plugin, which switches Babel to use hermes-parser instead of @babel/parser, and enables full syntax support for Flow. [c320a89]
  • [1d95ce2] - Make React.Element fully opaque

TypeScript-related breaking changes:

  • Empty variables will now be typed as Record<PropertyKey, never> instead of as {} to represent an object without properties. [16910c9] (#​4404)
  • Nullable fields will now yield a union of the actual type, null and undefined (T | null | undefined) instead of (T | null). To keep the old type generation behavior for now, you may set the typescriptExcludeUndefinedFromNullableUnion feature flag in the relay-compiler config as follows. Note the feature flag will be removed in a future release. [cc47bc9] (#​4380)
    • Update: We will leave the feature flag available indefinitely, or until we have an explicit solution to missing data. See this issue for more context.
{
  "language": "typescript",
  "typescriptExcludeUndefinedFromNullableUnion": true
}
Bug Fixes
  • [313d62d] - Don't assign to frozen objects and arrays
  • [a5e0ba3] - Fix flow errors in the reactive executor and relay runtimes
  • [17f4abf] - Make isWithinUnmatchedTypeRefinement be set on a per-fragment basis
  • [33d5475] - Fix RelayObservable ifEmpty: Cannot access 'current' before initialization
  • [4123383] - Do not freeze array buffer views
  • [a2c2b64] - Get compiler playground working again (#​4336)
  • [04005db] - Replace invalid variable characters for import name (#​4293)
  • [0fce632] - Fix refetching and pagination when using a custom nodeInterfaceIdField (#​4053)
  • [e784ee4] - Fix version number parsing in cannotReadPropertyOfUndefined__DEPRECATED (#​4314)
  • [a79038b] - Fix some grammar in validation selection conflict error messages
  • [6f30869] - Updating connection handler to be able to deal with streamed edges that are already in memory
  • [2699206] - Always use / as path separators in generated artifacts (to allow stable compilation between windows and unix-based systems)
Experimental

Relay Resolvers are an experimental feature of Relay which allows you to model derived data, and soon client state, in your Relay graph. Since our last release we’ve put considerable work into stabilizing the feature. This includes bug fixes across our compiler, type generation, runtime and LSP (editor integration). In particular, contributors have fixed a number of bugs which made it impossible to use Relay Resolvers with TypeScript.

Documentation:

  • [bd95f00] - Updates RelayResolvers docs to include terse syntax and updates to the module resolution details

Improvements:

  • [15c2715] - Fix compiler issue with stale artifacts for Resolvers in watch mode (#​4415)
  • [0b2791f] - skip_redundant_nodes: do not mess with order of selections within inline fragments with client edge metadata
  • [77304c2] - Add flag and validation for strict resolver flavors
  • [3d66ad8] - Add artifact with schema resolvers
  • [998fd49] - Regression test for not detecting undefined variables on resolver fields
  • [556d696] - Fix Relay Resolver typegen for Typescript-based projects (#​4274)
  • [508dca3] - Add handleMissedUpdates to subscription callback
  • [c899a68] - skip generating client edge queries for base project fragments
  • [bb50fdf] - Support Graph Mode GraphQL response data processing
  • [c93322b] - Add directives to the base project resolvers (types/fields)
  • [5d22d1c] - Show a helpful error if a resolver returns an interface with no implementors (#​4428)
  • [a8dc8a9] - Retain description for terse resolvers
  • [64b707d] - Set the cache as missing state when missed updates
  • [b09fd94] - Support for suspend after initial mounting for plural fragments
  • [f4bdd5a] - Components can suspend after initial mounting
  • [900f40c] - Update operation tracker for optimistic updates
  • [b2dcbfe] - Allow @required to bubble to client edge resolvers.
  • [b23fe58] - Split out method in RelayReader responsible for propagating resolver metadata
  • [fca7a9c] - Catch errors thrown during .read()
  • [4a1d71d] - Log Required fields even if not missing data
  • [5dfb88b] - Simplify what we keep in the store for resolver errors
  • [feaba45] - Validate that resolver fields are always nullable
  • [147498f] - non-nullable __relay_model_instance
  • [6e4ff95] - Unify handling of plural/nullabile resolver field types
  • [2732238] - Reflect correct resolver type in test fixture
  • [f0e802a] - Ensure incremental builds include all @​rootFragment fragments
  • [6a80a0f] - Add runtime test validating plural @live field
  • [6347254] - Fix bug where suspending @weak resolver values were getting normalized
  • [3c44796] - Enable tsx extension on relay resolvers (#​4303)
  • [a02b706] - Don't wrap nullish values returned from @weak model resolvers
  • [0fe2553] - Allow legacy resolvers with @rootFragment on model types
  • [fd06faa] - Preserve correct resolver path across client edges
  • [fccb3c8] - Allow resolvers with @rootFragment on model types
  • [b4099fc] - Type bug with resolverDataInjector and resolvers that accept args
  • [5c0a740] - Fix for @required on client edges
  • [ed612b8] - Add feature flag for operation tracking that would work with lazy React notification
  • [cf1650e] - Log on LiveResolver batch start/end
  • [f7d62f4] - When adding a concrete object that implements an interface to a schema, also modify interfaces
Improvements
  • [58da806] - Allow configurable @defer/@stream names (#​4467)
  • [c4618c6] - Add support for copying field errors into the store
  • [9a96c6a] - Improve error message clarity
  • [4ffd869] - Add typescriptExcludeUndefinedFromNullableUnion to SingleProjectConfigFile (#​4482)
  • [51fca35] - Stabilize printing paths in fixture tests
  • [9c7b92a] - Type-safe updaters for TypeScript (#​4370)
  • [0bc4142] - allow using provided variables with refetchable fragments
  • [38a08ed] - Allow printing interfaces implementing interfaces
  • [1328fc1] - Export node from assignable fragment (#​4409)
  • [bacd1ae] - Allow extending interface interfaces
  • [7ba6387] - Add getFields() to RelayModernRecord
  • [a062e17] - Extend multiple schemas in parallel
  • [699b0ab] - Improve fragment and fragment spread hover
  • [091a4f0] - Allow ast_diff_in_doc drops machine readable struct
  • [99ce43f] - Inject changed schema files when loading from saved state
  • [bc40b4b] - Fix error message in UpdatableDisallowRelayResolvers error
  • [7a14de0] - Extract type for RequiredFieldLoggerEvent
  • [95c54b4] - Allow persisting to also include the query text for safe migration (#​3917)
  • [de6594b] - Using opaque type trick to enforce nested relay entry point safety
  • [ce74006] - Recommend Babel extension to fix VSCode syntax highlighting (#​4324)
  • [d04c7be] - MockPayloadGenerator support for @​no_inline with args
  • [39ebc1c] - Avoid reusing AST nodes (#​4309)
  • [35fea88] - Add parent node information when providing error about printing empty selections
  • [2108aed] - Add support for deferred fragments in MockPayloadGenerator
Documentation

Additions:

Typo fixes:

Tutorial updates:

Other corrections:

Tooling
  • [392ea1f] - Build compiler playground as part of GitHub CI (take 2) (#​4470)
  • [5cadb43] - Improve inline fragment suggestions for abstract types (#​4453)
  • [f67e9c5] - Make the Relay Compiler Terminal Transient (#​4455)
  • [1ae14fe] - Add a subcommand to dump definitions to file
  • [3b96b01] - Enable goto def in LSP to goto the actual schema definition (#​4434)
Miscellaneous
  • [d4ca7d9] - Add From extension AST to definition AST
  • [beb0e92] - graphql-syntax: add comments explaining FloatNode
  • [a55a3fa] - Add newtype for Union::name
  • [1c8917b] - Make InMemory schema cloneable
  • [4d9f255] - Level-based logging for graphql schema tools
  • [a203dc6] - Remove duplicated flow definitions from arvr/js
  • [48ce83a] - Update strum and enable the derive feature
  • [59912af] - Remove unused method arguments (#​4326)
  • [17d9f9f] - Remove Flight support in Relay Compiler
  • [5dd6914] - Create stand-alone PR to fix VSCode extension build (#​4275)
  • [cc1daa1] - Create shared mock for scheduler (#​4313)
  • [f5c48cd] - Relay: More Resilient cannotReadPropertyOfUndefined
  • [46fa2fa] - Remove experimental.abstract_locations config
  • [3073f1e] - Add feature flag to log missing data using invariant in prod
  • [e2b8516] - Remove inference_mode config now that LTI is the default
Flow Changes
  • [92aaeaf] - Add TRawResponse to useClientQuery generics to support @​raw_response_type
  • [9b7e157] - Strictify EntryPoint typing by making TPreloadParams invariant
  • [fe26a5e] - Fix flow suppression in buildReactRelayContainer
  • [79ba933] - Suppress forwardRef flow error on WWW
  • [fdafa27] - Enable mapped type
  • [eb29556] - Replace $Call with ReturnType in flow typegen
  • [037a28f] - Make Props readonly
  • [f0dbef2] - Codemod $Shape to Partial in Relay files, suppressing errors
  • [f9cba52] - Update setLinkedRecords flowtype
  • [e43a369] - Extract events into named types (#​4254)

v15.0.0

Compare Source

Relay 15.0.0 Release Notes
Breaking
  • [6092ddb] Change signature of missing field handlers. Instead of accepting a Record (which is an untyped grabbag containing whatever the store has), we instead pass a ?ReadOnlyRecordProxy. Furthermore, we replace NormalizationLinkedField with CommonLinkedField, which both a ReaderLinkedField and NormalizationLinkedField "implement".
  • [Flow-Only] usePreloadedQuery, useQueryLoader, useRefetchableFragment, usePaginationFragment, useBlockingPaginationFragment. Updates in runtime, React APIs for better integration with Flow: and a first class support for types in flow for graphql tags. [a75a445] [ef29f06] [78bd12d] [614c747] [ab9f04a]
Features
  • Editor Integration. Our VSCode Extension is powered by tight integration with the Relay compiler. The following compiler improvements improve the experience of using the VSCode extension:
    • [a6eb291] Find field references for vscode extension
    • [96c7193] Feature: LSP Fragment completions (#​4134)
    • [50266e1] Warn on deprecated field and directive args
    • [8f1d9be] Feature: Nested input type field completions (#​4148)
    • [cbdec0b] Add recursive implementing objects method
    • [d24c295] Show schema field description in LSP hover
    • [298af34] Document __typename and __id in LSP hover
    • [c62cad9] Fix LSP completion icon for fields (#​4131)
    • [7c06b6c] Fix: Field alias completions (#​4135)
    • [233d41b] Add error reference link for unknown field error
    • [3b40fe5] Improve scoping of diagnostic location for duplicate queries/fragments
  • Improvements for Open Source contributors:
  • [Experimental] Support of fragment argument syntax currently being proposed for the GraphQL spec
    • [b497aa3] Add spread arguments to Relay Compiler AST
  • [Experimental] Relay Resolvers. A significant portion of our development effort since our last release has gone into developing Relay Resolvers (a mechanism for exposing derived data in the graph) and Relay Live Resolvers (a mechanism for exposing non-Relay client state in the graph). While the features are still experimental and not documented for public use we’ve made significant progress. Some highlights:
    • [9d3a87d] Ability to define multiple resolvers per-file
    • [8dc927f] Terser syntax allows defining most resolvers with a single line docblock
    • [3a151b4] Model resolvers allow defining new GraphQL types that are backed by JS objects
    • [2e134d9] Retain Relay Resolver data during GC
    • [fb96666] Support resolvers that return plural @weak objects
    • [2bd9788] Support defining @weak types in docblocks
    • [f5467f2] Allow live Resolvers to be batched
    • [cb052fc] Clean up go to definition for resolvers
    • [dae3159] Fix LSP on Windows (#​4160)
  • [e80d6ba] Compact GraphQL query text (#​3983)
  • [e64db9b] Allow passing custom headers when persisting queries (#​4066)
  • [44fe2bc] Don't print "default" project name in diagnostics
  • [10e20cc] Update types for LoadMoreFn: use variables directly, do not extract them from query
  • [8a44673] Adding support for client extensions in mock payload generator (#​4030)
  • [9393fe5] Use relative to fragment location path for provided variables modules
  • [6acd8cb] Support import type for named imports in typescript
  • [c0d0198] Handle missing fields in readUpdatableQuery/Fragment
  • [d00df58] Add support for refetchable interfaces
  • [f070bc1] handle removed schema files in the incremental mode
  • [bdf1a41] Fix validate_selection_conflict and enable the optimization in relay
  • [ac5f397] More updates to LoadMoreFn types in custom pagination hooks
  • [bd0c22a] Log event when we find an operation to suspend on
  • [2e449af] Sort CustomScalarImports in runtime artifacts
  • [470a5fb] Add SDLSchema.get_unions() (#​4036)
  • [aa261bf] Provide default to loadQuery TEnvironmentProviderOptions TParam
  • [8eea4aa] Improve error messages related to @​refetchable
  • [1802a7d] Emit forced type assertions for ESModules
  • [872a64f] Sort types of interface when generating selections for abstract @​outputTypes
  • [051d1c4] Add non-fatal validation warnings to Relay's compiler
  • [4cea5dd] Add TRawResponse type to ClientQuery
  • [f8c1c2d] Report related locations in diagnostics
  • [bcf7d6f] Use import type in typescript for all imports (#​4029)
  • [831fa90] Upgrade to Flow 0.201.0
  • [96df067] Export ProfilerContext in react-relay (#​4049)
Bug Fixes
  • [9790484] BUGFIX - pop errors in validate_selection_conflict
  • [6f248f1] Manually fix LTI errors
  • [196a57b] Fix bug where resolved promise was being reused
  • [9582ec7] Support Suspension of ReactRelayQueryRenderer
  • [121903d] Default FetchPolicy for Live Queries to "store-and-network"
  • [8d49006] Add assignClientAbstractTypes to the DataChecker
  • [68b6846] Fix suspense for client-only fragments that contains suspensible live resolvers
  • [8c11098] Fix schema name resolution
  • [3cb0415] ProvidedVariables and RelayResolver
  • [5799146] fix moduleImportConfig support for single project configs
  • [585ad64] Quote key in literal object argument
  • [5ea0fb9] Do not use path in snapshots, they are different on windows. (#​4101)
  • [4bc0571] Fix printing nested condition nodes
  • [85ab73f] Fix types of useRefetchableFragment/usePaginationFragment for data/variables with/without optional keys.
  • [5028b31] Strip extensions on file import paths when writing out TypeScript generated code (#​4057)
  • [976e6ee] Modifying @​relay_test_operation to write metadata for client fields (#​4047)
  • [e2a7e96] Fix printing repeated conditions
  • [ce5e1ed] Compiler incorrectly reports missing required fields (#​4123)
  • [4ba3fe8] Import fragment types in typegen in non-haste setups
  • [54ba473] Fix duplicate field validation
  • [6d01338] Fix scheduling bug that caused extra queries
  • [4d12002] Stop generating js fields in query for 3D when local import is enabled
  • [39c774b] Don't treat generated fragments as dependencies
Misc
  • [98e7700] Validate against using Relay Resolvers in typesafe updaters
  • [963ada7] update to rust 1.64.0
  • [86e476d] Don't call schema.object 2x
  • [b17af8d] Add Interface.implementing_interfaces
  • [689dcb1] Cleanup relay-flight-experimental
  • [e0d62b1] Populate all types in flatbuffer schema

v14.1.0

Compare Source

Relay v14.1.0 adds improvements for existing relay features - primarily fixes and feature compatibility for client extensions and @inline. Thanks to our open source contributors who helped us release the Relay VSCode Extension!

Added

[cefab9e] Support for @required and client-edges
[90ccda1] Support @argumentDefinitions in @inline fragments (#​3935)
[8adcfab] VS Code: Find references of the Resolver field.
[b965299] useClientQuery hook
[7d5cc34] Add support for resolvers without fragments
[8db002f] Support custom scalar arguments that are passed as literals

Fixed

[a5d67d6] Add resolvers to the dependency graph (Fix missing resolver fragments in incrmental mode and VS Code)
[57f96a1] Improve error message when you mix up @live and non-live values.
[c4dbd26] Remove .js and .ts from require / import ([#​4002](https://togithub.com/facebook/rel


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 32ae643 to c668c85 Compare March 24, 2021 14:16
@renovate renovate bot changed the title chore(deps): update relay monorepo to v11 (major) chore(deps): update relay monorepo (major) Mar 24, 2021
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from c668c85 to dc9b523 Compare March 24, 2021 16:43
@renovate renovate bot changed the title chore(deps): update relay monorepo (major) chore(deps): update relay monorepo to v11 (major) Mar 24, 2021
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from dc9b523 to 0912eb1 Compare March 29, 2021 06:38
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch 2 times, most recently from a64f09e to dd4544b Compare April 15, 2021 18:58
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from dd4544b to 68803a7 Compare April 26, 2021 03:04
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 68803a7 to a694e35 Compare June 20, 2021 17:18
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from a694e35 to fec5439 Compare October 18, 2021 18:10
@renovate renovate bot changed the title chore(deps): update relay monorepo to v11 (major) chore(deps): update relay monorepo to v12 (major) Oct 18, 2021
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from fec5439 to 99ab4de Compare March 7, 2022 13:47
@renovate renovate bot changed the title chore(deps): update relay monorepo to v12 (major) chore(deps): update relay monorepo to v13 (major) Mar 7, 2022
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 99ab4de to 10e5b1c Compare March 26, 2022 15:47
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 10e5b1c to 7b63111 Compare April 7, 2022 17:14
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 7b63111 to aa2d81f Compare June 18, 2022 22:45
@renovate renovate bot changed the title chore(deps): update relay monorepo to v13 (major) chore(deps): update relay monorepo to v14 (major) Jun 18, 2022
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from aa2d81f to 91d3d20 Compare August 24, 2022 16:59
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch 2 times, most recently from 4b65c6d to 720d50c Compare August 24, 2022 20:42
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch 3 times, most recently from f7b03ee to b9ad629 Compare September 27, 2022 22:48
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from b9ad629 to 7a4a34c Compare November 20, 2022 15:19
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 7a4a34c to 54f14b7 Compare March 18, 2023 08:04
@renovate renovate bot changed the title chore(deps): update relay monorepo to v14 (major) chore(deps): update relay monorepo to v15 (major) Mar 18, 2023
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 54f14b7 to ad0c45b Compare October 19, 2023 20:37
@renovate renovate bot changed the title chore(deps): update relay monorepo to v15 (major) chore(deps): update relay monorepo to v16 (major) Oct 19, 2023
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from ad0c45b to 1d57f8a Compare December 11, 2023 21:15
@renovate renovate bot force-pushed the renovate/major-relay-monorepo branch from 1d57f8a to 333e0b1 Compare January 23, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants