Skip to content

v1.3.1

Choose a tag to compare

@JaneJeon JaneJeon released this 10 May 22:38
· 63 commits to master since this release
31d5638

This release adds special handling for IPv4/IPv6 addresses and fixes issues associated with them (the behaviour is backwards-compatible, minus the fixed bugs, and this does not result in any new "features" or options for the library, so it's a patch upgrade).

In particular, the change in the IP address handling leads to these improvements to the library:

  • it no longer needs to "DNS lookup" an IP address (duh)
  • it now handles IPv6 addresses encoded in the URL properly (e.g. http://[2606:2800:220:1:248:1893:25c8:1946])
  • it automatically handles IPv4-mapped IPv6 addresses properly (e.g. http://[::ffff:7f00:1] is a public IPv4 address that's mapped to an IPv6 address, but if we were to stick to the old implementation, in which we checked the range - ipv4mapped - we would've assumed that it's a reserved address and threw an error, even though it's a valid, public IP address)

Very subtle things, but it's more "correct" than before, so hey.

Commits

  • add npmignore e796920
  • handle IPv4/IPv6 addresses 5ecbc54
  • update email 5b0f3fc
  • update eslint 763fd61
  • remove package-lock as this is a library 6aa6c34
  • npm setup f2ac162
  • make linters ignore using gitignore 25aac7d
  • split eslint/prettier configs out of package.json [skip ci] 991411a
  • upgrade from husky v4 to v8 [skip ci] e11cc4a
  • chore: add gitignore [skip ci] 399cd02
  • Merge pull request #62 from Markus-Rost/master e77b241
  • declare module for TypeScript a04b76b
  • Merge pull request #59 from JaneJeon/dependabot/npm_and_yarn/got-12.1.0 c15e840
  • Merge pull request #61 from JaneJeon/renovate/jest-junit-14.x ab31a56
  • Update dependency jest-junit to v14 75b99ad
  • Update dependency lint-staged to v13.0.3 f752678
  • Bump got from 12.0.0 to 12.1.0 a71f652
  • Update dependency lint-staged to v13.0.2 a37b848
  • Update dependency lint-staged to v13.0.1 f22ce4e
  • Merge pull request #56 from JaneJeon/dependabot/npm_and_yarn/semver-regex-3.1.4 22866c9
  • Bump semver-regex from 3.1.2 to 3.1.4 caf0d4d
  • Merge pull request #55 from JaneJeon/renovate/lint-staged-13.x 3a260b1
  • Update dependency lint-staged to v13 614e5c2
  • Update dependency lint-staged to v12.5.0 29a9770
  • Update dependency lint-staged to v12.4.3 9f4e692
  • Update dependency lint-staged to v12.4.2 67bc7e0
  • Update dependency lint-staged to v12.4.1 05e02fe
  • Merge pull request #50 from JaneJeon/renovate/github-codeql-action-2.x 044b21b
  • Update github/codeql-action action to v2 ec47854
  • Merge pull request #48 from JaneJeon/renovate/lint-staged-12.x 8a9736a
  • Update dependency lint-staged to v12.4.0 08492a1
  • Update dependency lint-staged to v12.3.8 badfcbf
  • Merge pull request #46 from JaneJeon/dependabot/npm_and_yarn/minimist-1.2.6 ee4430b
  • Bump minimist from 1.2.5 to 1.2.6 0577090
  • Update dependency lint-staged to v12.3.7 6d44336
  • Update dependency lint-staged to v12.3.6 c4a1e31
  • Update dependency lint-staged to v12.3.5 71f9f2f
  • Merge pull request #42 from JaneJeon/renovate/actions-checkout-3.x 048f98c
  • Update actions/checkout action to v3 4b1e657
  • Update dependency lint-staged to v12.3.4 a6f9871
  • Update dependency lint-staged to v12.3.3 d127688
  • Update dependency lint-staged to v12.3.2 d810378
  • Update dependency lint-staged to v12.3.1 2ef9173
  • Update dependency lint-staged to v12.3.0 f532aa0
  • Update dependency lint-staged to v12.2.2 3d30db9
  • Update dependency lint-staged to v12.2.1 a0dfbe5
  • Update dependency lint-staged to v12.2.0 c91c0be
  • Update README.md b4e4ca6
  • Update README.md bc5981c
  • Update README.md 8c232fd
  • Update README.md 71c2ba6
  • Update README.md 6d4c1f9
  • Update dependency lint-staged to v12.1.7 ead7cc1
  • Update dependency lint-staged to v12.1.6 cad2a4d
  • Update dependency lint-staged to v12.1.5 563385c
  • Update config.yml d99ce6f
  • Update config.yml daa3e84
  • Update .npmrc 347fa84
  • Update .npmrc 6c0742b
  • remove codecov token 546e7d4
  • yeet a247fc8
  • circleci migration ba81ff4
  • Merge pull request #29 from JaneJeon/renovate/lint-staged-12.x 02c9a46
  • Delete dependabot.yml f575f3a
  • Update dependency lint-staged to v12.1.4 08ed79f
  • Merge pull request #28 from JaneJeon/renovate/configure f99de0b
  • Update renovate.json 1cafb7c
  • Add renovate.json 2bb5d35
  • Merge pull request #26 from JaneJeon/dependabot/npm_and_yarn/jest-27.4.5 4fba620
  • Merge pull request #27 from JaneJeon/dependabot/npm_and_yarn/lint-staged-12.1.3 96a1a69
  • Merge pull request #20 from JaneJeon/dependabot/npm_and_yarn/debug-4.3.3 85a2a4e
  • Bump debug from 4.3.2 to 4.3.3 db27b0b
  • Bump lint-staged from 12.1.2 to 12.1.3 714dc46
  • Bump jest from 27.4.4 to 27.4.5 9699d6b

v1.3.0...v1.3.1