Skip to content

v1.0.0 - The big 1.0

Latest

Choose a tag to compare

@jchambers jchambers released this 18 Aug 14:37
· 4 commits to main since this release

java-otp has been around and stable for a while, and it's time to tag and release 1.0.0. This is largely a ceremonial release, but it does include some important changes:

  • HmacOneTimePasswordGenerator and TimeBasedOneTimePasswordGenerator now have methods for validating user-supplied one-time passwords
  • One-time password generators now operate on SecretKey instances rather than the more general Key, which encompasses types of keys that aren't appropriate for HOTP/TOTP
  • UncheckedNoSuchAlgorithmException has been removed, but constructors have been streamlined a bit some common cases still don't throw checked exceptions. Where unavoidable, constructors may now throw NoSuchAlgorithmException.
  • The build/release process is now largely automated, which should make future releases easier and more repeatable

Please note that this release does include breaking changes (as described above). As part of the 1.0.0 release, we'll commit to semantic versioning for all future releases.

For a complete list of changes, please see java-otp-0.4.0...java-otp-1.0.0.