Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
b65f53d
Update hermes-parser and related packages in fbsource to 0.25.1
huntie Nov 21, 2024
3c5b65c
Deploy 0.254.0 to xplat
pieterv Nov 21, 2024
b7a14c6
Migrate useFragment-test to RTL
Nov 21, 2024
430c949
Deploy 0.254.1 to xplat
SamChou19815 Nov 21, 2024
f4f7b46
Add Relay test branch for useFragment_EXPERIMENTAL
poteto Nov 21, 2024
79c12a0
Add new Relay flag
poteto Nov 21, 2024
6f76a2a
Propegate empty arrays into the store when handling errors on noncomp…
Nov 22, 2024
e9e556c
Fix usePagination stuck in isLoading
tyao1 Nov 23, 2024
b3142ef
Deploy 0.254.2 to xplat
panagosg7 Nov 23, 2024
7c3fdd0
Deploy 0.255.0 to xplat
SamChou19815 Nov 26, 2024
ca5fa20
usePrefetchablePagination: Add a test case for getServerEdges
tyao1 Nov 26, 2024
884a228
Update thiserror from 1.0.69 to 2.0.3
Nov 28, 2024
5636d53
Update Cargo.lock (#4856)
dtolnay Nov 28, 2024
a8a0750
Fix typo in documentation
Nov 30, 2024
8c29557
simplify dependencies for loadMore function
Tom910 Dec 3, 2024
ac5bae0
Upgrade react to latest experimental
Dec 3, 2024
a4b1a4f
Experimentally replace Relay userspace crud effects with useResourceE…
Dec 3, 2024
8743266
- make it clear that 3D `@module` will only work if each fragment is …
lynnshaoyu Dec 3, 2024
e946bb4
start to fix `Updating Data` section of relay docs
lynnshaoyu Dec 4, 2024
29b7a1e
Enforce TTL-based GC when release buffer is full
monicatang Dec 5, 2024
c27d645
Prefix the read time resolver storage key
evanyeung Dec 5, 2024
d30aa37
Update useLazyLoadQueryNode tests for Activity
monicatang Dec 6, 2024
e7f3c5b
Convert FBCODE to use the Ruff Formatter
Dec 6, 2024
c67e0ca
Remove `React.Config` type in relay libdef
SamChou19815 Dec 6, 2024
28be5c2
Fix rare client_extension instability
gordyf Dec 6, 2024
9503d7b
Limit WalkDir to the root directories referenced by the configuration…
sverrejoh Dec 10, 2024
4c90b64
Deploy 0.256.0 to xplat
Dec 10, 2024
620e7a6
Document resolvers returning abstract types
captbaritone Dec 10, 2024
652ab3b
Refactor Transform lifetimes
gordyf Dec 10, 2024
2211ac6
Context not properly provided through data injector and subscriptions…
Markionium Dec 10, 2024
d0da525
Remove PointerAddress from generate_typename
gordyf Dec 11, 2024
d2e6483
remove as_const option (on by default) in fbsource
panagosg7 Dec 12, 2024
6186a7d
Make Result type fields readonly
captbaritone Dec 12, 2024
524a059
Export MockResolverContext type on relay test utils
Dec 13, 2024
1e60e47
unbreak LiveState unsub when references.size === 0 (#4832)
subtleGradient Dec 13, 2024
658d327
deletes unused files in refetching folder
lynnshaoyu Dec 18, 2024
ba3e22d
Pre-suppress errors in xplat ahead of 0.257.0 release
SamChou19815 Dec 18, 2024
ead2b04
Regression test: @required bubbling to @requried @semanticNonNull field
captbaritone Dec 18, 2024
f115017
Fix: Don't report @required on field that can be null due to @require…
captbaritone Dec 18, 2024
911e083
Run requried transform on IR before validating @required on semantic …
captbaritone Dec 18, 2024
6ded14f
Get Relay building with new toolchian
captbaritone Dec 19, 2024
249e4f3
Deploy 0.257.0 to xplat
SamChou19815 Dec 19, 2024
24951b9
Pipe information through compiler for simplified resolver generation …
evanyeung Dec 19, 2024
1c02417
Add logic to find property lookup resolver docblocks
evanyeung Dec 19, 2024
89872b1
Parse the @gqlField docblock for the description and deprecated tag
evanyeung Dec 19, 2024
330415e
Add write_arrow_fn to the printer
evanyeung Dec 19, 2024
29fb05b
Add docs for @gqlField resolvers
evanyeung Dec 19, 2024
d4874e0
fix forward twilight ubn
lynnshaoyu Dec 20, 2024
7897487
Deploy 0.257.1 to xplat
SamChou19815 Dec 20, 2024
fe5b82c
Unblock relay lsp
tyao1 Dec 27, 2024
a24ebb0
Use constant for machine metadata
Dec 31, 2024
46a82e4
update itertools: 13.0.0 -> 14.0.0
ship-it-ship-it Jan 2, 2025
6efdedc
remove experimental from prefetch pagination hook in fbsource
lynnshaoyu Jan 2, 2025
35dc1ea
Update toolchain in CI (#4871)
captbaritone Jan 3, 2025
5bdaf36
Deploy 0.258.0 to xplat
SamChou19815 Jan 3, 2025
4798edf
Update toolchain in docusaurus CI config
captbaritone Jan 4, 2025
37eb48c
Make crate and parse validation error metadata [1/n]
Jan 6, 2025
74396d7
Schema-writing command
gordyf Jan 6, 2025
52f5f81
Mark generate resolver model id fields with metadata directive
captbaritone Jan 6, 2025
61b028d
Add @catch to client schema extension fields within @throwOnFieldError
captbaritone Jan 6, 2025
572a90f
Validate that client schema extensions within @throwOnFieldError have…
captbaritone Jan 6, 2025
d4aca13
Add aliasing for property lookup resolvers
evanyeung Jan 6, 2025
79f0355
Handle CRLF when parsing docblocks (#4865)
sverrejoh Jan 6, 2025
d64b0e9
Add documentation for Relay performance logger
tyao1 Jan 6, 2025
9ce4817
Add plural fragment support to `observeFragment()` (#4862)
XiNiHa Jan 6, 2025
087d2c3
Explicitly declare the kinds of code actions relay support
SamChou19815 Jan 7, 2025
a6fec33
Deploy 0.258.1 to xplat
SamChou19815 Jan 8, 2025
9c87ff6
rename errorResponseFields to fieldErrors
itamark Jan 8, 2025
51fac5d
Avoid writing to stdout in LSP
captbaritone Jan 9, 2025
99cbea8
third party: Upgrade `rustc_hash`
JakobDegen Jan 13, 2025
be8f5f7
Enhance `schemaExtensions` to Support Both Files and Directories (#4859)
sverrejoh Jan 14, 2025
c804d2e
Deploy 0.259.0 to fbsource
pieterv Jan 16, 2025
4598427
Add execute.unsubsribe logging
tyao1 Jan 17, 2025
6cdea45
Deploy 0.259.1 to xplat
SamChou19815 Jan 17, 2025
38ae469
Fix conditional sub-selections in raw response type (#4774)
tobias-tengler Jan 21, 2025
98e39e0
Unblock Cargo.lock update workflow (#4887)
monicatang Jan 22, 2025
4598266
Small changes to Relay users list
captbaritone Jan 23, 2025
d91fa3f
Remove dead links from Relay users page
evanyeung Jan 23, 2025
4130d41
Upgrade clap* packages
ukautz Jan 23, 2025
3151894
add documentation for RecordSourceProxy
lynnshaoyu Jan 23, 2025
efd2a0a
Revert D68497030: Upgrade clap* packages
Jan 24, 2025
61c7de9
- fix mistake in refetching-queries-with-different-data
lynnshaoyu Jan 24, 2025
6165081
Checked for missed updates in effect create phase
Jan 27, 2025
08e45d7
add support for .cjs .mjs and .js with package.json type="module" (#4…
jantimon Jan 28, 2025
53cddf6
Add Steep Wellness to Relay users list (#4844)
colinharris05 Jan 28, 2025
9b90142
Manual rebase of: Enable __token field based on compiler schema confi…
captbaritone Jan 28, 2025
0925db3
Bump dom-iterator from 1.0.0 to 1.0.2 in /website (#4892)
dependabot[bot] Jan 28, 2025
f19f330
Convert EntryPointContainer to component syntax to support render types
jbrown215 Jan 29, 2025
3326be8
Upgrade to 0.7.40 (#4898)
ide-2 Jan 29, 2025
3bec307
Update docs on usePaginationFragement & transitions in Relay tutorial…
danielstocks Jan 30, 2025
59ae292
- handle local variables vs global variables in prefetch pagination
lynnshaoyu Jan 30, 2025
7201930
Avoid calling fail in tests
captbaritone Jan 30, 2025
10073c8
Fix `observeFragment` triggering unhandled rejections on network erro…
XiNiHa Jan 30, 2025
a63f152
Back out "add support for .cjs .mjs and .js with package.json type="m…
captbaritone Jan 30, 2025
b6291f9
arguments in prefetch pagination variables bug fix
lynnshaoyu Feb 1, 2025
203d8b1
Fix a lot of lints
gordyf Feb 3, 2025
a5d6b23
Shorten relay read time resolver key prefix
tyao1 Feb 4, 2025
d51fae0
Document configuring relay runtime globally (#4906)
captbaritone Feb 4, 2025
40b579f
Add onResume in cacheConfig for Relay subscriptions
Feb 4, 2025
afca975
Allow required alias codemod to be applied to a rollout range
captbaritone Feb 5, 2025
f9c9e7f
bump git2-rs 0.14->0.20, rusqlite -> 0.32.1, sqlx 0.7.1 -> 0.8.2, bla…
VladimirMakaev Feb 5, 2025
ac7a7c7
Replace React$Context with imported type in relay
SamChou19815 Feb 5, 2025
002f9ed
Fix codemod crashing on aliases in inline fragments
gordyf Feb 5, 2025
3bc0add
Migrate off of RawTable APIs
capickett Feb 6, 2025
fea3589
Attempt to mitigate LSP crashes by removing disallow-required-on-non-…
gordyf Feb 7, 2025
264e821
Deploy 0.260.0 to xplat
Feb 11, 2025
134aea4
Add error message to Resolver error
itamark Feb 11, 2025
aeaac5f
Minimal repro of S488223
captbaritone Feb 12, 2025
3b732fc
Fix bug with caching incomplete used variables for fragment cycles
captbaritone Feb 12, 2025
7f2e437
Replace `React$PureComponent` in libdefs
SamChou19815 Feb 12, 2025
56fbda6
Error on empty selections after fragment argument transform (#4908)
tobias-tengler Feb 12, 2025
80b0971
Test performance impact of appending on storage key
tyao1 Feb 13, 2025
7c749fe
Deploy 0.261.0 to xplat
SamChou19815 Feb 13, 2025
46d062c
Back out "Deploy 0.261.0 to xplat"
panagosg7 Feb 13, 2025
de6da29
Upgrade dependencies used by streampager
quark-zju Feb 13, 2025
3a16e22
Allow @dangerously_unaliased_fixme in updatable fragments
captbaritone Feb 13, 2025
4b80697
Pre-suppress errors ahead of 0.261.1 release in xplat
SamChou19815 Feb 13, 2025
4daa9de
Sort cached fragment report in test output
captbaritone Feb 14, 2025
9f20e6d
Deploy 0.261.1 to xplat
SamChou19815 Feb 14, 2025
bcd5c07
Fix broken markdown in FbInternalOnly blocks
itamark Feb 18, 2025
caf95e9
Fix broken markdown in OssOnly blocks
itamark Feb 18, 2025
207b6d0
Emit disallow_required_on_non_null_field as compiler warnings
gordyf Feb 18, 2025
56725a4
Add tests for exec time resolver DataChecker behavior
tyao1 Feb 18, 2025
e615cd7
Deploy 0.261.2 to xplat
SamChou19815 Feb 19, 2025
4906015
remove code duplication for 'relayLiveResolver' and 'relayResolver' c…
lynnshaoyu Feb 19, 2025
8c32ec4
COMPILER changes add enabled argument inside @exec_time_resolvers dir…
lynnshaoyu Feb 19, 2025
a6f66eb
enable by default recreating loadMore optimization
Tom910 Feb 20, 2025
2e41a45
- amend compiler changes to handle exec_time_resolvers ONLY case diff…
lynnshaoyu Feb 20, 2025
7b68e1f
Expose datachecker to the network layer
tyao1 Feb 20, 2025
9d556e7
Test performance impact of inlining the prefix
tyao1 Feb 20, 2025
c98f82a
Invert feture flag to enable enforcing @alias by default
captbaritone Feb 20, 2025
37e08ce
Allow @dangerously_unaliased_fixme on assignable fragments
captbaritone Feb 21, 2025
2a12ee7
Run @dangerously_unaliased_fixme codemod on Relay tests project
captbaritone Feb 21, 2025
322d60a
modify useLazyLoadClientQuery to take a flag for exec time resolvers …
lynnshaoyu Feb 21, 2025
e29e1f9
add enabledProvider argument inside @exec_time_resolvers directive (r…
lynnshaoyu Feb 22, 2025
ee924ca
Allow @match on client edges
tyao1 Feb 22, 2025
a5c01d4
Pre-suppress error ahead of JSX intrinsics changes in relay synced files
jbrown215 Feb 22, 2025
96647d9
update async_trait: 0.1.71 -> 0.1.86
ship-it-ship-it Feb 24, 2025
c57a255
Update Cargo.lock (#4917)
facebook-github-bot Feb 25, 2025
0ea8e45
Upgrade clap, clap_complete
abesto Feb 25, 2025
de07cb9
Update Cargo.lock (#4918)
monicatang Feb 25, 2025
6b38703
modify _readClientSideDirectiveField in RelayReader to work for exec …
lynnshaoyu Feb 25, 2025
33ad7cc
Remove react typing override in relay
SamChou19815 Feb 26, 2025
01f7484
Pre-suppress errors for flow v0.262.0 release
Feb 27, 2025
cf4f547
Deploy 0.262.0 to xplat
Feb 27, 2025
687e996
Add compiler validation to error on resolver that returns plural serv…
captbaritone Feb 27, 2025
ab3b117
Pass operation availability to the network layer for loadQuery
tyao1 Feb 27, 2025
c640e2e
Add log events
monicatang Feb 28, 2025
77a9ad6
Avoid calling unnecessary environment.check
tyao1 Mar 4, 2025
49ad82c
fix type on the flow types for "chalk"
vzaidman Mar 4, 2025
1f5a8db
Ensure we add fragment signatures to Library definitions
mjmahone Mar 4, 2025
31b8c87
Make dep-asts unavailable for ProgramWithDeps
mjmahone Mar 4, 2025
be02adc
Deploy 0.263.0 to xplat
SamChou19815 Mar 5, 2025
8637294
Add GigSmart to who is using (#4748)
jwaldrip Mar 6, 2025
65b9b9a
Log ID collisions in production
monicatang Mar 6, 2025
5184538
Add missing `readFragment` export in relay-runtime (#4931)
sairion Mar 7, 2025
6d33d33
Parallelize build enums more
tyao1 Mar 8, 2025
182d6d5
Update signature of relay entrypoint type
SamChou19815 Mar 9, 2025
651cc27
Avoid making assertions about unrelated warning calls (#4933)
captbaritone Mar 10, 2025
9f7fb21
Reenable warning if fetchQuery is called in render (using new unsatab…
captbaritone Mar 10, 2025
cc4cf76
Remove bundler setup (#4935)
XiNiHa Mar 10, 2025
d9967e8
Do not emit union type for __typename selection on non-abstract type …
tobias-tengler Mar 10, 2025
0ea5dfb
Add a feature flag to throw on nested updates in dev
tyao1 Mar 12, 2025
e026ae6
Update signature of RelayFragmentContainer type
SamChou19815 Mar 13, 2025
06d0596
Create CometPrefetchableEntryPoint flow type
jean-zhang Mar 13, 2025
38c638e
Deploy 0.265.0 to fbsource
pieterv Mar 14, 2025
d16eb3f
Fix Relay React double render tests in xplat/js
evanyeung Mar 14, 2025
4b63955
Deploy 0.265.2 to xplat
SamChou19815 Mar 14, 2025
bc2aa93
Revert D70524672
Mar 17, 2025
eda18e0
Skip tests failing in OSS
evanyeung Mar 18, 2025
3a1b740
Deploy 0.265.3 to xplat
SamChou19815 Mar 18, 2025
837d4ab
Allow @dangerously_unaliased_fixme on updatable fragment spreads
captbaritone Mar 19, 2025
ede1b2b
third-party/rust: serde_json 1.0.132 -> 1.0.140
asm89 Mar 19, 2025
82c95ab
Back out "Avoid making assertions about unrelated warning calls"
lynnshaoyu Mar 19, 2025
cfd63b4
Add `disablePrefetching` prop to `usePrefetchableForwardPaginationFra…
JackWorden Mar 20, 2025
6350ff3
RN/Relay: Upgrade to `[email protected]`
yungsters Mar 20, 2025
6af4465
Add hex to no_std universe
CookieComputing Mar 20, 2025
8798f91
Add spin_no_std feature to lazy_static
CookieComputing Mar 20, 2025
027572b
add typename metadata to id collision log event
monicatang Mar 21, 2025
76b801a
Add onPause in cacheConfig for Relay subscriptions
AriaFallah Mar 21, 2025
6d10eff
Fix subscription call signature in observeFragment docs
captbaritone Mar 21, 2025
0cd6957
Add test cases for @defer behavior in read time resolvers
tyao1 Mar 21, 2025
414fa7c
add debug info when deleting a file
monicatang Mar 21, 2025
99adb3b
Replace `React.ComponentType<Props>` with `component(...Props)` in relay
SamChou19815 Mar 21, 2025
78e1499
- support client 3d on concrete objects
lynnshaoyu Mar 22, 2025
a178610
delete legacy API docs (with broken links)
monicatang Mar 25, 2025
7730d71
Mark useLazyLoadQuery options as ReadOnly
marcoww6 Mar 25, 2025
1e7ec1b
Add x509_cert to no_std universe
CookieComputing Mar 25, 2025
ae9ed10
create feature flag for typename prefixing of ids
monicatang Mar 25, 2025
509e3ce
Update Cargo.lock (#4939)
facebook-github-bot Mar 25, 2025
3b5f3c7
Cleanup CRUD Effects aka useResourceEffect
poteto Mar 26, 2025
f828162
Deploy 0.266.0 to xplat
Mar 28, 2025
bb76357
Deploy 0.266.1 to xplat
SamChou19815 Mar 30, 2025
bf82af0
Update hermes-parser and related packages in fbsource to 0.27.0
huntie Apr 1, 2025
9a7d202
Revert D71805075: Update hermes-parser and related packages in fbsour…
Apr 1, 2025
419353c
add id collision logging in RelayResponseNormalizer with typename met…
monicatang Apr 2, 2025
7529a99
Reproduce issue where field can be included twice in raw response types
captbaritone Apr 2, 2025
53865ed
Simplify EntryPointContainer types
SamChou19815 Apr 3, 2025
842d917
Fix repo sync source under test folder [1/n]
marcoww6 Apr 3, 2025
52f1e24
compiler client 3D changes to support exec time resolvers
lynnshaoyu Apr 4, 2025
1fb4eee
Add type Annotations to the source of sync'ed relay code [4/n]
marcoww6 Apr 4, 2025
a66117c
Add type Annotations to the source of sync'ed relay code [5/n]
marcoww6 Apr 4, 2025
79c9ca4
add util for generating typename prefixed DataID
monicatang Apr 8, 2025
af3bbf5
add directive arg for protocol conformance
Apr 8, 2025
a04cb74
Merge commit '652ab3ba88e12443f5aeed37f5b8aa3ed9d27233' into relay-20
zth Jul 22, 2025
2cd4f3e
Merge commit '40b579fe4088e67ab77a6259896e849504f49b71' into relay-20
zth Jul 22, 2025
8275e7b
fix after merge
zth Jul 22, 2025
5d03b17
Merge commit 'af3bbf5e1adc664b120edf82b8bc03f1cf66fbd6' into relay-20
zth Jul 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
.*/node_modules/resolve/test/resolver/malformed_package_json/package.json

[options]
as_const=true
component_syntax=true
module.system=haste
module.system.haste.use_name_reducers=true
Expand Down Expand Up @@ -42,4 +41,4 @@ untyped-import
untyped-type-import

[version]
^0.253.0
^0.266.1
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76.0
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# docusaurus.yml
toolchain: nightly-2024-10-13
override: true
- name: "Run tests"
run: cargo test --manifest-path=compiler/Cargo.toml --locked ${{ matrix.target.features && '--features' }} ${{ matrix.target.features }}
Expand All @@ -118,7 +121,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76.0
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# docusaurus.yml
toolchain: nightly-2024-10-13
override: true
- name: "Update fixture tests"
run: ./scripts/update-fixtures.sh
Expand Down Expand Up @@ -178,7 +184,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76.0
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# docusaurus.yml
toolchain: nightly-2024-10-13
override: true
target: ${{ matrix.target.target }}
- uses: actions/setup-node@v2
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docusaurus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76.0
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# ci.yml
toolchain: nightly-2024-10-13
override: true
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/update-cargo-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.76.0
# Should stay in sync with fbcode/buck2/rust-toolchain
# And other similar references in this file and
# ci.yml
toolchain: nightly-2024-10-13
override: true
- name: cargo check
run: cargo check --features vendored --manifest-path=compiler/Cargo.toml
Expand Down
Loading
Loading