servant-foreign

Helpers for generating clients for servant APIs in any programming language

http://docs.servant.dev/

LTS Haskell 22.40:0.16.1
Stackage Nightly 2024-11-04:0.16.1
Latest on Hackage:0.16.1

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.1@sha256:6ebe3ecd26e21cda403d686d9de9c89ae2f0662c10286ca5b8f10fc5c4ee345a,2798

Module documentation for 0.16.1

Used by 3 packages in nightly-2024-11-04(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