Changelog
Updated
kotlin -> 1.8.0
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.4.0-alpha.4
Added
Version.isAlpha: Boolean
extension
Version.isNotAlpha: Boolean
extension
String.isAlpha: Boolean
extension
String.isNotAlpha: Boolean
extension
Version.isBeta: Boolean
extension
Version.isNotBeta: Boolean
extension
String.isBeta: Boolean
extension
String.isNotBeta: Boolean
extension
Version.isDev: Boolean
extension
Version.isNotDev: Boolean
extension
String.isDev: Boolean
extension
String.isNotDev: Boolean
extension
Version.isRC: Boolean
extension
Version.isNotRC: Boolean
extension
String.isRC: Boolean
extension
String.isNotRC: Boolean
extension
Version.isSnapshot: Boolean
extension
Version.isNotSnapshot: Boolean
extension
String.isSnapshot: Boolean
extension
String.isNotSnapshot: Boolean
extension
Changed
SNAPSHOT
is treated now as non-special stage (higher than rc
)
Removed
nextSnapshotMajor
function
nextSnapshotMinor
function
nextSnapshotPatch
function
Updated
gradle -> 7.6
com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.2.0-alpha.46
Updated
gradle -> 7.3.2
org.jetbrains.kotlin:kotlin-gradle-plugin -> 1.6.10
Fixed
num
is not being reset when number
is provided to inc
function
Updated
com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.24
io.kotest:kotest-assertions-core -> 5.0.2
io.kotest:kotest-property -> 5.0.1
gradle -> 7.3.1
Updated
io.kotest:kotest-assertions-core -> 5.0.0
com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.19
com.javiersc.run-blocking:suspend-test -> 0.1.0-beta.2
Changed
- artifact to
com.javiersc.semver:semver-core
- package structure to
com.javiersc.semver
Updated
com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.12
org.jetbrains.kotlin:kotlin-gradle-plugin -> 1.6.0
Removed
- support of versions with no patch
Updated
gradle -> 7.3
com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.8
org.jetbrains.kotlinx:binary-compatibility-validator -> 0.8.0
Changed
fun inc
accepts stageName
Removed
num
from Version.Increase
Added
- stage name support to
fun inc
fun nextSnapshotPatch
to get the next snapshot based on the patch
fun nextSnapshotMinor
to get the next snapshot based on the minor
fun nextSnapshotMajor
to get the next snapshot based on the major
Added
safe
functions to every type of invoke
function
Added
safe
function which returns Result<Version>
instead of crashing
Updated
com.javiersc.gradle-plugins:all-plugins -> 0.1.0-rc.4
Added
inc
function to increase the Version
copy
function to create a new Version
based on another one
Changed
SNAPSHOT
feature respects alphabetical order
Updated
com.javiersc.gradle-plugins:versioning -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:readme-badges -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:publish-kotlin-multiplatform -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:plugin-accessors -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:nexus -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:kotlin-multiplatform-no-android -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:docs -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:code-formatter -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:code-analysis -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:changelog -> 0.1.0-alpha.71
com.javiersc.gradle-plugins:all-projects -> 0.1.0-alpha.71
Added
SNAPSHOT
versions are higher than non-final versions if they have the same major
, minor
and
patch
Fixed
- versions with same
major
and minor
but with patch = null
compared to patch = 0
are not
equals
Changed
- override
toString
in both, Version
and Stage
Changed
- Version
value
visibility from private
to public
- Version
regex
visibility from private
to public
- Stage
regex
visibility from private
to public