Skip to content

Releases: ExpediaGroup/graphql-kotlin

0.0.34

24 Jan 18:32
Compare
Choose a tag to compare

Major Changes

  • Enable support for specifying custom DataFetchers (#152)
    • DataFetcherFactory in the config has been changed to a customDataFetcherFactoryProvider. This will allow to to specify behaviors for property and function resolvers.

Minor Changes

None

Patch Changes

None

Updates

  • build: travis commits the snapshot updates (#142)
  • test: add property builder unit tests (#147)
  • An integration test for optional results (#151)

0.0.33

14 Jan 21:39
Compare
Choose a tag to compare

Major Changes

None

Minor Changes

  • Enable coroutine support in default KotlinDataFetcher (#148)
    • Functions can now be suspend functions and will be wrapped as a CompletableFuture which we can handle like any other function that returns a CompletableFuture

Patch Change

None

0.0.32

10 Jan 02:25
Compare
Choose a tag to compare

Major Changes

  • DataFetcherExecutionPredicate is now an interface and only exposes a single function evaluate to test the value. See the comments and javadocs for more details (#138)

Patch Changes

  • fix: recursive interfaces (#143)

0.0.31

07 Jan 17:55
Compare
Choose a tag to compare

Major Changes

  • Check if query and mutation classes are public (#137)
    • We now only support public classes in the schema. If you want an interface to be ignored, mark it non-public. TopLevelObject (queries and mutation) classes now must also be public and a InvalidQueryTypeException or InvalidMutationTypeException will be thrown if they are not

Minor Changes

  • fix: simplify directive wiring (#132)
    • A refactoring but a new exception InvalidSchemaDirectiveWiringException is now thrown instead of a kotlin one on a directive wiring error
  • feat: add superclass hooks (#139)
    • There is a new hook, isValidSuperclass which allows inspection of the KClass before it is added as a graphql interface

Patch Changes

  • refactor: use input name in cache (#130)
  • test: add more hook tests (#133)

Non-code Changes

  • Update javadoc badge (#131)

0.0.30

02 Jan 19:37
Compare
Choose a tag to compare

Major Changes

  • refactor: simplify data fetcher #120
  • refactor: simplify type cache #127

Minor Changes

  • fix: label correct exception #121

Patch Changes

  • refactor: create separate top level builders #123
  • test: add unit test for scalars #124

Non-Version Changes

  • refactor: move sample into folders #122
  • doc: update README #126
  • doc: update maven central link #128

All changes: 5e9418a...6f4b189

0.0.29

28 Dec 06:01
Compare
Choose a tag to compare

Changes

  • refactor: move top level packages (#112)
  • feat: allow directive with Enums (#116)
  • feat: rename TopLevelObject (#117)

Refactoring and Internal

  • fix: remove duplicate implementation of deepName (#110)
  • build: compile example as well (#111)
  • refactor: extract simple name for better test coverage (#114)
  • build: update versions (#115)
  • fix: description of parameters (#118)

0.0.28

20 Dec 18:57
Compare
Choose a tag to compare

fix: make deepName public and move to extensions package

0.0.27

19 Dec 20:33
Compare
Choose a tag to compare

Features

  • Force manual wirings to take precedence over wiring factory (#96)
  • Keep custom directive names if they are specified (#103)
  • feat: move and label all exceptions (#101)
  • build: change group id to com.expedia (#105)

Internal

  • Fix deployment of tags (#96)
  • simplify directive name selection by removing unnecessary check (#104)

0.0.26

18 Dec 14:52
Compare
Choose a tag to compare

Notable Changes

  • Remove requirement for @property:GraphQL* annotation prefix (#97)
  • Add support for Kotlin builtin arrays of primitives (#94)
  • Update to GraphQL Java 11 (#93)

Internal Changes

0.0.25

28 Nov 18:44
Compare
Choose a tag to compare
  • add missing description and deprecation info to enums #76
  • remove directive information from description information #79