diff --git a/.changeset/bright-olives-hammer.md b/.changeset/bright-olives-hammer.md deleted file mode 100644 index cf57072..0000000 --- a/.changeset/bright-olives-hammer.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@lemonsqueezy/lemonsqueezy.js": major ---- - -### 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](https://github.com/lmsqueezy/lemonsqueezy.js/wiki) for function usage. diff --git a/.changeset/flat-taxis-pull.md b/.changeset/flat-taxis-pull.md deleted file mode 100644 index 6ffade2..0000000 --- a/.changeset/flat-taxis-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lemonsqueezy/lemonsqueezy.js": patch ---- - -update dependencies diff --git a/.changeset/great-kangaroos-dance.md b/.changeset/great-kangaroos-dance.md deleted file mode 100644 index dbd6be6..0000000 --- a/.changeset/great-kangaroos-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lemonsqueezy/lemonsqueezy.js": patch ---- - -Add `expiresAt` to `updateLicenseKey` function diff --git a/.changeset/quick-planets-know.md b/.changeset/quick-planets-know.md deleted file mode 100644 index fbcf3d4..0000000 --- a/.changeset/quick-planets-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lemonsqueezy/lemonsqueezy.js": patch ---- - -Made `UpdateSubscription`.`pause` nullable diff --git a/.changeset/rotten-lions-travel.md b/.changeset/rotten-lions-travel.md deleted file mode 100644 index daf71ba..0000000 --- a/.changeset/rotten-lions-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lemonsqueezy/lemonsqueezy.js": patch ---- - -Improve API response types. diff --git a/.changeset/shy-peaches-smash.md b/.changeset/shy-peaches-smash.md deleted file mode 100644 index 038a6fd..0000000 --- a/.changeset/shy-peaches-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lemonsqueezy/lemonsqueezy.js": patch ---- - -Add `from_price_formatted` and `to_price_formatted` attributes to the product object diff --git a/.changeset/swift-crabs-train.md b/.changeset/swift-crabs-train.md deleted file mode 100644 index dcb6f8a..0000000 --- a/.changeset/swift-crabs-train.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@lemonsqueezy/lemonsqueezy.js": patch ---- - -Add `trial_ends_at` for `updateSubscription` function; -Add `skip_trial` for `checkoutOptions` in the `createCheckout` function; diff --git a/CHANGELOG.md b/CHANGELOG.md index 698fd08..2b75ec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # @lemonsqueezy/lemonsqueezy.js +## 3.0.0 + +### Major Changes + +- [`59fdd9c`](https://github.com/lmsqueezy/lemonsqueezy.js/commit/59fdd9c7304577b576b4094795d9148301593cf5) Thanks [@brankoconjic](https://github.com/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](https://github.com/lmsqueezy/lemonsqueezy.js/wiki) for function usage. + +### Patch Changes + +- [`a7e8feb`](https://github.com/lmsqueezy/lemonsqueezy.js/commit/a7e8feb11d4eba432f9e4ea40adeda85e2dc57b0) Thanks [@brankoconjic](https://github.com/brankoconjic)! - update dependencies + +- [#81](https://github.com/lmsqueezy/lemonsqueezy.js/pull/81) [`218d2ef`](https://github.com/lmsqueezy/lemonsqueezy.js/commit/218d2ef6a0adfead41938ba4cfffa6d3efbdd758) Thanks [@keyding](https://github.com/keyding)! - Add `expiresAt` to `updateLicenseKey` function + +- [#76](https://github.com/lmsqueezy/lemonsqueezy.js/pull/76) [`09fdd1a`](https://github.com/lmsqueezy/lemonsqueezy.js/commit/09fdd1ad50f228ee30e7bb0085fdb656b6c15950) Thanks [@kldzj](https://github.com/kldzj)! - Made `UpdateSubscription`.`pause` nullable + +- [#74](https://github.com/lmsqueezy/lemonsqueezy.js/pull/74) [`13c5ff0`](https://github.com/lmsqueezy/lemonsqueezy.js/commit/13c5ff0e0c2e115fa7e004eeabdeabee32bbafe1) Thanks [@keyding](https://github.com/keyding)! - Improve API response types. + +- [`c507272`](https://github.com/lmsqueezy/lemonsqueezy.js/commit/c50727294b162acf6bc8b20d105c01e5e9e9d508) Thanks [@brankoconjic](https://github.com/brankoconjic)! - Add `from_price_formatted` and `to_price_formatted` attributes to the product object + +- [#75](https://github.com/lmsqueezy/lemonsqueezy.js/pull/75) [`b4d071a`](https://github.com/lmsqueezy/lemonsqueezy.js/commit/b4d071af6f63de7d9dd3761281abf1a0c9934276) Thanks [@keyding](https://github.com/keyding)! - Add `trial_ends_at` for `updateSubscription` function; + Add `skip_trial` for `checkoutOptions` in the `createCheckout` function; + ## 2.2.0 ### Minor Changes diff --git a/package.json b/package.json index 4508022..5a9a0e6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@lemonsqueezy/lemonsqueezy.js", "description": "The official Lemon Squeezy JavaScript SDK.", - "version": "2.2.0", + "version": "3.0.0", "author": { "name": "Lemon Squeezy", "email": "hello@lemonsqueezy.com",