github graphql-java-kickstart/graphql-spring-boot v5.0.6
5.0.6

latest releases: v15.1.0, v15.1.0-javax, v15.0.0...
6 years ago

Support Java 11

Upgraded commons-lang3 to version 3.8.1 to support Java 11.

Fixed subscription auto configuration

Subscriptions were broken because of a change in the autoconfiguration. Reverted that change from:

@Bean 
@ConditionalOnMissingBean 
@ConditionalOnBean(ServerContainer.class) 
public ServerEndpointExporter serverEndpointExporter() { return new ServerEndpointExporter(); }

back to:

@Bean 
@ConditionalOnMissingBean 
@ConditionalOnClass(ServerContainer.class) 
public ServerEndpointExporter serverEndpointExporter() { return new ServerEndpointExporter(); }

This requires @SpringBootTest unit tests to use a webEnvironment because they won't run otherwise.

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class YourTest {
  // ...
}

Don't miss a new graphql-spring-boot release

NewReleases is sending notifications on new releases.