Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release v0.16.0 #9306

Merged
merged 65 commits into from
Oct 4, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
9241813
chore: Bump version to 0.16.0-dev
ajnavarro Aug 24, 2022
954c6cc
chore: fix undiallable api and gateway files
Jorropo Aug 29, 2022
82e59f2
Merge pull request #9233 from Jorropo/fix/9232
Jorropo Aug 30, 2022
d5e725e
Merge remote-tracking branch 'origin/master' into release-merge-master
ajnavarro Aug 30, 2022
6a219af
Merge pull request #9236 from ipfs/release-merge-master
Jorropo Aug 30, 2022
0d9478d
docs: fix markdown syntax typo in v0.15's changelog
Jorropo Aug 30, 2022
bb59c05
docs(readme): update Docker section
lidel Aug 19, 2022
c9693ed
chore: remove Gateway.PathPrefixes
lidel Apr 21, 2022
426cb84
docs(readme): official vs unofficial packages
lidel Aug 30, 2022
df22205
fix(gw): send 200 for empty files
Jorropo Aug 31, 2022
849e047
chore: bump go-pinning-service-http-client v0.1.2 to include up to na…
Jorropo Aug 18, 2022
0f3a1b3
docs(cmds): daemon: update DHTClient description
Winterhuman Sep 1, 2022
d2c4927
fix: pass the repo directory into the ignored_commit function
Stebalien Jun 23, 2022
aad1219
docs: change windows choco install command to point to go-ipfs
eli1797 Sep 6, 2022
82fbb84
fmt: applies go1.19 fmt
Jorropo Sep 3, 2022
196887c
chore: bump go-libp2p v0.22.0 & go1.18&go1.19
Jorropo Aug 29, 2022
b8412ef
Merge pull request #9244 from Jorropo/update/go-libp2p
Jorropo Sep 9, 2022
007295d
feat: ipfs-webui v2.18.0 (#9262)
SgtPooki Sep 12, 2022
aeaf577
chore: bump go-bitswap v0.10.2
Jorropo Sep 13, 2022
87dc8de
feat: ipfs-webui v2.18.1
SgtPooki Sep 13, 2022
97550ac
docs: small typo in Dockerfile
dbadoy Sep 14, 2022
3fed8b2
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 22, 2022
343e265
Minor list formatting update
BigLep Aug 22, 2022
951cb32
Update docs/RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 23, 2022
7efa911
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 23, 2022
4ade119
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 23, 2022
c9fa800
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 24, 2022
2981070
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 24, 2022
7c0dde4
Add how to test IPFS companion.
ajnavarro Aug 29, 2022
917d2bb
Update docs/RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 31, 2022
4cb7508
Update docs/RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 31, 2022
3fe1827
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Aug 31, 2022
e7d9ce2
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Sep 1, 2022
952a376
Update RELEASE_ISSUE_TEMPLATE.md
ajnavarro Sep 2, 2022
07c9b7d
Update docs/RELEASE_ISSUE_TEMPLATE.md
BigLep Sep 16, 2022
203c2f5
Update docs/RELEASE_ISSUE_TEMPLATE.md
BigLep Sep 16, 2022
5abfd14
Update docs/RELEASE_ISSUE_TEMPLATE.md
BigLep Sep 16, 2022
a6eb9f1
Update docs/RELEASE_ISSUE_TEMPLATE.md
BigLep Sep 16, 2022
289b4e1
Update docs/RELEASE_ISSUE_TEMPLATE.md
BigLep Sep 16, 2022
826c79c
core/node: add configuration options for Bitswap via fx
mrd0ll4r Sep 9, 2022
4f9ba1a
Merge pull request #9213 from ipfs/ajnavarro-patch-1
ajnavarro Sep 19, 2022
9f155e3
Merge branch 'master' into bitswap-fx-configuration
ajnavarro Sep 19, 2022
32e9a69
Merge pull request #9258 from mrd0ll4r/bitswap-fx-configuration
ajnavarro Sep 19, 2022
8e2bf82
docs: fix broken ENS DoH example (#9281)
eth-limo Sep 20, 2022
b6b97d9
fix: require IPNS V2 signatures
lidel Sep 12, 2022
9e5d0aa
feat(cmds/add): --to-files option automates files cp (#8927)
schomatis Sep 21, 2022
74aaf37
chore: bump go-libp2p v0.23.1
Jorropo Sep 20, 2022
fb22320
fix: error message for DefaultServiceLimits change
Jorropo Sep 21, 2022
5bcbd15
Merge pull request #9285 from Jorropo/chore/go-libp2p-v0.23.1
Jorropo Sep 21, 2022
4013021
ci: update CodeQL Actions workflow from V1 to V2 (#9266)
opensaucerer Sep 22, 2022
1146f2d
Add <protocols> to `ipfs id -h` options (#9229)
Winterhuman Sep 22, 2022
d1b9e41
feat: Delegated routing with custom configuration. (#9274)
ajnavarro Sep 22, 2022
c7ed7ba
Readme: Rewrite introduction and featureset (#9211)
RubenKelevra Sep 22, 2022
2549475
docs: fix typo in changelog-v0.16.0.md
Jorropo Sep 22, 2022
bcaacdd
feat(gateway): _redirects file support (#8890)
Sep 23, 2022
8baec10
feat: add webtransport as an optin transport
Jorropo Sep 21, 2022
baccaef
Merge pull request #9293 from Jorropo/webtransport
Jorropo Sep 23, 2022
773c246
fix: ensure hasher is registered when using a hashing function
Jorropo Sep 26, 2022
d4ac65f
chore: bump version to 0.16.0-rc1
galargh Sep 26, 2022
b539cd4
docs: add WebTransport docs
Jorropo Sep 26, 2022
d0ef882
Merge pull request #9308 from Jorropo/docs/webtransport
Jorropo Sep 27, 2022
c4a0656
docs: document remaining 0.16.0 features
lidel Sep 27, 2022
a92e87a
fix: Set default Methods value to nil
ajnavarro Sep 27, 2022
9364243
docs: update changelog-v0.16 with full changelog data
galargh Oct 4, 2022
6d85f9d
chore: bump version to 0.16.0
galargh Oct 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove Gateway.PathPrefixes
Closes #7702
  • Loading branch information
lidel committed Aug 30, 2022
commit c9693edbc5099f5536da3169dffb52164ab6f850
2 changes: 1 addition & 1 deletion cmd/ipfs/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
}

if len(cfg.Gateway.PathPrefixes) > 0 {
log.Error("Support for X-Ipfs-Gateway-Prefix and Gateway.PathPrefixes is deprecated and will be removed in the next release. Please comment on the issue if you're using this feature: https://github.com/ipfs/kubo/issues/7702")
log.Fatal("Support for custom Gateway.PathPrefixes was removed: https://github.com/ipfs/go-ipfs/issues/7702")
}

node, err := cctx.ConstructNode()
Expand Down
19 changes: 2 additions & 17 deletions config/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type GatewaySpec struct {
// UseSubdomains indicates whether or not this gateway uses subdomains
// for IPFS resources instead of paths. That is: http://CID.ipfs.GATEWAY/...
//
// If this flag is set, any /ipns/$id and/or /ipfs/$id paths in PathPrefixes
// If this flag is set, any /ipns/$id and/or /ipfs/$id paths in Paths
// will be permanently redirected to http://$id.[ipns|ipfs].$gateway/.
//
// We do not support using both paths and subdomains for a single domain
Expand All @@ -35,22 +35,7 @@ type Gateway struct {
// writing is done through the API, not the gateway.
Writable bool

// PathPrefixes is an array of acceptable url paths that a client can
// specify in X-Ipfs-Path-Prefix header.
//
// The X-Ipfs-Path-Prefix header is used to specify a base path to prepend
// to links in directory listings and for trailing-slash redirects. It is
// intended to be set by a frontend http proxy like nginx.
//
// Example: To mount blog.ipfs.io (a DNSLink site) at ipfs.io/blog
// set PathPrefixes to ["/blog"] and nginx config to translate paths
// and pass Host header (for DNSLink):
// location /blog/ {
// rewrite "^/blog(/.*)$" $1 break;
// proxy_set_header Host blog.ipfs.io;
// proxy_set_header X-Ipfs-Gateway-Prefix /blog;
// proxy_pass http://127.0.0.1:8080;
// }
// PathPrefixes was removed: https://github.com/ipfs/go-ipfs/issues/7702
PathPrefixes []string

// FastDirIndexThreshold is the maximum number of items in a directory
Expand Down
2 changes: 0 additions & 2 deletions core/corehttp/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
type GatewayConfig struct {
Headers map[string][]string
Writable bool
PathPrefixes []string
FastDirIndexThreshold int
}

Expand Down Expand Up @@ -86,7 +85,6 @@ func GatewayOption(writable bool, paths ...string) ServeOption {
gateway := NewGatewayHandler(GatewayConfig{
Headers: headers,
Writable: writable,
PathPrefixes: cfg.Gateway.PathPrefixes,
FastDirIndexThreshold: int(cfg.Gateway.FastDirIndexThreshold.WithDefault(100)),
}, api, offlineApi)

Expand Down
35 changes: 1 addition & 34 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -681,40 +681,7 @@ Type: `bool`

### `Gateway.PathPrefixes`

**DEPRECATED:** see [kubo#7702](https://github.com/ipfs/kubo/issues/7702)

<!--
An array of acceptable url paths that a client can specify in X-Ipfs-Path-Prefix
header.

The X-Ipfs-Path-Prefix header is used to specify a base path to prepend to links
in directory listings and for trailing-slash redirects. It is intended to be set
by a frontend http proxy like nginx.

Example: We mount `blog.ipfs.io` (a dnslink page) at `ipfs.io/blog`.

**.ipfs/config**
```json
"Gateway": {
"PathPrefixes": ["/blog"],
}
```

**nginx_ipfs.conf**
```nginx
location /blog/ {
rewrite "^/blog(/.*)$" $1 break;
proxy_set_header Host blog.ipfs.io;
proxy_set_header X-Ipfs-Gateway-Prefix /blog;
proxy_pass http://127.0.0.1:8080;
}
```

-->

Default: `[]`

Type: `array[string]`
**REMOVED:** see [go-ipfs#7702](https://github.com/ipfs/go-ipfs/issues/7702)

### `Gateway.PublicGateways`

Expand Down