git.iko.soy/typeable/servant
on master help sign in
Add changelog and bump versions
56a72d7Oleg Grenrus
.travis.yml+2−2
@@ -71,7 +71,7 @@ install:
71 - grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
71 - grep -Ev -- '^\s*--' ${HOME}/.cabal/config | grep -Ev '^\s*$'
72 - "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"
72 - "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"
73 - "echo 'constraints: foundation >=0.0.14,memory <0.14.12 || >0.14.12' >> cabal.project"
73 - "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"
75 - cat cabal.project
75 - cat cabal.project
76 - if [ -f "servant/configure.ac" ]; then
76 - if [ -f "servant/configure.ac" ]; then
77 (cd "servant" && autoreconf -i);
77 (cd "servant" && autoreconf -i);
@@ -149,7 +149,7 @@ script:
149 - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
149 - find . -maxdepth 1 -name '*.tar.gz' -exec tar -xvf '{}' \;
150 - "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"
150 - "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"
151 - "echo 'constraints: foundation >=0.0.14,memory <0.14.12 || >0.14.12' >> cabal.project"
151 - "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"
153 - cat cabal.project
153 - cat cabal.project
154 - echo -en 'travis_fold:end:unpack\\r'
154 - echo -en 'travis_fold:end:unpack\\r'
155
155
cabal.project+5−1
@@ -8,10 +8,14 @@ packages: servant/
8 doc/cookbook/*/*.cabal
8 doc/cookbook/*/*.cabal
9
9
10allow-newer:
10allow-newer:
11+ servant-js:servant,
11 servant-js:servant-foreign,
12 servant-js:servant-foreign,
12 servant-auth-server:http-types,
13 servant-auth-server:http-types,
13 servant-multipart:lens,
14 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
15
19
16constraints:
20constraints:
17 -- see https://github.com/haskell-infra/hackage-trustees/issues/119
21 -- see https://github.com/haskell-infra/hackage-trustees/issues/119
servant-client-core/CHANGELOG.md+8
@@ -1,6 +1,14 @@
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client-core/CHANGELOG.md)
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client-core/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
3
3
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+
40.12
120.12
5----
13----
6
14
servant-client-core/servant-client-core.cabal+2−2
@@ -1,5 +1,5 @@
1name: servant-client-core
1name: servant-client-core
2−version: 0.12
2+version: 0.13
3synopsis: Core functionality and class for client function generation for servant APIs
3synopsis: Core functionality and class for client function generation for servant APIs
4description:
4description:
5 This library provides backend-agnostic generation of client functions. For
5 This library provides backend-agnostic generation of client functions. For
@@ -57,7 +57,7 @@ library
57
57
58 -- Servant dependencies
58 -- Servant dependencies
59 build-depends:
59 build-depends:
60− servant == 0.12.*
60+ servant == 0.13.*
61
61
62 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
62 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
63 -- Here can be exceptions if we really need features from the newer versions.
63 -- 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 @@
1name: servant-client-ghcjs
1name: servant-client-ghcjs
2−version: 0.11
2+version: 0.13
3synopsis: automatical derivation of querying functions for servant webservices for ghcjs
3synopsis: automatical derivation of querying functions for servant webservices for ghcjs
4description:
4description:
5 This library lets you automatically derive Haskell functions that
5 This library lets you automatically derive Haskell functions that
@@ -43,7 +43,7 @@ library
43 , monad-control >= 1.0.0.4 && < 1.1
43 , monad-control >= 1.0.0.4 && < 1.1
44 , mtl >= 2.1 && < 2.3
44 , mtl >= 2.1 && < 2.3
45 , semigroupoids >= 4.3 && < 5.3
45 , semigroupoids >= 4.3 && < 5.3
46− , servant-client-core >= 0.12 && < 0.13
46+ , servant-client-core == 0.13.*
47 , string-conversions >= 0.3 && < 0.5
47 , string-conversions >= 0.3 && < 0.5
48 , transformers >= 0.3 && < 0.6
48 , transformers >= 0.3 && < 0.6
49 , transformers-base >= 0.4.4 && < 0.5
49 , transformers-base >= 0.4.4 && < 0.5
servant-client/CHANGELOG.md+11
@@ -1,6 +1,17 @@
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md)
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
3
3
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+
40.12.0.1
150.12.0.1
5--------
16--------
6
17
servant-client/servant-client.cabal+4−4
@@ -1,5 +1,5 @@
1name: servant-client
1name: servant-client
2−version: 0.12.0.1
2+version: 0.13
3synopsis: automatical derivation of querying functions for servant webservices
3synopsis: automatical derivation of querying functions for servant webservices
4description:
4description:
5 This library lets you derive automatically Haskell functions that
5 This library lets you derive automatically Haskell functions that
@@ -54,7 +54,7 @@ library
54
54
55 -- Servant dependencies
55 -- Servant dependencies
56 build-depends:
56 build-depends:
57− servant-client-core == 0.12.*
57+ servant-client-core == 0.13.*
58
58
59 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
59 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
60 -- Here can be exceptions if we really need features from the newer versions.
60 -- Here can be exceptions if we really need features from the newer versions.
@@ -118,8 +118,8 @@ test-suite spec
118 , HUnit >= 1.6 && < 1.7
118 , HUnit >= 1.6 && < 1.7
119 , network >= 2.6.3.2 && < 2.7
119 , network >= 2.6.3.2 && < 2.7
120 , QuickCheck >= 2.10.1 && < 2.12
120 , QuickCheck >= 2.10.1 && < 2.12
121− , servant == 0.12.*
121+ , servant == 0.13.*
122− , servant-server == 0.12.*
122+ , servant-server == 0.13.*
123
123
124 build-tool-depends:
124 build-tool-depends:
125 hspec-discover:hspec-discover >= 2.4.4 && < 2.5
125 hspec-discover:hspec-discover >= 2.4.4 && < 2.5
servant-docs/CHANGELOG.md+7
@@ -1,6 +1,13 @@
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-docs/CHANGELOG.md)
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-docs/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
3
3
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+
40.11.1
110.11.1
5------
12------
6
13
servant-docs/servant-docs.cabal+2−2
@@ -1,5 +1,5 @@
1name: servant-docs
1name: servant-docs
2−version: 0.11.1
2+version: 0.11.2
3synopsis: generate API docs for your servant webservice
3synopsis: generate API docs for your servant webservice
4description:
4description:
5 Library for generating API docs from a servant API definition.
5 Library for generating API docs from a servant API definition.
@@ -51,7 +51,7 @@ library
51
51
52 -- Servant dependencies
52 -- Servant dependencies
53 build-depends:
53 build-depends:
54− servant == 0.12.*
54+ servant == 0.13.*
55
55
56 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
56 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
57 -- Here can be exceptions if we really need features from the newer versions.
57 -- Here can be exceptions if we really need features from the newer versions.
servant-foreign/CHANGELOG.md+3−1
@@ -6,7 +6,9 @@
6
6
7### Breaking changes
7### Breaking changes
8
8
9+- *servant* Add `Servant.API.Modifiers`
10+ ([#873](https://github.com/haskell-servant/servant/pull/873))
9−* Make foreign client Header arguments have the representation of 'Maybe' in those languages
11+- Make foreign client Header arguments have the representation of 'Maybe' in those languages
10 ([#843](https://github.com/haskell-servant/servant/pull/843))
12 ([#843](https://github.com/haskell-servant/servant/pull/843))
11
13
120.10.2
140.10.2
servant-foreign/servant-foreign.cabal+1−1
@@ -47,7 +47,7 @@ library
47
47
48 -- Servant dependencies
48 -- Servant dependencies
49 build-depends:
49 build-depends:
50− servant == 0.12.*
50+ servant == 0.13.*
51
51
52 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
52 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
53 -- Here can be exceptions if we really need features from the newer versions.
53 -- Here can be exceptions if we really need features from the newer versions.
servant-server/CHANGELOG.md+8
@@ -1,6 +1,14 @@
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md)
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
2[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
3
3
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+
40.12
120.12
5----
13----
6
14
servant-server/servant-server.cabal+2−2
@@ -1,5 +1,5 @@
1name: servant-server
1name: servant-server
2−version: 0.12
2+version: 0.13
3synopsis: A family of combinators for defining webservices APIs and serving them
3synopsis: A family of combinators for defining webservices APIs and serving them
4description:
4description:
5 A family of combinators for defining webservices APIs and serving them
5 A family of combinators for defining webservices APIs and serving them
@@ -70,7 +70,7 @@ library
70
70
71 -- Servant dependencies
71 -- Servant dependencies
72 build-depends:
72 build-depends:
73− servant == 0.12.*
73+ servant == 0.13.*
74
74
75 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
75 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
76 -- Here can be exceptions if we really need features from the newer versions.
76 -- Here can be exceptions if we really need features from the newer versions.
servant/CHANGELOG.md+73
@@ -1,5 +1,78 @@
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
1[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
2
2
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+
30.12.1
760.12.1
4------
77------
5
78
servant/servant.cabal+1−1
@@ -1,5 +1,5 @@
1name: servant
1name: servant
2−version: 0.12
2+version: 0.13
3synopsis: A family of combinators for defining webservices APIs
3synopsis: A family of combinators for defining webservices APIs
4description:
4description:
5 A family of combinators for defining webservices APIs and serving them
5 A family of combinators for defining webservices APIs and serving them