rest-types

Silk Rest Framework Types

Version on this page:1.14.1.1@rev:4
LTS Haskell 11.22:1.14.1.2
Stackage Nightly 2018-03-12:1.14.1.1@rev:4
Latest on Hackage:1.14.1.2@rev:1

See all snapshots rest-types appears in

BSD-3-Clause licensed
Maintained by [email protected]
This version can be pinned in stack with:rest-types-1.14.1.1@sha256:aba60488f16765240847a6aa4d9066efceca8baf13f45b2176892fe625eb4513,1175

Silk Rest Framework Types

Changes

Changelog

1.14.1.1

  • Fix compilation with GHC 7.8.

1.14.1

  • Add instances of Eq, Ord, Read, Functor, Foldable, and Traversable for List.
  • Fix compilation with GHC 8.

1.14.0.1

  • Allow aeson 0.9.* and (revision) 0.10.*

1.14

  • Switch XML serialization from regular (regular-xmlpickler) to GHC Generics (generic-xmlpickler). The derived serialization formats should be equivalent. Instead of deriving PF instances datatypes you should now derive Generic. The PF instances have also been removed from this package.

1.13.1

  • Add Applicative and Monad instances for Reason.
  • Add Eq, Ord and Read instances for Void.

1.13

  • Change the type of Reason_ from Reason () to Reason Void
  • Remove the no longer needed ToResponseCode () instance
  • Removed Error instances for DataError, Reason e, and SomeReason.

1.12

  • Add method field to Resource, allowing you to use different methods than GET in a multi-action.
  • Add Method data type.

1.11.1.1

  • Return a 405 for unsupported methods.

1.11.1

  • Moved Range from rest-core to Rest.Types.Range.

1.11

  • Added Rest.Types.Error.ToResponseCode for getting the response codes of errors.
  • Removed responseCode from Rest.Types.Error.DomainReason, use toResponseCode instead.
  • Added Rest.Types.Info, moved from rest-core.

1.10.2

  • Add Functor, Foldable and Traversable instances for the types in Rest.Types.Error.

1.10.1

  • Added ShowUrl instance for strict and lazy Text.

1.10.0.3

  • Use JSONSchema Any type instead of Choice [].

1.10.0.2

  • Use rest-stringmap == 0.2.*.

1.10.0.1

  • Allow mtl == 2.2.*.

1.10

  • Removed Rest.Container.StringMap in favor of rest-stringmap. KeyValues is now an alias for Rest.StringMap.HashMap.Strict String Value.