0.7
- Change Form representation to use Map (from
containers) instead ofHashMap. This prevents possible HashDOS attacks.
0.6.3
- Add To/FromForm instances for () and Void
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.
-
Use
text-iso8601to parse and serialisetimetypes. (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
- Add
toEncodedQueryParamtoToHttpApiDatatype class. It has default implementation usingtoQueryParam, but may be overriden with more efficient one.
- Use
attoparsec-iso8601-1.1.0.0.DayandUTCTimeparsers require at least 4 digits now, which is a breaking change. - Drop GHC-7.8 and GHC-7.10 support.
- Add
Quarter,QuarterOfYearandMonthinstances - Support
bytestring-0.11
- Add instances for
ConstandIdentity
- Allow cookie <0.5
- Change to
build-type: Simple
- Use
time-compatto provide instances forDayOfWeek.
NominalDiffTimeinstances preserve precision (roundtrip)- Add
Semigroup.Min,Max,First,Lastinstances - Add
Tagged b ainstances
- GHC-8.6 support
- Remove dependency on
uri-bytestringand use functions fromhttp-typesinstead (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-iso8601for 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
ToHttpApiDatainstances (see #53); - Add
ToHttpApiDataandFromHttpApiDatainstances forTimeOfDay(see #53).
- Use
- Minor change:
- Add
toEncodedUrlPiececlass method for URL-encoded path segments (see #50); use efficient encoding for types whose values don't need URL-encoding.
- Add
- Minor changes:
- Add
LenientDatawhich 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
Formtype fromWeb.FormUrlEncoded(see #37).
- Export
- Minor changes:
- Add instances for
Data.UUID(see #34).
- Add instances for
-
Major changes:
- Add
Web.FormUrlEncodedto work with form data (see #32).
- Add
-
Minor changes:
- Add instances for
Numeric.Natural(seed944721).
- Add instances for
- Make
parseHeadertotal (instead of throwing exceptions on invalid Unicode, see #30).
- Add more parser helpers for
BoundedEnumtypes.
- Add instances for more
timetypes:LocalTime,ZonedTime,UTCTimeandNominalDiffTime
- Add helpers for multiple URL pieces and query params:
toUrlPieces,parseUrlPiecestoQueryParams,parseQueryParams
- Export helper functions from
Web.HttpApiData:parseUrlPieceMaybe,parseHeaderMaybe,parseQueryParamMaybeparseUrlPieceWithPrefix,parseHeaderWithPrefix,parseQueryParamWithPrefixshowTextData,readTextData,parseBoundedTextData
- Fix AMP related warnings
- Add
use-text-showflag to optionally use more efficientTextShowinstances