v13.2.0
Added
- [0c59b5a] Tear out the DELAY_CLEANUP_OF_PENDING_PRELOAD_QUERIES experiment
- [7207485] Parse Resolver Definitions from docblocks
- [a2285b8] Create a separate ArtifactContent variant for UpdatableQuery
- [b211acf] Add interface that implements interface to test schema
- [6565c7c] Document Relay Resolvers
- [e21d89e] always enable ENABLE_QUERY_RENDERER_OFFSCREEN_SUPPORT
- [5172d1b] Rust crate for pruning fields from type schemas
- [fde6ec6] Start considering docblocks in LSP
- [e97263f] Support index with suffixes when validating module names (#3805)
- [d5fadad] Make path a non-optional field now that we've rolled out the compiler…
- [2e5799d] Include React 18 in peerDependencies (#3829)
Fixes
- [a8fd33d] Added tests that show nested fragment bug (1/2)
- [a2037ae] Patch edge case: add provided variables to relevant root operations
- [4801f2b] Use default language in CliConfig
- [d794a41] Fix off by one error
- [d48778c] Add test case for @ module and provided variables (1/2)
- [8707399] Patch for SplitOperation and provided variables (2/2)
Improvements
- [01a4499] Make readUpdatableQuery docs match copy in previous docs
- [be382cf] docs: add graphql-ws as a websocket client (#3245)
- [86e2580] Use $fragmentType instead of $ref in docs
- [5c1e15b] Clarify that we are watching not waiting
- [c978b97] Guard against invalid saved state
- [e6fc28a] add directives support to @argumentDefinitions in graphql-ir
- [74df20c] Update internalAct
- [4a8ecea] Attach location information to missing field diagnostics
- [9c9c978] Implement get_all for all IncrementalSources
- [fa83f1e] disallow warnings/errors in QueryResource test
- [a552532] Expose ability to extend objects after the schema has been created.
- [bdbc736] Allow marking Relay Resolvers as deprecated
- [bfe0e65] Use better location for invalid Relay Resolver root fragment
- [1e923be] Move suggestion_list to schema
- [6e8b52f] Avoid panic when a query consists of only client extension selections.
- [453fb0b] Simplify and improve converting common::Location to lsp::Location
- [095135f] Remove special handling for go-to-def for Resolvers
- [dbe2c9f] Support Relay Resolvers on interfaces
- [21a89d7] Suggest alternate type/interface if you pick one that does not exist
- [764af24] Provide code actions to fix a typo on the interface/type of a Resolver
- [3da1c01] Targeted error message/code action when mixing type/interface
- [6357056] Add suggestions with code actions when you typo a fragment name
- [ee5da1e] Add path to Resolver codegen nodes
- [5b259b1] use scoped $FlowFixMes
- [f01cad2] Improve hover message for Relay Resolver Fields
- [47d9d20] Catch errors thrown by Relay Resolvers
- [b8e78ca] update useLazyLoadQuery docs to remove type argument
- [7fc1e54] Report syntax errors on type (without waiting on save)
- [32d17fa] Refactor RelayModernEnvironment to access the network via public methods
- [d743943] Avoid duplicate output in the compiler CLI
- [92bf547] remove unnecessary getRequest calls
Misc
- [ebf30bb] Remove dead QueryResource Suspense handling
- [ebce9eb] Remove redundant assertions from QueryResource tests
- [00b9012] Rename and move RelayResolverMetadataSource → DocblockSource
- [b565fc5] Avoid unused type params
- [2177e00] Make SourceSet and ProjectSet iterable
- [77f4f79] Return docblock sources as part of extract
- [035e29f] Add location to docblock AST
- [d6ee691] Remove unused QueryResource cache APIs
- [0308bfa] Dedupe selections in react codegen
- [e3da29b] use disallowWarnings from test utils
- [80e621f] Use disallowWarnings in `FragmentResource with Operation Tracker and …
- [6ef14e5] Sub out a crate responsible for parsing docblock AST into information…
- [559cbb7] Parse docblock to ir struct
- [e4237b3] Derive a schema AST from Resolver IR
- [0cfdd54] Use disallowWarnings useBlockingPaginationFragment-test.js and
- [3738783] disallow console.error
- [880c82c] disallow errors/warns in useLazyLoadQueryNode-test.js
- [e8b5596] Track embedded source indexes explicitly
- [7687c7a] Improve test output for relay-docblock
- [72622e5] Merge SourceSet and ProjectSet
- [ffce580] Model ProjectSet as a newtype vec
- [ebf30bb] Remove dead QueryResource Suspense handling
- [6f95ab7] Update transform test to use source location
- [9cd3331] Cleanup compiler feature flag to enable parsing docblocks
- [d0806d4] cleanup ENABLE_QUERY_RENDERER_OFFSCREEN_SUPPORT feature flag
- [6216580] Show guide in internal docs
- [98162d3] Add homepage banner in support of Ukraine (#3824)
- [62f6457] cleanup usage of interface type for UploadableMap
- [e2d53b4] cleanup usage of interface type in MutationVariables
- [625370e] cleanup usage of interface types
- [5a7646e] add disallowWarnings to LazyLoadEntryPointContainerDEEPRECATEDTest
- [4f3c83c] Disallow error/warn in some tests in relay-hooks
- [605e366] Disallow warn/error in loadQuery test
- [36013ae] Make SourceText generic
- [d853010] Move Span::to_range() to TextSource
- [e75b909] Port NoFragmentCyclesRule
- [e02717c] Add a persister for Instagram(distillery)
- [a758c0d] remove unnecessary getFragment calls
- [8313676] small followup cleanup for getFragment/getRequest
- [3497ce7] Shared implementation of disallowWarnings and disallowConsoleErrors
- [91feecf] remove rollout flag for @relay_flow_enum directive (4)
Experimental
- [b430570] Add readUpdatableQuery_EXPERIMENTAL docs about updating linked fields
- [874ca73] Add optional feature flag to parse docblocks
- [d2d2d1f] React Cache: useLazyLoadQuery and useFragmentInternal implementation
- [ca31ec1] add rollout flag for relay_flow_enum_directive to compiler (1)
- [3070fa3] Fork RelayModernStore and add test
- [03afd5e] Fork ResolverCache
- [43c8e82] Sketch out External State Resolvers
- [e8019de] Emit different types and Reader AST for Relay Resolvers with @ LiVe in…
- [8d23f5a] Add new node type for live resolvers.
- [af7a254] Start to adopt new Reader node type
- [220c729] Rebrand External State Resolvers to Live Resolvers
- [20208b1] Add rollout option for sorting typegen output
- [c7cb886] Add a ConcreteUpdatableQuery variant to GraphQLTag
- [2faed63] Do not generate unused ASTs, params for updatable queries