servant-foreign

Helpers for generating clients for servant APIs in any programming language

http://docs.servant.dev/

LTS Haskell 22.13:0.16@rev:2
Stackage Nightly 2024-03-14:0.16@rev:2
Latest on Hackage:0.16@rev:2

See all snapshots servant-foreign appears in

BSD-3-Clause licensed by Servant Contributors
Maintained by [email protected]
This version can be pinned in stack with:servant-foreign-0.16@sha256:4ec85c2990c176f9fef3d74b4e37213019256f718d7f5812b510c809524677d7,2881

Module documentation for 0.16

Used by 2 packages in nightly-2024-03-14(full list with versions):

servant-foreign

servant

Types and helpers for generating clients for servant servers in arbitrary programming languages.

Changes

The latest version of this document is on GitHub. Changelog for servant package contains significant entries for all core packages.

0.16

  • WithResource combinator for Servant-managed resources #1630

    For servant-foreign, this meant the addition of HasForeign instances.

0.15.4

Significant changes

  • Documentation improvements.

Other changes

  • Support GHC-9.0.1.
  • Bump lens and hspec dependencies.

0.15.3

Significant changes

  • Support Fragment combinator.

0.15.2

  • Support servant-0.18.

0.15.1

  • Support servant-0.17

0.15

0.11.1

  • Add missing Semigroup instances

0.11

Breaking changes

  • servant Add Servant.API.Modifiers (#873)
  • Make foreign client Header arguments have the representation of ‘Maybe’ in those languages (#843)

0.10.2

Changes

  • Add instances for Description and Summary combinators (#767)
  • Derive Data for all types (#809)

0.10.1

Changes

  • Don’t drop samples in HasDocs ReqBody instance (#755). Breaking change in an Internal module.

0.10

Breaking changes

  • Do not apply JavaScript specific mangling to the names. (#191)

0.7.1

  • Support GHC 8.0 0.15

0.11.1

  • Add missing Semigroup instances

0.11

Breaking changes

  • servant Add Servant.API.Modifiers (#873)
  • Make foreign client Header arguments have the representation of ‘Maybe’ in those languages (#843)

0.10.2

Changes

  • Add instances for Description and Summary combinators (#767)
  • Derive Data for all types (#809)

0.10.1

Changes

  • Don’t drop samples in HasDocs ReqBody instance (#755). Breaking change in an Internal module.

0.10

Breaking changes

  • Do not apply JavaScript specific mangling to the names. (#191)

0.7.1

  • Support GHC 8.0

0.5

  • Use the text package instead of String.
  • Extract javascript-oblivious types and helpers to servant-foreign
  • Typed-languages support