Releases: line/line-bot-sdk-java
v9.4.0 Allow user pick their own logger with custom config instead
What's Changed
- Allow user pick their own logger with custom config instead.
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #1486
Dependency updates
- chore(deps): update dependency org.openapitools:openapi-generator to v7.10.0 by @renovate in #1477
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.10.0 by @renovate in #1478
- fix(deps): update openapi-generator-version to v7.10.0 by @renovate in #1479
- chore(deps): update dependency gradle to v8.11.1 by @renovate in #1480
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.6 by @renovate in #1482
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.4.0 by @renovate in #1483
- chore(deps): update line-openapi digest to 6312d4b by @renovate in #1485
- chore(deps): update actions/github-script action to v7 by @renovate in #1487
- chore(deps): update line-openapi digest to ae45c77 by @renovate in #1490
- chore(deps): update line-openapi digest to e8fbce9 by @renovate in #1495
- chore(deps): update kotlin monorepo to v2.1.0 by @renovate in #1496
- fix(deps): update dependency com.fasterxml.jackson.core:jackson-databind to v2.18.2 by @renovate in #1497
- fix(deps): update jackson to v2.18.2 by @renovate in #1498
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.10.0 by @renovate in #1499
- fix(deps): update junit5 monorepo to v5.11.4 by @renovate in #1500
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.13 by @renovate in #1501
Other Changes
- Allow to git tag containing as prefix by @Yang-33 in #1481
- Automate to prepare release note with next version by @Yang-33 in #1484
- Open issue when release failed by @Yang-33 in #1488
- Allow renovate PR to have un committed changes by @Yang-33 in #1489
- Set title and description written in line-openapi PR by @Yang-33 in #1494
- Allow user pick their own logger with custom config instead by @trinhnx in #1455
New Contributors
Full Changelog: 9.3.1...v9.4.0
This release is prepared by @mokuzon
9.3.1 Bot Mention
What's Changed
This release is just internal change with library version up. Users doesn't have to install this version.
Dependency updates
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.43 by @renovate in #1468
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.26 by @renovate in #1469
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.45 by @renovate in #1470
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 by @renovate in #1471
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.46 by @renovate in #1474
- chore(deps): update dependency gradle to v8.11 by @renovate in #1475
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.47 by @renovate in #1476
Other Changes
- PR must fail when generated code is not committed by @Yang-33 in #1472
- Enable manual publish by @habara-k in #1473
Full Changelog: 9.3.0...9.3.1
9.3.0 Bot mention
What's Changed
Support bot mention features:
- https://developers.line.biz/ja/news/2024/10/30/messaging-api-webhook/
- https://developers.line.biz/ja/news/2024/10/30/text-message-v2/
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #1441
- Codes are generated by openapi generator by @github-actions in #1452
- Codes are generated by openapi generator by @github-actions in #1467
Dependency updates
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.8 by @renovate in #1419
- chore(deps): update dependency gradle to v8.10.1 by @renovate in #1420
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.41 by @renovate in #1421
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.41.1 by @renovate in #1422
- fix(deps): update dependency com.github.bbottema:java-socks-proxy-server to v4.1.1 by @renovate in #1423
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.4 by @renovate in #1425
- chore(deps): update dependency gradle to v8.10.2 by @renovate in #1426
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.23 by @renovate in #1427
- fix(deps): update junit5 monorepo to v5.11.1 by @renovate in #1428
- fix(deps): update dependency com.fasterxml.jackson.core:jackson-databind to v2.18.0 by @renovate in #1430
- fix(deps): update mockito monorepo to v5.14.0 by @renovate in #1431
- fix(deps): update mockito monorepo to v5.14.1 by @renovate in #1432
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.41.2 by @renovate in #1433
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.24 by @renovate in #1434
- fix(deps): update junit5 monorepo to v5.11.2 by @renovate in #1436
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.1 by @renovate in #1437
- chore(deps): update dependency org.openapitools:openapi-generator to v7.9.0 by @renovate in #1438
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.9.0 by @renovate in #1439
- fix(deps): update openapi-generator-version to v7.9.0 by @renovate in #1440
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.9 by @renovate in #1443
- Update java-socks-proxy-server by @eucyt in #1442
- chore(deps): update kotlin monorepo to v2.0.21 by @renovate in #1445
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.10 by @renovate in #1446
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.25 by @renovate in #1447
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.11 by @renovate in #1448
- fix(deps): update mockito monorepo to v5.14.2 by @renovate in #1449
- fix(deps): update junit5 monorepo to v5.11.3 by @renovate in #1450
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.9.2 by @renovate in #1451
- chore(deps): update line-openapi digest to 4d9979b by @renovate in #1453
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.5 by @renovate in #1456
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.12 by @renovate in #1457
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.42 by @renovate in #1458
- fix(deps): update jackson to v2.18.1 by @renovate in #1460
- fix(deps): update dependency com.fasterxml.jackson.core:jackson-databind to v2.18.1 by @renovate in #1461
- chore(deps): update line-openapi digest to 571a258 by @renovate in #1464
- chore(deps): update line-openapi digest to 62e345e by @renovate in #1466
Other Changes
New Contributors
Full Changelog: 9.2.0...9.3.0
9.2.0 New age groups in Insight
What's Changed
In the Messaging API, we've added the following values as the percentage of each age group of your LINE Official Account's friends that you can get by using the Get friend demographics endpoint:
from50to54
from55to59
from60to64
from65to69
from70
Previously, we've aggregated the percentage of friends who are 50 and older as a single value, from50. With this change, you can now get statistics on the percentage of friends between the ages of 50 and 70.
We'll continue to include from50 in the response as a value that aggregates the percentage of friends who are 50 and older.
News: https://developers.line.biz/en/news/2024/09/05/age-percentage-subdivision/
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #1418
Dependency updates
- chore(deps): update line-openapi digest to 7ce8caf by @renovate in #1412
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.0 by @renovate in #1413
- fix(deps): update mockito monorepo to v5.13.0 by @renovate in #1414
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.21 by @renovate in #1416
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.22 by @renovate in #1417
Full Changelog: 9.1.0...9.2.0
9.1.0 New age groups in Narrowcast
What's Changed
In the Messaging API, we've added the following values as conditions for filtering the age range of recipients in the demographic filter objects of narrowcast messages:
age_55
age_60
age_65
age_70
Until now, the upper limit was age_50
, so it wasn't possible to filter ages over 50 in detail. By specifying the added age ranges, you can now filter recipients more flexibly than before.
news: https://developers.line.biz/en/news/2024/08/26/age-filter-subdivision/
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #1410
Dependency updates
- chore(deps): update kotlin monorepo to v2.0.20 by @renovate in #1408
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.3 by @renovate in #1409
Full Changelog: 9.0.0...9.1.0
9.0.0 Enums of InputOption are changed
What's Changed
Breaking Changes
The canonical string of the inputOption
enum specified in the Postback action has been changed to include an underscore.
https://developers.line.biz/en/reference/messaging-api/#postback-action
line-openapi updates
- chore(deps): update line-openapi digest to c14fa72 by @renovate in #1307
- chore(deps): update line-openapi digest to eb2bf14 by @renovate in #1316
- Codes are generated by openapi generator by @github-actions in #1317
- chore(deps): update line-openapi digest to f976f52 by @renovate in #1319
- Codes are generated by openapi generator by @github-actions in #1320
- Codes are generated by openapi generator by @github-actions in #1364
- Codes are generated by openapi generator by @github-actions in #1407
Dependency updates
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.5.0 by @renovate in #1299
- chore(deps): update dependency org.openapitools:openapi-generator to v7.5.0 by @renovate in #1298
- fix(deps): update openapi-generator-version to v7.5.0 by @renovate in #1300
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.6 by @renovate in #1302
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.5 by @renovate in #1303
- chore(deps): update gradle/wrapper-validation-action digest to 5188e9b by @renovate in #1304
- chore(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.1 by @renovate in #1305
- fix(deps): update dependency com.github.bbottema:java-socks-proxy-server to v4 by @renovate in #1306
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.5.4 by @renovate in #1309
- chore(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.5.3 by @renovate in #1310
- chore(deps): update gradle/wrapper-validation-action digest to 216d1ad by @renovate in #1311
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.13 by @renovate in #1312
- fix(deps): update jackson to v2.17.1 by @renovate in #1313
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.14 by @renovate in #1314
- chore(deps): update kotlin monorepo to v1.9.24 by @renovate in #1315
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.38 by @renovate in #1321
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.39 by @renovate in #1322
- fix(deps): update mockito monorepo to v5.12.0 by @renovate in #1323
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.39.1 by @renovate in #1324
- chore(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.0 by @renovate in #1326
- chore(deps): update dependency org.openapitools:openapi-generator to v7.6.0 by @renovate in #1327
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.6.0 by @renovate in #1328
- fix(deps): update openapi-generator-version to v7.6.0 by @renovate in #1329
- chore(deps): update kotlin monorepo to v2 (major) by @renovate in #1331
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.15 by @renovate in #1332
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.6.0 by @renovate in #1333
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.2.6 by @renovate in #1334
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.0 by @renovate in #1335
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.39.2 by @renovate in #1340
- chore(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.5.0 by @renovate in #1341
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.39.3 by @renovate in #1342
- chore(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.6.0 by @renovate in #1343
- chore(deps): update dependency gradle to v8.8 by @renovate in #1344
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v9.40 by @renovate in #1345
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.16 by @renovate in #1346
- fix(deps): update dependency jakarta.servlet:jakarta.servlet-api to v6.1.0 by @renovate in #1347
- chore(deps): update gradle/wrapper-validation-action digest to 26ffd68 by @renovate in #1348
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.0 by @renovate in #1349
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.17 by @renovate in #1350
- chore(deps): update gradle/wrapper-validation-action digest to 9ba54b6 by @renovate in #1351
- chore(deps): update gradle/wrapper-validation-action digest to 8842585 by @renovate in #1352
- chore(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.2 by @renovate in #1353
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.1 by @renovate in #1354
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.7.0 by @renovate in #1355
- fix(deps): update jjwt to v0.12.6 by @renovate in #1356
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.18 by @renovate in #1357
- fix(deps): update junit5 monorepo to v5.10.3 by @renovate in #1359
- fix(deps): update dependency org.skyscreamer:jsonassert to v1.5.3 by @renovate in #1358
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.8.0 by @renovate in #1360
- chore(deps): update dependency org.openapitools:openapi-generator to v7.7.0 by @renovate in #1361
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.7.0 by @renovate in #1362
- fix(deps): update openapi-generator-version to v7.7.0 by @renovate in #1363
- fix(deps): update jackson to v2.17.2 by @renovate in #1365
- fix(deps): update dependency org.assertj:assertj-core to v3.26.3 by @renovate in #1367
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.1 by @renovate in #1369
- chore(deps): update dependency gradle to v8.9 by @renovate in #1371
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.19 by @renovate in #1373
- chore(deps): update gradle/wrapper-validation-action digest to f9c9c57 by @renovate in #1375
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.3.2 by @renovate in #1377
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.9.0 by @renovate in #1379
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.9.1 by @renovate in #1381
- chore(deps): update kotlin monorepo ...
8.6.0 Loading animation
What's Changed
In the Messaging API, we've added a new endpoint that allows you to display a loading animation. After your LINE Official Account receives a message from a user, the response may takes some time due to message preparation or reservation processing. In such cases, you can visually tell the user that you want them to wait by displaying a loading animation.
news: https://developers.line.biz/en/news/2024/04/17/loading-indicator/
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #1296
Dependency updates
- chore(deps): update dependency io.github.gradle-nexus:publish-plugin to v2 by @renovate in #1284
- fix(deps): update dependency jakarta.annotation:jakarta.annotation-api to v3 by @renovate in #1285
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.10 by @renovate in #1286
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.4 by @renovate in #1287
- chore(deps): update gradle/wrapper-validation-action digest to b5418f5 by @renovate in #1288
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.11 by @renovate in #1289
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.12 by @renovate in #1290
- fix(deps): update slf4j monorepo to v2.0.13 by @renovate in #1291
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.5 by @renovate in #1292
- chore(deps): update gradle/wrapper-validation-action digest to 460a3ca by @renovate in #1293
- chore(deps): update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.0 by @renovate in #1294
Other Changes
Full Changelog: 8.5.0...8.6.0
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