Skip to content

v4.0.0-rc.1

Compare
Choose a tag to compare
@martinbonnin martinbonnin released this 08 Jul 14:15
· 155 commits to main since this release
e3f72aa

New package name & evolution policy

We changed the package name from com.apollographql.apollo3 to com.apollographql.apollo for version 4. This is a safe default for the many years to come and works well with our new evolution policy.

If you are updating from version 3 or an alpha/beta version 4, you need to replace all com.apollographql.apollo3 with com.apollographql.apollo

Apollo galaxy

As part of this release, some of the non-core artifacts have been moved to separate coordinates and GitHub repositories. Moving forward, this will allow us to iterate faster on those artifacts while keeping the core ones more maintainable.

Some of the existing symbols are kept as deprecated to ease the transition (like MockServer for an example). Others (the -incubating ones) have been removed, and you need to update them now.

You can read more in the migration guide.

All changes

  • [BREAKING][all] Change package name to com.apollographql.apollo
  • [BREAKING][all] Remove incubating compose support (moved to a separate repo, see migration guide)(#5987)
  • [BREAKING][all] Remove incubating apollo-cli (moved to a separate repo, see migration guide)(#5986)
  • [BREAKING][all] Remove incubating normalized cache (moved to a separate repo, see migration guide)(#5985)
  • [BREAKING][all] Nullability: update nullability directives to v0.4 (#6002)
  • [BREAKING][all] Suffix ApolloStore write/publish overloads with Sync to avoid them taking precedence over their suspend counterparts (#5976)
  • [NEW][cache] SqlNormalizedCacheFactory make sqldriver public to support Sqlcipher data encryption. (#5973)
  • [NEW][runtime] Add ApolloClient.Builder.retryOnErrorInterceptor (#5989)
  • [adapters] Deprecate apollo-adapters (moved to a separate repo, see migration guide)(#6012)
  • [mockserver] Deprecate com.apollographql.apollo3.mockserver.MockServer (moved to a separate repo, see migration guide)(#5943)
  • [🐘gradle-plugin] Rename the multi-module configurations (#6027)
  • [IJ Plugin] Tweak cache name display for Apollo 3, 4, and incubating (#6026)
  • [compiler] remove unused argument to scalarAdapterInitializer() (#5996)
  • [java] Use published version of the Java support libs (#5991)
  • [runtime] Deprecate apollo engine ktor and publish engine tests (#5988)
  • [mpp-utils] Cleanup mpp utils (#5980)
  • [CI] use gradle/actions/setup-gradle instead of gradle-build-action (#5981)
  • [infra] Update to develocity API (#5967)
  • [incubating cache] Add a CacheKeyApolloResolver based on ApolloResolver (incubating) (#5970)
  • [mockserver] Robustify TCP server (#5968)
  • [runtime] adding checks for json end_document in http batching interceptors (#5893)
  • [IJ plugin] Cache ApolloKotlinService into project settings (#5962)
  • [IJ plugin] Avoid a ConcurrentModificationException occurring in conjunction to the IJ Platform Gradle plugin. (#5959)
  • [websockets] Send Sec-WebSocket-Protocol (#5948)