6.0.2 (2021-08-23)
6.0.1 (2021-07-07)
6.0.0 (2021-07-07)
- uses the CID class from the new multiformats module
Co-authored-by: Marcin Rataj lidel@lidel.org
5.0.0 (2021-04-19)
4.0.0 (2021-03-03)
- peerMultiaddr: /dnsaddr without explicit /p2p/{key} is no longer a valid peer multiaddr. See ipfs-shipyard#38 for rationale why.
3.0.0 (2021-02-03)
- dnsaddr support in peerMultiaddr (#35) (4a4710d)
- subdomain: support inlined DNSLink names (#36) (7ab7125)
2.0.0 (2020-08-10)
- this module now only has deps that use Uint8Arrays and not Buffers
Co-authored-by: Marcin Rataj lidel@lidel.org
1.0.3 (2020-04-22)
1.0.2 (2020-04-22)
1.0.1 (2020-04-22)
1.0.0 (2020-04-05)
- support subdomains in isIPFS.url(url) (#32) (22d001d), closes /github.com/ipfs/is-ipfs/pull/32#discussion_r396161665
-
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
License: MIT Signed-off-by: Marcin Rataj lidel@lidel.org
- 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
License: MIT Signed-off-by: Marcin Rataj lidel@lidel.org
0.6.3 (2020-01-07)
0.6.2 (2020-01-07)
0.6.1 (2019-05-10)
0.6.0 (2019-03-03)
- ci: switch to modern .travis.yml (972ab2e)
0.5.1 (2019-02-11)
0.5.0 (2019-02-11)
- add cidPath function (7be55d3)
0.4.8 (2018-11-23)
0.4.7 (2018-09-25)
- switch to cids v0.5.5 (c07a35f)
0.4.6 (2018-09-25)
0.4.5 (2018-09-25)
0.4.4 (2018-09-25)
0.4.3 (2018-09-25)
0.4.2 (2018-07-23)
0.4.1 (2018-07-23)
- support cidv1b32 in subdomains (a793da7)
0.3.2 (2017-09-11)
0.3.1 (2017-09-11)
0.3.0 (2017-02-01)
- lint: unnecessary escape (3c65677)
- update scripts for release (8e85bd7)