You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,25 @@ The following emojis are used to highlight certain changes:
20
20
21
21
### Removed
22
22
23
+
### Fixed
24
+
23
25
### Security
24
26
27
+
## [v0.18.0]
28
+
29
+
### Added
30
+
31
+
-`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.
32
+
-`blockservice.NewWritethrough` deprecated function has been removed, instead you can do `blockservice.New(..., ..., WriteThrough())` like previously.
33
+
-`gateway`: a new header configuration middleware has been added to replace the existing header configuration, which can be used more generically.
34
+
-`namesys` now has a `WithMaxCacheTTL` option, which allows you to define a maximum TTL that will be used for caching IPNS entries.
35
+
36
+
### Fixed
37
+
38
+
- 🛠 `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
39
+
- 🛠 `boxo/gateway`: the header configuration `Config.Headers` and `AddAccessControlHeaders` has been replaced by the new middleware provided by `NewHeaders`.
40
+
- 🛠 `routing/http/client`: the default HTTP client is no longer a global singleton. Therefore, using `WithUserAgent` won't modify the user agent of existing routing clients. This will also prevent potential race conditions. In addition, incompatible options will now return errors instead of silently failing.
41
+
25
42
## [v0.17.0]
26
43
27
44
### Added
@@ -47,7 +64,7 @@ The following emojis are used to highlight certain changes:
47
64
### Fixed
48
65
49
66
*`boxo/gateway`
50
-
* a panic (which is recovered) could sporadically be triggered inside a CAR request, if the right [conditions were met](https://github.com/ipfs/boxo/pull/511).
67
+
* a panic (which is recovered) could sporadically be triggered inside a CAR request, if the right [conditions were met](https://github.com/ipfs/boxo/pull/511).
51
68
* no longer emits `http: superfluous response.WriteHeader` warnings when an error happens.
52
69
53
70
## [v0.15.0]
@@ -151,7 +168,7 @@ The following emojis are used to highlight certain changes:
151
168
152
169
* 🛠 The `routing/http` package experienced following removals:
153
170
* Server and client no longer support the experimental `Provide` method.
154
-
`ProvideBitswap` is still usable, but marked as deprecated. A protocol-agnostic
171
+
`ProvideBitswap` is still usable, but marked as deprecated. A protocol-agnostic
155
172
provide mechanism is being worked on in [IPIP-378](https://github.com/ipfs/specs/pull/378).
156
173
* Server no longer exports `FindProvidersPath` and `ProvidePath`.
0 commit comments