7.10.0
What's Changed
Starting from version 7.10.0, you can now use the Builder
. Required fields must be passed to the Builder
. Optional fields can be added individually. Here is an example of ReplyMessageRequest
:
messagingApiClient.replyMessage(
ReplyMessageRequest.Builder(event.replyToken, listOf(TextMessage("hello")))
.notificationDisabled(false)
.build()
)
In this version, we have introduced the Builder
pattern to make it easier to create instances of ReplyMessageRequest
. This pattern allows you to specify only the parameters you need, making your code cleaner and easier to read.
- Add builder class for records. by @tokuhirom in #1145
- Builder: Move required parameters to the constructor. by @tokuhirom in #1147
line-openapi updates
- chore(deps): update line-openapi digest to 0e20d4f by @renovate in #1108
- chore(deps): update line-openapi digest to 0f859b7 by @renovate in #1118
- chore(deps): update line-openapi digest to 1352801 by @renovate in #1119
- chore(deps): update line-openapi digest to f9e405a by @renovate in #1125
- chore(deps): update line-openapi digest to edba1b5 by @renovate in #1134
- chore(deps): update line-openapi digest to 81a963c by @renovate in #1135
Dependency updates
- fix(deps): update dependency org.springframework:spring-test to v6.0.13 by @renovate in #1101
- fix(deps): update jackson to v2.15.3 by @renovate in #1103
- fix(deps): update okhttp3 to v4.12.0 by @renovate in #1111
- chore(deps): update actions/stale action to v8 by @renovate in #1115
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.1 by @renovate in #1116
- fix(deps): update dependency commons-io:commons-io to v2.15.0 by @renovate in #1117
- chore(deps): update plugin org.jetbrains.kotlin.jvm to v1.9.20 by @renovate in #1132
- chore(deps): update plugin org.jetbrains.kotlin.plugin.spring to v1.9.20 by @renovate in #1133
- fix(deps): update mockito monorepo to v5.7.0 by @renovate in #1138
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.3.1 by @renovate in #1139
- fix(deps): update junit5 monorepo to v5.10.1 by @renovate in #1140
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.2 by @renovate in #1141
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v5.2.3 by @renovate in #1142
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.37.1 by @renovate in #1143
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.1.0 by @renovate in #1150
- fix(deps): update openapi-generator-version to v7.1.0 by @renovate in #1151
- chore(deps): update dependency org.openapitools:openapi-generator to v7.1.0 by @renovate in #1149
Other Changes
- Open pull request automatically when code are generated by openapi generator by @Yang-33 in #1104
- Add 'do not edit the class manually' notice on auto generated code. by @tokuhirom in #1106
- feat: add id to MessageContent by @tokuhirom in #1107
- Bump com.nimbusds:nimbus-jose-jwt from 9.36 to 9.37 by @dependabot in #1110
- Bump org.springframework.boot:spring-boot-gradle-plugin from 3.1.4 to 3.1.5 by @dependabot in #1113
- Close stale issue automatically by @Yang-33 in #1114
- Add externalDocumentation to model records. by @tokuhirom in #1120
- Change port for testing. by @tokuhirom in #1122
- Cleanup versions.toml by @tokuhirom in #1123
- Update JJWT from 0.11.5 to 0.12.3 by @tokuhirom in #1121
- use org.wiremock artifact instead of com.github.tomakehurst by @tokuhirom in #1124
- Use published to run release workflow by @Yang-33 in #1127
- Enable merge queue by @Yang-33 in #1129
- we're no longer using TYPESAFE_PROJECT_ACCESSORS. by @tokuhirom in #1130
- Disable Javadoc lint warnings in Gradle build by @tokuhirom in #1128
- remove unused dependencies from version catalog by @tokuhirom in #1126
- apply google-java-format for generated code by @tokuhirom in #1146
- embed openapi-generator-cli into the generator jar. by @tokuhirom in #1148
Full Changelog: 7.9.0...7.10.0