v13.0.2
Fixed
- [0f84278] Update v13 docs with recent fixes
- [d745bdf] Check for existence of
global
before usage (#3646) - [03ed79c] Add support for .gql file extensions for schema files
- [c594f26] LSP: Fix sending code actions for incorrect code location
- [96f8d0d] fix error message source location (#3745)
- [8ab1167] remove pattern filtering in glob_file_source, change it to walk_dir_file_source
- [a7f125b] Update startCursor and endCursor in Connections.md spec (#2655)
- [8ac91d7] use
import
instead ofrequire
if eager_es_modules = true - [f1435c3] Add build for linux-musl target (#3754)
- [f82885c] Fix grammar error (component access => component accesses) and change fancy ' to simple '
- [e2eb89e] Remove unused import from example (#3747)
- [1a81c5e] Fix small warning in an example from the step by step guide (#3746)
- [74c7ca6] Make clientid field readonly
Improvements
- [6f9bb96] Added
---validate
CLI option (#3771) - [cce915c] support providing schemaConfig in single project config files (#3777)
- [d4d98e4] Make compiler transforms customizable and applied as a Vec of Transforms (#3701)
- [449bb89] Replace env_logger by simplelog (#3763)
- [c88609f] add support for multiple warnings in relay-test-utils
- [34380d1] Add defaults to
persistConfig.params
- [4013eff] Use Semaphore to limit number of concurrent requests when persisting (#3736)
- [31c156a] remove duplication in deprecated mutation/subscription types
- [490a77f] Use
id
field name from schema_config in relay-typegen - [c564ce3] Improve Persisted Queries documentation (#3512)
Misc
- [dbe0cbb] update relay to clap3
- [c2588c7] automatic update for shelljs@^0.8.5
- [3328e8d] automatic update for [email protected]
- [edd3214] Run
npx prettier
on README files - [436a084] Deploy v0.170.0 to xplat
- [aa73c44] Start separating out code which determines where files live
- [11c20f5] Moved fb-only unit tests out of oss
- [5325cda] Update tokio to 1.15
- [e4919b1] Upgrade console to 0.15.0
- [84868c1] move more Relay error messages out of graphql-ir
- [ed3e82d] Bump nanoid from 3.1.23 to 3.2.0 in /website (#3769)
- [4699f67] added validation for operation variable names
- [699d33c] move Relay error messages out of graphql-ir
- [0c4108d] Make loadEntryPoint from Relay unwrap es6 modules with a default export from a JSResource
- [010b781] write operation aggregate type in final phase
- [1fc8122] small refactor in codegen
- [05ce2e0] Update Cargo.lock (#3767)
- [d9d8783] update fixture-tests to clap3
- [2cdc424] Enum changes are breaking changes
- [e01b840] export path_for_artifact from
relay-compiler
- [2e3089c] unit test for warnings testing util
- [128d00b] Bump shelljs from 0.8.4 to 0.8.5 in /website (#3751)
- [857a579] Bump follow-redirects from 1.14.4 to 1.14.7 in /website (#3752)
- [9ebec17] Custom project config from fixtures
- [df9621a] Daily
common/rust/cargo_from_buck/bin/autocargo
- [97a0e95] Add fb_only features flag to unit-tests in CI (#3741)
- [9dab3ff] Remove default fb_only flag on Relay transforms
- [720f652] impl std::fmt::Write for FlowWriter and TypescriptWriter
Experimental
- [a70cd06] Add quickfix for
@waterfall
directive - [9ac65f9] Require adding
@waterfall
to Client Edge fields - [5125834] Fix issues with
@required
within Resolvers - [454de5b] Provided Variables: Changed function signature
- [c844a5b] Allow runtime to check
@required
resolver values - [88093de] Warn when a provider function returns different values across calls
- [d543a7a] Provided Variables: Errors for provided variables with conflicting types or modules
- [309c17c] Provided Variables: Add DiagnosticsResult to transform
- [[ebc6c95] Rename provided variables using module name
- [ccde4f7] renamed variables in test fixtures
- [ee374c8] Ignore field handles for now
- [f699664] Expose metadata about the transformation
- [3a83ed4] Assigning undefined to a singular linked field should not assign null
- [89d38a0] Also explicitly make js a non-updatable field
- [8da45b0] For concrete assignable fragment spreads, always select __typename
- [d17c0e5] Add unit tests for fragment spreads with abstract type conditions
- [64fb548] Generate correct flowtypes for linked field setters
- [a1221c1] Enable
@required
for Relay Resolvers - [d4ab8a1] Fix binary search in flatbuffer schema
- [a2b12fd] Introduce assignable fragment validators
Thank you to all contributors who helped with this release!
Special thanks to @ch1ffa for adding many valuable fixes and improvements!
Full Changelog: v13.0.1...v13.0.2