This is the final ipfs version before the transition to v0.4.0. It introduces a few stability improvements, bugfixes, and increased test coverage.
-
Features
- Add 'get' and 'patch' to the allowed gateway commands (@whyrusleeping)
- Updated webui version (@dignifiedquire)
-
BugFixes
- Fix path parsing for add command (@djdv)
- namesys: Make paths with multiple segments work. Fixes #2059 (@Kubuxu)
- Fix up panic catching in http handler funcs (@whyrusleeping)
- Add correct access control headers to the default api config (@dignifiedquire)
- Fix closenotify by not sending empty file set (@whyrusleeping)
-
Tool Changes
- Have install.sh use the full path to ipfs binary if detected (@jedahan)
- Install daemon system-wide if on El Capitan (@jedahan)
- makefile: add -ldflags to install and nofuse tasks (@lgierth)
-
General Codebase
- Clean up http client code (@whyrusleeping)
- Move api version check to header (@rht)
-
Documentation
- Improved release checklist (@jbenet)
- Added quotes around command in long description (@RichardLitt)
- Added a shutdown note to daemon description (@RichardLitt)
-
Testing
- t0080: improve last tests (@chriscool)
- t0080: improve 'ipfs refs --unique' test (@chriscool)
- Fix t.Fatal usage in goroutines (@chriscool)
- Add docker testing support to sharness (@chriscool)
- sharness: add t0300-docker-image.sh (@chriscool)
- Included more namesys tests. (@Kubuxu)
- Add sharness test to verify requests look good (@whyrusleeping)
- Re-enable ipns sharness test now that iptb is fixed (@whyrusleeping)
- Force use of ipv4 in test (@whyrusleeping)
- Travis-CI: use go 1.5.2 (@jbenet)
This patch update introduces the 'ipfs update' command which will be used for future ipfs updates along with a few other bug fixes and documentation improvements.
-
Features
- support for 'ipfs update' to call external binary (@whyrusleeping)
- cache ipns entries to speed things up a little (@whyrusleeping)
- add option to version command to print repo version (@whyrusleeping)
- Add in some more notifications to help profile queries (@whyrusleeping)
- gateway: add path prefix for directory listings (@lgierth)
- gateway: add CurrentCommit to /version (@lgierth)
-
BugFixes
- set data and links nil if not present (@whyrusleeping)
- fix log hanging issue, and implement close-notify for commands (@whyrusleeping)
- fix dial backoff (@whyrusleeping)
- proper ndjson implementation (@whyrusleeping)
- seccat: fix secio context (@lgierth)
- Add newline to end of the output for a few commands. (@nham)
- Add fixed period repo GC + test (@rht)
-
Tool Changes
- Allow
ipfs cat
on ipns path (@rht)
- Allow
-
General Codebase
- rewrite of backoff mechanism (@whyrusleeping)
- refactor net code to use transports, in rough accordance with libp2p (@whyrusleeping)
- disable building fuse stuff on windows (@whyrusleeping)
- repo: remove Log config (@lgierth)
- commands: fix description of --api (@lgierth)
-
Documentation
- --help: Add a note on using IPFS_PATH to the footer of the helptext. (@sahib)
- Moved email juan to ipfs/contribute (@richardlitt)
- Added commit sign off section (@richardlitt)
- Added a security section (@richardlitt)
- Moved TODO doc to issue #1929 (@richardlitt)
-
Testing
- gateway: add tests for /version (@lgierth)
- Add gc auto test (@rht)
- t0020: cleanup dir with bad perms (@chriscool)
Note: this commit introduces fixed-period repo gc, which will trigger gc
after a fixed period of time. This feature is introduced now, disabled by
default, and can be enabled with ipfs daemon --enable-gc
. If all goes well,
in the future, it will be enabled by default.
This patch update includes a good number of bugfixes, notably, it fixes builds on windows, and puts newlines between streaming json objects for a proper ndjson format.
-
Features
- Writable gateway enabled again (@cryptix)
-
Bugfixes
- fix windows builds (@whyrusleeping)
- content type on command responses default to text (@whyrusleeping)
- add check to makefile to ensure windows builds don't fail silently (@whyrusleeping)
- put newlines between streaming json output objects (@whyrusleeping)
- fix streaming output to flush per write (@whyrusleeping)
- purposely fail builds pre go1.5 (@whyrusleeping)
- fix ipfs id (@whyrusleeping)
- fix a few race conditions in mocknet (@whyrusleeping)
- fix makefile failing when not in a git repo (@whyrusleeping)
- fix cli flag orders (long, short) (@rht)
- fix races in http cors (@miolini)
- small webui update (some bugfixes) (@jbenet)
-
Tool Changes
- make swarm connect return an error when it fails (@whyrusleeping)
- Add short flag for
ipfs ls --headers
(v for verbose) (@rht)
-
General Codebase
- bitswap: clean log printf and humanize dup data count (@cryptix)
- config: update pluto's peerID (@lgierth)
- config: update bootstrap list hostname (@lgierth)
-
Documentation
- Pared down contribute to link to new go guidelines (@richardlitt)
-
Testing
- t0010: add tests for 'ipfs commands --flags' (@chriscool)
- ipns_test: fix namesys.NewNameSystem() call (@chriscool)
- t0060: fail if no nc (@chriscool)
This patch update includes changes to make ipns more consistent and reliable, symlink support in unixfs, mild performance improvements, new tooling features, a plethora of bugfixes, and greatly improved tests.
NOTICE: Version 0.3.8 also requires golang version 1.5.1 or higher.
-
Bugfixes
- refactor ipns to be more consistent and reliable (@whyrusleeping)
- fix 'ipfs refs' json output (@whyrusleeping)
- fix setting null config maps (@rht)
- fix output of dht commands (@whyrusleeping)
- fix NAT spam dialing (@whyrusleeping)
- fix random panics on 32 bit systems (@whyrusleeping)
- limit total number of network fd's (@whyrusleeping)
- fix http api content type (@WeMeetAgain)
- fix writing of api file for port zero daemons (@whyrusleeping)
- windows connection refused fixes (@mjanczyk)
- use go1.5's built in trailers, no more failures (@whyrusleeping)
- fix random bitswap hangs (@whyrusleeping)
- rate limit fd usage (@whyrusleeping)
- fix panic in bitswap rate limiting (@whyrusleeping)
-
Tool Changes
- --empty-repo option for init (@prusnak)
- implement symlinks (@whyrusleeping)
- improve cmds lib files processing (@rht)
- properly return errors through commands (@whyrusleeping)
- bitswap unwant command (@whyrusleeping)
- tar add/cat commands (@whyrusleeping)
- fix gzip compression in get (@klauspost)
- bitswap stat logs wasted bytes (@whyrusleeping)
- resolve command now uses core.Resolve (@rht)
- add
--local
flag to 'name resolve' (@whyrusleeping) - add
ipfs diag sys
command for debugging help (@whyrusleeping)
-
General Codebase
- improvements to dag editor (@whyrusleeping)
- swarm IPv6 in default config (Baptiste Jonglez)
- improve dir listing css (@rht)
- removed elliptic.P224 usage (@prusnak)
- improve bitswap providing speed (@jbenet)
- print panics that occur in cmds lib (@whyrusleeping)
- ipfs api check test fixes (@rht)
- update peerstream and datastore (@whyrusleeping)
- cleaned up tar-reader code (@jbenet)
- write context into coreunix.Cat (@rht)
- move assets to separate repo (@rht)
- fix proc/ctx wiring in bitswap (@jbenet)
- rabin fingerprinting chunker (@whyrusleeping)
- better notification on daemon ready (@rht)
- coreunix cat cleanup (@rht)
- extract logging into go-log (@whyrusleeping)
- blockservice.New no longer errors (@whyrusleeping)
- refactor ipfs get (@rht)
- readonly api on gateway (@rht)
- cleanup context usage all over (@rht)
- add xml decoding to 'object put' (@ForrestWeston)
- replace nodebuilder with NewNode method (@whyrusleeping)
- add metrics to http handlers (@lgierth)
- rm blockservice workers (@whyrusleeping)
- decompose maybeGzWriter (@rht)
- makefile sets git commit sha on build (@CaioAlonso)
-
Documentation
- add contribute file (@RichardLitt)
- add go devel guide to contribute.md (@whyrusleeping)
-
Testing
- fix mock notifs test (@whyrusleeping)
- test utf8 with object cmd (@chriscool)
- make mocknet conn close idempotent (@jbenet)
- fix fuse tests (@pnelson)
- improve sharness test quoting (@chriscool)
- sharness tests for chunker and add-cat (@rht)
- generalize peerid check in sharness (@chriscool)
- test_cmp argument cleanup (@chriscool)
This patch update fixes a problem we introduced in 0.3.6 and did not catch: the webui failed to work with out-of-the-box CORS configs. This has been fixed and now should work correctly. @jbenet
This patch improves the resource consumption of go-ipfs, introduces a few new options on the CLI, and also fixes (yet again) windows builds.
-
Resource consumption:
- fixed goprocess memory leak @rht
- implement batching on datastore @whyrusleeping
- Fix bitswap memory leak @whyrusleeping
- let bitswap ignore temporary write errors @whyrusleeping
- remove logging to disk in favor of api endpoint @whyrusleeping
- --only-hash option for add to skip writing to disk @whyrusleeping
-
Tool changes
- improved
ipfs daemon
output with all addresses @jbenet - improved
ipfs id -f
output, added<addrs>
and\n \t
support @jbenet ipfs swarm addrs local
now shows the local node's addrs @jbenet- improved config json parsing @rht
- improved Dockerfile to use alpine linux @Luzifer @lgierth
- improved bash completion @MichaelMure
- Improved 404 for gateway @cryptix
- add unixfs ls to list correct filesizes @wking
- ignore hidden files by default @gatesvp
- global --timeout flag @whyrusleeping
- fix random API failures by closing resp bodies @whyrusleeping
- ipfs swarm filters @whyrusleeping
- api returns errors in http trailers @whyrusleeping @jbenet
ipfs patch
learned to create intermediate nodes @whyrusleepingipfs object stat
now shows Hash @whyrusleepingipfs cat
now clears progressbar on exit @rhtipfs add -w -r <dir>
now wraps directories @jbenetipfs add -w <file1> <file2>
now wraps with one dir @jbenet- API + Gateway now support arbitrary HTTP Headers from config @jbenet
- API now supports CORS properly from config @jbenet
- Deprecated:
API_ORIGIN
env var (use config, seeipfs daemon --help
) @jbenet
- improved
-
General Codebase
nofuse
tag for windows @Luzifer- improved
ipfs add
code @gatesvp - started requiring license trailers @chriscool @jbenet
- removed CtxCloser for goprocess @rht
- remove deadcode @lgierth @whyrusleeping
- reduced number of logging libs to 2 (soon to be 1) @rht
- dial address filtering @whyrusleeping
- Prometheus metrics @lgierth
- new index page for gateway @krl @cryptix
- move ping to separate protocol @whyrusleeping
- add events to bitswap for a dashboard @whyrusleeping
- add latency and bandwidth options to mocknet @heems
- levenshtein distance cmd autosuggest @sbruce
- refactor/cleanup of cmds http handler @whyrusleeping
- cmds http stream reports errors in trailers @whyrusleeping
-
Bugfixes
- fixed path resolution and validation @rht
- fixed
ipfs get -C
output and progress bar @rht - Fixed install pkg dist bug @jbenet @Luzifer
- Fix
ipfs get
silent failure @whyrusleeping ipfs get
tarx no longer times out @jbenetipfs refs -r -u
is now correct @gatesvp- Fix
ipfs add -w -r <dir>
wrapping bugs @jbenet - Fixed FUSE unmount failures @jbenet
- Fixed
ipfs log tail
command (api + cli) @whyrusleeping
-
Testing
- sharness updates @chriscool
- ability to disable secio for testing @jbenet
- fixed many random test failures, more reliable CI @whyrusleeping
- Fixed racey notifier failures @whyrusleeping
ipfs refs -r -u
test cases @jbenet- Fix failing pinning test @jbenet
- Better CORS + Referer tests @jbenet
- Added reversible gc test @rht
- Fixed bugs in FUSE IPNS tests @whyrusleeping
- Fixed bugs in FUSE IPFS tests @jbenet
- Added
random-files
tool for easier sharness tests @jbenet
-
Documentation
- Add link to init system examples @slang800
- Add CORS documentation to daemon init @carver (Note: this will change soon)
This patch improves overall stability and performance
- added 'object patch' and 'object new' commands @whyrusleeping
- improved symmetric NAT avoidance @jbenet
- move util.Key to blocks.Key @whyrusleeping
- fix memory leak in provider store @whyrusleeping
- updated webui to 0.2.0 @krl
- improved bitswap performance @whyrusleeping
- update fuse lib @cryptix
- fix path resolution @wking
- implement test_seq() in sharness @chriscool
- improve parsing of stdin for commands @chriscool
- fix 'ipfs refs' failing silently @whyrusleeping
- fix serial dialing bug @jbenet
- improved testing @chriscool @rht @jbenet
- fixed domain resolving @luzifer
- fix parsing of unwanted stdin @lgierth
- added CORS handlers to gateway @NodeGuy
- added
ipfs daemon --unrestricted-api
option @krl - general cleanup of dependencies
- fix ipns append bug @whyrusleeping
- fix out of memory panic @whyrusleeping
- add in expvar metrics @tv42
- bitswap improvements @whyrusleeping
- fix write-cache in blockstore @tv42
- vendoring cleanup @cryptix
- added
launchctl
plist for OSX @grncdr - improved Dockerfile, changed root and mount paths @ehd
- improved
pin ls
output to show types @vitorbaptista
This patch update fixes various issues, in particular:
- windows support (0.3.0 had broken it)
- command line parses spaces correctly.
- much improved command line parsing by @AtnNn
- improved dockerfile by @luzifer
- add cmd cleanup by @wking
- fix flatfs windows support by @tv42 and @gatesvp
- test case improvements by @chriscool
- ipns resolution timeout bug fix by @whyrusleeping
- new cluster tests with iptb by @whyrusleeping
- fix log callstack printing bug by @whyrusleeping
- document bash completion by @dylanPowers
This patch update implements multicast dns as well as fixing a few test issues.
- implement mdns peer discovery @whyrusleeping
- fix mounting issues in sharness tests @chriscool
This patch update fixes a few bugs:
- harden shutdown logic by @torarnv
- daemon locking fixes by @travisperson
- don't re-add entire dirs by @whyrusleeping
- tests now wait for graceful shutdown by @jbenet
- default key size is now 2048 by @jbenet
We've just released version 0.3.0, which contains many performance improvements, bugfixes, and new features. Perhaps the most noticeable change is moving block storage from leveldb to flat files in the filesystem.
What to expect:
-
much faster performance
-
Repo format 2
- moved default location from ~/.go-ipfs -> ~/.ipfs
- renamed lock filename daemon.lock -> repo.lock
- now using a flat-file datastore for local blocks
-
Fixed lots of bugs
- proper ipfs-path in various commands
- fixed two pinning bugs (recursive pins)
- increased yamux streams window (for speed)
- increased bitswap workers (+ env var)
- fixed memory leaks
- ipfs add error returns
- daemon exit bugfix
- set proper UID and GID on fuse mounts
-
Gateway
- Added support for HEAD requests
-
configuration
- env var to turn off SO_REUSEPORT: IPFS_REUSEPORT=false
- env var to increase bitswap workers: IPFS_BITSWAP_TASK_WORKERS=n
-
other
- bash completion is now available
- ipfs stats bw -- bandwidth metering
And many more things.