v1.2.0 of otp contains no breaking changes, and is safe for all users to upgrade.
Changes since v1.1.0:
- Add Go modules related files https://github.com/pquerna/otp/pull/40
- Expose a new
.Secretfield on the{hotp,totp}.GenerateOptsstructs. This lets you import an existing secret instead of generating a new one. https://github.com/pquerna/otp/pull/42 - Internal change to use
base32.NoPaddingas an encoding rather than trimming the standard padding https://github.com/pquerna/otp/pull/41
Non-functional changes since v1.1.0:
- Upgrade Go versions tested in Travis CI https://github.com/pquerna/otp/pull/39