github apollographql/apollo-kotlin v3.4.0

latest releases: v4.0.0, v4.0.0-rc.2, v3.8.5...
2 years ago

Version 3.4.0

2022-07-11

This release contains a few important bug fixes (#4214, #4224, #4247, #4256) and makes it possible to compile with Gradle 7.4 and apollo-gradle-plugin (#4218).

It also introduces incubating cache artifacts.

💙️ External contributors

Many thanks to @ArjanSM, @zebehringer, @mm-kk-experiments, @mune0903, @stengvac, @elenigen, @shamsidinb and @StylianosGakis for the awesome contributions 😃!

✨️ [new] incubating cache artifacts.

This version introduces the below artifacts:

  • apollo-normalized-cache-incubating
  • apollo-normalized-cache-api-incubating
  • apollo-normalized-cache-sqlite-incubating

These artifacts introduce new APIs to work with cache expiration and pagination (as well as other cache improvements in the future).

These artifacts have no backward compatibility guarantees and most likely have worse performance than the non-incubating artifacts. Documentation will be added once the API stabilize. In the short term, the best place to look for examples are the integration tests:

Note: The experimental withDates: Boolean argument was introduced in 3.3.1 in the regular artifacts and is removed as part of this release. Use the incubating artifacts to use it.

👷‍ All changes

  • add TrimmableNormalizedCacheFactory (#4239)
  • 🚧 remove withDates (#4257)
  • 🗄️ Chunk parameters in large responses (#4256)
  • Fix for improper handling of JsonNumber in BufferedSinkJsonWriter (#4247)
  • Incubating modules for the next gen cache (#4241)
  • Pagination: fixes in FieldRecordMerger and MemoryCache (#4237)
  • make it possible to reuse a File Upload (#4228)
  • Persist Record arguments/metadata with the SQL Json backend (#4211)
  • requestedDispatcher -> dispatcher (#4220)
  • Fix test errors were emitted outside the Flow (#4224)
  • Make it possible to compile with Kotlin 1.5 and apollo-gradle-plugin (#4218)
  • 🏖️ Relax MapJsonReader endObject, fixes reading inline + named fragments with compat models (#4214)
  • Introduce RecordMerger (#4197)
  • Add @typePolicy(embeddedFields: String! = "") (#4196)

Don't miss a new apollo-kotlin release

NewReleases is sending notifications on new releases.