8.0.4 (2024-02-06)
- bump multiformats from 11.0.2 to 13.0.1 (#92) (552d1e6)
- bump uint8arrays from 4.0.10 to 5.0.1 (#93) (3cb3722)
8.0.3 (2024-02-06)
8.0.2 (2024-02-06)
- add or force update .github/workflows/js-test-and-release.yml (#87) (a0c32d5)
- delete templates [skip ci] (#86) (6bc0a79)
- bump @multiformats/mafmt from 11.1.2 to 12.1.6 (#91) (9be42f1)
- bump @multiformats/multiaddr from 11.6.1 to 12.1.14 (#89) (6b1a651)
8.0.1 (2023-01-07)
8.0.0 (2023-01-07)
- bump multiformats from 10.0.3 to 11.0.0 (#67)
7.0.3 (2022-10-18)
- bump multiformats from 9.9.0 to 10.0.1 (#60) (ff0933b)
- bump uint8arrays from 3.1.1 to 4.0.2 (#59) (5e9af3d)
7.0.2 (2022-09-21)
7.0.1 (2022-09-21)
7.0.0 (2022-09-21)
- this module is now ESM only
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 [email protected]
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 #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 [email protected]
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 [email protected]
- 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 [email protected]
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)