v2.11.0
📯 Support POST-only HTTP API
go-ipfs 0.5 will block GET
commands on the API port (ipfs/kubo#7097), requiring every RPC command to be a POST request. This release of IPFS Companion ensures we don't use GET
, making it ready for 0.5.
🔎 Support subdomain gateway at *.localhost
(#853)
This release prepares IPFS users for go-ipfs 0.5, which will bring Origin isolation per content root.
What does that mean for regular user? When go-ipfs 0.5 ships they will see interesting change in the address bar:
This is an important step in our browser upgrade path:
- each content root gets own Origin
- websites which do not support relative paths will now work correctly
Subdomain preference
Just in case, it is possible to restore old school path-based gateway via Preferences screen:
It will switch Custom Gateway URL from localhost
to 127.0.0.1
, disabling the Subdomain redirects made by go-ipfs 0.5.
Examples
There will be a longer write up, for now enjoy some test links:
- Seamless CIDv0 → CIDv1 upgrade:
http://localhost:8080/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR
→http://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi.ipfs.localhost:8080/
- Subdomain gateways are now redirected to localhost one:
https://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq.ipfs.dweb.link
→http://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq.ipfs.localhost:8080/wiki/
- ...and finally, DNSLink is probably the coolest one:
https://en.wikipedia-on-ipfs.org/wiki/
→http://en.wikipedia-on-ipfs.org.ipns.localhost:8080/wiki/
Testing with Docker
Docker makes it easy to test with go-ipfs v0.5.0-dev without changing your local setup.
To start an ephemeral instance run:
$ docker pull ipfs/go-ipfs:master-latest
$ docker run --rm -it --net=host ipfs/go-ipfs:master-latest
✨ Features
- feat:
*.localhost
subdomain gateway - universal support with http proxy (#853)
(see Highlight section below for more info) - style: rename menu items for copying and sharing (#862)
- i18n: sync locales and add
ca
🛠 Fixes and Maintenance
- fix: DNSLink resolution over POST-only API (part of #853)
- fix: disable
window.ipfs
until JS API is updated (#777) - refactor: remove code for "blessing" custom webui (#736, 4a81bf1)
- fix: stop injecting
window.Buffer
(#637) - fix: webui in embedded js-ipfs in Brave (f473cfd, 06227a2)
- fix: browserActon icon in Chromium 80 (3f220f3)
Installation
Firefox / Firefox for Android | Chrome / Brave / Opera / Edge |
---|---|
Note: publishing is delayed due to #808 |
Alternative: use prebuilt artifacts attached to this release or build and install it manually.