Skip to content

Releases: allegro/axion-release-plugin

v1.18.2

17 Jul 13:45
a7ca32f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.18.1...v1.18.2

v1.18.1

16 Jul 19:56
24edffa
Compare
Choose a tag to compare

New behavior

From now on, on GitHub Workflows, you don't need to check out ref for axion-release-plugin to know what branch your build is being run on—it will be read from the GitHub workflow environment variable (GITHUB_HEAD_REF).

steps:
  - uses: actions/checkout@v4
    with:
      fetch-depth: 0
-     ref: ${{ github.head_ref }}

What's Changed

Dependencies

New Contributors

Full Changelog: v1.18.0...v1.18.1

v1.18.0

05 Jul 10:18
c4b95c7
Compare
Choose a tag to compare

What's Changed

#772

This release addresses a common issue with code collaboration using this plugin, particularly when multiple feature branches are being developed simultaneously from the same HEAD.

Problem

Until now, the plugin used a SIMPLE version creator by default, which did not decorate version in any way.

This default setting led to the following issues:

  • Both feature branches would generate the same version (e.g., v0.0.1-SNAPSHOT).
  • During publication, this resulted in overridden snapshots, as Maven allows overwriting SNAPSHOT versions.

Solution

This release changes the default versionCreator to VERSION_WITH_BRANCH.

The new behavior includes:

  • Appending the branch name to the version (e.g., v0.0.1-my-branch-name-SNAPSHOT).
  • Falling back to the SIMPLE version creator for detached HEAD checkouts, maintaining the old behavior in such cases.

Breaking change

  • Versions will now include the branch name, preventing the override of snapshots across different branches.

Migration Guide

To continue using the SIMPLE version creator, update your plugin configuration as follows:

scmVersion {
    versionCreator('simple')
}

Additional changes

  • improve ci_servers.md GitLab CI branch override by @doofy in #760
  • Use forUseAtConfigurationTime only for lower Gradle versions by @kkocel in #765

Dependencies

  • Bump mkdocs-material from 9.5.20 to 9.5.25 by @dependabot in #763
  • Bump org.objenesis:objenesis from 3.3 to 3.4 by @dependabot in #753
  • Bump pl.allegro.tech.build.axion-release from 1.17.1 to 1.17.2 by @dependabot in #752
  • Bump org.apache.sshd:sshd-git from 2.12.1 to 2.13.1 by @dependabot in #771
  • Bump mkdocs-material from 9.5.25 to 9.5.27 by @dependabot in #769
  • Bump org.apache.sshd:sshd-core from 2.12.1 to 2.13.1 by @dependabot in #770
  • Bump com.github.mwiede:jsch from 0.2.17 to 0.2.18 by @dependabot in #766
  • Bump jgitVersion from 6.9.0.202403050737-r to 6.10.0.202406032230-r by @dependabot in #768

New Contributors

Full Changelog: v1.17.2...v1.18.0

v1.17.2

30 Apr 08:47
d4fff1e
Compare
Choose a tag to compare

What's Changed

  • output released version in github actions environement by @bgalek in #737

Dependencies

  • Bump pl.allegro.tech.build.axion-release from 1.17.0 to 1.17.1 by @dependabot in #748
  • Bump mkdocs-material from 9.5.18 to 9.5.20 by @dependabot in #747

Full Changelog: v1.17.1...v1.17.2

v1.17.1

23 Apr 21:12
51c4b80
Compare
Choose a tag to compare

What's Changed

Introducing overridenIsClean flag.

New Contributors

Dependabot

  • Bump mkdocs-material from 9.5.9 to 9.5.10 by @dependabot in #720
  • Bump gradle/wrapper-validation-action from 2 to 3 by @dependabot in #735
  • Bump mkdocs-material from 9.5.10 to 9.5.17 by @dependabot in #733
  • Bump com.kohlschutter.junixsocket:junixsocket-core from 2.8.3 to 2.9.1 by @dependabot in #732
  • Bump org.apache.sshd:sshd-core from 2.12.0 to 2.12.1 by @dependabot in #719
  • Bump org.ajoberstar.grgit:grgit-core from 4.1.0 to 5.2.2 by @dependabot in #717
  • Bump org.apache.sshd:sshd-git from 2.12.0 to 2.12.1 by @dependabot in #718
  • implement flag overridenIsClean by @balrok in #738
  • Bump mkdocs from 1.5.3 to 1.6.0 by @dependabot in #746
  • Bump com.github.mwiede:jsch from 0.2.16 to 0.2.17 by @dependabot in #743
  • Bump org.bouncycastle:bcprov-jdk18on from 1.77 to 1.78.1 by @dependabot in #742
  • Bump io.github.gradle-nexus.publish-plugin from 1.3.0 to 2.0.0 by @dependabot in #740
  • Bump mkdocs-material from 9.5.17 to 9.5.18 by @dependabot in #745
  • Bump jgitVersion from 6.8.0.202311291450-r to 6.9.0.202403050737-r by @dependabot in #741
  • Bump pl.allegro.tech.build.axion-release from 1.16.1 to 1.17.0 by @dependabot in #744

Full Changelog: v1.17.0...v1.17.1

v1.17.0

15 Feb 09:35
5ea55f7
Compare
Choose a tag to compare

Breaking change

axion-release-plugin now requires a minimum Gardle 7

What's Changed

This release drops Gradle 6 support since it was a blocker to allow this plugin to handle the newer encryptions for SSH like elliptic curves and other recent cipher suites. From now on, many connection issues should be resolved thank you @mc1arke!

  • Switch to a recent version of a supported Jsch fork by @mc1arke in #711

New Contributors

Dependencies

Full Changelog: v1.16.1...v1.17.0

v1.14.5

15 Feb 08:54
242f54c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.14.4...v1.14.5

v1.16.1

04 Dec 12:38
5472530
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.16.0...v1.16.1

v1.16.0

28 Nov 14:36
d60d084
Compare
Choose a tag to compare

Major release

To fix gradle configuration cache problems @SmialyKot changed the default SystemReader behavior - and from now on, we won't use system config by default. We tested it in multiple cases and should mostly work, but this can break things, so please file an issue if this occurs.

What's Changed

  • Fix #387 - prevent JGit from accessing system config to support Gradle configuration cache by @SmialyKot in #683

Dependencies:

New Contributors

Full Changelog: v1.15.5...v1.16.0

v1.15.5

26 Sep 19:13
6068db4
Compare
Choose a tag to compare

What's Changed

  • monorepo settings renamed to monorepo by @bgalek in #661
  • Add dependency dirs for monorepo config by @shashken in #647
  • Make docs more detailed about main branch support by @rafalh in #648

Dependabot

Full Changelog: v1.15.4...v1.15.5