Skip to content

Latest commit

 

History

History
173 lines (95 loc) · 10.9 KB

CHANGELOG.md

File metadata and controls

173 lines (95 loc) · 10.9 KB

@lemonsqueezy/lemonsqueezy.js

4.0.0

Major Changes

Patch Changes

3.3.1

Patch Changes

3.3.0

Minor Changes

3.2.0

Minor Changes

Patch Changes

3.1.2

Patch Changes

3.1.1

Patch Changes

3.1.0

Minor Changes

Patch Changes

3.0.0

Major Changes

  • 59fdd9c Thanks @brankoconjic! - ### Breaking Change

    The deprecated LemonSqueezy class, all its methods and related types from the library SDK (the _deprecated folder) have been removed.

    The class has been deprecated for some time and is no longer needed. Removing this to clean up the codebase and reduce maintenance overhead.

    If you were using any deprecated modules, you need to update your imports to use the new modules provided in the library. Visit Wiki page for function usage.

Patch Changes

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