Changelog for http-api-data-0.6.2
0.6.2
- Support GHC-9.12
- Require
cookie-0.5.1
0.6.1
-
Require at least GHC-8.6
-
Support
cookie-0.5.0
, see #137.Note that
cookie-0.5.0
's parser now removes double quotes around cookie values.
0.6
-
Use
text-iso8601
to parse and serialisetime
types. (Instead ofattoparsec-iso8601
). Due this change some formats are slightly changed:- Space between timezone is not accepted
- Timezone offset can be between -23:59..23:59
- Timezone offset is output with colon between hours and minutes
-
Require at least GHC-8.2
0.5.1
- Add
toEncodedQueryParam
toToHttpApiData
type class. It has default implementation usingtoQueryParam
, but may be overriden with more efficient one.
0.5
- Use
attoparsec-iso8601-1.1.0.0
.Day
andUTCTime
parsers require at least 4 digits now, which is a breaking change. - Drop GHC-7.8 and GHC-7.10 support.
0.4.3
- Add
Quarter
,QuarterOfYear
andMonth
instances - Support
bytestring-0.11
0.4.2
- Add instances for
Const
andIdentity
0.4.1.1
- Allow cookie <0.5
- Change to
build-type: Simple
0.4.1
- Use
time-compat
to provide instances forDayOfWeek
.
0.4
NominalDiffTime
instances preserve precision (roundtrip)- Add
Semigroup.Min
,Max
,First
,Last
instances - Add
Tagged b a
instances
0.3.10
0.3.9
- GHC-8.6 support
- Remove dependency on
uri-bytestring
and use functions fromhttp-types
instead (see #75) - Add support for
SetCookie
(see #74)
0.3.8.1
- GHC-8.4.1 support
0.3.8
- Minor changes:
0.3.7.2
- Allow http-types-0.12
- .cabal file adjustments
0.3.7.1
- GHC-8.2 support (see #55).
0.3.7
- 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
0.3.6
- 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
0.3.5
- Minor changes:
- Add
LenientData
which always succeeds to parse (see #45).
- Add
0.3.4
- Minor changes:
- Add support for GHC 8.2, drop support for GHC 7.6 (see #44).
0.3.3
- Minor changes:
0.3.2
- Minor change:
- Export
Form
type fromWeb.FormUrlEncoded
(see #37).
- Export
0.3.1
- Minor changes:
- Add instances for
Data.UUID
(see #34).
- Add instances for
0.3
-
Major changes:
- Add
Web.FormUrlEncoded
to work with form data (see #32).
- Add
-
Minor changes:
- Add instances for
Numeric.Natural
(seed944721
).
- Add instances for
0.2.4
- Make
parseHeader
total (instead of throwing exceptions on invalid Unicode, see #30).
0.2.3
- Add more parser helpers for
Bounded
Enum
types.
0.2.2
- Add instances for more
time
types:LocalTime
,ZonedTime
,UTCTime
andNominalDiffTime
0.2.1
- Add helpers for multiple URL pieces and query params:
toUrlPieces
,parseUrlPieces
toQueryParams
,parseQueryParams
0.2
- Export helper functions from
Web.HttpApiData
:parseUrlPieceMaybe
,parseHeaderMaybe
,parseQueryParamMaybe
parseUrlPieceWithPrefix
,parseHeaderWithPrefix
,parseQueryParamWithPrefix
showTextData
,readTextData
,parseBoundedTextData
- Fix AMP related warnings
0.1.1
- Add
use-text-show
flag to optionally use more efficientTextShow
instances