+
Skip to content

Releases: thom4parisot/tld.js

v2.3.2

11 Jul 09:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.1...v2.3.2

v2.2.0

11 Jul 09:53
Compare
Choose a tag to compare

What's Changed

  • Add a benchmark script to tld.js to measure performance evolution by @remusao in #98
  • API addition proposal + remove redundancy by @remusao in #103

Full Changelog: v2.1.0...v2.2.0

v2.1.0

11 Jul 09:53
Compare
Choose a tag to compare

What's Changed

  • Implement rules using a trie data structure. by @remusao in #97

Full Changelog: v2.0.0...v2.1.0

v2.0.0

11 Jul 09:53
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v2.0.0

Bugfixes

17 Jan 21:16
Compare
Choose a tag to compare
  • fixed bad tld escaping for tld.getSubdomain (#33)
  • fixed rule order inconsistency caused by tld.getDomain (#35)
  • Grunt is no longer a needed dependency (#36)
  • updated PublicSuffix rules

Browser Compatibility

07 Nov 13:59
Compare
Choose a tag to compare
  • added browser compatibility
  • availability for component.io and bower package managers
  • updated rules

Node 0.10 Compatibility

17 Jan 21:17
Compare
Choose a tag to compare
  • removed node 0.6 compat
  • added node 0.10 compat
  • switched to grunt 0.4

Bugfixes

17 Jan 21:17
Compare
Choose a tag to compare

Subtle fixes and new non-breaking methods.

  • fixed isValid documentation (#24)
  • added getSubdomain method (#13)
  • added domainExists method (#14)
  • added tests and fixes for the Rule object (#3)

Hotfix

17 Jan 21:18
Compare
Choose a tag to compare
  • fixed package.json engines config; the package was impossible to install

Performance improvements

17 Jan 21:18
Compare
Choose a tag to compare

Nothing new: only optimization and cleanup.

There is a Backward Compatibility Break if you used directly rules.json. Format has changed.
Use rules-legacy.json to benefit from the formatted data from version 1.0.x.

  • builder now relies on grunt
  • reduced the number of dependencies, all of them are devDependencies specific only
  • reduced the filesize of rules.json (from 600K to less than 60K, it's about 21K gzipped)
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载