github apollographql/apollo-kotlin v5.0.0-alpha.0

latest releases: v5.0.0-alpha.2, v4.3.3, v4.3.2...
2 months ago

Version 5.0.0-alpha.0

This is the first alpha release of version 5.0.0. Previous DeprecationLevel.WARNING are turned into DeprecationLevel.ERROR. Previous DeprecationLevel.ERROR are removed.

For details about how to migrate, read the migration guide draft. This migration guide is still work in progress. Feedbacks are welcome as you try the new version!

Infrastructure:

  • [breaking] Remove ApolloIdlingResource (#6492)
  • [breaking] Remove PackageNameGenerator and OperationOutputGenerator, replaced by compiler plugins (#6494)
  • [breaking] Move internal testing code to an unpublished module (#6449)
  • [upgrade] Bump ktor to 3.1.2 (#6465)
  • [breaking] Update deprecations for v5 (#6496)
  • [new] Move IJ plugin to its own repository (#6574)
  • [new] Switch publication to the central portal (#6581)

Gradle

  • [fix] Do not generate the version as const (#6563)
  • [new] Switch the gradle plugin to gratatouille (#6524)
  • [fix] Remove checkApolloVersion (#6569)
  • [new] Introspection: add a hint that more details are available in the exception cause. (#6590)

Compiler:

  • [new] Add schema-transform API (#6450)
  • [new] Allow to generate Data Builders outside the main source set (#6485)
  • [breaking] Using @nonnull is now an error (#6499)
  • [fix] Ignore scalars/enums in checkCapitalizedFields (#6502)
  • [fix] Call DocumentTransform.transform after adding required fields (#6510)
  • [fix] Add key fields to selections even when they're already selected with an alias (#6503)
  • [fix] Transform the GraphQL documents before running validation (#6511)
  • [new] Add key fields of possible types of interfaces and fragments (#6515)
  • [new] Allow to register multiple Apollo Compiler plugins (#6523)

Runtime:

  • [new] Add cacheInterceptor() and autoPersistedQueriesInterceptor() (#6455)
  • [new] Add ApolloCall.ignoreUnknownKeys and ApolloClient.Builder.ignoreUnknownKeys (#6473)
  • [fix] fix the batch size not respected issue (#6528)
  • [fix] Fix losing response headers when using batch request (#6538)

AST:

  • [new] Add allowAddingDirectivesToExistingFieldDefinitions (#6470)
  • [new] Implement schema coordinates (#6560)

Execution

  • [fix] Implement defaultValues coercion (#6440)
  • [new] Add JsonCoercing (#6471)

Don't miss a new apollo-kotlin release

NewReleases is sending notifications on new releases.