Releases: line/line-bot-sdk-java
8.5.0 Membership API
What's Changed
We're excited to announce that the Membership API is now available in the Messaging API.
With this update, our SDK also supports the use of this API. For more details, check out the announcement: https://developers.line.biz/en/news/2024/03/28/re-release-endpoints-for-membership
line-openapi updates
- chore(deps): update line-openapi digest to 4c9ddf3 by @renovate in #1248
- chore(deps): update line-openapi digest to 1ca4640 by @renovate in #1282
- Codes are generated by openapi generator by @github-actions in #1283
Dependency updates
- chore(deps): update gradle/wrapper-validation-action digest to 24d65a1 by @renovate in #1241
- chore(deps): update gradle/wrapper-validation-action digest to c4ee1cd by @renovate in #1242
- fix(deps): update dependency xyz.rogfam:littleproxy to v2.1.2 by @renovate in #1243
- chore(deps): update gradle/wrapper-validation-action digest to 85cde3f by @renovate in #1244
- chore(deps): update dependency org.openapitools:openapi-generator to v7.3.0 by @renovate in #1245
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.3.0 by @renovate in #1246
- fix(deps): update openapi-generator-version to v7.3.0 by @renovate in #1247
- chore(deps): update gradle/wrapper-validation-action digest to 699bb18 by @renovate in #1249
- chore(deps): update gradle/wrapper-validation-action digest to 63d15e7 by @renovate in #1250
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.0 by @renovate in #1251
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.4.0 by @renovate in #1252
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.4.1 by @renovate in #1253
- chore(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.5.2 by @renovate in #1254
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.3 by @renovate in #1255
- fix(deps): update dependency xyz.rogfam:littleproxy to v2.2.0 by @renovate in #1256
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.4.2 by @renovate in #1257
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.1 by @renovate in #1258
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.8 by @renovate in #1259
- fix(deps): update mockito monorepo to v5.11.0 by @renovate in #1260
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.2 by @renovate in #1261
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.3 by @renovate in #1262
- chore(deps): update kotlin monorepo to v1.9.23 by @renovate in #1263
- fix(deps): update jackson to v2.16.2 by @renovate in #1264
- chore(deps): update dependency org.openapitools:openapi-generator to v7.4.0 by @renovate in #1265
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.4.0 by @renovate in #1266
- fix(deps): update openapi-generator-version to v7.4.0 by @renovate in #1267
- fix(deps): update jackson to v2.17.0 by @renovate in #1271
- chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.13.0 by @renovate in #1272
- fix(deps): update retrofit2 to v2.10.0 by @renovate in #1273
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.9 by @renovate in #1274
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.4 by @renovate in #1275
- chore(deps): update gradle/wrapper-validation-action digest to b231772 by @renovate in #1276
- chore(deps): update dependency gradle to v8.7 by @renovate in #1277
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.5.1 by @renovate in #1279
- fix(deps): update retrofit2 to v2.11.0 by @renovate in #1280
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.5.2 by @renovate in #1281
Other Changes
- Codes are generated by openapi generator by @github-actions in #1268
- Add get followers test by @Yang-33 in #1269
- Update README by @Yang-33 in #1278
Full Changelog: 8.4.0...8.5.0
8.4.0
What's Changed
line-openapi updates
In the Messaging API, you can now determine whether a user has added your LINE Official Account as a friend or unblocked by a webhook follow event.
- chore(deps): update line-openapi digest to c1ad5ed by @renovate in #1239
- Codes are generated by openapi generator by @github-actions in #1238
Dependency updates
Full Changelog: 8.3.1...8.4.0
8.3.1
What's Changed
In the Messaging API, we've added the clipboard action for users to copy text to the clipboard. This new feature allows users to more easily copy coupon codes and other text.
news: https://developers.line.biz/en/news/2024/02/05/messaging-api-updated/
Note only the latest app(version >= 14.0.0
) supports this feature. Please update your LINE app to try this feature.
I made a mistake in the release procedure. In the version before the correction, you cannot use the clipboard action. (in https://github.com/line/line-bot-sdk-java/releases/tag/8.3.0)
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #1234
Full Changelog: 8.3.0...8.3.1
8.3.0
What's Changed
In the Messaging API, we've added the clipboard action for users to copy text to the clipboard. This new feature allows users to more easily copy coupon codes and other text.
news: https://developers.line.biz/en/news/2024/02/05/messaging-api-updated/
Note only the latest app(version >= 14.0.0
) supports this feature. Please update your LINE app to try this feature.
line-openapi updates
Dependency updates
- chore(deps): update gradle/wrapper-validation-action digest to 2572bdd by @renovate in #1226
- fix(deps): update jjwt to v0.12.5 by @renovate in #1227
- chore(deps): update gradle/wrapper-validation-action digest to 83cf5fd by @renovate in #1228
- chore(deps): update dependency gradle to v8.6 by @renovate in #1229
- fix(deps): update junit5 monorepo to v5.10.2 by @renovate in #1230
- fix(deps): update dependency org.assertj:assertj-core to v3.25.3 by @renovate in #1231
Other Changes
Full Changelog: 8.2.0...8.3.0
8.2.0
What's Changed
- Keywords for Flex Message are available. See #1204 #1202 (issue: #1155)
- Now you can use
UploadFile#fromByteArray
to upload file from byte array. #1224 - Fix NPE when
*ClientException
hasgetDetails
method but error response doesn't containdetails
field #1225 (issue: #1223)
line-openapi updates
- chore(deps): update line-openapi digest to 16f6311 by @renovate in #1203
- Codes are generated by openapi generator by @github-actions in #1204
- chore(deps): update line-openapi digest to 310a504 by @renovate in #1213
Dependency updates
- fix(deps): update slf4j to v2.0.10 by @renovate in #1205
- fix(deps): update dependency org.assertj:assertj-core to v3.25.0 by @renovate in #1206
- fix(deps): update dependency org.assertj:assertj-core to v3.25.1 by @renovate in #1207
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.5 by @renovate in #1208
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.6 by @renovate in #1209
- fix(deps): update slf4j to v2.0.11 by @renovate in #1210
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.5 by @renovate in #1211
- fix(deps): update mockito monorepo to v5.9.0 by @renovate in #1212
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.2 by @renovate in #1215
- fix(deps): update dependency com.github.bbottema:java-socks-proxy-server to v3 by @renovate in #1216
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.7 by @renovate in #1217
- fix(deps): update dependency org.assertj:assertj-core to v3.25.2 by @renovate in #1218
- fix(deps): update mockito monorepo to v5.10.0 by @renovate in #1219
- fix(deps): update jjwt to v0.12.4 by @renovate in #1220
- chore(deps): update gradle/wrapper-validation-action digest to 1ff5a18 by @renovate in #1221
Other Changes
- Implemented UploadFile.fromByteArray by @tokuhirom in #1224
- Return empty list when original content is null by @Yang-33 in #1225
- Support converting enum to string for flex and template messages by @Yang-33 in #1202
Full Changelog: 8.1.0...8.2.0
8.1.0
What's Changed
We have now added support for a Webhook (PnpDeliveryCompletionEvent
) that can be received once a message is successfully sent via PNP.
line-openapi updates
- chore(deps): update line-openapi digest to 988429c by @renovate in #1186
- Codes are generated by openapi generator by @github-actions in #1196
Dependency updates
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.4.14 by @renovate in #1175
- fix(deps): update mockito monorepo to v5.8.0 by @renovate in #1176
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6 by @renovate in #1177
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.37.2 by @renovate in #1178
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.2 by @renovate in #1179
- chore(deps): update actions/stale action to v9 by @renovate in #1180
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.37.3 by @renovate in #1181
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.3 by @renovate in #1182
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.4 by @renovate in #1183
- fix(deps): update dependency xyz.rogfam:littleproxy to v2.1.1 by @renovate in #1184
- chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.12.0 by @renovate in #1185
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.1 by @renovate in #1188
- chore(deps): update kotlin monorepo to v1.9.22 by @renovate in #1190
- chore(deps): update dependency org.openapitools:openapi-generator to v7.2.0 by @renovate in #1192
- fix(deps): update openapi-generator-version to v7.2.0 by @renovate in #1195
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.2.0 by @renovate in #1193
- fix(deps): update jackson to v2.16.1 by @renovate in #1198
- chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.12.1 by @renovate in #1200
Full Changelog: 8.0.1...8.1.0
8.0.1
What's Changed
Improvements
- line-bot-webhook doesn't depends on retrofit2 by @tokuhirom in #1160
- 🥇 JDK 21 support by @tokuhirom in #1173
Dependency updates
- fix(deps): update dependency xyz.rogfam:littleproxy to v2.1.0 by @renovate in #1163
- chore(deps): update kotlin monorepo to v1.9.21 by @renovate in #1165
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.0 by @renovate in #1164
- chore(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.5.0 by @renovate in #1166
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v5.2.4 by @renovate in #1167
- fix(deps): update dependency io.pebbletemplates:pebble to v3.2.2 by @renovate in #1169
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.4.12 by @renovate in #1168
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.4.13 by @renovate in #1170
- chore(deps): update actions/setup-java action to v4 by @renovate in #1172
- chore(deps): update dependency gradle to v8.5 by @renovate in #1171
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v5.2.5 by @renovate in #1174
Other Changes
Full Changelog: 8.0.0...8.0.1
8.0.0
What's Changed
💣 BREAKING CHANGE 💣
- [BREAKING CHANGE] Drop authentication related arguments from ChannelA… by @tokuhirom in #1157
line-openapi updates
Dependency updates
Other Changes
- Fix generate code workflow's error by @Yang-33 in #1152
- Make AbstractLineClientExceptionTest more flexible by @tokuhirom in #1158
- add error handling case to kitchensink by @tokuhirom in #1156
- support sentMessages in MessagingApiClientException by @tokuhirom in #1159
Full Changelog: 7.10.0...8.0.0
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
7.9.0
What's Changed
- feat: add mime type to blob content by @sjpark-dev in #1097
Dependency updates
- Update dependency org.openapitools:openapi-generator to v7.0.1 by @renovate in #1074
- Update dependency org.openapitools:openapi-generator-gradle-plugin to v7.0.1 by @renovate in #1075
- Update dependency com.nimbusds:nimbus-jose-jwt to v9.35 by @renovate in #1076
- Update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.1.4 by @renovate in #1078
- Update gradle/wrapper-validation-action digest to 342dbeb by @renovate in #1079
- Update dependency xyz.rogfam:littleproxy to v2.0.21 by @renovate in #1080
- Update dependency commons-io:commons-io to v2.14.0 by @renovate in #1081
- Update dependency org.apache.maven.plugins:maven-jar-plugin to v3 by @renovate in #1086
- Update dependency gradle to v8.4 by @renovate in #1087
- Update mockito monorepo to v5.6.0 by @renovate in #1091
- Update dependency com.nimbusds:nimbus-jose-jwt to v9.36 by @renovate in #1092
- Update dependency xyz.rogfam:littleproxy to v2.0.22 by @renovate in #1093
- Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v5.1.4 by @renovate in #1094
Other Changes
- don't use openapi-gradle plugin. by @tokuhirom in #1084
- Fix pom.xml. And add CI by @tokuhirom in #1089
- Mustache tweaks by @tokuhirom in #1090
- Convert template to pebble by @tokuhirom in #1088
- Commit generated code to master branch by @Yang-33 in #1099
- Generate code at first, then run test to detect CI failure easily by @Yang-33 in #1098
New Contributors
- @sjpark-dev made their first contribution in #1097
Full Changelog: 7.8.0...7.9.0