diff --git a/CHANGELOG.md b/CHANGELOG.md
index 54ab9f58..e8defc95 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,16 @@
+
+# [0.15.0](https://github.com/bluefireteam/photo_view/releases/tag/0.15.0) - 17 Apr 2024
+
+## Added
+- Added pageSnapping option #542
+- make scale more smoothly #450
+- Add possibility to restrict user scale #537
+- Pass through semanticLabel #530
+
+[Changes][0.15.0]
+
+
+
# [0.14.0](https://github.com/bluefireteam/photo_view/releases/tag/0.14.0) - 24 May 2022
@@ -373,6 +386,7 @@ With this version, Photo view is stable compatible. It means that every new rele
[Changes][0.2.1]
+[0.15.0]: https://github.com/bluefireteam/photo_view/compare/0.14.0...0.15.0
[0.14.0]: https://github.com/bluefireteam/photo_view/compare/0.13.0...0.14.0
[0.13.0]: https://github.com/bluefireteam/photo_view/compare/0.12.0...0.13.0
[0.12.0]: https://github.com/bluefireteam/photo_view/compare/0.11.1...0.12.0
diff --git a/LICENSE b/LICENSE
index 84907a51..f6e9c67f 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2020 Renan C. Araújo
+Copyright 2024 Renan C. Araújo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
diff --git a/README.md b/README.md
index 7c2f224c..cb993959 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Even though being super simple to use, PhotoView is extremely customizable thoug
## Installation
-Add `photo_view` as a dependency in your pubspec.yaml file ([what?](https://flutter.io/using-packages/)).
+Add `photo_view` as a dependency in your pubspec.yaml file.
Import Photo View:
```dart
diff --git a/bin/changelog-from-release b/bin/changelog-from-release
deleted file mode 100755
index a6a72a51..00000000
Binary files a/bin/changelog-from-release and /dev/null differ
diff --git a/bin/changelog-from-release-mac b/bin/changelog-from-release-mac
deleted file mode 100755
index b36d1f8d..00000000
Binary files a/bin/changelog-from-release-mac and /dev/null differ
diff --git a/lib/src/core/photo_view_core.dart b/lib/src/core/photo_view_core.dart
index bc07780c..02fe1ff2 100644
--- a/lib/src/core/photo_view_core.dart
+++ b/lib/src/core/photo_view_core.dart
@@ -153,8 +153,9 @@ class PhotoViewCoreState extends State
final double newScale = _scaleBefore! * details.scale;
final Offset delta = details.focalPoint - _normalizedPosition!;
- if (widget.strictScale && (newScale > widget.scaleBoundaries.maxScale ||
- newScale < widget.scaleBoundaries.minScale)) {
+ if (widget.strictScale &&
+ (newScale > widget.scaleBoundaries.maxScale ||
+ newScale < widget.scaleBoundaries.minScale)) {
return;
}
diff --git a/pubspec.yaml b/pubspec.yaml
index 5430fbfe..2fffe93c 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,10 +1,10 @@
name: photo_view
description: Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interactive images and other stuff such as SVG.
-version: 0.14.0
+version: 0.15.0
homepage: https://github.com/renancaraujo/photo_view
environment:
- sdk: ">=2.12.0 <3.0.0"
+ sdk: ">=2.12.0 <4.0.0"
flutter: ">=1.6.0"
dependencies:
diff --git a/scripts/format.sh b/scripts/format.sh
deleted file mode 100755
index 17bef9ea..00000000
--- a/scripts/format.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-
-function run_format() {
- output=$(flutter format --set-exit-if-changed -n .)
- if [ $? -eq 1 ]; then
- echo "flutter format issues on"
- echo $output
- exit 1
- fi
-}
-
-cd $1 || exit
-
-run_format