Skip to content

Commit

Permalink
chore: version packages v0.32.0 🌊 (#1259)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Sep 17, 2024
1 parent 3af848e commit adf2a7c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
19 changes: 0 additions & 19 deletions .changeset/fluffy-apes-float.md

This file was deleted.

29 changes: 25 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<TransactionButton>`, 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 `<TransactionButton>` 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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit adf2a7c

Please sign in to comment.