Skip to content

Releases: kfitzgerald/base-id

Added base62p for leading zero preservation

19 Jan 01:33
Compare
Choose a tag to compare

Added alternate base62p class for leading zero byte preservation using base62 encoding (magic byte method)

Closes #16 - Thanks @Ronan-H !

v3.1.0

19 Mar 22:22
Compare
Choose a tag to compare

Added support for later MongoDB drivers

MongoDB changed their ObjectID class to ObjectId, so additional checks were added to support either class name.

v3.0.0

19 Mar 22:20
Compare
Choose a tag to compare

Replaced BigNum dependency with native BigInt type

Released Feb 8, 2021

v2.2.0

23 Jan 21:44
Compare
Choose a tag to compare

Updated dependencies

v2.1.0

09 Apr 18:34
Compare
Choose a tag to compare
  • Fixed base.bytesToHex(bytes) not always prefixing individual hex values with 0

v2.0.0

11 Mar 05:06
Compare
Choose a tag to compare

Refactor for ES6 + proper testing and coverage

  • General refactoring (let/const, ===, etc)
  • Replaced prototypical classes with real ES6 classes
  • Removed binaryToHex
  • Removed hexToBinary
  • Updated BigNum to 0.13, and dev dependencies to latest
  • Added additional unit tests for coverage
  • Added eslint for code quality checks
  • Updated Travis for modern nodejs LTS releases
  • Updated docs

v0.1.1

02 Dec 16:47
Compare
Choose a tag to compare
  • Updated bignum dependency (#1)

v0.1.0

02 Dec 16:46
Compare
Choose a tag to compare

Initial release