Skip to content

Releases: ajoberstar/reckon

0.7.0-rc.2

01 Jun 01:35
Compare
Choose a tag to compare
0.7.0-rc.2 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

0.7.0-rc.1

30 May 03:19
0cc8d77
Compare
Choose a tag to compare
0.7.0-rc.1 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

None

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7
9 4.2.1. through 4.7
10 4.2.1 through 4.7

0.6.0

21 Apr 15:07
Compare
Choose a tag to compare

This release introduces use of reckon.stage for snapshotFromProp() (deprecating reckon.snapshot) and fixing an issue with reckon in composite builds.

reckon.stage accepts snapshot and final when snapshotFromProp() is used.

Breaking Changes

None

Enhancements

  • #71 reckon.stage is now supported for snapshotFromProp() and reckon.snapshot is deprecated, to be removed in 1.0.0 (see #75).
  • #65 The inference algorithm has been documented by example.

Fixes

  • #74 Included builds in a composite build no longer respect the reckon.* properties. Only the main build will use them.

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7
9 4.2.1. through 4.7
10 4.2.1 through 4.7

0.6.0-rc.2

21 Apr 01:59
Compare
Choose a tag to compare
0.6.0-rc.2 Pre-release
Pre-release

This release introduces use of reckon.stage for snapshotFromProp() (deprecating reckon.snapshot) and fixing an issue with reckon in composite builds.

reckon.stage accepts snapshot and final when snapshotFromProp() is used.

Breaking Changes

None

Enhancements

  • #71 reckon.stage is now supported for snapshotFromProp() and reckon.snapshot is deprecated, to be removed in 1.0.0 (see #75).
  • #65 The inference algorithm has been documented by example.

Fixes

  • #74 Included builds in a composite build no longer respect the reckon.* properties. Only the main build will use them.

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7
9 4.2.1. through 4.7
10 4.1 through 4.7

0.6.0-rc.1

15 Apr 20:21
Compare
Choose a tag to compare
0.6.0-rc.1 Pre-release
Pre-release

This release introduces use of reckon.stage for snapshotFromProp() (deprecating reckon.snapshot) and fixing an issue with reckon in composite builds.

reckon.stage accepts snapshot and final when snapshotFromProp() is used.

Breaking Changes

None

Enhancements

  • #71 reckon.stage is now supported for snapshotFromProp() and reckon.snapshot is deprecated, to be removed in 1.0.0 (see #75).
  • #65 The inference algorithm has been documented by example.

Fixes

  • #74 Included builds in a composite build no longer respect the reckon.* properties. Only the main build will use them.

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7-rc-2
9 4.2.1. through 4.7-rc-2
10 4.1 through 4.7-rc-2

0.5.0

08 Apr 20:14
Compare
Choose a tag to compare

This release made some major improvements to handling of dirty repos and rebuild logic.

  • If a repo is dirty, it will never be considered a rebuild
  • If a repo is dirty, it will always result in the string "uncommitted" being in the build metadata (for stage pre-release users) or a SNAPSHOT (for snapshot pre-release users)
  • If a repo is clean and you provide no input, you will get a rebuild (assuming the HEAD is tagged)

Breaking Changes

  • #46 Reimplemented rebuild behavior
  • #67 Indicate uncommitted changes in version strings

Enhancements

None

Fixes

  • #68 Projects with no commits fail with IllegalArgumentException

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7-rc-1
9 4.2.1. through 4.7-rc-1
10 4.1 through 4.6

0.5.0-rc.2

08 Apr 20:04
Compare
Choose a tag to compare
0.5.0-rc.2 Pre-release
Pre-release

This release made some major improvements to handling of dirty repos and rebuild logic.

  • If a repo is dirty, it will never be considered a rebuild
  • If a repo is dirty, it will always result in the string "uncommitted" being in the build metadata (for stage pre-release users) or a SNAPSHOT (for snapshot pre-release users)
  • If a repo is clean and you provide no input, you will get a rebuild (assuming the HEAD is tagged)

Breaking Changes

  • #46 Reimplemented rebuild behavior
  • #67 Indicate uncommitted changes in version strings

Enhancements

None

Fixes

  • #68 Projects with no commits fail with IllegalArgumentException

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7-rc-1
9 4.2.1. through 4.7-rc-1
10 4.1 through 4.6

0.5.0-rc.1

08 Apr 19:55
Compare
Choose a tag to compare
0.5.0-rc.1 Pre-release
Pre-release

This release made some major improvements to handling of dirty repos and rebuild logic.

  • If a repo is dirty, it will never be considered a rebuild
  • If a repo is dirty, it will always result in the string "uncommitted" being in the build metadata (for stage pre-release users) or a SNAPSHOT (for snapshot pre-release users)
  • If a repo is clean and you provide no input, you will get a rebuild (assuming the HEAD is tagged)

Breaking Changes

  • #46 Reimplemented rebuild behavior
  • #67 Indicate uncommitted changes in version strings

Enhancements

None

Fixes

  • #68 Projects with no commits fail with IllegalArgumentException

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7-rc-1
9 4.2.1. through 4.7-rc-1
10 4.1 through 4.6

0.5.0-beta.1

07 Apr 23:23
Compare
Choose a tag to compare
0.5.0-beta.1 Pre-release
Pre-release

This release made some major improvements to handling of dirty repos and rebuild logic.

  • If a repo is dirty, it will never be considered a rebuild
  • If a repo is dirty, it will always result in the string "uncommitted" being in the build metadata (for stage pre-release users) or a SNAPSHOT (for snapshot pre-release users)
  • If a repo is clean and you provide no input, you will get a rebuild (assuming the HEAD is tagged)

Breaking Changes

  • #46 Reimplemented rebuild behavior
  • #67 Indicate uncommitted changes in version strings

Enhancements

None

Fixes

  • #68 Projects with no commits fail with IllegalArgumentException

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
8 3.0 through 4.7-rc-1
9 4.2.1. through 4.7-rc-1
10 4.1 through 4.6

0.4.0

28 Feb 01:10
Compare
Choose a tag to compare

This release makes some documentation improvements and makes a couple improvements to user input.

Breaking Changes

None

Enhancements

  • #57 Improved error message when an invalid scope is provided
  • #60 Allow empty strings to be provided as a stage. These will be treated as if none was provided, rather than as a literal empty string value to be validated against the possible stage names.

Fixes

None

Deprecations

None

Compatibility

Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1. 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2, 4.2.1, 4.3, 4.3.1, 4.4, 4.4.1, 4.5, 4.5.1