Skip to content

Releases: FigureTechnologies/gradle-semver-plugin

v2.0.1

16 Oct 19:25
d431764
Compare
Choose a tag to compare

Documentation

Detailed documentation of the plugin can be viewed at https://figuretechnologies.github.io/gradle-semver-plugin.

Important

Is is recommended to use v2.0.1 over v2.0.0 due to a critical bug fix for GitHub Actions.

Breaking changes since v1

  • Plugin id changed from com.figure.gradle.semver-plugin to just com.figure.gradle.semver
  • The version and version tag output have been moved from build/semver/version.txt to build/semver/semver.properties
  • Removed all tasks
    • currentSemver - just invoke ./gradlew on its own to see the version
    • generateVersionFile - done automatically now
    • createAndPushVersionTag - use other methods to create and push version tags

v1 Problems Addressed

  • Inability to build without initializing git repository
  • Inability to build when merging, rebasing, reverting, bisecting, cherry-picking, and being in detached head state
  • Incorrect version calculation in some scenarios (this may have happened when remote branch was deleted but building on local branch)
  • Inability to set alternate initial version (the option was there but it didn't work)
  • Inability to build without an initial tag

Features Added Since v1

  • Support for stages (rc, beta, stable, SNAPSHOT, etc.)
  • Support for specifying alternate development and main branch names
  • Branching strategy inference
  • Support for building with build metadata (appends current date and time to the version)
  • Zero config support (in most cases, there's no need to do anything but apply the plugin)
  • Complete documentation to explain how to use the included and optional gradle properties

What's Changed

📦 Dependency Updates

  • chore(deps): update dependency com.autonomousapps.dependency-analysis from 2.0.2 to 2.1.0 by @figure-renovate in #154

🐛 Bug Fixes

Full Changelog: v2.0.0...v2.0.1

v2.0.0

26 Sep 12:32
9e0a718
Compare
Choose a tag to compare

Documentation

Detailed documentation of the plugin can be viewed at https://figuretechnologies.github.io/gradle-semver-plugin

Breaking changes

  • Plugin id changed from com.figure.gradle.semver-plugin to just com.figure.gradle.semver
  • The version and version tag output have been moved from build/semver/version.txt to build/semver/semver.properties
  • Removed all tasks
    • currentSemver - just invoke ./gradlew on its own to see the version
    • generateVersionFile - done automatically now
    • createAndPushVersionTag - use other methods to create and push version tags

v1 Problems Addressed

  • Inability to build without initializing git repository
  • Inability to build when merging, rebasing, reverting, bisecting, cherry-picking, and being in detached head state
  • Incorrect version calculation in some scenarios (this may have happened when remote branch was deleted but building on local branch)
  • Inability to set alternate initial version (the option was there but it didn't work)
  • Inability to build without an initial tag

Features Added

  • Support for stages (rc, beta, stable, SNAPSHOT, etc.)
  • Support for specifying alternate development and main branch names
  • Branching strategy inference
  • Support for building with build metadata (appends current date and time to the version)
  • Zero config support (in most cases, there's no need to do anything but apply the plugin)
  • Complete documentation to explain how to use the included and optional gradle properties

Full Changelog: v1.10.0...v2.0.0

v1.10.0

25 Mar 16:06
db5b7f4
Compare
Choose a tag to compare

What's Changed

📦 Dependency Updates

  • fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin from 1.23.0 to 1.23.6 by @figure-renovate in #117
  • chore(deps): update dependency org.jetbrains.kotlin.jvm from 1.8.22 to 1.9.23 by @figure-renovate in #112
  • chore(deps): update dependency com.autonomousapps.dependency-analysis from 1.20.0 to 1.30.0 by @figure-renovate in #125
  • chore(deps): update gradle.plugin.publish from 1.2.0 to 1.2.1 by @figure-renovate in #122
  • chore(deps): update dependency com.figure.gradle.semver-plugin from 1.8.0 to 1.9.1 by @figure-renovate in #126
  • fix(deps): update kotest from 5.6.2 to 5.8.1 by @figure-renovate in #129
  • chore(deps): update actions/checkout action from v3 to v4 by @figure-renovate in #130
  • chore(deps): update actions/setup-java action from v3 to v4 - autoclosed by @figure-renovate in #131
  • chore(deps): update actions/upload-artifact action from v3 to v4 by @figure-renovate in #132
  • chore(deps): update release-drafter/release-drafter action from v5 to v6 by @figure-renovate in #133
  • chore(deps): update dependency com.github.breadmoirai.github-release from 2.4.1 to 2.5.2 by @figure-renovate in #127
  • fix(deps): update dependency org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin from 11.5.1 to v12 by @figure-renovate in #134
  • chore(deps): update gradle/gradle-build-action action from v2 to v3 by @figure-renovate in #135
  • fix(workflows): fix release workflow by @figure-renovate in #136

🪣 Other Changes

New Contributors

Full Changelog: v1.9.1...v1.10.0

v1.9.1

09 Aug 17:33
f91f428
Compare
Choose a tag to compare

What's Changed

🪣 Other Changes

Full Changelog: v1.9.0...v1.9.1

v1.9.0

08 Aug 19:14
56cff20
Compare
Choose a tag to compare

What's Changed

📦 Dependency Updates

  • Update dependency com.figure.gradle.semver-plugin from 1.5.0 to 1.8.0 by @figure-renovate in #111
  • Update dependency org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin from 11.4.2 to 11.5.1 by @figure-renovate in #113

🪣 Other Changes

Full Changelog: v1.7.0...v1.9.0

v1.8.0

01 Aug 21:09
89b9509
Compare
Choose a tag to compare

What's Changed

📦 Dependency Updates

  • Update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin from 1.22.0 to 1.23.0 by @figure-renovate in #109
  • Update dependency org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin from 11.3.2 to 11.4.2 by @figure-renovate in #110

Full Changelog: v1.6.0...v1.8.0

v1.6.0

28 Jun 17:14
fb6b10e
Compare
Choose a tag to compare

What's Changed

📦 Dependency Updates

  • Update dependency net.swiftzer.semver:semver from 1.2.0 to 1.3.0 by @figure-renovate in #107
  • Update kotest from 5.6.1 to 5.6.2 by @figure-renovate in #105
  • Update dependency com.figure.gradle.semver-plugin from 1.4.2 to 1.5.0 by @figure-renovate in #106
  • Update dependency org.jetbrains.kotlin.jvm from 1.8.21 to 1.8.22 by @figure-renovate in #108

Full Changelog: v1.5.0...v1.6.0

v1.5.0

12 May 19:29
0777107
Compare
Choose a tag to compare

What's Changed

📦 Dependency Updates

  • Update dependency com.autonomousapps.dependency-analysis from 1.19.0 to 1.20.0 by @figure-renovate in #98
  • Update dependency org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin from 11.3.1 to 11.3.2 by @figure-renovate in #97
  • Update dependency com.figure.gradle.semver-plugin from 1.3.1 to 1.4.2 by @figure-renovate in #99
  • Update EnricoMi/publish-unit-test-result-action action from v1 to v2 by @figure-renovate in #101
  • Update actions/upload-artifact action from v2 to v3 by @figure-renovate in #102

🪣 Other Changes

Full Changelog: v1.4.1...v1.5.0

v1.4.2

02 May 19:00
d7c962f
Compare
Choose a tag to compare

What's Changed

Nothing

Full Changelog: v1.4.1...v1.4.2

v1.4.1

01 May 21:15
d7c962f
Compare
Choose a tag to compare

What's Changed

📦 Dependency Updates

  • Update dependency org.jetbrains.kotlin.jvm from 1.8.10 to 1.8.21 by @figure-renovate in #91
  • Update kotest from 5.5.5 to 5.6.1 by @figure-renovate in #94
  • Update gradle-plugin-publish from 1.1.0 to 1.2.0 by @figure-renovate in #93

🪣 Other Changes

Full Changelog: v1.4.0...v1.4.1