Skip to content

Releases: sbt/sbt-dynver

3.2.0

12 Feb 17:56
fa0c86d
Compare
Choose a tag to compare
  • Document dynverSonatypeSnapshots setting. #82 by @qingwei91
  • Make isVersionStable a SettingKey. #83
  • Document how to sanity check versions are derived from a tag. #86
  • Introduce dynverAssertTagVersion. #87
  • Add FAQ for skipping binary compatibility check for major version branches. #88 by @jatcwang

v3.1.0...v3.2.0

3.1.0

12 Sep 09:33
81864b1
Compare
Choose a tag to compare

Improvements

  • Faster way to count git commits #74 by @agemooij
  • Count commits when no tags are present #72 by @raboof
  • Add a new key 'previousStableVersion' which detects the last version #50 by @jatcwang

v3.0.0...v3.1.0

3.0.0

16 Mar 17:13
v3.0.0
a302a7c
Compare
Choose a tag to compare

Breaking Changes

Tweak version to make it compatible with ivy2/maven wildcard patterns

Prior to this change, the first "dirty" version (i.e with local, uncommitted changes) after a tag had the form 1.0.0+20140707-1030 (tag version + timestamp), while the version on the first commit after a tag was 1.0.0+1-1234abcd (tag version + commit distance + commit sha). This meant that a version specified like "1.0.0+" would select the older version over the newer one.

From version 3.0.0 onwards the first dirty version contains "+0" and the commit sha:
1.0.0+0-1234abcd-20140707-1030.

#52/#63 by @leonardehrenfried

Thank you @leonardehrenfried! But also @lokkju reporting the issue, and @raboof and @laughedelic
for helping in the review.

Improvements

  • Introduces dynverSonatypeSnapshots (disabled by default) which appends "-SNAPSHOT" to the version if isSnapshot is true (it's only false when on a tag with no local changes). This opt-in makes it easier to use sbt-dynver when publishing to Sonatype snapshots. #53/#64 by @leonardehrenfried

Thanks again @leonardehrenfried.

v2.1.0...v3.0.0

2.1.0

07 Feb 18:41
v2.1.0
e1e4542
Compare
Choose a tag to compare
  • Fixes dynver's behaviour when there are multiple builds (e.g with source dependencies). #57 by @jvican

v2.0.0...v2.1.0

2.0.0

07 Jul 09:18
v2.0.0
02b85d8
Compare
Choose a tag to compare

Breaking Changes

Change in isSnapshot - now only tagged versions are not snapshots

Previously, because sbt-dynver generates a unique, stable version for each commit from a
non-dirty repository, it set isSnapshot to false for this case. This made sense
since these versions are stable, immutable identifiers that can be relied upon, for example,
for caching, but did not correspond to the intuition of a 'snapshot' as an intermediate,
non-released version. From version 2.0.0 onwards, isSnapshot will only be false for tagged
releases, and the key isVersionStable can be used to determine whether the current version
is a stable identifier, as well as a migration aid to sbt-dynve 2.x. #23/#42 by @raboof

1.3.0

13 May 14:22
v1.3.0
dff7a6c
Compare
Choose a tag to compare

Improvements

  • Introduces GitRef.isTag & GitCommitSuffix.isEmpty utilities. #34 by @dwijnand
  • Cross builds against sbt 1.0.0-M5. #39 by @dwijnand

1.2.0

22 Feb 16:16
v1.2.0
Compare
Choose a tag to compare

Improvements

1.1.1

20 Nov 21:37
v1.1.1
668d7c9
Compare
Choose a tag to compare

Bug Fixes

  • Fixes a bug where git output on Windows threw a MatchError (CR+LF). #20/#21 by @dwijnand

1.1.0

19 Nov 19:32
v1.1.0
Compare
Choose a tag to compare

Improvements

  • Allows matching lightweight (aka non-annotated) tags (eg. git tag without the -a). #14/#15 by @2m
  • Reduced the number of git calls to 1. #11 by @dwijnand
  • Adds MiMa to verify binary compatibility, included in PR validation. #6/#8 by @dwijnand

Bug Fixes

  • Fixes a bug where major-only version tags weren't matched (eg. "v2"). #7/#15 by @2m

v1.0.0

30 Sep 08:47
v1.0.0
Compare
Choose a tag to compare
Version 1.0.0