semver
semver copied to clipboard
Kotlin data class for Semantic Versioning 2.0.0 specification (SemVer)
`SemVer(1, 2, 3).copy(preRelease = "")` will throw an Exception.. seems a bit unreasonable? how about `if (!preRelease.isNullOrBlank()) require(preRelease.matches(Regex("""[\dA-z\-]+(?:\.[\dA-z\-]+)*"""))) { "Pre-release version is not valid" }`
Works as a multiplatform implementation with trivial modifications ;)
Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README. Below are docs for integrating FOSSA license checks...
Bumps com.gradle.enterprise from 3.16.2 to 3.17. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps [io.gitlab.arturbosch.detekt](https://github.com/detekt/detekt) from 1.23.5 to 1.23.6. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: #...
Bumps `kotest` from 5.8.0 to 5.8.1. Updates `io.kotest:kotest-assertions-core` from 5.8.0 to 5.8.1 Release notes Sourced from io.kotest:kotest-assertions-core's releases. v5.8.1 What's Changed Update dependency io.github.classgraph:classgraph to v4.8.164 by @renovate in kotest/kotest#3751...
Bumps `kotlin` from 1.9.22 to 1.9.23. Updates `org.jetbrains.kotlin.multiplatform` from 1.9.22 to 1.9.23 Release notes Sourced from org.jetbrains.kotlin.multiplatform's releases. Kotlin 1.9.23 1.9.23 Apple Ecosystem KT-65542 Cinterop tasks fails if Xcode 15.3...
Bumps [org.jetbrains.dokka](https://github.com/Kotlin/dokka) from 1.9.10 to 1.9.20. Release notes Sourced from org.jetbrains.dokka's releases. 1.9.20 General bugfixes Fixed sealed interfaces not having the sealed keyword in signatures (Kotlin/dokka#2994) Fixed incorrect links in...
Addressed from #19.