Releases: ipfs-shipyard/is-ipfs
v6.0.1
v6.0.0
v5.0.0
BREAKING CHANGES
- Major version bumps of
multiaddr
mafmt
andaegir
dependencies
v4.0.0
v3.0.0
Features
- dnsaddr support in peerMultiaddr (#35) (4a4710d)
- subdomain: support inlined DNSLink names (#36) (7ab7125)
(potentially) BREAKING CHANGES:
peerMultiaddr
returnstrue
for/dnsaddr/bootstrap.libp2p.io
(without explicit/p2p/{libp2p-key}
suffix)ipnsSubdomain
returnstrue
for inlined DNSLink names (ipfs/kubo#7847) andfalse
for invalid DNS labels
v2.0.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Features
- support subdomains in isIPFS.url(url) (#32) (22d001d), closes /github.com/ipfs/is-ipfs/pull/32#discussion_r396161665
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