From 90f73491c980fbfdc2be4e9cea5cf84297c6599a Mon Sep 17 00:00:00 2001
From: Lochie Axon <lochieaxon@gmail.com>
Date: Thu, 30 Mar 2023 13:36:54 +1100
Subject: [PATCH] version 1.2.2 version bump and changelog (#179)

* Update CHANGELOG.md

* version bump
---
 CHANGELOG.md                        | 27 +++++++++++++++++++++++++++
 packages/connectkit/package.json    |  2 +-
 packages/cra-template/template.json |  2 +-
 3 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5710423e..3f5abf5d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,30 @@
+# 1.2.2
+
+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.
+
+## New
+
+- 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`](https://wagmi.sh/react/connectors/safe) into the default configuration for better support for Safe Apps. Learn more about this connector in the [wagmi](https://wagmi.sh/react/connectors/safe) docs.
+- Convenient `onConnect` and `onDisconnect` callbacks on the `ConnectKitProvider` component and `useModal` Hook.
+- Added dedicated `overlayBlur` prop to `ConnectKitProvider` to allow for blurring the background when the modal is open.
+- Update peer dependency wagmi to version `0.12.x`.
+
+## Improved
+
+- 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
+
+- Fixed a bug where changing accounts when signed-in with Ethereum would cause an infinite loop (thanks [JamieLottering](https://github.com/JamieLottering)).
+
 # 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`.
diff --git a/packages/connectkit/package.json b/packages/connectkit/package.json
index 6ccce993..707f8328 100644
--- a/packages/connectkit/package.json
+++ b/packages/connectkit/package.json
@@ -1,6 +1,6 @@
 {
   "name": "connectkit",
-  "version": "1.2.1",
+  "version": "1.2.2",
   "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 6634e3dc..dbcb1cf7 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.1",
+      "connectkit": "^1.2.2",
       "ethers": "^5.6.5",
       "typescript": "^4.9.5",
       "wagmi": "^0.12.0",