git.iko.soy/typeable/http-api-data
on v0.4.3 help sign in
162 lines 4.4 kB history raw
10.4.3
2-----
4* Add `Quarter`, `QuarterOfYear` and `Month` instances
5* Support `bytestring-0.11`
70.4.2
8-----
10* Add instances for `Const` and `Identity`
120.4.1.1
13-------
15* Allow cookie <0.5
16* Change to `build-type: Simple`
180.4.1
19-----
21* Use `time-compat` to provide instances for `DayOfWeek`.
230.4
24---
26* `NominalDiffTime` instances preserve precision (roundtrip)
27* Add `Semigroup.Min`, `Max`, `First`, `Last` instances
28* Add `Tagged b a` instances
300.3.10
31---
33* Fix 'SetCookie' instances
34 (see [#86](https://github.com/fizruk/http-api-data/pull/86))
35* Add support for `Fixed`
36 (see [#78](https://github.com/fizruk/http-api-data/pull/87))
380.3.9
39---
41* GHC-8.6 support
42* Remove dependency on `uri-bytestring` and use functions from `http-types` instead
43 (see [#75](https://github.com/fizruk/http-api-data/pull/75))
44* Add support for `SetCookie`
45 (see [#74](https://github.com/fizruk/http-api-data/pull/74))
470.3.8.1
48---
50* GHC-8.4.1 support
520.3.8
53---
55* Minor changes:
56 * Stable URL-encoding for `Form`s (see [#67](https://github.com/fizruk/http-api-data/pull/67)):
57 * Introduce `urlEncodeParams` and `urlDecodeParams`;
58 * Introduce `urlEncodeAsFormStable` and use stable encoding for doctests;
59 * Add `toEntriesByKeyStable` and `toListStable`;
60 * Add `Semigroup` instance for `Form` (see [#69](https://github.com/fizruk/http-api-data/pull/69));
61 * Relax upper bound on Cabal (see [#73](https://github.com/fizruk/http-api-data/pull/73)).
630.3.7.2
64---
66* Allow http-types-0.12
67* .cabal file adjustments
690.3.7.1
70---
72* GHC-8.2 support (see [#55](https://github.com/fizruk/http-api-data/pull/55)).
740.3.7
75---
77* Minor changes:
78 * Use [`attoparsec-iso8601`](http://hackage.haskell.org/package/attoparsec-iso8601)
79 for parsing of time types. Now the accepted formats are the same as by `aeson`,
80 i.e. parsers are more lenient
81 (see [#41](https://github.com/fizruk/http-api-data/pull/41));
82 * Preserve fractions of a second in `ToHttpApiData` instances (see [#53](https://github.com/fizruk/http-api-data/pull/53));
83 * Add `ToHttpApiData` and `FromHttpApiData` instances for `TimeOfDay` (see [#53](https://github.com/fizruk/http-api-data/pull/53)).
850.3.6
86---
88* Minor change:
89 * Add `toEncodedUrlPiece` class method for URL-encoded path segments (see [#50](https://github.com/fizruk/http-api-data/pull/50)); use efficient encoding for types whose values don't need URL-encoding.
910.3.5
92---
94* Minor changes:
95 * Add `LenientData` which always succeeds to parse (see [#45](https://github.com/fizruk/http-api-data/pull/45)).
970.3.4
98---
100* Minor changes:
101 * Add support for GHC 8.2, drop support for GHC 7.6 (see [#44](https://github.com/fizruk/http-api-data/pull/44)).
1030.3.3
104---
106* Minor changes:
107 * Expose `Form` constructor from `Web.FromUrlEncoded` (see [#40](https://github.com/fizruk/http-api-data/pull/40));
108 * Fix example in `FromForm` documentation (see [#39](https://github.com/fizruk/http-api-data/issues/39)).
1100.3.2
111---
113* Minor change:
114 * Export `Form` type from `Web.FormUrlEncoded` (see [#37](https://github.com/fizruk/http-api-data/pull/37)).
1160.3.1
117---
119* Minor changes:
120 * Add instances for `Data.UUID` (see [#34](https://github.com/fizruk/http-api-data/pull/34)).
1220.3
123---
124* Major changes:
125 * Add `Web.FormUrlEncoded` to work with form data (see [#32](https://github.com/fizruk/http-api-data/pull/32)).
127* Minor changes:
128 * Add instances for `Numeric.Natural` (see [`d944721`](https://github.com/fizruk/http-api-data/commit/d944721ac94929a7ed9e66f25e23221799c08d83)).
1300.2.4
131---
132* Make `parseHeader` total (instead of throwing exceptions on invalid Unicode, see [#30](https://github.com/fizruk/http-api-data/pull/30)).
1340.2.3
135---
136* Add more parser helpers for `Bounded` `Enum` types.
1380.2.2
139---
141* Add instances for more `time` types: `LocalTime`, `ZonedTime`, `UTCTime` and `NominalDiffTime`
1430.2.1
144---
146* Add helpers for multiple URL pieces and query params:
147 * `toUrlPieces`, `parseUrlPieces`
148 * `toQueryParams`, `parseQueryParams`
1500.2
151---
153* Export helper functions from `Web.HttpApiData`:
154 * `parseUrlPieceMaybe`, `parseHeaderMaybe`, `parseQueryParamMaybe`
155 * `parseUrlPieceWithPrefix`, `parseHeaderWithPrefix`, `parseQueryParamWithPrefix`
156 * `showTextData`, `readTextData`, `parseBoundedTextData`
157* Fix AMP related warnings
1590.1.1
160---
162* Add `use-text-show` flag to optionally use more efficient `TextShow` instances