Releases: ermadmi78/kobby
Releases · ermadmi78/kobby
Release 4.1.0
As a side effect of [#43] bug fix, it became possible to generate mutable DTO classes.
To enable mutable DTO generation
Gradle:
kobby {
kotlin {
dto {
maxNumberOfFieldsForImmutableDtoClass = 0 // Generate mutable DTO classes
maxNumberOfFieldsForImmutableInputClass = 0 // Generate mutable Input classes
}
}
}
Maven:
<build>
<plugins>
<plugin>
<groupId>io.github.ermadmi78</groupId>
<artifactId>kobby-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-kotlin</goal>
</goals>
<configuration>
<kotlin>
<dto>
<!-- Generate mutable DTO classes -->
<maxNumberOfFieldsForImmutableDtoClass>0</maxNumberOfFieldsForImmutableDtoClass>
<!-- Generate mutable Input classes -->
<maxNumberOfFieldsForImmutableInputClass>0</maxNumberOfFieldsForImmutableInputClass>
</dto>
</kotlin>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Bug fixes
- java.lang.ClassFormatError for generated dto classes [#43]
New features
- Mutable DTO support
Contributors
Release 4.1.0-beta.01
As a side effect of [#43] bug fix, it became possible to generate mutable DTO classes.
To enable mutable DTO generation
Gradle:
kobby {
kotlin {
dto {
maxNumberOfFieldsForImmutableDtoClass = 0 // Generate mutable DTO classes
maxNumberOfFieldsForImmutableInputClass = 0 // Generate mutable Input classes
}
}
}
Maven:
<build>
<plugins>
<plugin>
<groupId>io.github.ermadmi78</groupId>
<artifactId>kobby-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate-kotlin</goal>
</goals>
<configuration>
<kotlin>
<dto>
<!-- Generate mutable DTO classes -->
<maxNumberOfFieldsForImmutableDtoClass>0</maxNumberOfFieldsForImmutableDtoClass>
<!-- Generate mutable Input classes -->
<maxNumberOfFieldsForImmutableInputClass>0</maxNumberOfFieldsForImmutableInputClass>
</dto>
</kotlin>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Bug fixes
- java.lang.ClassFormatError for generated dto classes [#43]
New features
- Mutable DTO support
Contributors
Release 4.0.3
Release 4.0.3-beta.03
Release 4.0.1
Bug fixes
- Got an error message from the Gradle plugin when trying to update a project to Kotlin 2.0.0 [#41]
Contributors
Release 4.0.0
The main goal of this release is migration from the legacy GraphQL WebSockets protocol to the new one. Read this blog post for more details.
Breaking changes
- Migrate to graphql-ws protocol for GraphQL over WebSockets [#38]
- Remove GraphQL Java Kickstart support [#39]
New features
- Change default value of subscriptionReceiveTimeoutMillis to 10000 in CompositeKtorAdapter [#40]
Additionally all sample projects have been migrated to the official GraphQL Spring Boot Starter. See Gradle Example, Maven Example, Gradle Tutorial and Maven Tutorial.
Contributors
Release 4.0.0-alpha.01
Release 3.1.0
New features
- Generate extension functions toBuilder, toDto, and toInput for DTO classes [#37]
Contributors
Release 3.0.2
Release 3.0.2-alpha.12
Upgrade Gradle Wrapper to 8.1.1