Changelog
6.0.1 (2021-07-07)
Co-authored-by: Marcin Rataj lidel@lidel.org
Changelog
6.0.1 (2021-07-07)
Co-authored-by: Marcin Rataj lidel@lidel.org
Changelog
2.0.0 (2020-08-10)
Co-authored-by: Marcin Rataj lidel@lidel.org
<a name="1.0.3"></a>
Changelog
1.0.0 (2020-04-05)
isIPFS.subdomain
now returns true for <domain.tld>.ipns.localhost
isIPFS.subdomainPattern
changed
test: support peer multiaddr with /p2p/
Context: https://github.com/libp2p/libp2p/issues/79
.url and .path now return true when validating: https://ipfs.io/ipfs/<CID>?filename=name.png#foo
License: MIT Signed-off-by: Marcin Rataj lidel@lidel.org
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.
License: MIT Signed-off-by: Marcin Rataj lidel@lidel.org
<a name="0.6.3"></a>