git.iko.soy/typeable/servant
on release-0.12 help sign in
typeable/servant/README.md
60 lines 2.9 kB history raw
1# servant - A Type-Level Web DSL
3![servant](https://raw.githubusercontent.com/haskell-servant/servant/master/servant.png)
5## Getting Started
7We have a [tutorial](http://haskell-servant.readthedocs.org/en/stable/tutorial/index.html) that
8introduces the core features of servant. After this article, you should be able
9to write your first servant webservices, learning the rest from the haddocks'
10examples.
12The central documentation can be found [here](http://haskell-servant.readthedocs.org/).
13Other blog posts, videos and slides can be found on the
14[website](http://haskell-servant.github.io/).
16If you need help, drop by the IRC channel (#servant on freenode) or [mailing
17list](https://groups.google.com/forum/#!forum/haskell-servant).
19## Version history
21This table lists the versions of some `servant-` libraries at the point of
22release of `servant` package.
24| | **0.10** | **0.11** | **0.12** |
25| ------------------- | -------- |---------------------|
26| servant | 0.10 | 0.11 | 0.12 |
27| servant-blaze | 0.7.1 | ? | ? |
28| servant-cassava | 0.7 | ? | ? |
29| servant-client | 0.10 | 0.11 | 0.12 |
30| servant-docs | 0.10 | 0.11 | 0.11.1 |
31| servant-foreign | 0.10 | 0.10.0.1 | 0.10.2 |
32| servant-js | 0.9.1 | ? | ? |
33| servant-lucid | 0.7.1 | ? | ? |
34| servant-mock | 0.8.1.1 | ? | ? |
35| servant-server | 0.10 | 0.11 | 0.12 |
36| servant-swagger | 1.1.2.1 | ? | ? |
38## Contributing
40See `CONTRIBUTING.md`
42## Release process outline (by phadej)
44- Update changelog and bump versions in `master`
45 - `git log --oneline v0.12.. | grep 'Merge pull request'` is a good starting point (use correct previous release tag)
46- Create a release branch, e.g. `release-0.13`, and *protect it* from accidental force pushes.
47 - Release branch is useful for backporting fixes from `master`
48- Smoke test in [`servant-universe`](https://github.com/phadej/servant-universe)
49 - `git submodule foreach git checkout master` and `git submodule foreach git pull` to get newest of everything.
50 - `cabal new-build --enable-tests all` to verify that everything builds, and `cabal new-test all` to run tests
51 - It's a good idea to separate these steps, as tests often pass, if they compile :)
52 - See `cabal.project` to selectively `allow-newer`
53 - If some packages are broken, on your discretisation there are two options:
54 - Fix them and make PRs: it's good idea to test against older `servant` version too.
55 - Temporarily comment out broken package
56 - If you make a commit for `servant-universe`, you can use it as submodule in private projects to test even more
57- When ripples are cleared out:
58 - `git tag -s` the release
59 - `git push --tags`
60 - `cabal sdist` and `cabal upload`