js-ipfs 0.38.0 released
by Alex Potsides on 2019-09-30
Garbage collection, gossipsub, IPNS support for ipfs resolve, oh my!
$ npm install -g ipfs
Garbage collection, gossipsub & IPNS support for
ipfs resolve! Also a new release process!
🗑️ Garbage collection
Support for garbage collection has shipped with
0.38.0! This means that blocks in your IPFS Repo will be removed whenever gc is run unless they are pinned.
This is essential for keeping your repo to a manageable size, but must be run manually for the time being.
Use it with the following command:
$ jsipfs repo gc removed Qmfoo removed Qmbar
To prevent blocks being collected, pin them:
$ jsipfs pin add Qmbaz pinned Qmbaz recursively
💬 Gossipsub enabled by default
Pubsub is now enabled by default with Gossipsub as the default implementation.
Read more about the design at
📛 IPNS support for
You can now resolve IPNS names via
ipfs resolve, what’s more the recursive option is now on by default.
$ jsipfs resolve /ipns/Qmqux /ipfs/Qmgarply
🎁 New relase process & a call for early testers
This is the first release to follow our new, more predictable, more rigorous release process. It’s outlined in the release issue template, but in short we have defined steps, with an additional period for internal & external testing and gathering feedback on the changes.
It’s also the first release to ship with lockfiles for
npm. This is to ensure that you only get the dependencies that we have validated with CI, and not untested code that may have been released with breaking changes since CI last ran on the release candidate.
But the best bit is that we run the test suites of third party repos with the RCs as part of CI to ensure we don’t break anything - if you would like your project added to that list, please send a PR to
EARLY_TESTERS.md adding a link to your repo! That way you’ll get early warning of any work that needs to be done to upgrade your project to the latest & greatest.
🏗 API Changes
ipfs.repo.gc([options])has been added
options.recursivenow defaults to
- Pubsub is now enabled by default so the config key
EXPERIMENTAL.pubsubis ignored and passing the
--enable-pubsub-experimentflag has no effect
❤️ Huge thank you to everyone that made this release possible
By alphabetical order, here are all the humans that contributed to the release:
- @achingbrain (33 commits, 21 PRs, 7 issues, 46 comments)
- @AcidLeroy (1 comment)
- @alanshaw (50 commits, 25 PRs, 3 issues, 77 comments)
- @andrycodestuffs (1 PR, 2 comments)
- @AuHau (1 PR, 1 issue, 7 comments)
- @bruinxs (1 commit, 1 PR, 1 issue, 1 comment)
- @daviddias (4 commits, 3 PRs, 1 issue, 18 comments)
- @dirkmc (2 commits, 1 comment)
- @geastwood (1 commit, 1 PR)
- @georgeaf99 (1 comment)
- @hacdias (4 commits, 3 PRs)
- @hhfeng (1 comment)
- @hugomrdias (53 commits, 14 PRs, 1 issue, 23 comments)
- @huyanyawei (1 comment)
- @jacobheun (4 commits, 2 PRs, 1 issue, 10 comments)
- @jacogr (1 issue)
- @jgeary (1 issue)
- @jian-en (1 comment)
- @jimpick (1 commit, 1 PR, 3 comments)
- @JustMaier (1 commit, 1 PR)
- @lidel (4 commits, 4 PRs, 2 issues, 18 comments)
- @listenaddress (2 issues)
- @mikeal (1 PR, 7 comments)
- @mitra42 (1 issue, 6 comments)
- @mkg20001 (1 commit, 1 PR, 1 issue, 2 comments)
- @Nashatyrev (1 issue)
- @olizilla (10 comments)
- @pruflyos (1 comment)
- @rabrux (1 comment)
- @robertkiel (1 PR)
- @rvagg (1 comment)
- @samparsky (18 PRs)
- @Stebalien (5 comments)
- @tapaswenipathak (1 PR, 1 comment)
- @teddycode (1 issue)
- @terichadbourne (1 issue)
- @vasa-develop (1 comment)
- @vasco-santos (18 commits, 11 PRs, 18 comments)
- @vmx (2 commits, 3 PRs, 1 comment)
- @x5engine (1 comment)
- @yehia67 (2 comments)
- @yuwiggin (1 comment)
🙌🏽 Want to contribute?
Would you like to contribute to the IPFS project and don’t know how? Well, there are a few places you can get started:
- Check the issues with the
help wantedlabel in the js-ipfs repo
- Join an IPFS All Hands, introduce yourself and let us know where you would like to contribute - https://github.com/ipfs/team-mgmt/#weekly-ipfs-all-hands
- Hack with IPFS and show us what you made! The All Hands call is also the perfect venue for demos, join in and show us what you built
- Join the discussion at http://discuss.ipfs.io/ and help users finding their answers.
- Join the 🚀 IPFS Core Implementations Weekly Sync 🛰 and be part of the action!
⁉️ Do you have questions?
The best place to ask your questions about IPFS, how it works and what you can do with it is at discuss.ipfs.io. We are also available at the
#ipfs channel on Freenode.