Skip to content

Releases: fizruk/http-api-data

v0.3.8

12 Mar 21:26
28fc15f
Compare
Choose a tag to compare
  • Minor changes:
    • Stable URL-encoding for Forms (see #67):
      • Introduce urlEncodeParams and urlDecodeParams;
      • Introduce urlEncodeAsFormStable and use stable encoding for doctests;
      • Add toEntriesByKeyStable and toListStable;
    • Add Semigroup instance for Form (see #69);
    • Relax upper bound on Cabal (see #73).

v0.3.7

21 Apr 07:12
5158283
Compare
Choose a tag to compare
  • Use attoparsec-iso8601 for parsing of time types. Now the accepted formats are the same as by aeson, i.e. parsers are more lenient (see #41);
  • Preserve fractions of a second in ToHttpApiData instances (see #53);
  • Add ToHttpApiData and FromHttpApiData instances for TimeOfDay (see #53).

v0.3.6

11 Apr 11:01
e321382
Compare
Choose a tag to compare
  • Add toEncodedUrlPiece class method for URL-encoded path segments (see #50); use efficient encoding for types whose values don't need URL-encoding.

v0.3.5

19 Jan 21:26
ebb82fd
Compare
Choose a tag to compare
  • Minor changes:
    • Add LenientData which always succeeds to parse (see #45).

v0.3.4

17 Jan 15:45
916442d
Compare
Choose a tag to compare
  • Minor changes:
    • Add support for GHC 8.2, drop support for GHC 7.6 (see #44).

v0.3.3

14 Nov 21:35
d3cc66f
Compare
Choose a tag to compare
  • Minor changes:
    • Expose Form constructor from Web.FromUrlEncoded (see #40);
    • Fix example in FromForm documentation (see #39).

v0.3.2

19 Oct 12:45
490f4aa
Compare
Choose a tag to compare
  • Minor change:
    • Export Form type from Web.FormUrlEncoded (see #37).

v0.3.1

19 Oct 12:45
Compare
Choose a tag to compare
  • Minor changes:
    • Add instances for Data.UUID (see #34).

v0.3

31 Aug 01:49
dde6af3
Compare
Choose a tag to compare
  • Major changes:
    • Add Web.FormUrlEncoded to work with form data (see #32).
  • Minor changes:
    • Add instances for Numeric.Natural (see d944721).

v0.2.4

23 Jul 21:38
fe67a9e
Compare
Choose a tag to compare
  • Make parseHeader total (instead of throwing exceptions on invalid Unicode, see #30).