Skip to content

v2.12.0

Compare
Choose a tag to compare
@lidel lidel released this 19 Apr 20:36
· 250 commits to main since this release

CID: bafybeift4ptovt53gunayyrxe2rx3zpeuuq5d7ipbl5veen73s7ppac7yi

How to use this before it ships with go-ipfs, js-ipfs and ipfs-desktop?

If you are comfortable with safelisting DNS name to have access to your API port, try DNSLink versions:

If you use IPFS Companion browser extension, use of the latest webui release is opt-in on its Preferences:

2021-04-19--17-56-34

Long time no see! What is new?

Experimental support for pinning services, and various updates to Files and Peers screens.

Found a bug? 🐛
We have some improvements planned for future releases, including remote pin progress tracking.
Make sure to check existing issues and v2.13 milestone before filling a new issue. PRs are welcome.

Full list of changes can be found at the end, but first some quick highlights:

Built-in support for remote pinning services

This release comes with support for pin remote commands introduced in go-ipfs 0.8.0.

Remote pinning services added via pin remote service add are already detected, one can also add one from Settings screen:

2021-04-19--15-27-51

Then use it in Set pinning action on Files screen:

2021-04-19--15-10-17

It is possible to have multiple services defined, and change pinning state for all of them with a single click:

Screenshot_2021-04-19  animals pets Files IPFS(2)

It is also possible to enable auto upload of everything in Files.

This is a GUI for Pinning.RemoteServices..Policies.MFS.Enable. When enabled, IPFS node will periodically update the remote pin for MFS root, removing the need for manually pinning individual files.

Screenshot_2021-04-19 Settings IPFS

Final notes on remote pinning via ipfs-webui:

  • For now, remote pins happen in the background, which means we call pin remote add with --background flag.
  • Anyone can run a pinning service, the only requirement is to follow IPFS Pinning Service API spec.
  • Just want to see how it works? Pinata provides 1GB of space for free.
  • Learn how to work with pinning services.

Progress reporting for bigger imports

There is now UI that displays progress of bigger imports:

Screenshot_2021-04-19  animals pets Files IPFS

Improved MFS removal with built-in pin management

Everything in Files is backed by MFS, which is protected from garbage-collection.

Local pins are independent of MFS, so it is possible to have a local pin that is not listed in Files, or to pin something locally and then remove it from MFS. To avoid "dangling local pins", we improved the Remove action on the Files screen.

When an item is removed from Files, and has a local or a remote pin, the default behavior is to keep the remote pin, but unpin locally:

2021-04-19--21-54-50

This frees up the local storage while ensuring remote pins are left untouched.

Improved Peers page

  • Latest ipfs-geoip now shows correct location for IP ranges sold/transferred since last update.
  • Every cell can now be clicked and a meaningful value will be copied to the clipboard.
  • New Open Streams column shows which libp2p streams were established with each peer.

Full Changelog

✨ Features

  • feat: pinning services (#1678, #1685, #1713, #1760)
  • feat: peers table enhancements (#1616)
  • feat: upload progress ui (#1655)
  • feat: delete-modal pin guidance, improved language (#1644)
  • feat: joyride for pinning services & tutor mode (#1701)
  • feat: add visual feedback on API address change (#1671)
  • feat: updated geoip dataset (2020-10-13) (#1675)
  • feat(peers): /dnsaddr/ and /quic/ support (#1689)
  • feat(i18n): add ur, uk, tr and pt-BR (407070c)

🛠 Fixes and Maintenance

  • fix: drag-n-drop to a dir with escaped characters (#1764)
  • fix: size badge on the files page (#1753)
  • fix: pinning services description (#1754)
  • fix: batch caching of remote pin lookups (#1741)
  • fix: match service endpoint (dadaf04)
  • fix: text selection inside advanced section (#1747)
  • fix(cli-tutor): separate helptext (#1700) & import actions in subdirectories (#1706)
  • fix(files): wrap tooltips of long file names (#1709)
  • fix: trim input of "Import from IPFS" (#1718)
  • refactor(i18n): automatic locale data (#1725)
  • style: uppercase, standardize repo stats display (#1679)
  • chore: update ipld-explorer-components (#1750, #1759, c1784e0)
  • chore: move build to gh action (#1763)
  • chore(i18n): sync locales