-
#61
93381d9
Thanks @keyding! - Addedinvoice_immediately
anddisable_prorations
parameters toSubscription
item update object. -
#65
27cbaf4
Thanks @keyding! - Addedurls.customer_portal_update_subscription
parameter to Subscription objects.
- #58
5bc530a
Thanks @keyding! - Addedtax_inclusive
parameter to Order objects and Subscription invoice objects
-
#48
fd20741
Thanks @keyding! - BREAKING CHANGE: Completely rewritten the JS SDK for full type-safety and tree-shakeability.- 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.
This release fixes the following issues.
- #35
- #29
- #28
- #25
- #22
- #19
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.
🎉 A massive thanks to @heybrostudio for their awesome work and contributions that led to this release.
- #50
655fe01
Thanks @brankoconjic! - update dependencies
-
#41
e64425a
Thanks @brankoconjic! - Fix documentation example - use named exports. -
#41
0ecd8d4
Thanks @brankoconjic! - Fix #32 TypeScript types no longer generated in 1.2.4 -
#41
0ecd8d4
Thanks @brankoconjic! - Add Changesets for improved library management and automated NPM releases. -
#43
af4c3c0
Thanks @brankoconjic! - Exclude changeset folder from Prettier -
#42
8f07f3e
Thanks @brankoconjic! - Fix changeset release workflow