Skip to content

Commit

Permalink
Merge branch 'main' into feature/arabic-locale
Browse files Browse the repository at this point in the history
  • Loading branch information
lochie authored Jun 13, 2024
2 parents 4318290 + c6586af commit 4f58136
Show file tree
Hide file tree
Showing 141 changed files with 9,855 additions and 36,553 deletions.
115 changes: 114 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,123 @@
# 1.8.0

This update adds support for [Coinbase Smart Wallet](https://smartwallet.dev), adds additional support for the latest versions of peer dependencies `wagmi` and `viem`, and removes the dependency `ethers` from `connectkit-next-siwe` in favor of `viem`'s [SIWE implementation](https://viem.sh/docs/siwe/actions/verifySiweMessage).

## New

- Adds support for [Coinbase Smart Wallet](https://smartwallet.dev).

## Updated

- Changed default setting for `enforceSupportedChains` to `false` to allow for a better default user and developer experience.
- Updates peer dependency `viem` to `>=2.13.x`.

## Deprecated

- Removes dependency `ethers` from `connectkit-next-siwe` in favor of `viem`'s [SIWE implementation](https://viem.sh/docs/siwe/actions/verifySiweMessage).

# 1.7.3

This update fixes a few bugs and improves the stability of the QR code generation for WalletConnect and Coinbase Wallet.

## Fixed

- ENS resolution when `mainnet` not found in `createConfig`.
- `WalletConnectConnector` regenerates QR codes when a user disconnects and attempts to reconnect their wallet.
- `CoinbaseConnector` generated QR code now using a better supported URI.
- Configured `projectId` now being passed to the `WalletConnectConnector` when opening "More" UI in mobile view.

## Removed

- References to `WalletConnectLegacy` (WalletConnect v1).

# 1.7.2

This update fixes an issue with the order of React Hooks, and improves the stability of the SIWE Provider.

## Improved

- Remove `initialData` from `useQuery` Hooks.

## Fixed

- Fix order of Hooks in `useChainIsSupported`.

# 1.7.1

This update fixes a bug where the chain was incorrectly detected as unsupported when only one chain is configured.

## Improved

- Switch to using wagmi storage for detecting the last used connector ID.
- Filter out duplicate connectors from the list of available connectors.
- More defined overflow divider for the connector list.

## Fixed

- Chain being incorrectly detected as unsupported when only one chain is configured.
- Ability to override the "Other Wallets" button text.
- SIWE Provider stability and returned types when returning `nonce` and `session` from the server.

# 1.7.0

This update moves peer dependencies wagmi and viem up to their latest versions.

> **Note**
>
> This version of ConnectKit has breaking changes. Make sure your application is compatible by following the [ConnectKit migration guide](https://docs.family.co/connectkit/migration-guide#170-breaking-changes), and the [wagmi 2.x migration guide](https://wagmi.sh/react/guides/migrate-from-v1-to-v2).
## New

- Updates peer dependency `wagmi` to `2.x`.
- Updates peer dependency `viem` to `2.x`.
- New peer dependency `@tanstack/react-query`.

## Deprecated

- Removes dependency `mipd`.

# 1.6.0

This update adds [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) support for enhanced wallet discovery and improves the functionality and developer experience of using ConnectKit.

## New

- Support for [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963).
- Includes dependency [`mipd`](https://www.npmjs.com/package/mipd) for EIP-6963 TypeScript utilities, built by the team at [wevm](https://github.com/wevm) (creators of [wagmi](https://wagmi.sh/) and [viem](https://viem.sh/)).
- Added [Zerion](https://zerion.io) extension support.

## Improved

- Hide SIWE tooltip when using `hideTooltips` option.

# 1.5.3

This update adds branding support for additional detectable injected connectors and improves the functionality and developer experience of using ConnectKit.

## New

- [Rainbow](https://rainbow.me/) extension support.
- Exports `defaultConnectors`

## Improved

- Added name in header for injected wallet when detected by wagmi.

## Fixed

- Fixed UI overflow in switch network tab.
- Fixed text overlap in switch network buttons.
- Provide `exports.types` in `package.json`

# 1.5.2

wip
This update addresses a few bugs and improves the overall experience of ConnectKit.

## Fixed

- Added `wcm-modal` tag to css variable override.
- Fixed flash of unstyled content on the `<ChainIcon>` component.
- Fixed bug where the modal wouldn't open if the configuration didn't include the `InjectedConnector`.

# 1.5.1

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<a href="https://docs.family.co/connectkit">
<img width="1080" alt="connectkit" src="https://user-images.githubusercontent.com/1930210/197782607-5903aba7-8e7f-4fde-b80a-80465d4ad54e.png">
<img width="1080" alt="connectkit" src="https://github.com/family/connectkit/assets/1930210/87c2e868-3228-44b8-82c3-a38adf6d1bbf">
</a>



# ConnectKit

ConnectKit is a powerful [React](https://reactjs.org/) component library for connecting a wallet to your dApp. It supports the most popular connectors and chains out of the box and provides a beautiful, seamless experience.
Expand Down
Loading

0 comments on commit 4f58136

Please sign in to comment.