Skip to content

Releases: remusao/tldts

v4.0.5

29 Mar 09:41
398a2e7
Compare
Choose a tag to compare
  • #101 Update Public Suffix Lists
  • #101 Update dev dependencies

v4.0.3

10 Mar 13:44
58ad918
Compare
Choose a tag to compare
  • #82 Update Public Suffix Lists

v4.0.2

05 Feb 17:16
Compare
Choose a tag to compare
  • Update public suffix list to 5d3dfdf7f074ca2831d7c2413cf50b976a019a39

v4.0.1

29 Jan 14:15
f4698de
Compare
Choose a tag to compare

v4.0.0

07 Jan 15:34
Compare
Choose a tag to compare

This Release introduces some more optimizations both in size of bundles,
memory usage and speed of parsing. Because it introduces some breaking
changes in the API results (host renamed into hostname and deletion
of the isValid attribute), as well as introducing a new experimental
backend (tldts-experimental bundle), this is a major version bump.

  • #16 Optimizations + comparison with other libraries (#16)

    • Optimize Trie into a DAWG (size reduction)
    • Implement comparison with other libraries
    • Implement fast path for valid hostnames as arguments
    • Allow to disable hostname parsing and validation using option
    • Add tests for corner-cases URLs parsing
    • Update README
  • #13 Implement experimental probabilistic packed suffix structure (#13)

    • Implement packed hash probabilistic structure for more compact
      representation and faster lookups. See ./bin/builders/hashes.js for more
      details about how it works.
    • Create second bundle (tldts-experimental) making use of this new implementation
    • Simplify hostname validation and remove strict IDNA checks
    • Move lookup implementations into 'lookup' sub-folder
    • Move compiled data into 'lookup/data' sub-folder
    • Refactor suffix list parsing out of builders
    • Handle IDNA hostnames at build-time instead of runtime (by indexing
      some suffixes multiple times: once puny-coded and once in unicode form)

v3.1.2

13 Dec 12:53
Compare
Choose a tag to compare
  • Fix bundles

v3.1.1

12 Dec 16:28
Compare
Choose a tag to compare
  • Minify idna and rules files

v3.1.0

12 Dec 16:22
Compare
Choose a tag to compare
  • #3 Various optimizations
    • Rules are now shipped in a parsed form in the bundle
    • Rules cannot be updated (opinionated)
    • Trie matching is now iterative
    • All rules are stored in their ASCII form instead of Unicode
    • Use ts-jest to run tests
    • Remove dist folder from source tree
    • Hostname parsing has been optimized
  • #2 Fix isPrivate being undefined
  • #4 Optimize the implementation of options' setDefaults

v3.0.2

03 Oct 14:04
d471c33
Compare
Choose a tag to compare

v3.0.0 - Typescript rewrite

18 Sep 09:47
7307bbf
Compare
Choose a tag to compare

This new version is a full rewrite of the very good tld.js into TypeScript. It now offers both a TypeScript code-base, type definitions and javascript bundles. It also benefits from performance improvements and more features (full IDNA handling, faster hostname extraction, easier customization using options, etc.).

  • Introduce two new options to enabled/disabled the Private/ICANN domains.
  • 'allowIcann' set to 'false' will ignore the ICANN section of the list.
  • 'allowPrivate' set to 'false' will ignore the PRIVATE section of the list.
  • Introduce 'lenient' mode for hostname validation.
  • typescript rewrite + toolchain improvements
  • Update travis config
  • Optimizations + idna compaction
  • Allow updating the rules
  • Use minified/optimized version in benchmark
  • Simplify tsconfig