From adf2a7cbd5d3a00379996e0d789591fbe4d53262 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:06:24 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20version=20packages=20v0.32.0=20?= =?UTF-8?q?=F0=9F=8C=8A=20(#1259)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] --- .changeset/fluffy-apes-float.md | 19 ------------------- CHANGELOG.md | 29 +++++++++++++++++++++++++---- package.json | 2 +- 3 files changed, 26 insertions(+), 24 deletions(-) delete mode 100644 .changeset/fluffy-apes-float.md diff --git a/.changeset/fluffy-apes-float.md b/.changeset/fluffy-apes-float.md deleted file mode 100644 index aef7245b3..000000000 --- a/.changeset/fluffy-apes-float.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -'@coinbase/onchainkit': minor ---- - -- **feat**: re-typed walletCapabilities object in `OnchainKitConfig`. By @0xAlec #1238 -- **fix**: removed `mt-4` from ``, ensuring the primary component maintains a clean and consistent design without outer margin. By @zizzamia #1258 -- **fix**: renamed LifeCycle to Lifecycle. By @zizzamia #1257 -- **fix**: `SwapSlippageInput` was visually resetting to default value on error. By @cpcramer #1250 -- **fix**: removed context states and use `lifecyclestatus` as the source of truth, also persisted all lifecycle status data (except errors). By @alessey #1249 -- **fix**: extracting `SwapMessage` to constants to avoid circular dependency. By @alessey #1255 -- **feat**: enhanced Framegear Home component with layout, loading state, and placeholder improvements. By @adarshswaminath #1241 - -Breaking Changes - -Removed `walletCapabilities` from the `OnchainKitConfig` and improved the internal types by using the native Viem wallet capabilities type. This update ensures that wallet capabilities are now used solely as read info, avoiding accidental changes to wallet capabilities. - -The `` will no longer have a preset margin, allowing you to customize your app's spacing. Please check your app to see if you need to add a 4px margin. We aim to provide more neutral spacing, giving you the flexibility to add margin as needed. - -The `LifeCycleStatus` type is now renamed `LifecycleStatus`. This update aligns with React's lifecycle naming best practices, ensuring a smoother experience with your app. Please take note of this improvement. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0485ec1b5..4a48e7309 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,34 @@ # Changelog +## 0.32.0 + +### Minor Changes + +- 7e18c98: - **feat**: re-typed walletCapabilities object in `OnchainKitConfig`. By @0xAlec #1238 + + - **fix**: removed `mt-4` from ``, ensuring the primary component maintains a clean and consistent design without outer margin. By @zizzamia #1258 + - **fix**: renamed LifeCycle to Lifecycle. By @zizzamia #1257 + - **fix**: `SwapSlippageInput` was visually resetting to default value on error. By @cpcramer #1250 + - **fix**: removed context states and use `lifecyclestatus` as the source of truth, also persisted all lifecycle status data (except errors). By @alessey #1249 + - **fix**: extracting `SwapMessage` to constants to avoid circular dependency. By @alessey #1255 + - **feat**: enhanced Framegear Home component with layout, loading state, and placeholder improvements. By @adarshswaminath #1241 + + Breaking Changes + + Removed `walletCapabilities` from the `OnchainKitConfig` and improved the internal types by using the native Viem wallet capabilities type. This update ensures that wallet capabilities are now used solely as read info, avoiding accidental changes to wallet capabilities. + + The `` will no longer have a preset margin, allowing you to customize your app's spacing. Please check your app to see if you need to add a 4px margin. We aim to provide more neutral spacing, giving you the flexibility to add margin as needed. + + The `LifeCycleStatus` type is now renamed `LifecycleStatus`. This update aligns with React's lifecycle naming best practices, ensuring a smoother experience with your app. Please take note of this improvement. + ## 0.31.6 ### Patch Changes - - **feat**: added custom max slippage support in the `Swap` component along with a new settings dropdown UI. By @cpcramer #1176 #1248 - - **feat**: added type `LifecycleStatusDataShared` to the `LifeCycleStatus` to hold shared lifeCycle state. By @zizzamia #1234 #1240 - - **feat**: introduced `config` for the `Swap` component, with the first option for `maxSlippage`. By @zizzamia & @cpcramer #1242 - - **fix**: added spacing between swap input and token select. By @alessey #1229 +- **feat**: added custom max slippage support in the `Swap` component along with a new settings dropdown UI. By @cpcramer #1176 #1248 +- **feat**: added type `LifecycleStatusDataShared` to the `LifeCycleStatus` to hold shared lifeCycle state. By @zizzamia #1234 #1240 +- **feat**: introduced `config` for the `Swap` component, with the first option for `maxSlippage`. By @zizzamia & @cpcramer #1242 +- **fix**: added spacing between swap input and token select. By @alessey #1229 ## 0.31.5 diff --git a/package.json b/package.json index 220dc6f9c..f4f730d3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coinbase/onchainkit", - "version": "0.31.6", + "version": "0.32.0", "type": "module", "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT",