Skip to content

Releases: ermadmi78/kobby

Release 4.1.0

12 Sep 10:27
Compare
Choose a tag to compare

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

11 Sep 13:43
Compare
Choose a tag to compare
Release 4.1.0-beta.01 Pre-release
Pre-release

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

16 Jul 21:35
Compare
Choose a tag to compare

Bug fixes

  • "notify" field name does not compile [#42]

Contributors

Release 4.0.3-beta.03

16 Jul 21:03
Compare
Choose a tag to compare
Release 4.0.3-beta.03 Pre-release
Pre-release

Bug fixes

  • "notify" field name does not compile [#42]

Contributors

Release 4.0.1

26 May 11:07
Compare
Choose a tag to compare

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

07 Apr 17:34
Compare
Choose a tag to compare

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

07 Apr 13:23
Compare
Choose a tag to compare
Pre-release

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]

Contributors

Release 3.1.0

21 Jun 06:42
Compare
Choose a tag to compare

New features

  • Generate extension functions toBuilder, toDto, and toInput for DTO classes [#37]

Contributors

Release 3.0.2

11 Jun 09:46
Compare
Choose a tag to compare
  • Build script refactoring
  • Upgrade Gradle Wrapper to 8.1.1

Contributors

Release 3.0.2-alpha.12

10 Jun 13:23
Compare
Choose a tag to compare
Pre-release

Upgrade Gradle Wrapper to 8.1.1