- Use
time-compat
to provide instances forDayOfWeek
.
NominalDiffTime
instances preserve precision (roundtrip)- Add
Semigroup.Min
,Max
,First
,Last
instances - Add
Tagged b a
instances
- GHC-8.6 support
- Remove dependency on
uri-bytestring
and use functions fromhttp-types
instead (see #75) - Add support for
SetCookie
(see #74)
- GHC-8.4.1 support
- Minor changes:
- Allow http-types-0.12
- .cabal file adjustments
- GHC-8.2 support (see #55).
- Minor changes:
- Use
attoparsec-iso8601
for parsing of time types. Now the accepted formats are the same as byaeson
, i.e. parsers are more lenient (see #41); - Preserve fractions of a second in
ToHttpApiData
instances (see #53); - Add
ToHttpApiData
andFromHttpApiData
instances forTimeOfDay
(see #53).
- Use
- Minor change:
- Add
toEncodedUrlPiece
class method for URL-encoded path segments (see #50); use efficient encoding for types whose values don't need URL-encoding.
- Add
- Minor changes:
- Add
LenientData
which always succeeds to parse (see #45).
- Add
- Minor changes:
- Add support for GHC 8.2, drop support for GHC 7.6 (see #44).
- Minor changes:
- Minor change:
- Export
Form
type fromWeb.FormUrlEncoded
(see #37).
- Export
- Minor changes:
- Add instances for
Data.UUID
(see #34).
- Add instances for
-
Major changes:
- Add
Web.FormUrlEncoded
to work with form data (see #32).
- Add
-
Minor changes:
- Add instances for
Numeric.Natural
(seed944721
).
- Add instances for
- Make
parseHeader
total (instead of throwing exceptions on invalid Unicode, see #30).
- Add more parser helpers for
Bounded
Enum
types.
- Add instances for more
time
types:LocalTime
,ZonedTime
,UTCTime
andNominalDiffTime
- Add helpers for multiple URL pieces and query params:
toUrlPieces
,parseUrlPieces
toQueryParams
,parseQueryParams
- Export helper functions from
Web.HttpApiData
:parseUrlPieceMaybe
,parseHeaderMaybe
,parseQueryParamMaybe
parseUrlPieceWithPrefix
,parseHeaderWithPrefix
,parseQueryParamWithPrefix
showTextData
,readTextData
,parseBoundedTextData
- Fix AMP related warnings
- Add
use-text-show
flag to optionally use more efficientTextShow
instances