Releases: kumuluz/kumuluzee-graphql
v1.1.0
We are excited to announce a new minor release - KumuluzEE GraphQL 1.1.0. This release includes a new MicroProfile compatible implementation, we have updated the GraphiQL (GraphQL UI) to support better schema exploration and fixed some bugs in our existing implementation.
To use the new MP-compatible implementation use the following dependency:
<dependency>
<groupId>com.kumuluz.ee.graphql</groupId>
<artifactId>kumuluzee-graphql-mp</artifactId>
<version>${graphql.version}</version>
</dependency>
Note that the existing implementation (artifact kumuluzee-graphql
) is still being updated. However, we advise new users to start with the MP implementation since this implementation is more likely to receive new features in the future.
GraphiQL now includes the explorer plugin, which enables you to interactively construct a query or mutation. This makes schema exploration and API usage even easier.
Integration with KumuluzEE REST has also been revamped to be more intuitive and future-proof. Sort and filter arguments are now string-based and limit/offset are now top level arguments. This makes queries more readable and easier to process. The QueryParameters
object can be constructed and used with any KumuluzEE REST implementation (currently StreamUtils
and JPAUtils
).
The samples for MP-compatible implementation are already available:
Features:
- Added MP-compatible implementation by SmallRye
- Added GraphiQL Explorer plugin
Enhancements:
- Converted GraphQL manual kumuluzee-rest processing to StreamUtils
- Upped dependency versions
Bugs:
- Fixed GraphiQL servlet mapping
- Fixed pagination limit bug
v1.0.3
This minor release includes several fixes and improvements:
- fixed issues with pagination
- updated dependencies
- updated GraphiQL to latest version
- added
kumuluzee.graphql.schema.base-packages
configuration option which instructs the underlying schema generation mechanism which packages to scan (see README for more information) - other minor fixes
v1.0.2
v1.0.1
This release includes some minor enhancements:
- Declaring multiple GraphQLApplication classes is now disallowed and throws exception at startup.
- Upped versions of GraphQL, GraphQL SPQR and KumuluzEE.
- Added an option to disable extension.
- Smaller code improvements.
v1.0.0
After a few months of development and testing, KumuluzEE GraphQL is now officially released. You can now use GraphQL in your microservices.
Extension is designed to be as user-friendly as possible; you can create your first GraphQL endpoint with as little as two annotations in the code!
The following features are supported in the first release:
- GraphQL endpoint setup using the KumuluzEE servlet,
- GraphiQL integration,
- Code-first style of developing (schema is automatically created from annotated GraphQL resolver functions; using the GraphQL SPQR)
- Built-in utilities for pagination, sorting and filtering,
- Integration with KumuluzEE REST for optimized JPA queries,
- Integration with KumuluzEE Security for securing your endpoint,
- Wide JDK support (from Java 8-11).
Get started with the extension by checking out samples at https://github.com/kumuluz/kumuluzee-samples.