The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
This release has a new feature and some bug fixes. This is highly recommended to upgrade if you use v2.8.1.
## New features
* Enabled to define and use a subclass object of `BackdropView` (#617)
## Improvements
* Fixed the scroll locking behavior by @futuretap (#615)
* Supported Xcode 15.2 on the GitHub Actions (#619)
## Bugfixes
* Added a possible fix for #586
* Fixed a bug that `state` was not changed property after v2.8.1
Thank you to @nihedr9, @nalexn, @DigitalVanilla and @futuretap for this release!
**The API document**: https://swiftpackageindex.com/scenee/FloatingPanel/2.8.2/documentation/floatingpanel
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.8.1...2.8.2
## Bugfixes
* Fixed an invalid behavior after switching to a new layout object (#611)
Thank you to @swasta for this release!
**The API document**: https://floatingpanel.github.io/2.8.1/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.8.0...2.8.1
This release introduces the new API for the scroll tracking and several bug fixes. This is highly recommended to upgrade.
> [!IMPORTANT]
> The minimum deployment target of this library became iOS 11.0 on this release.
## New features
* Added the new delegate method, `floatingPanel(_:shouldAllowToScroll:in:)`.
## Improvements
* Enabled content scrolling in non-expanded states (#455)
## Bugfixes
* Fixed `CGFloat.rounded(by:)` for a floating point error
* Fixed scroll offset reset when moving in grabber area
* Fixed a panel not moving when picked up in certain area
* Fixed errors of offset value from a state position
Thank you to @FranckLetellier, @KirylBelasheuski for this release!
**The API document**: https://floatingpanel.github.io/2.8.0/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.7.0...2.8.0
This release has several improvements and behavior changes.
This also has changes to more consistently control scroll offset of its tracking scroll view.
## Behavior changes
* Calls the `floatingPanelDidMove` delegate method at the end of the move interaction.
* Calls the `floatingPanelDidEndDragging` delegate method after `FloatingPanelController.state` changes when `willAttract` is `false`.
* Sets `isAttracting` to `true` even when moving between states by `FloatingPanelController.move(to:animated:completion)` except for moves from/to `.hidden`.
* Do not reset the scroll offset of its tracking scroll view when a user moves a panel outside its scroll view or on the navigation bar above it.
## Improvements
* Added `FloatingPanelPanGestureRecognizer.delegateOrigin` to allow to access the default delegate implementations (It's useful when using `delegateProxy`).
## Bugfixes
* Retains scroll view position while moving between states (#587)
* Fixed invalid scroll offsets after moving between states
* Calls `floatingPanelWillRemove` delegate method when a panel is removed from a window
Thank you to @fawzirifai for this release!
**The API document**: https://floatingpanel.github.io/2.7.0/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.6.6…2.7.0
This release addresses a scroll offset issue of the tracking scroll view present since v2.6.2.
If you're using the library version v2.6.2 or later, I recommend upgrading to this verison.
## Bugfixes
* Fix scroll tracking issues of the scroll view with a positive scroll inset (#602, #603)
Thank you to @artem-shmatkov and @Zeynal7 for this release!
**The API document**: https://floatingpanel.github.io/2.6.6/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.6.5...2.6.6
This release has a bug fix addressed a scroll tracking problem on an occasion in v2.6.4.
## Bugfixes
* Fix a scroll tracking problem caused by a floating point error
**The API document**: https://floatingpanel.github.io/2.6.5/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.6.4...2.6.5
This release primarily addresses the seamless scroll tracking issue. This is strongly recommended for upgrading from 2.6.3.
## Improvements
* Updated the logging implementation using unified logging system for Xcode 15.
## Bugfixes
* Fixed an issue where a tracking scroll content stops and the panel doesn't move. (#530)
Thank you to @karthuszY and @futuretap for this release!
**The API document**: https://floatingpanel.github.io/2.6.4/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.6.3...2.6.4
This release has several improvements and bug fixes.
This is strongly recommended as an upgrade from 2.6.2, which has a critical regression in scroll tracking.
## Improvements
* Updated the swizzling implementation in FloatingPanelController
* Add `.spi.yml` for [Swift Package Index](https://swiftpackageindex.com)
## Bugfixes
* [Revised] Fixed an issue scrolling jumps with a small scroll view content (#524)
* Fixed an issue where dismissalTapGestureRecognizer doesn't work in one case (#590)
* Fixed scrollview content staying non-interactive after slowly swiping down (#597)
Thank you to @CaramelHeaven and @sgade for this release!
**The API document**: https://floatingpanel.github.io/2.6.3/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.6.2...2.6.3
**NOTICE: This release is not recommended now. A critical regression of scroll tracking was founded in this release. So please use v2.6.1 or wait the next release.**
This release has some minor improvements and a bug fix to resolve an issue on the scroll view tracking.
~~If you have issues on the scroll view tracking, I'd recommend to try this version.~~
## Bugfixes
* Stop changing UIScrollView.bounces when locking or unlocking a scroll view (#524)
## Improvements
* Update README
* Remove the host app for the unit testing
* Remove testing targets in the Samples project
* Fixes GitHub CI issues in the unit testing (now using CircleCI partially)
Thank you to @iharandreyev for this release!
**The API document**: https://floatingpanel.github.io/2.6.2/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.6.1...2.6.2
This release has some bug fixes and a new API to opt-in the new behavior. Please try out the new API and give us your feedback.
## Experimental features
- Added `FloatingPanelController.followScrollViewBouncing()` (#525)
## Improvements
- ci: update workflow for macos-10.15 deprecation and Node.js 12 warnings
## Bugfixes
- Took care of an invalid bounding rectangle of PassthroughView in a screen rotation
- Fixed a laggy animation in Samples app
Thank you to @brightsider and @Dchahar for this release!
**The API document**: https://floatingpanel.github.io/v2.6.1/documentation/floatingpanel/
**Full Changelog**: https://github.com/scenee/FloatingPanel/compare/2.5.5...2.6.0