Skip to content
Gerald Yeo edited this page Apr 9, 2017 · 14 revisions

v4.0.0 (feature/4.0.0)

  • code
    • abstracted out functions
    • maintain both class based and functional based contracts
    • introduced SHA-256 and SHA-512 support for TOTP
    • import path for dependents changed. instead of otplib/lib/classes/..., it's otplib/classes/...
    • ES6 and babel transpiled. Therefore require('otplib).default` is needed at the moment.
  • tests
    • checked against RFC 4226 sample vectors
    • checked against RFC 6238 sample vectors
    • added coverage reporting
    • brought up coverage to > 90%
  • devops
    • switched to yarn
    • normalised deployment process my other packages
    • moved over to Circle CI
    • added coveralls support
  • chore
    • updated package dependencies
    • updated docs

v3.0.0

  • (refactored) functions to ES6 classes
  • (changed) API naming standard
  • (updated) documentation coverage
  • (published) documentation site
  • (updated) secret generation to use the crypto module
  • (note) Legacy support for v2.x.x via v2 adapter

v2.0.0

  • (changed) API
    • otplib.google.encode
    • otplib.google.decode
  • otplib.core.secret.generate
  • (updated) thirty-two version
  • (added) browserified version
  • (removed) Grunt (Preference for npm run)
  • (added) some test

v1.1.2

  • (fix) Bug in string to hex conversion resulting in failed Google Apps Code Generation

v1.1.1

  • (fix) Bug in decoding (uppercase) resulting in unsync tokens +
  • (fix) errors highlighted by jshint

v1.1.0

  • (added) check function to core
  • (updated) readme

v1.0.0

  • (note) Stable Release

v0.0.3

  • (note) bumped version to publish

v0.0.2

  • (updated) API movement

v0.0.1

  • (note) First Prototype
Clone this wiki locally