This update includes improvements to the CoinbaseWalletSDK
connect popup and MockConnector
.
CoinbaseWalletSDK
connect popup now works on first interaction.MockConnector
now working as intended.
This update adds additional localisations, and improves the stability of Coinbase Wallet and MetaMask connections.
- Localisations for
Vietnamese
,Turkish
,Persian
,Arabic
,Russian
,Estonian
andCatalan
.
CoinbaseWalletSDK
connect popup being blocked on iOS Safari.- Revert back to using
MetaMaskSDK
for MetaMask connections. - Desktop deeplinking for LedgerLive.
This update adds support for Coinbase Smart Wallet, 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.
- Adds support for Coinbase Smart Wallet.
- Changed default setting for
enforceSupportedChains
tofalse
to allow for a better default user and developer experience. - Updates peer dependency
viem
to>=2.13.x
.
- Removes dependency
ethers
fromconnectkit-next-siwe
in favor ofviem
's SIWE implementation.
This update fixes a few bugs and improves the stability of the QR code generation for WalletConnect and Coinbase Wallet.
- ENS resolution when
mainnet
not found increateConfig
. 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 theWalletConnectConnector
when opening "More" UI in mobile view.
- References to
WalletConnectLegacy
(WalletConnect v1).
This update fixes an issue with the order of React Hooks, and improves the stability of the SIWE Provider.
- Remove
initialData
fromuseQuery
Hooks.
- Fix order of Hooks in
useChainIsSupported
.
This update fixes a bug where the chain was incorrectly detected as unsupported when only one chain is configured.
- 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.
- 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
andsession
from the server.
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, and the wagmi 2.x migration guide.
- Updates peer dependency
wagmi
to2.x
. - Updates peer dependency
viem
to2.x
. - New peer dependency
@tanstack/react-query
.
- Removes dependency
mipd
.
This update adds EIP-6963 support for enhanced wallet discovery and improves the functionality and developer experience of using ConnectKit.
- Hide SIWE tooltip when using
hideTooltips
option.
This update adds branding support for additional detectable injected connectors and improves the functionality and developer experience of using ConnectKit.
- Rainbow extension support.
- Exports
defaultConnectors
- Added name in header for injected wallet when detected by wagmi.
- Fixed UI overflow in switch network tab.
- Fixed text overlap in switch network buttons.
- Provide
exports.types
inpackage.json
This update addresses a few bugs and improves the overall experience of ConnectKit.
- 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
.
This update improves how ConnectKit handles multiple injected wallets.
- Better support when dealing with multiple injected wallets.
- Updated
--w3m-z-index
to--wcm-z-index
to align with latest wagmi connectors.
This update improves the developer experience of using ConnectKit by upgrading the peer dependency, wagmi, to version 1.1.x
, updating viem to version 1.x.x
, and providing additional wallet branding support.
- Updates peer dependency
wagmi
to1.1.x
. - Updates peer dependency
viem
to1.x.x
. - Add branding for the following injected wallets:
- Better support for injected wallets.
- Updated Phantom branding.
- Fixed typo in Safe website URL.
- Updated some SVGs to be more performant with JSX.
- Fixed arrows in buttons not inheriting hover colors.
This update improves the developer experience of using ConnectKit by upgrading the peer dependency wagmi up a version to 1.x.x
, and removes the peer dependency ethers
in favor of viem
.
Note
This version of ConnectKit has breaking changes. Make sure your application is compatible by following the migration guide.
- Updates peer dependency
wagmi
to1.x.x
. - Adds peer dependency
viem
.
- Removes peer dependency on
ethers
.
WalletConnect v1 is scheduled to shut down and will be no longer be supported after June 28 2023. It is advised to update your dApps immediately to support WalletConnect v2.
Note
This version of ConnectKit has breaking changes. Make sure your application is compatible by following the migration guide.
- Adds support for WalletConnect v2.
- Removes default support for WalletConnect v1.
This update adds branding support for additional detectable injected connectors and improves the functionality and developer experience of using ConnectKit with Sign In With Ethereum.
- Branding for additional injected connectors:
- Frame
- Phantom
- Dawn
connectkit-next-siwe
version0.1.1
add addsafterNonce
afterVerify
afterSession
andafterLogout
callbacks to the server-side SIWE helper functions.connectkit-next-siwe
version0.2.0
updates peer dependencysiwe
to2.0.0
.
This update adds some minor quality of life features to ConnectKit.
- Updated styling of the switch chain page for better readability.
- Adds prefix to LocalStorage keys to avoid collisions with other apps.
- Restyled documentation site to make following guides even easier.
This update improves the functionality and developer experience of using ConnectKit and moves the peer dependency wagmi up a version to 0.12.x
.
Note
This update does not yet include support for WalletConnect 2.0.
- Adds a
Recent
badge to the most recently used connector button by a user. This helps returning users reconnect easily and save time. - Introduce
SafeConnector
into the default configuration for better support for Safe Apps. Learn more about this connector in the wagmi docs. - Convenient
onConnect
andonDisconnect
callbacks on theConnectKitProvider
component anduseModal
Hook. - Added dedicated
overlayBlur
prop toConnectKitProvider
to allow for blurring the background when the modal is open. - Update peer dependency wagmi to version
0.12.x
.
- Added support for Node 14.
- Improved aria-labels on buttons for better accessibility.
- Icons within buttons are now properly horizontally centered on FireFox.
- Optimise some of the SVGs used in ConnectKit.
- Fixed a bug where changing accounts when signed-in with Ethereum would cause an infinite loop (thanks JamieLottering).
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.
- Update peer dependency wagmi to version
0.11.x
(thanks Songkeys). - Add new
pt-BR
translations (thanks 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, iftrue
it will initiate the wallet SIWE signing request at the same time as opening the modal.
- The
- 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
- Update testbench for better developer experience.
- Improve logic for
isConnecting
within the CustomConnectKitButton
. - Replace
getGlobalChains
withuseChains
Hook - Tidy up some internal component structure and include a few useful dev updates (thanks pugson).
- Export
useIsMounted
andContext
(thanks shahruz).
This update improves the functionality and developer experience of using ConnectKit with Sign In With Ethereum.
- Add
onSignIn
andonSignOut
handlers foruseSIWE
and the SIWE provider.
- Separate the SIWE helper functions into more friendlier client and server configurations.
- Improved the
useSIWE
hook to allow for better dev access to SIWE functionality.
This update adds some minor quality of life features to ConnectKit.
- Included
shimChainChangedDisconnect
option toMetaMaskConnector
to automatically disconnect the wallet when the chain changes in particular version of MetaMask (thanks Songkeys). - Added
size
prop toChainIcon
component to allow for custom sizing (thanks JamieLottering). - Exported type
ConnectKitOptions
for better TypeScript support when creating a wagmi client (thanks ryanberckmans). - Included
chain
toConnectKitButton.custom
to allow for chains to be passed to custom buttons.
This update fixes compatibility issues that were found with Next 13's default configuration. If you would like to use previous versions of ConnectKit you will need to make sure your application supports Terser compression.
- Terser build compression.
- Synced dev and prod rollup configs to avoid environment mismatching.
- Next.js 13 config no longer requires Terser support (
swcMinify: false
).
This update moves the peer dependency wagmi up to the latest version (0.10.x
).
This does not yet include support for WalletConnect 2.0.
- Update peer dependency wagmi to version
0.10.x
. - New options for
ethereumOnboardingUrl
andwalletOnboardingUrl
to custom change the Learn More and About Wallets call to actions.
- Remove sunset ethhub.io links and replace with ethereum.org links.
- Update to chain handling to allow devs access to the configured chains using
getGlobalChains
. - Update to allow turning off the default targeted
chainId
to let wallets connect using their currently active chain. -
- This can be done by setting
initialChainId
to0
within thegetDefaultClient
helper function.
- This can be done by setting
This update moves the peer dependency wagmi 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.
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.
- Update peer dependency wagmi to version
0.8.x
.
- Removed CommonJS support to work within wagmi's
0.8.x
requirements.
This update introduces localisations to ConnectKit.
- Added a
language
option underoptions
that allows developers to include localisation support—starting with options forSpanish
,French
,Japanese
andChinese (Simplified)
.
- Removed layered background on the injected connectors flow to allow for transparent modal background colors (issue #41).
This update introduces Sign In With Ethereum and other helpful changes and additions to make your app better than ever.
- Added Sign In With Ethereum support with a Next.js package to help with quick setup.
- Added an
<Avatar />
component for developers to utilize the default ConnectKit avatar. - Created a
<CustomAvatar />
component for developers to override the default avatar. - Added a
walletConnectCTA
option underoptions
to choose whether to display the 'Copy to Clipboard' option under the WalletConnect QR code. - Added a
initialChainId
option underoptions
to customize the initially connected chain. - Added a
--ck-overlay-backdrop-filter
property for custom themes to utilise thebackdrop-filter
property on the modal overlay. - Added a new
nouns
theme to the built-in default themes ⌐◨-◨
- Corrected some variable names for the secondary buttons.
- Updated Gnosis Safe to reflect their recent rebrand to 'Safe'.
- Wrong Network UX now suggests a network change and no longer blocks users from changing networks.
- Enabled TypeScript strict mode (bumped target to
es6
). - Line break for "Scan with Coinbase Wallet" title if the font is too wide.
- Fix an SVG
stop-color
vsstopColor
issue (thanks @keon). - Added icon support for Arbitrum Goerli (thanks @mirshko).
- Unknown chain icon fallback (thanks @Bridgerz).
- Unnecessary SVGs and logos.
NetworkButton
component for making network switching easier, opens as a dropdownBalanceButton
component for displaying the balance of the connected wallet (in a button), opens the profile modalBalance
component for displaying the balance of the connected wallet, intentionally left mostly unstyledAvatar
component for displaying a wallets ens avatar, with a fallback to a nice gradient based on that ens/address as a seed
- Add
buffer
as a dependency to ConnectKit. Developers no longer need to maintain their own installation of thebuffer
package. - Remove Slope as a suggested wallet in the UI
- Default connector buttons in the modal are now filled instead of previously stroked
- Improvements and update to the default themes
- Wallet Connection now requests the first
chain
in the chains array given when creating your client configuration
- Add props to
<ConnectKitButton />
for additional button configurationlabel
to customize the connect button text/labelshowBalance
to show wallet balance when connected (false default)showAvatar
to show ENS/wallet avatar when connected (true default)
- Add
disclaimer
option underoptions
that accepts a string or ReactNode to be displayed in the first screen of the modal when a wallet is not connected
- Single chain tooltip was not inherting theme correctly
- Visual debug message in the UI when there is a custom client config setup for
CoinbaseWalletConnector
that does not haveheadlessMode:true