Releases: line/line-bot-sdk-nodejs
v9.4.4 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 by @github-actions in #1016
- Codes are generated by openapi by @github-actions in #1035
Dependency updates
- Update line-openapi digest to 4d9979b by @renovate in #1017
- Update dependency @types/node to v20.17.1 by @renovate in #1019
- Update dependency msw to v2.5.2 by @renovate in #1020
- Update vitest monorepo to v2.1.4 by @renovate in #1022
- Update dependency @types/node to v20.17.2 by @renovate in #1023
- Update dependency @types/node to v22 by @renovate in #1024
- Update dependency msw to v2.6.0 by @renovate in #1025
- Update dependency @types/node to v22.8.3 by @renovate in #1026
- Update dependency @types/node to v22.8.4 by @renovate in #1027
- Update dependency vitepress to v1.4.2 by @renovate in #1028
- Update line-openapi digest to 571a258 by @renovate in #1031
- Update line-openapi digest to 62e345e by @renovate in #1033
- Update dependency @types/node to v22.8.5 by @renovate in #1034
Full Changelog: v9.4.2...v9.4.3
v9.4.2
What's Changed
Fix to avoid decoding an empty response body as JSON. #1013
Dependency updates
- Update dependency express to v4.21.1 by @renovate in #996
- Update dependency typescript to v5.6.3 by @renovate in #997
- Update dependency msw to v2.4.10 by @renovate in #999
- Update dependency typedoc to v0.26.9 by @renovate in #1000
- Update dependency vitepress to v1.4.1 by @renovate in #1001
- Update dependency msw to v2.4.11 by @renovate in #1002
- Update vitest monorepo to v2.1.3 by @renovate in #1003
- Update dependency typedoc to v0.26.10 by @renovate in #1004
- Update dependency @types/node to v20.16.12 by @renovate in #1005
- Update dependency @types/node to v20.16.13 by @renovate in #1006
- Update junit5 monorepo to v5.11.3 by @renovate in #1007
- Update dependency msw to v2.4.12 by @renovate in #1008
- Update dependency @types/node to v20.16.14 by @renovate in #1009
- Update dependency msw to v2.4.13 by @renovate in #1010
- Update dependency msw to v2.5.0 by @renovate in #1011
- Update dependency @types/node to v20.16.15 by @renovate in #1012
- Update dependency @types/node to v20.17.0 by @renovate in #1014
- Update dependency msw to v2.5.1 by @renovate in #1015
Other Changes
New Contributors
Full Changelog: v9.4.1...v9.4.2
v9.4.1
What's Changed
unintentional "null"
is removed from AudienceGroupFailedType
. #994
line-openapi updates
- Codes are generated by openapi by @github-actions in #994
Dependency updates
- Update dependency typedoc-plugin-markdown to v4.2.7 by @renovate in #954
- Update dependency msw to v2.4.3 by @renovate in #955
- Update dependency msw to v2.4.4 by @renovate in #956
- Update dependency typedoc to v0.26.7 by @renovate in #957
- Update dependency typescript to v5.6.2 by @renovate in #958
- Update dependency vitepress to v1.3.4 by @renovate in #897
- Update dependency express to v4.20.0 by @renovate in #959
- Update dependency msw to v2.4.5 by @renovate in #960
- Update dependency finalhandler to v1.3.1 by @renovate in #962
- Update dependency express to v4.21.0 by @renovate in #964
- Update dependency husky to v9.1.6 by @renovate in #963
- Update vitest monorepo to v2.1.0 by @renovate in #965
- Update dependency @types/mocha to v10.0.8 by @renovate in #968
- Update dependency msw to v2.4.6 by @renovate in #969
- Update vitest monorepo to v2.1.1 by @renovate in #970
- Update dependency msw to v2.4.7 by @renovate in #971
- Update dependency msw to v2.4.8 by @renovate in #972
- Update dependency msw to v2.4.9 by @renovate in #974
- Update dependency typedoc-plugin-markdown to v4.2.8 by @renovate in #975
- Update dependency @types/node to v20.16.6 by @renovate in #977
- Update dependency @types/node to v20.16.7 by @renovate in #979
- Update junit5 monorepo to v5.11.1 by @renovate in #980
- Update dependency @types/node to v20.16.8 by @renovate in #981
- Update dependency @types/express to v5 by @renovate in #982
- Update dependency @types/node to v20.16.9 by @renovate in #983
- Update dependency @types/node to v20.16.10 by @renovate in #984
- Update dependency typedoc-plugin-markdown to v4.2.9 by @renovate in #985
- Update vitest monorepo to v2.1.2 by @renovate in #986
- Update junit5 monorepo to v5.11.2 by @renovate in #987
- Update dependency typedoc to v0.26.8 by @renovate in #988
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.1 by @renovate in #989
- Update dependency vitepress to v1.4.0 by @renovate in #990
- Update dependency @types/node to v20.16.11 by @renovate in #992
- Update openapi-generator-version to v7.9.0 by @renovate in #993
- Update dependency @types/mocha to v10.0.9 by @renovate in #991
Other Changes
- Bump vite from 5.4.3 to 5.4.7 by @dependabot in #976
- Bump rollup from 4.21.2 to 4.22.4 by @dependabot in #978
Full Changelog: v9.4.0...v9.4.1
v9.4.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 by @github-actions in #952
Dependency updates
- Update dependency msw to v2.4.1 by @renovate in #943
- Update dependency axios to v1.7.6 by @renovate in #944
- Update dependency axios to v1.7.7 by @renovate in #945
- Update dependency @types/node to v20.16.3 by @renovate in #946
- Update dependency finalhandler to v1.2.1 by @renovate in #947
- Update dependency finalhandler to v1.3.0 by @renovate in #948
- Update dependency @types/node to v20.16.4 by @renovate in #949
- Update dependency msw to v2.4.2 by @renovate in #950
- Update dependency @types/node to v20.16.5 by @renovate in #951
Other Changes
- update typescript to 5.5.4 by @tokuhirom in #917
Full Changelog: v9.3.1...v9.4.0
v9.3.1
What's Changed
- Fix generator code for case of responses by @mokuzon in #942
- Fixed a bug in the generator template where the field name case in the response object was incorrect
Dependency updates
- Update line-openapi digest to 7ce8caf by @renovate in #937
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.0 by @renovate in #939
- Update dependency @types/node to v20.16.2 by @renovate in #940
New Contributors
Full Changelog: v9.3.0...v9.3.1
v9.3.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
- Update line-openapi digest to eb2bf14 by @renovate in #842
- Codes are generated by openapi by @github-actions in #845
- Update line-openapi digest to f976f52 by @renovate in #846
- Codes are generated by openapi by @github-actions in #873
- Codes are generated by openapi by @github-actions in #934
Dependency updates
- Update dependency @types/node to v20.12.11 by @renovate in #848
- Update dependency msw to v2.3.0 by @renovate in #849
- Update dependency @types/node to v20.12.12 by @renovate in #850
- Update dependency msw to v2.3.1 by @renovate in #867
- Update dependency vite to v5.2.12 by @renovate in #861
- Update dependency @types/node to v20.14.1 by @renovate in #864
- Update dependency org.apache.maven.plugins:maven-shade-plugin to v3.6.0 by @renovate in #866
- Update dependency prettier to v3.3.0 by @renovate in #869
- Update dependency axios to v1.7.2 by @renovate in #860
- Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.5.0 by @renovate in #865
- Update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.6.0 by @renovate in #854
- Update openapi-generator-version to v7.6.0 by @renovate in #855
- Update actions/configure-pages action to v5 by @renovate in #875
- Update dependency @types/node to v20.14.2 by @renovate in #878
- Update dependency prettier to v3.3.1 by @renovate in #879
- Update dependency prettier to v3.3.2 by @renovate in #880
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.0 by @renovate in #882
- Update dependency @types/node to v20.14.3 by @renovate in #883
- Update dependency @types/node to v20.14.4 by @renovate in #884
- Update dependency @types/node to v20.14.5 by @renovate in #885
- Update dependency @types/node to v20.14.6 by @renovate in #886
- Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.2 by @renovate in #887
- Update dependency @types/node to v20.14.7 by @renovate in #888
- Update dependency @types/node to v20.14.8 by @renovate in #891
- Update dependency @types/mocha to v10.0.7 by @renovate in #892
- Update dependency @types/node to v20.14.9 by @renovate in #893
- Update junit5 monorepo to v5.10.3 by @renovate in #894
- Update openapi-generator-version to v7.7.0 by @renovate in #895
- Update dependency @types/node to v20.14.10 by @renovate in #896
- Update vitest monorepo to v2 (major) by @renovate in #898
- Update vitest monorepo to v2.0.1 by @renovate in #899
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.1 by @renovate in #901
- Update vitest monorepo to v2.0.2 by @renovate in #900
- Update dependency prettier to v3.3.3 by @renovate in #902
- Update vitest monorepo to v2.0.3 by @renovate in #903
- Update dependency @types/node to v20.14.11 by @renovate in #904
- Update dependency husky to v9.1.0 by @renovate in #905
- Update dependency husky to v9.1.1 by @renovate in #906
- Update dependency msw to v2.3.2 by @renovate in #907
- Update vitest monorepo to v2.0.4 by @renovate in #908
- Update dependency msw to v2.3.3 by @renovate in #910
- Update dependency @types/node to v20.14.12 by @renovate in #911
- Update dependency msw to v2.3.4 by @renovate in #912
- Update dependency husky to v9.1.2 by @renovate in #913
- Update dependency husky to v9.1.3 by @renovate in #914
- Update dependency @types/node to v20.14.13 by @renovate in #915
- Update dependency husky to v9.1.4 by @renovate in #916
- Update vitest monorepo to v2.0.5 by @renovate in #918
- Update dependency axios to v1.7.3 by @renovate in #919
- Update dependency msw to v2.3.5 by @renovate in #920
- Update dependency @types/node to v20.14.14 by @renovate in #921
- Update dependency @types/node to v20.14.15 by @renovate in #923
- Update junit5 monorepo to v5.11.0 by @renovate in #925
- Update dependency @types/node to v20.15.0 by @renovate in #926
- Update dependency @types/node to v20.16.0 by @renovate in #927
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.4.0 by @renovate in #928
- Update dependency @types/node to v20.16.1 by @renovate in #929
- Update openapi-generator-version to v7.8.0 by @renovate in #930
- Update dependency husky to v9.1.5 by @renovate in #931
- Update dependency axios to v1.7.5 by @renovate in #933
- Update line-openapi digest to 57487b6 by @renovate in #935
Other Changes
- Stop using doc branch to use github pages by @Yang-33 in #868
- Replace undici's multipart/form-data parser with custom implementation in tests by @tokuhirom in #872
npm audit fix
for examples by @tokuhirom in #877- Support Node.js v22 and use 20.12.2 to avoid unstable test by @Yang-33 in #863
- Drop vite from dev dependency by @Yang-33 in #862
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #881
- Update dependency axios to v1.7.4 [SECURITY] by @Yang-33 in #932
Full Changelog: v9.2.2...v9.3.0
v9.2.2
What's Changed
Dependency updates
- Update dependency @types/node to v20.12.8 by @renovate in #837
- Update dependency vite to v5.2.11 by @renovate in #838
- Update vitest monorepo to v1.6.0 by @renovate in #839
- Update dependency @types/node to v20.12.10 by @renovate in #841
Other Changes
Full Changelog: v9.2.1...v9.2.2
v9.2.1
What's Changed
A type indicating Unknown*
were defined for TypeScript but not used, so they have been removed. While this could be considered a breaking change, there should be no existing usage, so we're treating it as a bug fix.
- Remove unknown types from model generator by @wolffparkinson in #834
line-openapi updates
Dependency updates
- Update dependency org.openapitools:openapi-generator-cli to v7.5.0 by @renovate in #823
- Update dependency msw to v2.2.14 by @renovate in #824
- Update dependency vitepress to v1.1.3 by @renovate in #825
- Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.1 by @renovate in #826
- Update dependency vite to v5.2.10 by @renovate in #827
- Update dependency org.apache.maven.plugins:maven-shade-plugin to v3.5.3 by @renovate in #828
- Update vitest monorepo to v1.5.1 by @renovate in #829
- Update vitest monorepo to v1.5.2 by @renovate in #830
- Update dependency vitepress to v1.1.4 by @renovate in #832
- Update vitest monorepo to v1.5.3 by @renovate in #833
New Contributors
- @wolffparkinson made their first contribution in #834
Full Changelog: v9.2.0...v9.2.1
v9.2.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 by @github-actions in #821
Dependency updates
- Update dependency typedoc to v0.25.13 by @renovate in #813
- Update dependency @types/node to v20.12.6 by @renovate in #814
- Update dependency vitepress to v1.1.0 by @renovate in #815
- Update dependency @types/node to v20.12.7 by @renovate in #816
- Update dependency typescript to v5.4.5 by @renovate in #817
- Update vitest monorepo to v1.5.0 by @renovate in #818
- Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.0 by @renovate in #819
- Update dependency vite to v5.2.9 by @renovate in #820
Full Changelog: v9.1.0...v9.2.0
v9.1.0 Support dual package + membership API
What's Changed
[1] Support dual package
We're thrilled to announce the line/line-bot-sdk-nodejs project update to version 9.1.0! Transitioning from CommonJS (CJS) to ECMAScript Modules (ESM), we've also enhanced the library with dual package support.
Now, users can utilize the library in both CJS and ESM formats.
This pivotal upgrade boosts compatibility and flexibility across various runtime environments and tool ecosystems.
[2] Membership API
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
- Update line-openapi digest to 1ca4640 by @renovate in #804
- Codes are generated by openapi by @github-actions in #805
Dependency updates
- Update dependency @types/node to v20.12.0 by @renovate in #789
- Update dependency @types/node to v20.12.2 by @renovate in #790
- Update dependency vitepress to v1.0.2 by @renovate in #799
- Update dependency @types/node to v20.12.3 by @renovate in #801
- Update dependency vite to v5.2.8 by @renovate in #806
- Update dependency @types/node to v20.12.4 by @renovate in #809
- Update dependency msw to v2.2.13 by @renovate in #800
- Update dependency typescript to v5.4.4 by @renovate in #811
- Update dependency @types/node to v20.12.5 by @renovate in #812
Other Changes
- Stop reading package.json from sdk code by @Yang-33 in #792
- Use Vitest instead of Mocha by @Yang-33 in #793
- Support only ESM at first by @Yang-33 in #794
- Add an example with Typescript and ESM by @Yang-33 in #795
- Support CJS again by @Yang-33 in #797
- Do not publish tests by @Yang-33 in #803
- Fix typescript with cjs compile issue by @Yang-33 in #802
- Update example and document for ESM by @Yang-33 in #810
Full Changelog: v9.0.4...v9.1.0