Skip to content

Releases: ajoberstar/reckon

0.11.0

03 Jun 03:10
Compare
Choose a tag to compare

A small change to allow pre-release versions to be built from a tagged final version. For example, if the current HEAD is tagged as 1.0.0 you previously could only rebuild 1.0.0 or release another final version like 1.0.1. Now you can release 1.0.1-SNAPSHOT or 1.1.0-rc.1.

Breaking Changes

None

Enhancements

  • Allow pre-releases to be built from a tagged final version.

Fixes

None

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.10.3, 5.0, 5.4.1
11 5.0, 5.4.1

0.11.0-rc.1

03 Jun 03:08
Compare
Choose a tag to compare
0.11.0-rc.1 Pre-release
Pre-release

A small change to allow pre-release versions to be built from a tagged final version. For example, if the current HEAD is tagged as 1.0.0 you previously could only rebuild 1.0.0 or release another final version like 1.0.1. Now you can release 1.0.1-SNAPSHOT or 1.1.0-rc.1.

Breaking Changes

None

Enhancements

  • Allow pre-releases to be built from a tagged final version.

Fixes

None

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.10.3, 5.0, 5.4.1
11 5.0, 5.4.1

0.10.0

11 May 23:59
72219be
Compare
Choose a tag to compare

This release is mainly to fix an issue with rebuilding an older version. However, there's also a change to more strictly enforce that history must contain contiguous versions.

Breaking Changes

  • Reckoner now fails if the base normal and base version are more than 1 major/minor/increment apart (related to #102).

Enhancements

None

Fixes

  • #108 Rebuilding an older tag could fail if the next highest minor is already released

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.10.3, 5.0, 5.4.1
11 5.0, 5.4.1

0.10.0-rc.1

11 May 23:48
72219be
Compare
Choose a tag to compare
0.10.0-rc.1 Pre-release
Pre-release

This release is mainly to fix an issue with rebuilding an older version. However, there's also a change to more strictly enforce that history must contain contiguous versions.

Breaking Changes

  • Reckoner now fails if the base normal and base version are more than 1 major/minor/increment apart (related to #102).

Enhancements

None

Fixes

  • #108 Rebuilding an older tag could fail if the next highest minor is already released

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.10.3, 5.0, 5.4.1
11 5.0, 5.4.1

0.9.0

19 Nov 00:11
Compare
Choose a tag to compare

This is a breaking release to get to Grgit 3. Other than grgit's breaking changes everything else is staying the same.

Breaking Changes

  • Upgrade to grgit 3 for Gradle 5 support

Enhancements

None

Fixes

None

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.10.2, 5.0-rc-3
9 4.2.1, 4.10.2, 5.0-rc-3
10 4.2.1, 4.10.2, 5.0-rc-3

0.9.0-rc.1

19 Nov 00:04
Compare
Choose a tag to compare
0.9.0-rc.1 Pre-release
Pre-release

This is a breaking release to get to Grgit 3. Other than grgit's breaking changes everything else is staying the same.

Breaking Changes

  • Upgrade to grgit 3 for Gradle 5 support

Enhancements

None

Fixes

None

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.10.2, 5.0-rc-3
9 4.2.1, 4.10.2, 5.0-rc-3
10 4.2.1, 4.10.2, 5.0-rc-3

0.8.0

04 Jul 18:42
96c3360
Compare
Choose a tag to compare

This is a feature release to clean up some details of the build metadata and handling of snapshots.

Breaking Changes

  • #86 For clean repos, build metadata uses an abbreviated hash instead of the full hash.
  • #90 For unclean repos, build metadata uses a UTC timestamp instead of <hash>.uncommitted.
  • Reckoner$Builder#stages no longer accepts snapshot as an input. stages and snapshot are mutually exclusive options.
  • Stage names provided to stages or returned from your stageCalc are lowercased for consistency.

Enhancements

  • #83 Task names are now available as public constants in ReckonPlugin.

Fixes

  • #85 Snapshots will no longer trigger "Cannot release final or significant from dirty repo" errors.

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.9-rc-1
9 4.2.1, 4.9-rc-1
10 4.2.1, 4.9-rc-1

0.8.0-rc.1

04 Jul 18:41
96c3360
Compare
Choose a tag to compare
0.8.0-rc.1 Pre-release
Pre-release

This is a feature release to clean up some details of the build metadata and handling of snapshots.

Breaking Changes

  • #86 For clean repos, build metadata uses an abbreviated hash instead of the full hash.
  • #90 For unclean repos, build metadata uses a UTC timestamp instead of <hash>.uncommitted.
  • Reckoner$Builder#stages no longer accepts snapshot as an input. stages and snapshot are mutually exclusive options.
  • Stage names provided to stages or returned from your stageCalc are lowercased for consistency.

Enhancements

  • #83 Task names are now available as public constants in ReckonPlugin.

Fixes

  • #85 Snapshots will no longer trigger "Cannot release final or significant from dirty repo" errors.

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.9-rc-1
9 4.2.1, 4.9-rc-1
10 4.2.1, 4.9-rc-1

0.7.0

02 Jun 01:04
Compare
Choose a tag to compare

This release does some syntax cleanup and provides some improvements to building historical commits.

Syntax changes from:

reckon {
  normal = scopeFromProp()
  preRelease = stageFromProp('beta', 'rc', 'final')
}

To:

reckon {
  scopeFromProp()
  stageFromProp('beta', 'rc', 'final')
}

The old syntax will continue to be available until 1.0.0, but will generate a deprecation message.

Breaking Changes

  • If you used reckon { vcs = <whatever> } to provide your own VcsInventorySupplier, that will no longer work.
  • If you were directly using reckon-core, a lot of formerly public APIs changed there. I wouldn't consider the core JAR to be terribly stable. The Gradle plugin should hopefully stay pretty stable.

Enhancements

  • #78 Historical commits can now be built (as long as it's either an insignificant version or a rebuild of a tagged version) without an error about the target normal being claimed.
  • org.ajoberstar.grgit is now applied by default, you don't need to apply this yourself

Fixes

  • Publish static versions in POM file on Gradle Plugin Portal

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.8.3
9 4.2.1, 4.8.3
10 4.2.1, 4.8.3

0.7.0-rc.3

01 Jun 01:47
Compare
Choose a tag to compare
0.7.0-rc.3 Pre-release
Pre-release

This release does some syntax cleanup and provides some improvements to building historical commits.

Syntax changes from:

reckon {
  normal = scopeFromProp()
  preRelease = stageFromProp('beta', 'rc', 'final')
}

To:

reckon {
  scopeFromProp()
  stageFromProp('beta', 'rc', 'final')
}

The old syntax will continue to be available until 1.0.0, but will generate a deprecation message.

Breaking Changes

  • If you used reckon { vcs = <whatever> } to provide your own VcsInventorySupplier, that will no longer work.
  • If you were directly using reckon-core, a lot of formerly public APIs changed there. I wouldn't consider the core JAR to be terribly stable. The Gradle plugin should hopefully stay pretty stable.

Enhancements

  • #78 Historical commits can now be built (as long as it's either an insignificant version or a rebuild of a tagged version) without an error about the target normal being claimed.
  • org.ajoberstar.grgit is now applied by default, you don't need to apply this yourself

Fixes

  • Publish static versions in POM file on Gradle Plugin Portal

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.8.3
9 4.2.1, 4.8.3
10 4.2.1, 4.8.3