1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
# ChangeLog for wai
## 3.2.4
* Add helpers for modifying request headers: `modifyRequest` and `mapRequestHeaders`. [#710](https://github.com/yesodweb/wai/pull/710) [#952](https://github.com/yesodweb/wai/pull/952)
* Small documentation adjustments like adding more `@since` markers. [#952](https://github.com/yesodweb/wai/pull/952)
* Add `setRequestBodyChunks` to mirror `getRequestBodyChunk` and avoid deprecation warnings when using `requestBody` as a setter. [#949](https://github.com/yesodweb/wai/pull/949)
* Overhaul documentation of `Middleware`. [#858](https://github.com/yesodweb/wai/pull/858)
## 3.2.3
* Add documentation recommending streaming request bodies. [#818](https://github.com/yesodweb/wai/pull/818)
* Add two functions, `consumeRequestBodyStrict` and `consumeRequestBodyLazy`,
that are synonyms for `strictRequestBody` and `lazyRequestBody`. [#818](https://github.com/yesodweb/wai/pull/818)
## 3.2.2.1
* Fix missing reexport of `getRequestBodyChunk` [#753](https://github.com/yesodweb/wai/issues/753)
## 3.2.2
* Deprecate `requestBody` in favor of the more clearly named `getRequestBodyChunk`. [#726](https://github.com/yesodweb/wai/pull/726)
## 3.2.1.2
* Remove dependency on blaze-builder [#683](https://github.com/yesodweb/wai/pull/683)
## 3.2.1.1
* Relax upper bound on bytestring-builder
## 3.2.1
* add mapResponseStatus [#532](https://github.com/yesodweb/wai/pull/532)
## 3.2.0.1
* Add missing changelog entry
## 3.2.0
* Major version up due to breaking changes. We chose 3.2.0, not 3.1.0
for consistency with Warp 3.2.0.
* The `Network.Wai.HTTP2` module was removed.
* `tryGetFileSize`, `hContentRange`, `hAcceptRanges`, `contentRangeHeader` and
`chooseFilePart`, `adjustForFilePart` and `parseByteRanges` were removed
from the `Network.Wai.Internal` module.
* New fields for `Request`: `requestHeaderReferer` and `requestHeaderUserAgent`.
## 3.0.5.0
* Avoid using the `IsString` Builder instance
## 3.0.4.0
* A new module `Network.Wai.HTTP2` is exported.
## 3.0.3.0
* `mapResponseHeaders`, `ifRequest` and `modifyResponse` are exported.
## 3.0.2.3
* Allow blaze-builder 0.4
## 3.0.2.2
* Clarify some documentation on `rawPathInfo`. [Relevant Github
discussion](https://github.com/yesodweb/wai/issues/325#issuecomment-69896780).
|