Commit graph

35 commits

Author SHA1 Message Date
Mika Tammi
17b55634b3
servant-client-ghcjs: Fix performRequest function
Fix performRequest function to be compatible with the latest
servant-client-core RunClient typeclass
2022-02-11 20:55:34 +02:00
Mika Tammi
3158809631
servant-client-ghcjs: Bump base max-bound 2022-02-11 20:22:57 +02:00
Gaël Deest
e4945740aa Prepare 0.19 release 2022-02-01 10:17:03 +01:00
Matthieu Coudron
73c87bc2bc
bumped cabal-version field (#1498)
* bumped cabal-version field

Cabal supports two types of licenses, native and SPDX, which can be seen here hackage.haskell.org/package/Cabal-3.6.2.0/docs/Distribution-Types-PackageDescription.html#v:licenseRaw

Several packages use BSD-3-Clause as a license, in conjonction with cabal-version: >=1.10 which cabal parses as Right (UnknownLicense "BSD-3").
If I change teh cabal-version to cabal-version: 2.2 , cabal correctly identifdies the license License (ELicense (ELicenseId BSD_3_Clause)).

* changed license from cabal to spdx format

aka BSD3 -> BSD-3-Clause: next cabal may deprecate the old format
2022-01-04 22:06:23 +01:00
Théophile Choutri
4e4ad495ef Change the license value to a valid SPDX identifier 2021-10-31 22:37:56 +01:00
Bodigrim
27173c9223
Allow bytestring-0.11 (#1386) 2020-12-16 11:04:49 +01:00
Oleg Grenrus
ec5574b3b7 Allow http-media-0.8 and QuickCheck-2.13 2019-04-16 13:07:28 +03:00
Alp Mestanogullari
a386dd2095 point to www.servant.dev (website) and docs.servant.dev (self-explanatory) 2019-03-02 10:08:03 +01:00
Oleg Grenrus
58b401558d Bump versions to 0.16 2019-02-20 19:06:10 +02:00
Oleg Grenrus
a5655f8d5a Rename ServantError to ClientError, ServantErr to ServerError 2019-02-18 22:51:09 +02:00
Oleg Grenrus
420ebd0475 Refactor servant-client-core
- No more Internal modules
- Remove ClientLike-generic. Let's use Routes-generics
    - Let's see if anyone notices, otherwise we can add it back
- Add Makefile for common tasks
    - Fix servant-client-ghcjs
2019-02-18 19:08:13 +02:00
Oleg Grenrus
a1a99552b5 Changelog and cabal file edits
- Add #1079, #1011 entry
- Stricter internal dependencies
- Unify .cabal files
- Correct -conduit, -machines, -pipes changelog
- Fix years in LICENSEs
- Remove tinc.yamls
- Tweaks to 0.15 changelog
- Add changelogs for all packages
- Add changelogs for new packages (extra-source-files)
2018-11-13 09:58:42 +02:00
Oleg Grenrus
5f947d1c43 Bump version numbers
- Almost everything 0.15; also servant-foreign jumped to 0.15, for
  consistency
- Bump lower bounds of dependencies to most recent versions atm
- Use hspec-2.6.0
- Update `stack.yaml` accordingly
- Use base-compat a bit more
- Drop aeson-compat dependency (in tests and tutorial)
2018-11-09 20:20:26 +02:00
Oleg Grenrus
c95b195eb4 XhrClient doesn't support streaming 2018-11-08 18:47:54 +02:00
Oleg Grenrus
187c3f49d2
Merge pull request #938 from LumiGuide/feat-binary-requests
servant-client-ghcjs: Support binary requests
2018-07-01 11:03:22 +03:00
Oleg Grenrus
6a1fa67fc4 Bump up versions 2018-06-12 19:27:13 +03:00
Oleg Grenrus
c56fda3869 Support GHC-8.4.1 and newer deps 2018-05-26 01:06:36 +03:00
Falco Peijnenburg
4df71dce96 servant-client-ghcjs: Throw exception on streamingRequest
Documented this behaviour in haddocks of client and ClientM
2018-04-28 14:36:47 +02:00
Falco Peijnenburg
108df0857e servant-client-ghcjs: Support binary requests
Introduces support for both sending and receiving binary data
2018-04-28 13:42:26 +02:00
Julian K. Arni
c02ca1b6e1 Implement new constructors for GHCJS.
Streaming is not actually performed - instead the whole object is
    held in memory.
2018-03-19 16:26:57 +01:00
Julian K. Arni
4824fbd961 Bump exceptions upper bound. 2018-03-13 11:07:44 +01:00
Oleg Grenrus
454f53315f Remove catchServantError 2018-03-11 16:50:14 +02:00
Oleg Grenrus
56a72d7d48 Add changelog and bump versions 2018-02-08 15:17:48 +02:00
Oleg Grenrus
c55b778d8e Bump lower bound of http-types >= 0.12
- WIP: pending http-api-data release
- TODO: remove MIN_VERSION_http_types
- There have been 3 major releases of http-types:
  - 0.10 change name of variable
  - 0.11 lowercase escaped URIs
  - 0.12 uppercase escaped URIs
- It's easier for us to support only latest, migration from 0.9/0.10 to 0.12
  is trivial for the downstream. 0.11 may cause semantic (non-type-error) breakage somewhere.

Also allow lens-4.16, remove MIN_VERSION_http_types conditionals, and
update `stack.yaml`
2018-01-30 11:29:25 +02:00
Michal Rus
e4bd07a907 Support http-client’s CookieJar in servant-client 2018-01-26 18:45:52 +02:00
Oleg Grenrus
8f62f81ed9 Allow http-types-0.11 and hspec-wai-0.9 2017-12-10 13:27:45 +02:00
Moritz Kiefer
544bb8184e Bump servant-client-core upperbound in servant-client-ghcjs 2017-12-05 15:32:58 +01:00
Falco Peijnenburg
e3a11dbcdb servant-client-ghcjs: Fixed up README 2017-10-24 21:02:13 +02:00
Falco Peijnenburg
bd52864718 servant-client-ghcjs: README 2017-10-22 15:17:15 +02:00
Falco Peijnenburg
3f905ea41c servant-client-ghcjs: Default runClientM doesn't accept ClientEnv, runClientMOrigin does.
CORS are rare. Most requests by far will be to the origin that served the javascript.
2017-10-22 14:55:18 +02:00
Falco Peijnenburg
911be50df2 servant-client-ghcjs: Fixed not throwing FailureResponse 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
74bde0a73d servant-client-ghcjs: Fixed Accept and Content-Type headers not being set 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
7b38e77b00 servant-client-ghcjs: Version bounds for ghcjs-base and ghcjs-prim 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
8d1229f2d4 servant-client-ghcjs: Renamed GhcjsClientM to ClientM 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
67f2285e30 WIP! Untested! Initial servant-client-ghcjs package 2017-10-22 14:55:18 +02:00