Releases: JavierSegoviaCordoba/kotlin-stdlib
Releases · JavierSegoviaCordoba/kotlin-stdlib
0.6.0
Changed
Numberassertions toComparableassertions
Updated
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.8.5
Added
assertTrueandassertFalseassertionsassertNotContainsassertionassertStartWithandassertEndWithassertionsassertGreaterThanandassertLessThanassertions forDurationassertContainsExactlyassertion
0.5.0
Added
Platformsealed APIcom.javiersc.kotlin:kotlin-testartifactAnyassertionsFileassertions (only JVM)IterableassertionsassertGreaterThanandassertLessThanassertionsStringassertions
Updated
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.8.4
0.4.0
Added
- WAsm JS browser support
- WAsm JS d8 support
- WAsm JS Node support
- WAsm WAsi support
Updated
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.8.3gradle -> 8.12.1
0.3.0
Changed
Validatorto be an interfaceValidatorScopetoRulesScopeRulesScopeto be an interface
Added
rulesFortoRulesScope
Removed
nameparameter inValidator
0.2.1
Added
String.Blank
Fixed
removeDuplicateEmptyLinesmove back to useStringendWithNewLinemove back to useString
0.2.0
Added
invalidIfIsBlankto Validate APIs- Validate APIs support specifying a generic error
- Nested validator:
validator(fooValidator, foo) - Nested validator:
foo.validatedBy(fooValidator) - Nested validator:
fooValidator.validatorFor(foo)
Removed
ValidatableListAPIsGraph::toGraphfunctionGraph::circularVertexesto beMap<T, List<Edge<T>>>
Updated
gradle -> 8.12com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.8.1
0.1.0
Changed
@Ignore*annotation use CamelCase in the target name@IgnoreDARWINto@IgnoreAPPLEemptyString()toString.Empty- Java support to Java 8
Added
- Validate Dsl
Eitherdata structureidentityfunctionFileScopeDSLT?.or(other: T): TT?.or(block: () -> T): TIterable<T>.sixth(): TIterable<T>.sixthOrNull(): T?Iterable<T>.seventh(): TIterable<T>.seventhOrNull(): T?Iterable<T>.eighth(): TIterable<T>.eighthOrNull(): T?Iterable<T>.ninth(): TIterable<T>.ninthOrNull(): T?Iterable<T>.tenth(): TIterable<T>.tenthOrNull(): T?Boolean.ifFalse(block: () -> Unit): BooleanBoolean.ifTrue(block: () -> Unit): BooleanT?.ifNotNull(block: () -> Unit): T?T?.ifNull(block: () -> Unit): T?Graphdata structureroot: TreeNode<T>toTreeNode<T>TreeNodedata structureString.removeIfresource(name: String): FilefunctionresourceOrNull(name: String): File?functionFile.children: Sequence<File>String.transformstringfunctionString.TRANSFORMSTRINGfunctionString.transformStringfunctionString.TransformStringfunctionString.transform_stringfunctionString.TRANSFORM_STRINGfunctionString.transform_hyphen_stringfunctionString.TRANSFORM_HYPHEN_STRINGfunctionString.tRaNsFoRmStRiNgfunctionString::capitalizeString::decapitalizekotlin-test-testngartifactkotlin-test-junitartifactkotlin-test-juni5artifactkotlin-testartifactString.replace(vararg oldToNewValues: Pair<String, String>): StringString.remove(vararg values: String): StringCharSequence.notContain: BooleanfunctionsList<String>.removeDuplicateEmptyLinesString.removeDuplicateEmptyLinesString.endWithNewLineemptyString()isNotNullNorBlank()andisNotNullNorEmpty()second(),third(),forth(),fifth()andpenultimate()OrNullvariants forsecond(),third(),forth(),fifth()andpenultimate()AnsiColorandString.ansiColor()String.remove
Removed
kotlin-testartifact
Updated
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.8.0gradle -> 8.11.1easimon/wipe-cache -> v2com.android.tools.build:gradle -> 7.3.0org.jetbrains.kotlin:kotlin-gradle-plugin -> 1.7.10org.jetbrains.kotlinx:binary-compatibility-validator -> 0.10.1org.jetbrains.kotlinx:kotlinx-coroutines-core -> 1.6.3com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.43io.kotest:kotest-assertions-core -> 5.3.0
Fixed
String.ansiColorfunction just color the first line in multiline stringscom.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.17
0.1.0-alpha.17
Updated
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.7.18gradle -> 8.10.2
0.1.0-alpha.16
[0.1.0-alpha.16] - 2024-02-13
Added
FileScopeDSLT?.or(other: T): TT?.or(block: () -> T): TIterable<T>.sixth(): TIterable<T>.sixthOrNull(): T?Iterable<T>.seventh(): TIterable<T>.seventhOrNull(): T?Iterable<T>.eighth(): TIterable<T>.eighthOrNull(): T?Iterable<T>.ninth(): TIterable<T>.ninthOrNull(): T?Iterable<T>.tenth(): TIterable<T>.tenthOrNull(): T?Boolean.ifFalse(block: () -> Unit): BooleanBoolean.ifTrue(block: () -> Unit): BooleanT?.ifNotNull(block: () -> Unit): T?T?.ifNull(block: () -> Unit): T?Graphdata structure
Updated
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.6.3gradle -> 8.6
0.1.0-alpha.15
Added
root: TreeNode<T>toTreeNode<T>
Updated
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.5.0-alpha.26