From 09c7a19e9ca8c4306bf85015754f1b4db2585fe1 Mon Sep 17 00:00:00 2001 From: David <4661784+retyui@users.noreply.github.com> Date: Tue, 16 May 2023 10:03:36 +0200 Subject: [PATCH] 4.8.0 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8d2466..3c041f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). +## 4.8.0 + +- Added [`centerContained: boolean`](https://github.com/retyui/react-quick-pinch-zoom/blob/master/docs/api/README.md#enforceboundsduringzoom-boolean) to allow ensuring that images remain centered as long as they still fit into the container. [#73](https://github.com/retyui/react-quick-pinch-zoom/pull/73) (thanks [Tim Fischbach](https://github.com/tf)) + ## 4.7.0 - Added [`enforceBoundsDuringZoom: boolean`](https://github.com/retyui/react-quick-pinch-zoom/blob/master/docs/api/README.md#enforceboundsduringzoom-boolean) prop to ensures that it's also not possible to move the image out of bounds with a pinch gesture. [#72](https://github.com/retyui/react-quick-pinch-zoom/pull/72) (thanks [Tim Fischbach](https://github.com/tf)) diff --git a/package.json b/package.json index 2485478..ef047dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-quick-pinch-zoom", - "version": "4.7.0", + "version": "4.8.0", "main": "cmj/index.js", "module": "esm/index.js", "types": "esm/index.d.ts",