Skip to content

Latest commit

 

History

History
80 lines (48 loc) · 4.27 KB

CHANGELOG.md

File metadata and controls

80 lines (48 loc) · 4.27 KB

@lemonsqueezy/lemonsqueezy.js

2.2.0

Minor Changes

  • #61 93381d9 Thanks @keyding! - Added invoice_immediately and disable_prorations parameters to Subscription item update object.

  • #65 27cbaf4 Thanks @keyding! - Added urls.customer_portal_update_subscription parameter to Subscription objects.

2.1.0

Minor Changes

  • #58 5bc530a Thanks @keyding! - Added tax_inclusive parameter to Order objects and Subscription invoice objects

2.0.0

Major Changes

  • #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.

    • #35
    • #29
    • #28
    • #25
    • #22
    • #19

    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.

Patch Changes

1.2.5

Patch Changes