Skip to content

Releases: ipfs-shipyard/is-ipfs

v6.0.1

07 Jul 19:36
Compare
Choose a tag to compare
chore: release version v6.0.1

v6.0.0

07 Jul 12:59
Compare
Choose a tag to compare

chore

BREAKING CHANGES

  • uses the CID class from the new multiformats module

v5.0.0

19 Apr 15:22
Compare
Choose a tag to compare

BREAKING CHANGES

  • Major version bumps of multiaddr mafmt and aegir dependencies

v4.0.0

03 Mar 20:30
Compare
Choose a tag to compare

Bug Fixes

Features

BREAKING CHANGES

  • peerMultiaddr: /dnsaddr without explicit /p2p/{libp2p-key} is no longer a valid peer multiaddr.
    See #38 for rationale why.

v3.0.0

03 Feb 22:52
Compare
Choose a tag to compare

Features

  • dnsaddr support in peerMultiaddr (#35) (4a4710d)
  • subdomain: support inlined DNSLink names (#36) (7ab7125)

(potentially) BREAKING CHANGES:

  • peerMultiaddr returns true for /dnsaddr/bootstrap.libp2p.io (without explicit /p2p/{libp2p-key} suffix)
  • ipnsSubdomain returns true for inlined DNSLink names (ipfs/kubo#7847) and false for invalid DNS labels

v2.0.0

10 Aug 16:34
Compare
Choose a tag to compare

Bug Fixes

  • replace node buffers with uint8arrays (#34) (ac5ec19)

BREAKING CHANGES

  • this module now only has deps that use Uint8Arrays and not Buffers

v1.0.3

22 Apr 17:25
Compare
Choose a tag to compare

Bug Fixes

v1.0.2

22 Apr 17:24
Compare
Choose a tag to compare

See v1.0.3

v1.0.1

22 Apr 17:23
Compare
Choose a tag to compare

See v1.0.3

v1.0.0

05 Apr 15:49
Compare
Choose a tag to compare

Features

BREAKING CHANGES

  • isIPFS.subdomain now returns true for <domain.tld>.ipns.localhost

  • isIPFS.subdomainPattern changed

  • test: support peer multiaddr with /p2p/

Context: libp2p/libp2p#79

  • fix: explicitly ignore URL param and hash

.url and .path now return true when validating:
https://ipfs.io/ipfs/?filename=name.png#foo

  • refactor: simplify dnslinkSubdomain
  • fix: url() check should include subdomain()

When .url was created we only had path gateways. When .subdomain was
added, we did not update .url to test for subdomain gateways, which in
the long run will confuse people and feels like a bug.

Let's fix this: .url() will now check for both subdomain and path gateways

  • .url(url) now returns true if .subdomain(url) is true

  • refactor: merge DNSLink check into ipnsSubdomain()

This makes subdomain checks follow what path gateway checks do, removing
confusion.

In both cases (IPNS and DNSLink) user needs to perform online record
check, so this is just a handy way of detecting potential matches.

  • docs: update examples
  • refactor: switch to iso-url
  • refactor: lint-package-json
  • chore: update deps