Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: apollographql/apollo-client

@apollo/client@4.0.0-rc.4

08 Jul 17:48
978dda6
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
Pre-release

Minor Changes

Loading

v3.14.0-rc.0

07 Jul 21:14
80414c6
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.14.0-rc.0Pre-release
Pre-release

Minor Changes

Loading

v3.14.0-alpha.1

01 Jul 08:05
45e6ee6
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.14.0-alpha.1Pre-release
Pre-release

Minor Changes

  • #127528b779b4 Thanks@jerelmiller! - Add deprecations and warnings to remaining APIs changed in Apollo Client 4.0.

  • #12751567cad8 Thanks@jerelmiller! - Add@deprecated tags to all properties returned from any query API (e.g.client.query,observableQuery.refetch, etc.),client.mutate, andclient.subscribe that are no longer available in Apollo Client 4.0.

  • #12751567cad8 Thanks@jerelmiller! - Warn when using astandby fetch policy withclient.query.

Loading

@apollo/client@4.0.0-rc.3

01 Jul 08:08
5ff16fb
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
Pre-release

Major Changes

  • #127310198870 Thanks@phryneas! - Ship React Compiler compiled React hooks in@apollo/client/react/compiled.

    We now ship a React-Compiler compiled version of the React hooks in
    @apollo/client/react/compiled.

    This entry point contains everything that@apollo/client/react does,
    so you can use it as a drop-in replacement in your whole application
    if you choose to use the compiled hooks.

Minor Changes

  • #12753b85818d Thanks@jerelmiller! - Renamedclient.reFetchObservableQueries toclient.refetchObservableQueries.
    client.reFetchObservableQueries is still available as an alias, but is now
    deprecated and will be removed in a future major version.
Loading

v3.14.0-alpha.0

27 Jun 18:24
3e7cfe8
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
v3.14.0-alpha.0Pre-release
Pre-release

Minor Changes

  • #127460bcd2f4 Thanks@jerelmiller! - Add warnings and deprecations for options and methods for all React APIs.

  • #127460bcd2f4 Thanks@jerelmiller! - AddpreloadQuery.toPromise(queryRef) as a replacement forqueryRef.toPromise().queryRef.toPromise() has been removed in Apollo Client 4.0 in favor ofpreloadQuery.toPromise and is now considered deprecated.

  • #12736ea89440 Thanks@jerelmiller! - Add deprecations and deprecation warnings forApolloClient options and methods.

  • #124591c5a031 Thanks@jerelmiller! - ResetaddTypenameTransform andfragments caches when callingcache.gc() only whenresetResultCache istrue.

  • #1274392ad409 Thanks@jerelmiller! - Add deprecations and warnings foraddTypename inInMemoryCache andMockedProvider.

  • #1274392ad409 Thanks@jerelmiller! - Add deprecations and warnings forcanonizeResults.

Patch Changes

  • #12750ecf3de1 Thanks@phryneas! - Prevent field policies from overwriting/merging into supertype field policies.
Loading

@apollo/client@4.0.0-rc.2

27 Jun 18:19
0e686a1
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
Pre-release

Major Changes

  • #12742575bf3e Thanks@jerelmiller! - The newSetContextLink flips theprevContext andoperation arguments in the callback. ThesetContext function has remained unchanged.

    - new SetContextLink((operation, prevContext) => {+ new SetContextLink((prevContext, operation) => {  // ...})
  • #12742575bf3e Thanks@jerelmiller! - Theoperation argument to the callback passed toSetContextLink is now of typeSetContextLink.SetContextOperation which is anOperation without thegetContext orsetContext functions. Previously the type ofoperation wasGraphQLRequest which had access to acontext property. Thecontext property was alwaysundefined and could result in bugs when using it instead of theprevContext argument.

    This change means theoperation argument now contains an accessibleclient property.

Minor Changes

  • #127401c6e03c Thanks@phryneas! - Overridable types fordataState: "complete",dataState: "streaming" and
    dataState: "partial" responses.

    This adds theDataValue namespace exported from Apollo Client with the three
    typesDataValue.Complete,DataValue.Streaming andDataValue.Partial.

    These types will be used to markTData in the respective states.

    • Complete defaults toTData
    • Streaming defaults toTData
    • Partial defaults toDeepPartial<TData>

    All three can be overwritten, e.g. to beDeepReadonly using higher kinded types
    by following this pattern:

    import{HKT,DeepPartial}from"@apollo/client/utilities";import{DeepReadonly}from"some-type-helper-library";interfaceCompleteOverrideextendsHKT{return:DeepReadonly<this["arg1"]>;}interfaceStreamingOverrideextendsHKT{return:DeepReadonly<this["arg1"]>;}interfacePartialOverrideextendsHKT{return:DeepReadonly<DeepPartial<this["arg1"]>>;}declare module"@apollo/client"{exportinterfaceTypeOverrides{Complete:CompleteOverride;Streaming:StreamingOverride;Partial:PartialOverride;}}

Patch Changes

Loading

@apollo/client-codemod-migrate-3-to-4@1.0.0-rc.0

27 Jun 18:19
0e686a1
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

Major Changes

  • #12727b845906 Thanks@jerelmiller! - Add a codemod that renames old import locations from 3.x entrypoint to their 4.x entrypoint.

    Run the codemod using the following command:

    npx @apollo/client-codemod-migrate-3-to-4 --parser tsx ./src/**/*.{ts,tsx}

    The codemod supports.js,.jsx,.ts, and.tsx files.

Loading

@apollo/client@4.0.0-rc.1

24 Jun 16:00
3bdf391
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
Pre-release

Major Changes

Minor Changes

  • #1272589ac725 Thanks@jerelmiller! - AddoperationType tooperation inApolloLink. This means that determining whether aquery is a specific operation type can now be compared with this property instead of usinggetMainDefinition.

    - import { getMainDefinition } from "@apollo/client/utilities";+ import { OperationTypeNode } from "graphql";ApolloLink.split(- ({ query }) => {-   const definition = getMainDefinition(query);-   return (-     definition.kind === 'OperationDefinition' &&-     definition.operation === 'subscription'-   );-   return- },+ ({ operationType }) => {+   return operationType === OperationTypeNode.SUBSCRIPTION;+ },  conditionTrueLink,  conditionFalseLink,);

Patch Changes

  • #1272807a0c8c Thanks@jerelmiller! - Export theIgnoreModifier type from@apollo/client/cache.

  • #127355159880 Thanks@jerelmiller! - Change theunsafePreviousData argument onUpdateQueryMapFn andSubscribeToMoreQueryFn to aDeepPartial since the result may contain partial data.

  • #12734037979d Thanks@jerelmiller! - Don't warn about a missing resolver if a@client does not have a configured resolver. It is possible the cache contains aread function for the field and the warning added confusion.

    Note thatread functions without a defined resolver will receive theexisting argument asnull instead ofundefined even when data hasn't been written to the cache. This is becauseLocalState sets a default value ofnull when a resolver is not defined to ensure that the field contains a value in case aread function is not defined rather than omitting the field entirely.

  • #1272589ac725 Thanks@jerelmiller! - ExportgetMainDefinition from@apollo/client/utilities.

  • #12729699c830 Thanks@jerelmiller! - EnsureuseQuery rerenders whennotifyOnNetworkStatusChange isfalse and arefetch that changes variables returns a result deeply equal to previous variables.

Loading

@apollo/client-graphql-codegen@1.0.0-rc.0

19 Jun 15:42
449c3ea
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

Major Changes

Loading

@apollo/client@4.0.0-rc.0

18 Jun 21:53
f1eba94
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
Pre-release

Major Changes

Loading
Previous13451819
Previous

[8]ページ先頭

©2009-2025 Movatter.jp