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