Skip to content

Releases: urql-graphql/urql

@urql/[email protected]

02 Feb 14:37
3df80f3
Compare
Choose a tag to compare

Patch Changes

  • Set stale: true on cache results, even if a reexecution has been blocked by the loop protection, if the operation is already pending and in-flight
    Submitted by @kitten (See #3493)
  • ⚠️ Fix @defer state leaking into following operations
    Submitted by @kitten (See #3497)

@urql/[email protected]

30 Jan 17:16
87d79cd
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix CVE-2024-24556, addressing an XSS vulnerability, where @urql/next failed to escape HTML characters in JSON payloads injected into RSC hydration bodies. When an attacker is able to manipulate strings in the JSON response in RSC payloads, this could cause HTML to be evaluated via a typical XSS vulnerability (See GHSA-qhjf-hm5j-335w for details.)
    Submitted by @JoviDeCroock (See 4b7011b7)

@urql/[email protected]

29 Jan 13:30
a4ba72b
Compare
Choose a tag to compare

Minor Changes

  • Bump peer-dependency of @react-native-community/netinfo to allow v11
    Submitted by @albinhubsch (See #3485)

@urql/[email protected]

18 Jan 21:18
a0c6ba6
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix Any type being included, even when it isn’t needed
    Submitted by @kitten (See #3481)

@urql/[email protected]

17 Jan 18:12
87c4bd9
Compare
Choose a tag to compare

Patch Changes


Fixed the delay amount not increasing as retry count increases
Submitted by @DoisKoh (See #3478)

@urql/[email protected]

17 Jan 18:12
87c4bd9
Compare
Choose a tag to compare

Patch Changes

  • Add back our cache-outcome on the document-cache, this was behind a development flag however in our normalized cache we always add it already
    Submitted by @JoviDeCroock (See #3464)

@urql/[email protected]

12 Dec 13:17
73628b7
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix the default cacheExchange crashing on cache-only request policies with cache misses due to undefined results
    Submitted by @JoviDeCroock (See #3459)

@urql/[email protected]

10 Dec 17:15
0af6e54
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix incorrect JSON stringification of objects from different JS contexts. This could lead to invalid variables being generated in the Vercel Edge runtime specifically
    Submitted by @SoraKumo001 (See #3453)

@urql/[email protected]

03 Dec 08:07
f39165d
Compare
Choose a tag to compare

Patch Changes

  • Warn about cached persisted-miss results in development, when a persistedExchange() sees a persisted-miss error for a result that's already seen a persisted-miss error (i.e. two misses). This shouldn't happen unless something is caching persisted errors and we should warn about this appropriately
    Submitted by @kitten (See #3442)

@urql/[email protected]

03 Dec 08:07
f39165d
Compare
Choose a tag to compare

Minor Changes

  • Allow the user to debug cache-misses by means of the new logger interface on the cacheExchange. A field miss will dispatch a debug log when it's not marked with @_optional or when it's non-nullable in the schema
    Submitted by @JoviDeCroock (See #3446)
  • Add onCacheHydrated as an option for the StorageAdapter
    Submitted by @JoviDeCroock (See #3428)
  • Add optional logger to the options, this allows you to filter out warnings or disable them all together
    Submitted by @JoviDeCroock (See #3444)