Skip to content

1.0.0-beta04

Compare
Choose a tag to compare
@SageDroid SageDroid released this 30 Mar 20:08
· 103 commits to master since this release
9b34e60

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 of MutableIterable.removeAll from the standard library
  • [Breaking] Changed MutableCollection.removeIfAndGet to MutableIterable.removeAllAndGet to be consistent with the standard library
  • [Breaking] Renamed the parameter value to element 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 to element in several functions to be consistent with the standard library
  • [Breaking] Replaced com.conena.nanokt.android.ExperimentalNanoKtAndroidApi in favor of com.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 than Context.startActivity)
  • Added parameter intentEditor to Context.startActivity to allow the modification of the launch intent