Skip to content

Commit a8040f8

Browse files
authored
Merge branch 'main' into improve-peer-connection-management
2 parents decd8d9 + 79cb4e2 commit a8040f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1333
-1652
lines changed

.github/workflows/gateway-conformance.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
steps:
1717
# 1. Download the gateway-conformance fixtures
1818
- name: Download gateway-conformance fixtures
19-
uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.4
19+
uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.5
2020
with:
2121
output: fixtures
2222
merged: true
2323

2424
# 2. Build the car-gateway
2525
- name: Setup Go
26-
uses: actions/setup-go@v3
26+
uses: actions/setup-go@v4
2727
with:
2828
go-version: 1.21.x
2929
- name: Checkout boxo
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
with:
3232
path: boxo
3333
- name: Build car-gateway
@@ -40,7 +40,7 @@ jobs:
4040

4141
# 4. Run the gateway-conformance tests
4242
- name: Run gateway-conformance tests
43-
uses: ipfs/gateway-conformance/.github/actions/test@v0.4
43+
uses: ipfs/gateway-conformance/.github/actions/test@v0.5
4444
with:
4545
gateway-url: http://127.0.0.1:8040
4646
json: output.json

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,32 @@ The following emojis are used to highlight certain changes:
1616

1717
### Added
1818

19+
- `blockservice` now has `ContextWithSession` and `EmbedSessionInContext` functions, which allows to embed a session in a context. Future calls to `BlockGetter.GetBlock`, `BlockGetter.GetBlocks` and `NewSession` will use the session in the context.
20+
- `blockservice.NewWritethrough` deprecated function has been removed, instead you can do `blockservice.New(..., ..., WriteThrough())` like previously.
21+
- `gateway`: a new header configuration middleware has been added to replace the existing header configuration, which can be used more generically.
22+
- `namesys` now has a `WithMaxCacheTTL` option, which allows you to define a maximum TTL that will be used for caching IPNS entries.
23+
1924
### Changed
2025

2126
### Removed
2227

28+
### Fixed
29+
30+
- 🛠 `boxo/gateway`: when making a trustless CAR request with the "entity-bytes" parameter, using a negative index greater than the underlying entity length could trigger reading more data than intended
31+
- 🛠 `boxo/gateway`: the header configuration `Config.Headers` and `AddAccessControlHeaders` has been replaced by the new middleware provided by `NewHeaders`.
32+
2333
### Security
2434

35+
## [v0.17.0]
36+
37+
### Added
38+
39+
* 🛠 `pinning/pinner`: you can now give a custom name when pinning a CID. To reflect this, the `Pinner` has been adjusted. Note that calling `Pin` for the same CID with a different name will replace its current name by the newly given name.
40+
41+
### Removed
42+
43+
- 🛠 `tracing` `jaeger` exporter has been removed due to it's deprecation and removal from upstream, you should use `otlp` exporter instead. See the [docs](./docs/tracing.md) for an example.
44+
2545
## [v0.16.0]
2646

2747
### Changed

0 commit comments

Comments
 (0)