Skip to content

Releases: lmsqueezy/lemonsqueezy.js

v2.0.0

04 Feb 08:33
Compare
Choose a tag to compare

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

08 Jan 15:13
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.2.4...v1.2.5

v1.2.4

07 Dec 11:58
069bd5f
Compare
Choose a tag to compare
Merge pull request #31 from lmsqueezy/bump-version

Bump version

v1.2.3

07 Dec 11:36
739c13e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.2...1.2.3

v1.2.2

17 Nov 11:00
Compare
Choose a tag to compare

What's Changed

  • Fixed module paths 288b100
  • fix updateSubscriptionItem payload and perf pause type of SubscriptionAttributes by @sukechris in #20

New Contributors

Full Changelog: v1.2.1...v1.2.2

v1.2.1

02 Oct 11:07
58f1313
Compare
Choose a tag to compare

Added some missing API response types.

v1.1.0

22 Sep 11:31
b9339e8
Compare
Choose a tag to compare

The SDK now has Typescript support.

v1.2.0

22 Sep 13:40
d134eaa
Compare
Choose a tag to compare

Methods and types for usage-based billing.

v1.0.3

27 Jul 13:05
fe2c5c8
Compare
Choose a tag to compare
1.0.3