Skip to content

Releases: JavierSegoviaCordoba/kotlin-stdlib

0.3.0

11 Jan 13:15
Compare
Choose a tag to compare

Changed

  • Validator to be an interface
  • ValidatorScope to RulesScope
  • RulesScope to be an interface

Added

  • rulesFor to RulesScope

Removed

  • name parameter in Validator

0.2.1

10 Jan 13:04
Compare
Choose a tag to compare

Added

  • String.Blank

Fixed

  • removeDuplicateEmptyLines move back to use String
  • endWithNewLine move back to use String

0.2.0

10 Jan 00:37
Compare
Choose a tag to compare

Added

  • invalidIfIsBlank to 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

  • ValidatableList APIs
  • Graph::toGraph function
  • Graph::circularVertexes to be Map<T, List<Edge<T>>>

Updated

  • gradle -> 8.12
  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.8.1

0.1.0

28 Nov 19:26
Compare
Choose a tag to compare

Changed

  • @Ignore* annotation use CamelCase in the target name
  • @IgnoreDARWIN to @IgnoreAPPLE
  • emptyString() to String.Empty
  • Java support to Java 8

Added

  • Validate Dsl
  • Either data structure
  • identity function
  • FileScope DSL
  • T?.or(other: T): T
  • T?.or(block: () -> T): T
  • Iterable<T>.sixth(): T
  • Iterable<T>.sixthOrNull(): T?
  • Iterable<T>.seventh(): T
  • Iterable<T>.seventhOrNull(): T?
  • Iterable<T>.eighth(): T
  • Iterable<T>.eighthOrNull(): T?
  • Iterable<T>.ninth(): T
  • Iterable<T>.ninthOrNull(): T?
  • Iterable<T>.tenth(): T
  • Iterable<T>.tenthOrNull(): T?
  • Boolean.ifFalse(block: () -> Unit): Boolean
  • Boolean.ifTrue(block: () -> Unit): Boolean
  • T?.ifNotNull(block: () -> Unit): T?
  • T?.ifNull(block: () -> Unit): T?
  • Graph data structure
  • root: TreeNode<T> to TreeNode<T>
  • TreeNode data structure
  • String.removeIf
  • resource(name: String): File function
  • resourceOrNull(name: String): File? function
  • File.children: Sequence<File>
  • String.transformstring function
  • String.TRANSFORMSTRING function
  • String.transformString function
  • String.TransformString function
  • String.transform_string function
  • String.TRANSFORM_STRING function
  • String.transform_hyphen_string function
  • String.TRANSFORM_HYPHEN_STRING function
  • String.tRaNsFoRmStRiNg function
  • String::capitalize
  • String::decapitalize
  • kotlin-test-testng artifact
  • kotlin-test-junit artifact
  • kotlin-test-juni5 artifact
  • kotlin-test artifact
  • String.replace(vararg oldToNewValues: Pair<String, String>): String
  • String.remove(vararg values: String): String
  • CharSequence.notContain: Boolean functions
  • List<String>.removeDuplicateEmptyLines
  • String.removeDuplicateEmptyLines
  • String.endWithNewLine
  • emptyString()
  • isNotNullNorBlank() and isNotNullNorEmpty()
  • second(), third(), forth(), fifth() and penultimate()
  • OrNull variants for second(), third(), forth(), fifth() and penultimate()
  • AnsiColor and String.ansiColor()
  • String.remove

Removed

  • kotlin-test artifact

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.8.0
  • gradle -> 8.11.1
  • easimon/wipe-cache -> v2
  • com.android.tools.build:gradle -> 7.3.0
  • org.jetbrains.kotlin:kotlin-gradle-plugin -> 1.7.10
  • org.jetbrains.kotlinx:binary-compatibility-validator -> 0.10.1
  • org.jetbrains.kotlinx:kotlinx-coroutines-core -> 1.6.3
  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.43
  • io.kotest:kotest-assertions-core -> 5.3.0

Fixed

  • String.ansiColor function just color the first line in multiline strings
  • com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.17

0.1.0-alpha.17

26 Oct 14:54
Compare
Choose a tag to compare
0.1.0-alpha.17 Pre-release
Pre-release

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.7.18
  • gradle -> 8.10.2

0.1.0-alpha.16

13 Feb 22:40
Compare
Choose a tag to compare
0.1.0-alpha.16 Pre-release
Pre-release

[0.1.0-alpha.16] - 2024-02-13

Added

  • FileScope DSL
  • T?.or(other: T): T
  • T?.or(block: () -> T): T
  • Iterable<T>.sixth(): T
  • Iterable<T>.sixthOrNull(): T?
  • Iterable<T>.seventh(): T
  • Iterable<T>.seventhOrNull(): T?
  • Iterable<T>.eighth(): T
  • Iterable<T>.eighthOrNull(): T?
  • Iterable<T>.ninth(): T
  • Iterable<T>.ninthOrNull(): T?
  • Iterable<T>.tenth(): T
  • Iterable<T>.tenthOrNull(): T?
  • Boolean.ifFalse(block: () -> Unit): Boolean
  • Boolean.ifTrue(block: () -> Unit): Boolean
  • T?.ifNotNull(block: () -> Unit): T?
  • T?.ifNull(block: () -> Unit): T?
  • Graph data structure

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.6.3
  • gradle -> 8.6

0.1.0-alpha.15

05 Jun 18:17
Compare
Choose a tag to compare
0.1.0-alpha.15 Pre-release
Pre-release

Added

  • root: TreeNode<T> to TreeNode<T>

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.5.0-alpha.26

0.1.0-alpha.14

02 Jun 18:45
Compare
Choose a tag to compare
0.1.0-alpha.14 Pre-release
Pre-release

Added

  • TreeNode data structure
  • String.removeIf

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.5.0-alpha.24
  • gradle -> 8.1.1

0.1.0-alpha.13

17 Apr 15:35
Compare
Choose a tag to compare
0.1.0-alpha.13 Pre-release
Pre-release

Changed

  • @Ignore* annotation use CamelCase in the target name
  • @IgnoreDARWIN to @IgnoreAPPLE

Updated

  • gradle -> 8.1
  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.5.0-alpha.8
  • easimon/wipe-cache -> v2

Added

  • resource(name: String): File function
  • resourceOrNull(name: String): File? function
  • File.children: Sequence<File>
  • String.transformstring function
  • String.TRANSFORMSTRING function
  • String.transformString function
  • String.TransformString function
  • String.transform_string function
  • String.TRANSFORM_STRING function
  • String.transform_hyphen_string function
  • String.TRANSFORM_HYPHEN_STRING function
  • String.tRaNsFoRmStRiNg function

0.1.0-alpha.12

18 Oct 11:26
Compare
Choose a tag to compare
0.1.0-alpha.12 Pre-release
Pre-release

Added

  • String::capitalize
  • String::decapitalize

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.2.0-alpha.42
  • com.android.tools.build:gradle -> 7.3.0
  • gradle -> 7.5.1