diff --git a/CHANGELOG.md b/CHANGELOG.md index 24b78cb0..5710423e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,49 @@ +# 1.2.1 + +This update improves the functionality and developer experience of using ConnectKit and moves the peer dependency wagmi up a version to `0.11.x`. +This update does not yet include support for WalletConnect 2.0 (wagmi `0.12.x`) + +> **Note** +> +> This version of wagmi has breaking changes. Make sure your application is compatible by following [wagmi's migration guide](https://wagmi.sh/react/migration-guide#011x-breaking-changes). + +## New + +- Update peer dependency wagmi to version `0.11.x` (thanks [Songkeys](https://github.com/Songkeys)). +- Add new `pt-BR` translations (thanks [LuwkasLima](https://github.com/luwkaslima)). +- Include new `hideBalance` option to hide the wallet balance from the profile view. +- Include new `enforceSupportedChains` option to disable the forced network switching UX when connected to an unsupported chain. +- Include new `disableSiweRedirect` option to disable the redirect to the SIWE page when a wallet connects. +- Include new functions from the `useModal` Hook to choose a page to navigate to on open. + - The `openSIWE()` function accepts a boolean, if `true` it will initiate the wallet SIWE signing request at the same time as opening the modal. +- Add logos for the following chains: + - Optimism Goerli + - Telos + Testnet + - Aurora + Testnet + - Avalanche + Fuji Testnet + - Foundry + - Gnosis + - Evmos + Testnet + - BNB Smart Chain + Testnet + - Sepolia + - Taraxa + Testnet + - zkSync + Testnet + - Celo + Alfajores Testnet + - Canto + - Fantom + Testnet + - Filecoin + Hyperspace + Calibration Testnets + - Flare + Coston2 testnet + - Metis + Testnet + - IoTeX + Testnet + +## Improved + +- Update testbench for better developer experience. +- Improve logic for `isConnecting` within the Custom `ConnectKitButton`. +- Replace `getGlobalChains` with `useChains` Hook +- Tidy up some internal component structure and include a few useful dev updates (thanks [pugson](https://github.com/pugson)). +- Export `useIsMounted` and `Context` (thanks [shahruz](https://github.com/shahruz)). + # 1.2.0 This update improves the functionality and developer experience of using ConnectKit with Sign In With Ethereum. @@ -59,17 +105,17 @@ This does not yet include support for WalletConnect 2.0. This update moves the peer dependency [wagmi](https://wagmi.sh) up to the latest version (`0.9.x`). -{% note %} -This version of wagmi has breaking changes. Make sure your application is compatible by following [wagmi's migration guide](https://wagmi.sh/react/migration-guide#09x-breaking-changes). -{% endnote %} +> **Note** +> +> This version of wagmi has breaking changes. Make sure your application is compatible by following [wagmi's migration guide](https://wagmi.sh/react/migration-guide#09x-breaking-changes). # 1.1.0 This update moves the peer dependency wagmi up to the latest version (`0.8.x`). -{% note %} -This version of ConnectKit has breaking changes. Make sure your application is compatible by following the [migration guide](https://docs.family.co/connectkit/migration-guide#110-breaking-changes). -{% endnote %} +> **Note** +> +> This version of ConnectKit has breaking changes. Make sure your application is compatible by following the [migration guide](https://docs.family.co/connectkit/migration-guide#110-breaking-changes). ## New diff --git a/packages/connectkit/package.json b/packages/connectkit/package.json index ae50e9a0..9c934d32 100644 --- a/packages/connectkit/package.json +++ b/packages/connectkit/package.json @@ -1,6 +1,6 @@ { "name": "connectkit", - "version": "1.2.0", + "version": "1.2.1", "author": "Family", "homepage": "https://docs.family.co/connectkit", "license": "BSD-2-Clause license", diff --git a/packages/cra-template/template.json b/packages/cra-template/template.json index 8843fece..40afb01d 100644 --- a/packages/cra-template/template.json +++ b/packages/cra-template/template.json @@ -8,7 +8,7 @@ "@types/node": "^16.7.13", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", - "connectkit": "^1.2.0", + "connectkit": "^1.2.1", "ethers": "^5.6.5", "typescript": "^4.9.5", "wagmi": "^0.11.2",