1.0.0-beta04
SageDroid
released this
30 Mar 20:08
·
103 commits
to master
since this release
Changelog
This release contains some breacking changes, but these are necessary and in the interest of the long-term development of the library. This is probably one of the last beta releases before the release of the stable version.
All
- New
com.conena.nanokt.annotations.ExperimentalNanoKtApi
annotates experimental functions across all artifacts
nanokt
- [Breaking] Removed
MutableCollection.removeIfCompat
in favor ofMutableIterable.removeAll
from the standard library - [Breaking] Changed
MutableCollection.removeIfAndGet
toMutableIterable.removeAllAndGet
to be consistent with the standard library - [Breaking] Renamed the parameter
value
toelement
in several functions to be consistent with the standard library - [Breaking] Aligned packaging to the standard library
- Added
MutableCollection.addNotNull
- Added
MutableCollection.addAllNotNull
- Added
MutableIterator.removeIf
- Added
Result.mapFailure
- Added
Result.component1
operator function - Added
Result.component2
operator function - Added experimental
Predicate
object
nanokt-jvm
- [Breaking] Aligned packaging to the standard library
nanokt-android
- [Breaking] Renamed the parameter
value
toelement
in several functions to be consistent with the standard library - [Breaking] Replaced
com.conena.nanokt.android.ExperimentalNanoKtAndroidApi
in favor ofcom.conena.nanokt.annotations.ExperimentalNanoKtApi
. - [Breaking] Fixed
DialogFragment.showIfStateIsNotSaved
if a FragmentManager was passed as argument and removed overloaded method with the FragmentTransaction as argument - Added
Service.stopForegroundCompat
- Added
Service.stopForegroundAndRemoveNotification
- Added
Service.stopForegroundAndDetachNotification
- Added
Activity.startActivity
(More efficient thanContext.startActivity
) - Added parameter
intentEditor
toContext.startActivity
to allow the modification of the launch intent