diff --git a/docs/changelogs/v0.16.md b/docs/changelogs/v0.16.md index a8acacebc..b6f2b9541 100644 --- a/docs/changelogs/v0.16.md +++ b/docs/changelogs/v0.16.md @@ -12,6 +12,9 @@ Below is an outline of all that is in this release, so you get a sense of all th - [🔦 Highlights](#-highlights) - [🛣️ More configurable delegated routing system](#️-more-configurable-delegated-routing-system) - [🌍 WebTransport new experimental Transport](#-webtransport-new-experimental-transport) + - [🗃️ Hardened IPNS record verification](#-hardened-ipns-record-verification) + - [🌉 Web Gateways now support _redirects files](#-web-gateways-now-support-_redirects-files) + - [😻 Add files to MFS with ipfs add --to-files](#-add-files-to-mfs-with-ipfs-add---to-files) - [Changelog](#changelog) - [Contributors](#contributors) @@ -117,6 +120,66 @@ Thoses steps are temporary and wont be needed once we make it enabled by default ``` 1. Restart your daemon to apply the config changes. +### 🗃️ Hardened IPNS record verification + +Records that do not have a valid IPNS V2 signature, or exceed the max size +limit, will no longer pass verification, and will be ignored by Kubo when +resolving `/ipns/{libp2p-key}` content paths. + +Kubo continues publishing backward-compatible V1+V2 records that can be +resolved by V1-only (go-ipfs <0.9.0) clients. + +More details can be found in _Backward Compatibility_, _Record Creation_, and +_Record Verification_ sections of the [updated IPNS +specification](https://github.com/ipfs/specs/pull/319/files). + +### 🌉 Web Gateways now support `_redirects` files + +This feature enables support for redirects, single-page applications (SPA), +custom 404 pages, and moving to IPFS-backed website hosting +[without breaking existing HTTP links](https://www.w3.org/Provider/Style/URI). + +It is limited to websites hosted in web contexts with unique +[Origins](https://en.wikipedia.org/wiki/Same-origin_policy), such as +[subdomain](https://docs.ipfs.tech/how-to/address-ipfs-on-web/#subdomain-gateway) and +[DNSLink](https://docs.ipfs.tech/how-to/address-ipfs-on-web/#dnslink-gateway) gateways. +Redirect logic is evaluated only if the requested path is not in the DAG. + +See more details and usage examples see +[docs.ipfs.tech: _Redirects, custom 404s, and SPA support_](https://docs.ipfs.tech/how-to/websites-on-ipfs/redirects-and-custom-404s/). + +### 😻 Add files to MFS with `ipfs add --to-files` + +Users no longer need to call `ipfs files cp` after `ipfs add` to create a +reference in [MFS](https://docs.ipfs.tech/concepts/glossary/#mfs), or deal with +low level pins if they do not wish to do so. It is now possible to pass MFS +path in an optional `--to-files` to add data directly to MFS, without creating +a low level pin. + +Before (Kubo <0.16.0): + + +```console +$ ipfs add cat.jpg +QmCID +$ ipfs files cp /ipfs/QmCID /mfs-cats/cat.jpg +$ ipfs pin rm QmCID # removing low level pin, since MFS is protecting from gc +``` + +Kubo 0.16.0 collapses the above steps into one: + +```console +$ ipfs add --pin=false cat.jpg --to-files /mfs-cats/ +``` + +A recursive add to MFS works too (below line will create `/lots-of-cats/` directory in MFS): + +```console +$ ipfs add -r ./lots-of-cats/ --to-files / +``` + +For more information, see `ipfs add --help` and `ipfs files --help`. + ### Changelog