0.10.0
Some nullsafety improvements, type fixes and a lot of new Kotlin 1.4 extensions
-
#141 Fix:
requireNoNulls()now convertsT?toT -
1df6e1a Fix:
.dartand.iteronIterable<T>now work for all types not only ifT implements Comparable -
f43cbc5 Fix:
*NotNullmethods now return non-nullable types -
b727893 Fix: The hashcode of all collections doesn't get cached anymore. That caused problems when mutable items in a
KtListchanged. TheequalsandhashCodemethods now always change together. -
#141 Improve:
KtIterable.onEachcan now be chained -
#141 New:
KtIterable.cast()to manually cast values -
#141 New:
KtIterable.onEachIndexed -
#163 New:
KtIterable.shuffled() -
#166 New:
KtIterable.reduceOrNull() -
#169 New:
KtMutableList.removeFirst()KtMutableList.removeLast() -
#173 New:
KtMutableList.removeFirstOrNull()KtMutableList.removeLastOrNull() -
#171 New:
KtIterable.minOf() -
#165 New:
String.replaceFirstChar() -
#170 New:
KtIterable.minOrNull(),KtIterable.maxOrNull(), deprecatesKtIterable.min(),KtIterable.max(), -
#174 New:
KtIterable.runningReduce() -
#177 New:
KtCollection.randomOrNull() -
#178 New:
KtIterable.flatMapIndexed,KtIterable.flatMapIndexedTo
Thanks to the #hacktoberfest contributors @Anas35, @robiness, @MatthaiosSait, @Dev-dfm, @marciokuroki, @Rishabh-Negi