Skip to content

Releases: runk/mmdb-lib

v3.0.1

17 Jun 23:10
d10c472
Compare
Choose a tag to compare

3.0.1 (2025-06-17)

Bug Fixes

  • decoder: handle mmdb files above 2.1GB (20daf49)
  • Fix string decoding in large mmdb files (d10c472)
  • general: use constant 2^31 limit for better readability (bd6ff13)
  • tests: add decoder tests to handle decoding strings at large offsets (2d22ffa)

v3.0.0

03 May 22:53
153def4
Compare
Choose a tag to compare

3.0.0 (2025-05-03)

Features

  • uint64 and uint128 now decode to BigInts (a109747)

BREAKING CHANGES

  • Values stored in the database as a 64 bit or 128 bit
    unsigned integer will now be decoded to a BigInt. Previously, they
    would be decode to a number if they were less than 281,474,976,710,656
    and a string otherwise.

v2.2.1

02 May 01:57
ae84e9e
Compare
Choose a tag to compare

2.2.1 (2025-05-02)

Bug Fixes

  • correct handling of large uints (293091e)

v2.2.0

29 Apr 23:18
0a287f2
Compare
Choose a tag to compare

2.2.0 (2025-04-29)

Features

v2.1.1

29 May 01:36
1dec2e7
Compare
Choose a tag to compare

2.1.1 (2024-05-29)

Bug Fixes

  • Warning on assert import in browser env (c65e99b)

v2.1.0

04 Dec 23:19
3f1c943
Compare
Choose a tag to compare

2.1.0 (2023-12-04)

Features

  • add /traits/is_anycast prop definition (c547d36)

v2.0.2

03 Feb 04:02
Compare
Choose a tag to compare

2.0.2 (2022-02-03)

Bug Fixes

  • Address issues around utf8 string slicing (9bf3d24)

v2.0.1

07 Jan 05:44
Compare
Choose a tag to compare

2.0.1 (2022-01-07)

Bug Fixes

v2.0.0

07 Jan 05:28
71971dd
Compare
Choose a tag to compare

2.0.0 (2022-01-07)

Bug Fixes

Features

  • make Reader a named export (4ef00ff)

BREAKING CHANGES

  • Reader class is no longer a default export:
- import Reader from 'mmdb-lib';
+ import { Reader } from 'mmdb-lib';

const reader = new Reader<CityResponse>(db);

v1.4.0

07 Jan 03:08
Compare
Choose a tag to compare

1.4.0 (2022-01-07)

Features