Releases: Mijick/Popups
4.0.1
What's Changed
- Update README by @FulcrumOne in #163
- Patch 4.0.1 by @FulcrumOne in #168
Full Changelog: 4.0.0...4.0.1
4.0.0
It's been a long journey!
We have just released the latest version of our library labelled as 4.0.0. The new number in front means that we unfortunately had to make some changes to the public API, for which we sincerely apologize. In the next section you will find migration tips to help you make the transition to the new version as painless as possible.
Migration Guide
- Overall: We decided to keep the language consistency, so we renamed all attributes and methods containing the word
Centre
toCenter
- Overall: We renamed
PopupManager
toPopupStack
and, respectively,PopupManagerID
toPopupStackID
- Popup Presentation: All the methods, i.e.
present()
,setCustomID()
,setEnvironmentObject()
anddismissAfter()
, are now asynchronous. This was motivated by the concern that popups should be called from the main thread - Popup Dismissal: All the methods, i.e.
dismissLastPopup()
,dismissPopup()
,dismissAllPopups()
, are now asynchronous. This was motivated by the concern that popups should be dismissed from the main thread
3.0.2
3.0.1
What's Changed
- Update README by @FulcrumOne in #151
- Patch 3.0.1 by @jay-jay-lama in #155
Full Changelog: 3.0.0...3.0.1
3.0.0
It's been a long journey!
We have just released the latest version of our library labelled as 3.0.0. The new number in front means that we unfortunately had to make some changes to the public API, for which we sincerely apologise. In the next section you will find migration tips to help you make the transition to the new version as painless as possible.
Migration Guide
- Package Name: We changed the library name from
MijickPopupView
toMijickPopups
- Setup: Method
implementPopupView()
has been renamed toregisterPopups()
- Popup:
createContent() -> some View
method has been deleted. Please declare the popup content withbody: some View
instead - Popup Declaration: The parameter of the method
configurePopup()
has been renamed frompopup
toconfig
- Popup Declaration: Methods
onDismiss()
andonFocus()
has been moved directly to thePopup
structure - Popup Presentation: The
showAndStack()
method was renamed topresent()
. The methodshowAndReplace()
has been removed - Popup Dismissal: Method
dismiss()
was renamed todismissLastPopup()
- Popup Customization: Minor changes have been made to the naming
Known issues
During the development process we unfortunately made a mistake and put all calculations in a single thread, which may (in very rare cases) cause minor lags (especially when using drag gesture). The problem will be fixed in the next version, which we plan to release in early November.
2.7.1
2.7.0
Full Changelog: 2.7.0...2.7.0
2.6.0
2.5.1
Full Changelog: 2.5.0...2.5.1