Skip to content

Commit dc2715a

Browse files
authoredJul 21, 2021
Merge pull request #8267 from ipfs/release-v0.9.1
Release v0.9.1
2 parents 179d1d1 + 3b21fcf commit dc2715a

File tree

7 files changed

+121
-36
lines changed

7 files changed

+121
-36
lines changed
 

‎CHANGELOG.md

+61
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,66 @@
11
# go-ipfs changelog
22

3+
## v0.9.1 2021-07-20
4+
5+
This is a small bug fix release resolving the following issues:
6+
1. A regression where the empty CID bafkqaaa could not resolve on gateways [#8230](https://github.com/ipfs/go-ipfs/issues/8230)
7+
2. A panic on OpenBSD [#8211](https://github.com/ipfs/go-ipfs/issues/8211)
8+
3. High CPU usage with QUIC [#8256](https://github.com/ipfs/go-ipfs/issues/8256)
9+
4. High memory usage with TCP [#8219](https://github.com/ipfs/go-ipfs/issues/8219)
10+
5. Some pubsub issues ([libp2p/go-libp2p-pubsub#427](https://github.com/libp2p/go-libp2p-pubsub/pull/427), [libp2p/go-libp2p-pubsub#430](https://github.com/libp2p/go-libp2p-pubsub/pull/430))
11+
6. Updated WebUI to [v2.12.4](https://github.com/ipfs/ipfs-webui/releases/tag/v2.12.4)
12+
7. Fixed the snap deployment [#8212](https://github.com/ipfs/go-ipfs/pull/8212)
13+
14+
### Changelog
15+
16+
- github.com/ipfs/go-ipfs:
17+
- chore: update deps
18+
- feat: webui v2.12.4
19+
- test: gateway response for bafkqaaa
20+
- fix: downgrade mimetype dependency
21+
- update go-libp2p to v0.14.3
22+
- bump snap to build with Go 1.16
23+
- github.com/libp2p/go-libp2p (v0.14.2 -> v0.14.3):
24+
- update go-tcp-transport to v0.2.3 and go-multiaddr to v0.3.3 ([libp2p/go-libp2p#1121](https://github.com/libp2p/go-libp2p/pull/1121))
25+
- github.com/libp2p/go-libp2p-pubsub (v0.4.1 -> v0.4.2):
26+
- release priority locks early when handling batches
27+
- don't respawn writer if we fail to open a stream; declare it a peer error
28+
- batch process dead peer notifications
29+
- use a priority lock instead of a semaphore
30+
- do the notification in a goroutine
31+
- emit new peer notification without holding the semaphore
32+
- use a semaphore for new peer notifications so that we don't block the event loop
33+
- don't accumulate pending goroutines from new connections
34+
- Make close concurrent safe
35+
- Fix close of closed channel
36+
- github.com/libp2p/go-libp2p-quic-transport (v0.11.1 -> v0.11.2):
37+
- update quic-go to v0.21.2
38+
- github.com/libp2p/go-tcp-transport (v0.2.2 -> v0.2.4):
39+
- collect metrics in a separate go routine ([libp2p/go-tcp-transport#82](https://github.com/libp2p/go-tcp-transport/pull/82))
40+
- fix: avoid logging "invalid argument" errors when setting keepalive ([libp2p/go-tcp-transport#83](https://github.com/libp2p/go-tcp-transport/pull/83))
41+
- Skip SetKeepAlivePeriod call on OpenBSD ([libp2p/go-tcp-transport#80](https://github.com/libp2p/go-tcp-transport/pull/80))
42+
- sync: update CI config files (#79) ([libp2p/go-tcp-transport#79](https://github.com/libp2p/go-tcp-transport/pull/79))
43+
- github.com/lucas-clemente/quic-go (v0.21.1 -> v0.21.2):
44+
- update qtls to include the crypto/tls fix of Go 1.16.6 / 1.15.14
45+
- cancel the PTO timer when all Handshake packets are acknowledged
46+
- update to Go 1.17rc1
47+
- update Ginkgo to v1.16.4 and Gomega to v1.13.0 ([lucas-clemente/quic-go#3139](https://github.com/lucas-clemente/quic-go/pull/3139))
48+
- github.com/multiformats/go-multiaddr (v0.3.2 -> v0.3.3):
49+
- guard against nil {Local,Remote}Addr() return values ([multiformats/go-multiaddr#155](https://github.com/multiformats/go-multiaddr/pull/155))
50+
- sync: update CI config files (#154) ([multiformats/go-multiaddr#154](https://github.com/multiformats/go-multiaddr/pull/154))
51+
52+
### Contributors
53+
54+
| Contributor | Commits | Lines ± | Files Changed |
55+
|-------------|---------|---------|---------------|
56+
| vyzo | 8 | +205/-141 | 12 |
57+
| Marten Seemann | 7 | +127/-74 | 11 |
58+
| gammazero | 2 | +43/-5 | 3 |
59+
| Steven Allen | 1 | +13/-2 | 1 |
60+
| Adin Schmahmann | 3 | +13/-2 | 3 |
61+
| Marcin Rataj | 2 | +9/-1 | 2 |
62+
| Aaron Bieber | 1 | +6/-2 | 1 |
63+
364
## v0.9.0 2021-06-22
465

566
We're happy to announce go-ipfs 0.9.0. This release makes go-ipfs even more configurable with some fun experiments to boot. We're also deprecating or removing some uncommonly used features to make it easier for users to discover the easy ways to use go-ipfs safely and efficiently.

‎core/corehttp/webui.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package corehttp
22

33
// TODO: move to IPNS
4-
const WebUIPath = "/ipfs/bafybeid26vjplsejg7t3nrh7mxmiaaxriebbm4xxrxxdunlk7o337m5sqq" // v2.12.3
4+
const WebUIPath = "/ipfs/bafybeiflkjt66aetfgcrgvv75izymd5kc47g6luepqmfq6zsf5w6ueth6y" // v2.12.4
55

66
// this is a list of all past webUI paths.
77
var WebUIPaths = []string{
88
WebUIPath,
9+
"/ipfs/bafybeid26vjplsejg7t3nrh7mxmiaaxriebbm4xxrxxdunlk7o337m5sqq",
910
"/ipfs/bafybeif4zkmu7qdhkpf3pnhwxipylqleof7rl6ojbe7mq3fzogz6m4xk3i",
1011
"/ipfs/bafybeianwe4vy7sprht5sm3hshvxjeqhwcmvbzq73u55sdhqngmohkjgs4",
1112
"/ipfs/bafybeicitin4p7ggmyjaubqpi3xwnagrwarsy6hiihraafk5rcrxqxju6m",

‎go.mod

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/dustin/go-humanize v1.0.0
1010
github.com/elgris/jsondiff v0.0.0-20160530203242-765b5c24c302
1111
github.com/fsnotify/fsnotify v1.4.9
12-
github.com/gabriel-vasile/mimetype v1.2.0
12+
github.com/gabriel-vasile/mimetype v1.1.2
1313
github.com/go-bindata/go-bindata/v3 v3.1.3
1414
github.com/hashicorp/go-multierror v1.1.1
1515
github.com/ipfs/go-bitswap v0.3.4
@@ -60,7 +60,7 @@ require (
6060
github.com/jbenet/go-temp-err-catcher v0.1.0
6161
github.com/jbenet/goprocess v0.1.4
6262
github.com/libp2p/go-doh-resolver v0.3.1
63-
github.com/libp2p/go-libp2p v0.14.2
63+
github.com/libp2p/go-libp2p v0.14.3
6464
github.com/libp2p/go-libp2p-circuit v0.4.0
6565
github.com/libp2p/go-libp2p-connmgr v0.2.4
6666
github.com/libp2p/go-libp2p-core v0.8.5
@@ -72,22 +72,22 @@ require (
7272
github.com/libp2p/go-libp2p-mplex v0.4.1
7373
github.com/libp2p/go-libp2p-noise v0.2.0
7474
github.com/libp2p/go-libp2p-peerstore v0.2.7
75-
github.com/libp2p/go-libp2p-pubsub v0.4.1
75+
github.com/libp2p/go-libp2p-pubsub v0.4.2
7676
github.com/libp2p/go-libp2p-pubsub-router v0.4.0
77-
github.com/libp2p/go-libp2p-quic-transport v0.11.1
77+
github.com/libp2p/go-libp2p-quic-transport v0.11.2
7878
github.com/libp2p/go-libp2p-record v0.1.3
7979
github.com/libp2p/go-libp2p-routing-helpers v0.2.3
8080
github.com/libp2p/go-libp2p-swarm v0.5.0
8181
github.com/libp2p/go-libp2p-testing v0.4.0
8282
github.com/libp2p/go-libp2p-tls v0.1.3
8383
github.com/libp2p/go-libp2p-yamux v0.5.4
8484
github.com/libp2p/go-socket-activation v0.0.2
85-
github.com/libp2p/go-tcp-transport v0.2.2
85+
github.com/libp2p/go-tcp-transport v0.2.4
8686
github.com/libp2p/go-ws-transport v0.4.0
87-
github.com/lucas-clemente/quic-go v0.21.1
87+
github.com/lucas-clemente/quic-go v0.21.2
8888
github.com/miekg/dns v1.1.41
8989
github.com/mitchellh/go-homedir v1.1.0
90-
github.com/multiformats/go-multiaddr v0.3.2
90+
github.com/multiformats/go-multiaddr v0.3.3
9191
github.com/multiformats/go-multiaddr-dns v0.3.1
9292
github.com/multiformats/go-multibase v0.0.3
9393
github.com/multiformats/go-multihash v0.0.15

‎go.sum

+42-26
Large diffs are not rendered by default.

‎snap/snapcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ parts:
2929
source-tag: master
3030
plugin: go
3131
# keep me up to date with the go version that go-ipfs expects to be built with.
32-
go-channel: 1.14/stable
32+
go-channel: 1.16/stable
3333
go-importpath: github.com/ipfs/go-ipfs
3434
build-packages:
3535
- build-essential

‎test/sharness/t0110-gateway.sh

+7
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ test_expect_success "GET IPFS nonexistent file returns code expected (404)" '
8484
test_curl_resp_http_code "http://127.0.0.1:$port/ipfs/$HASH2/pleaseDontAddMe" "HTTP/1.1 404 Not Found"
8585
'
8686

87+
# https://github.com/ipfs/go-ipfs/issues/8230
88+
test_expect_success "GET IPFS inlined zero-length data object returns ok code (200)" '
89+
curl -sD - "http://127.0.0.1:$port/ipfs/bafkqaaa" > empty_ok_response &&
90+
test_should_contain "HTTP/1.1 200 OK" empty_ok_response &&
91+
test_should_contain "Content-Length: 0" empty_ok_response
92+
'
93+
8794
test_expect_success "GET /ipfs/ipfs/{cid} returns redirect to the valid path" '
8895
curl -sD - "http://127.0.0.1:$port/ipfs/ipfs/bafkqaaa?query=to-remember" > response_with_double_ipfs_ns &&
8996
test_should_contain "<meta http-equiv=\"refresh\" content=\"10;url=/ipfs/bafkqaaa?query=to-remember\" />" response_with_double_ipfs_ns &&

‎version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package ipfs
44
var CurrentCommit string
55

66
// CurrentVersionNumber is the current application's version literal
7-
const CurrentVersionNumber = "0.9.0"
7+
const CurrentVersionNumber = "0.9.1"
88

99
const ApiVersion = "/go-ipfs/" + CurrentVersionNumber + "/"
1010

0 commit comments

Comments
 (0)
Please sign in to comment.