Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
go-ipfs
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
ipfs
go-ipfs
Commits
c4a06569
Commit
c4a06569
authored
Sep 27, 2022
by
Marcin Rataj
Browse files
Options
Downloads
Patches
Plain Diff
docs: document remaining 0.16.0 features
parent
d0ef882d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/changelogs/v0.16.md
+63
-0
63 additions, 0 deletions
docs/changelogs/v0.16.md
with
63 additions
and
0 deletions
docs/changelogs/v0.16.md
+
63
−
0
View file @
c4a06569
...
...
@@ -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
<!-- TODO -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment