Releases: lmsqueezy/lemonsqueezy.js
Releases · lmsqueezy/lemonsqueezy.js
v2.0.0
What's Changed
-
#48
fd20741
Thanks @keyding! - BREAKING CHANGE: Completely rewritten the JS SDK for full type-safety and tree-shakeability.Notes:
- Bun: Transitioned to Bun for repo management.
- Type-safe: Written in TypeScript and documented with TSDoc.
- Tree-shakeable: Use only functions that you need.
- Improved docs: Added detailed Wiki pages on how to use the new SDK functions.
- Deprecate old SDK classes and methods: The deprecated methods and the LemonSqueezy class will be removed with the next major release.
- Unit tests: Introduces comprehensive unit tests for all functions.
- Improved repo management: Transitioned to Bun, adopted Conventional Commits convention, husky, Prettier, ESLint and other tools for better repo management.
Fixes:
This release fixes the following issues.
How to upgrade
Use the new setup function to initialize the SDK with your API key.
lemonSqueezySetup({ apiKey });
Import functions from the SDK and use them in your application.
const { data, error, statusCode } = await getAuthenticatedUser();
For more information, see API Reference and Functions Usage Wiki.
Credits
🎉 A massive thanks to @heybrostudio for their awesome work and contributions that led to this release.
v1.2.5
What's Changed
- Add Changesets for automated releases by @brankoconjic in #41
- Fix changeset release workflow by @brankoconjic in #42
- Ignore .changeset folder from Prettier by @brankoconjic in #43
New Contributors
- @brankoconjic made their first contribution in #41
Full Changelog: 1.2.4...v1.2.5
v1.2.4
Merge pull request #31 from lmsqueezy/bump-version Bump version
v1.2.3
What's Changed
- Update parameters by @mauryaratan in #30
New Contributors
- @mauryaratan made their first contribution in #30
Full Changelog: v1.2.2...1.2.3
v1.2.2
What's Changed
- Fixed module paths 288b100
- fix updateSubscriptionItem payload and perf pause type of SubscriptionAttributes by @sukechris in #20
New Contributors
- @sukechris made their first contribution in #20
Full Changelog: v1.2.1...v1.2.2