git.iko.soy/typeable/servant
on master help sign in
Add changelog and bump versions
commit56a72d7d48fb1f4f3b42cf5e4b27be039135f12d authorOleg Grenrus <oleg.grenrus@iki.fi> dateThu 8 Feb 2018, 12:29 (9 years ago) parent4d38938
15 files changed+131−18
.travis.yml+2−2 cabal.project+5−1 servant-client-core/CHANGELOG.md+8 servant-client-core/servant-client-core.cabal+2−2 servant-client-ghcjs/servant-client-ghcjs.cabal+2−2 servant-client/CHANGELOG.md+11 servant-client/servant-client.cabal+4−4 servant-docs/CHANGELOG.md+7 servant-docs/servant-docs.cabal+2−2 servant-foreign/CHANGELOG.md+3−1 servant-foreign/servant-foreign.cabal+1−1 servant-server/CHANGELOG.md+8 servant-server/servant-server.cabal+2−2 servant/CHANGELOG.md+73 servant/servant.cabal+1−1
.travis.yml+2−2
@@ -71,7 +71,7 @@ install:
7171 - grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
7272 - "printf 'packages: \"servant\" \"servant-client\" \"servant-client-core\" \"servant-docs\" \"servant-foreign\" \"servant-server\" \"doc/tutorial\" \"doc/cookbook/db-postgres-pool\" \"doc/cookbook/jwt-and-basic-auth\" \"doc/cookbook/db-sqlite-simple\" \"doc/cookbook/basic-auth\" \"doc/cookbook/https\" \"doc/cookbook/structuring-apis\" \"doc/cookbook/using-custom-monad\" \"doc/cookbook/file-upload\"\\n' > cabal.project"
7373 - "echo 'constraints: foundation >=0.0.14,memory <0.14.12 || >0.14.12' >> cabal.project"
74− - "echo 'allow-newer: servant-js:servant-foreign,servant-auth-server:http-types,servant-multipart:lens,servant-multipart:resourcet' >> cabal.project"
74+ - "echo 'allow-newer: servant-js:servant,servant-js:servant-foreign,servant-auth-server:http-types,servant-multipart:lens,servant-multipart:resourcet,servant-multipart:servant,servant-multipart:servant-server,servant-auth-server:servant-server' >> cabal.project"
7575 - cat cabal.project
7676 - if [ -f "servant/configure.ac" ]; then
7777 (cd "servant" && autoreconf -i);
@@ -149,7 +149,7 @@ script:
149149 - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
150150 - "printf 'packages: servant-*/*.cabal servant-client-*/*.cabal servant-client-core-*/*.cabal servant-docs-*/*.cabal servant-foreign-*/*.cabal servant-server-*/*.cabal tutorial-*/*.cabal cookbook-db-postgres-pool-*/*.cabal cookbook-jwt-and-basic-auth-*/*.cabal cookbook-db-sqlite-simple-*/*.cabal cookbook-basic-auth-*/*.cabal cookbook-https-*/*.cabal cookbook-structuring-apis-*/*.cabal cookbook-using-custom-monad-*/*.cabal cookbook-file-upload-*/*.cabal\\n' > cabal.project"
151151 - "echo 'constraints: foundation >=0.0.14,memory <0.14.12 || >0.14.12' >> cabal.project"
152− - "echo 'allow-newer: servant-js:servant-foreign,servant-auth-server:http-types,servant-multipart:lens,servant-multipart:resourcet' >> cabal.project"
152+ - "echo 'allow-newer: servant-js:servant,servant-js:servant-foreign,servant-auth-server:http-types,servant-multipart:lens,servant-multipart:resourcet,servant-multipart:servant,servant-multipart:servant-server,servant-auth-server:servant-server' >> cabal.project"
153153 - cat cabal.project
154154 - echo -en 'travis_fold:end:unpack\\r'
155155
cabal.project+5−1
@@ -8,10 +8,14 @@ packages: servant/
88 doc/cookbook/*/*.cabal
99
1010allow-newer:
11+ servant-js:servant,
1112 servant-js:servant-foreign,
1213 servant-auth-server:http-types,
1314 servant-multipart:lens,
14− servant-multipart:resourcet
15+ servant-multipart:resourcet,
16+ servant-multipart:servant,
17+ servant-multipart:servant-server,
18+ servant-auth-server:servant-server
1519
1620constraints:
1721 -- see https://github.com/haskell-infra/hackage-trustees/issues/119
servant-client-core/CHANGELOG.md+8
@@ -1,6 +1,14 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client-core/CHANGELOG.md)
22[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
33
4+0.13
5+----
6+
7+- Streaming endpoint support.
8+ ([#836](https://github.com/haskell-servant/servant/pull/836))
9+- *servant* Add `Servant.API.Modifiers`
10+ ([#873](https://github.com/haskell-servant/servant/pull/873))
11+
4120.12
513----
614
servant-client-core/servant-client-core.cabal+2−2
@@ -1,5 +1,5 @@
11name: servant-client-core
2−version: 0.12
2+version: 0.13
33synopsis: Core functionality and class for client function generation for servant APIs
44description:
55 This library provides backend-agnostic generation of client functions. For
@@ -57,7 +57,7 @@ library
5757
5858 -- Servant dependencies
5959 build-depends:
60− servant == 0.12.*
60+ servant == 0.13.*
6161
6262 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
6363 -- Here can be exceptions if we really need features from the newer versions.
servant-client-ghcjs/servant-client-ghcjs.cabal+2−2
@@ -1,5 +1,5 @@
11name: servant-client-ghcjs
2−version: 0.11
2+version: 0.13
33synopsis: automatical derivation of querying functions for servant webservices for ghcjs
44description:
55 This library lets you automatically derive Haskell functions that
@@ -43,7 +43,7 @@ library
4343 , monad-control >= 1.0.0.4 && < 1.1
4444 , mtl >= 2.1 && < 2.3
4545 , semigroupoids >= 4.3 && < 5.3
46− , servant-client-core >= 0.12 && < 0.13
46+ , servant-client-core == 0.13.*
4747 , string-conversions >= 0.3 && < 0.5
4848 , transformers >= 0.3 && < 0.6
4949 , transformers-base >= 0.4.4 && < 0.5
servant-client/CHANGELOG.md+11
@@ -1,6 +1,17 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md)
22[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
33
4+0.13
5+----
6+
7+- Streaming endpoint support.
8+ ([#836](https://github.com/haskell-servant/servant/pull/836))
9+- *servant* Add `Servant.API.Modifiers`
10+ ([#873](https://github.com/haskell-servant/servant/pull/873))
11+- *servant-client* Support `http-client`’s `CookieJar`
12+ ([#897](https://github.com/haskell-servant/servant/pull/897)
13+ [#883](https://github.com/haskell-servant/servant/pull/883))
14+
4150.12.0.1
516--------
617
servant-client/servant-client.cabal+4−4
@@ -1,5 +1,5 @@
11name: servant-client
2−version: 0.12.0.1
2+version: 0.13
33synopsis: automatical derivation of querying functions for servant webservices
44description:
55 This library lets you derive automatically Haskell functions that
@@ -54,7 +54,7 @@ library
5454
5555 -- Servant dependencies
5656 build-depends:
57− servant-client-core == 0.12.*
57+ servant-client-core == 0.13.*
5858
5959 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
6060 -- Here can be exceptions if we really need features from the newer versions.
@@ -118,8 +118,8 @@ test-suite spec
118118 , HUnit >= 1.6 && < 1.7
119119 , network >= 2.6.3.2 && < 2.7
120120 , QuickCheck >= 2.10.1 && < 2.12
121− , servant == 0.12.*
122− , servant-server == 0.12.*
121+ , servant == 0.13.*
122+ , servant-server == 0.13.*
123123
124124 build-tool-depends:
125125 hspec-discover:hspec-discover >= 2.4.4 && < 2.5
servant-docs/CHANGELOG.md+7
@@ -1,6 +1,13 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-docs/CHANGELOG.md)
22[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
33
4+0.11.2
5+------
6+
7+* Allow `servant-0.13`:
8+ - Doesn't have instances for streaming.
9+ - Servant.API.Modifiers extra information isn't used.
10+
4110.11.1
512------
613
servant-docs/servant-docs.cabal+2−2
@@ -1,5 +1,5 @@
11name: servant-docs
2−version: 0.11.1
2+version: 0.11.2
33synopsis: generate API docs for your servant webservice
44description:
55 Library for generating API docs from a servant API definition.
@@ -51,7 +51,7 @@ library
5151
5252 -- Servant dependencies
5353 build-depends:
54− servant == 0.12.*
54+ servant == 0.13.*
5555
5656 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
5757 -- Here can be exceptions if we really need features from the newer versions.
servant-foreign/CHANGELOG.md+3−1
@@ -6,7 +6,9 @@
66
77### Breaking changes
88
9−* Make foreign client Header arguments have the representation of 'Maybe' in those languages
9+- *servant* Add `Servant.API.Modifiers`
10+ ([#873](https://github.com/haskell-servant/servant/pull/873))
11+- Make foreign client Header arguments have the representation of 'Maybe' in those languages
1012 ([#843](https://github.com/haskell-servant/servant/pull/843))
1113
12140.10.2
servant-foreign/servant-foreign.cabal+1−1
@@ -47,7 +47,7 @@ library
4747
4848 -- Servant dependencies
4949 build-depends:
50− servant == 0.12.*
50+ servant == 0.13.*
5151
5252 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
5353 -- Here can be exceptions if we really need features from the newer versions.
servant-server/CHANGELOG.md+8
@@ -1,6 +1,14 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md)
22[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
33
4+0.13
5+----
6+
7+- Streaming endpoint support.
8+ ([#836](https://github.com/haskell-servant/servant/pull/836))
9+- *servant* Add `Servant.API.Modifiers`
10+ ([#873](https://github.com/haskell-servant/servant/pull/873))
11+
4120.12
513----
614
servant-server/servant-server.cabal+2−2
@@ -1,5 +1,5 @@
11name: servant-server
2−version: 0.12
2+version: 0.13
33synopsis: A family of combinators for defining webservices APIs and serving them
44description:
55 A family of combinators for defining webservices APIs and serving them
@@ -70,7 +70,7 @@ library
7070
7171 -- Servant dependencies
7272 build-depends:
73− servant == 0.12.*
73+ servant == 0.13.*
7474
7575 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
7676 -- Here can be exceptions if we really need features from the newer versions.
servant/CHANGELOG.md+73
@@ -1,5 +1,78 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
22
3+0.13
4+----
5+
6+### Significant changes
7+
8+- Streaming endpoint support.
9+ ([#836](https://github.com/haskell-servant/servant/pull/836))
10+
11+ ```haskell
12+ type StreamApi f = "streamGetNewline" :> StreamGet NewlineFraming JSON (f Person)
13+ ```
14+
15+ See tutorial for more details
16+ - [A web API as a type - StreamGet and StreamPost](http://haskell-servant.readthedocs.io/en/release-0.13/tutorial/ApiType.html#streamget-and-streampost)
17+ - [Serving an API - streaming endpoints](http://haskell-servant.readthedocs.io/en/release-0.13/tutorial/Server.html#streaming-endpoints)
18+ - [Querying an API - Querying Streaming APIs](http://haskell-servant.readthedocs.io/en/release-0.13/tutorial/Client.html#querying-streaming-apis)
19+
20+- *servant* Add `Servant.API.Modifiers`
21+ ([#873](https://github.com/haskell-servant/servant/pull/873))
22+
23+ `QueryParam`, `Header` and `ReqBody` understand modifiers:
24+ - `Required` or `Optional` (resulting in `a` or `Maybe a` in handlers)
25+ - `Strict` or `Lenient` (resulting in `a` or `Either String a` in handlers)
26+
27+- *servant-client* Support `http-client`’s `CookieJar`
28+ ([#897](https://github.com/haskell-servant/servant/pull/897)
29+ [#883](https://github.com/haskell-servant/servant/pull/883))
30+
31+ `ClientM` preserves cookies between requests,
32+ if given initial `CookieJar`.
33+ To migrate from older code, change `ClientEnv` constructor
34+ to `mkClientEnv` which makes `ClientEnv` without `CookieJar`.
35+
36+- *servant* Mono-kind-ise modifiers, resulting in better error messages.
37+ ([#887](https://github.com/haskell-servant/servant/issues/887)
38+ [#890](https://github.com/haskell-servant/servant/pull/890))
39+
40+- *servant* Add `TypeError ... => HasServer`s instances in GHC-8.2 for
41+ not saturated modifiers (`Capture "foo" :> ...`) or `->` in place of `:>`.
42+ ([#893](https://github.com/haskell-servant/servant/pull/893))
43+
44+- *Cookbook* example projects at
45+ http://haskell-servant.readthedocs.io/en/master/cookbook/index.html
46+ ([#867](https://github.com/haskell-servant/servant/pull/867)
47+ [#892](https://github.com/haskell-servant/servant/pull/882))
48+
49+- *Experimental work* `servant-client-ghcjs`
50+ ([#818](https://github.com/haskell-servant/servant/pull/818)
51+ [#869](https://github.com/haskell-servant/servant/pull/869))
52+
53+### Other changes
54+
55+- *servant* Links aren't double escaped
56+ ([#878](https://github.com/haskell-servant/servant/pull/878))
57+
58+- Dependency updates
59+ ([#900](https://github.com/haskell-servant/servant/pull/900)
60+ [#898](https://github.com/haskell-servant/servant/pull/898)
61+ [#895](https://github.com/haskell-servant/servant/pull/895)
62+ [#872](https://github.com/haskell-servant/servant/pull/872))
63+
64+- Documentation updates
65+ ([#875](https://github.com/haskell-servant/servant/pull/875)
66+ [#861](https://github.com/haskell-servant/servant/pull/861))
67+
68+- Refactorings
69+ ([#899](https://github.com/haskell-servant/servant/pull/899)
70+ [#896](https://github.com/haskell-servant/servant/pull/896)
71+ [#889](https://github.com/haskell-servant/servant/pull/889)
72+ [#891](https://github.com/haskell-servant/servant/pull/891)
73+ [#892](https://github.com/haskell-servant/servant/pull/892)
74+ [#885](https://github.com/haskell-servant/servant/pull/885))
75+
3760.12.1
477------
578
servant/servant.cabal+1−1
@@ -1,5 +1,5 @@
11name: servant
2−version: 0.12
2+version: 0.13
33synopsis: A family of combinators for defining webservices APIs
44description:
55 A family of combinators for defining webservices APIs and serving them