Skip to content

Commit

Permalink
Bump rest-client, rest-core, rest-example, rest-gen, rest-happstack, …
Browse files Browse the repository at this point in the history
…rest-snap, rest-types, rest-wai
  • Loading branch information
bergmark committed Feb 23, 2015
1 parent 13a6bd2 commit a2d2620
Show file tree
Hide file tree
Showing 17 changed files with 106 additions and 34 deletions.
9 changes: 9 additions & 0 deletions rest-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

#### 0.5.0.0

* Add `ApiStateC ExceptT` instance

* Add `MonadCatch ApiT` instance.

* Remove dependency on `exception-transformers` and drop `MonadException` instances. Use `MonadCatch` and `MonadThrow` instead.


#### 0.4.0.5

* Allow `aeson-utils 0.3.*`
Expand Down
4 changes: 2 additions & 2 deletions rest-client/rest-client.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rest-client
version: 0.4.0.5
version: 0.5.0.0
description: Utility library for use in generated API client libraries.
synopsis: Utility library for use in generated API client libraries.
maintainer: code@silk.co
Expand Down Expand Up @@ -38,7 +38,7 @@ Library
, mtl >= 2.0 && < 2.3
, primitive == 0.5.*
, resourcet >= 1.1.4 && < 1.2
, rest-types >= 1.11 && < 1.13
, rest-types == 1.13.*
, tostring == 0.2.*
, transformers >= 0.3 && < 0.5
, transformers-base >= 0.4.4 && < 0.5
Expand Down
29 changes: 29 additions & 0 deletions rest-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## 0.35

* Change input/output dictionaries to indicate separately if there are
dictionaries, and for what type. This is a breaking change. The most
likely problems are where `Reason ()` is explicitly used in handlers
without error dictionaries. Simply replace these with `Reason_`.
Additionally, all `some*` combinators are deprecated now. They are
just the identity function and can be removed.

* The types of all dictionary combinators have changed, the Dicts
type, the dicts smart constructor, empty, SomeError, Modifier, many
internal (but exported) things in Rest.Driver.Perform, some types in
Rest.Handler, and Void was moved.

* Switched all usages of `ErrorT` to `ExceptT`. To stay backwards
compatible with older versions of `transformers` and `mtl` you can
use the `transformers-compat` and `mtl-compat` packages. To update
your code: `s/ErrorT/ExceptT` and
`s/Control.Monad.Error/Control.Monad.Except/`.

* Add `>|<` to `Rest.Error`. It combines two `ExceptT` computations
yielding the last error if both fail. This is a replacement for
using `<|>` with `ErrorT` since the `Alternative ExceptT` instance
needs a `Monoid` instance for the error.

* Fix typos in haddock for `Param` dictionary.

* Switch to explicit export lists where missing.

#### 0.34.0.3

* Allow `aeson-utils 0.3.*`
Expand Down
8 changes: 4 additions & 4 deletions rest-core/rest-core.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rest-core
version: 0.34.0.3
version: 0.35
description: Rest API library.
synopsis: Rest API library.
maintainer: code@silk.co
Expand All @@ -14,8 +14,8 @@ extra-source-files:
LICENSE

source-repository head
Type: Git
Location: https://github.com/silkapp/rest.git
type: git
location: https://github.com/silkapp/rest.git

library
ghc-options: -Wall
Expand Down Expand Up @@ -55,7 +55,7 @@ library
, multipart >= 0.1.1 && < 0.2
, random >= 1.0 && < 1.2
, rest-stringmap == 0.2.*
, rest-types == 1.12.*
, rest-types == 1.13.*
, safe >= 0.2 && < 0.4
, semigroups == 0.16.*
, split >= 0.1 && < 0.3
Expand Down
4 changes: 4 additions & 0 deletions rest-example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

#### 0.2.0.0

* Change to use `ExceptT` and bump rest dependencies

#### 0.1.2.2

* Bump `rest-core`.
Expand Down
25 changes: 15 additions & 10 deletions rest-example/client/restexample-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,22 @@ version: 0.1.1
cabal-version: >=1.8
build-type: Simple
license: AllRightsReserved

library
build-depends: base ==4.*, rest-types ==1.12.*,
rest-client ==0.4.*, text >=0.10 && <1.3, rest-example -any,
rest-stringmap ==0.2.*
exposed-modules: Restexample.Client.Post
Restexample.Client.Post.Comment Restexample.Client.Test
Restexample.Client.Test.FooBar Restexample.Client.Test.Import
Restexample.Client.User
build-depends:
base ==4.*,
rest-types ==1.13.*,
rest-client ==0.5.*,
text >=0.10 && <1.3,
rest-example ==0.2.*,
rest-stringmap ==0.2.*
exposed-modules:
Restexample.Client.Post
Restexample.Client.Post.Comment
Restexample.Client.Test
Restexample.Client.Test.FooBar
Restexample.Client.Test.Import
Restexample.Client.User
exposed: True
buildable: True
hs-source-dirs: src


14 changes: 7 additions & 7 deletions rest-example/rest-example.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rest-example
version: 0.1.2.2
version: 0.2.0.0
synopsis: Example project for rest
homepage: http://www.github.com/silkapp/rest
license: BSD3
Expand Down Expand Up @@ -50,7 +50,7 @@ library
, mtl >= 2.0 && < 2.3
, regular == 0.3.*
, regular-xmlpickler == 0.2.*
, rest-core >= 0.33 && < 0.35
, rest-core == 0.35.*
, safe >= 0.2 && < 0.4
, transformers >= 0.2 && < 0.5
, transformers-compat == 0.4.*
Expand Down Expand Up @@ -94,7 +94,7 @@ executable rest-example-happstack
base >= 4.6 && < 4.8
, happstack-server >= 7.1 && < 7.5
, mtl >= 2.0 && < 2.3
, rest-core >= 0.33 && < 0.35
, rest-core == 0.35.*
, rest-example
, rest-happstack == 0.2.*
, transformers-compat == 0.4.*
Expand All @@ -111,7 +111,7 @@ executable rest-example-wai
build-depends:
base >= 4.6 && < 4.8
, mtl >= 2.0 && < 2.3
, rest-core >= 0.33 && < 0.35
, rest-core == 0.35.*
, rest-example
, rest-wai == 0.1.*
, wai >= 2.1 && < 3.1
Expand All @@ -130,7 +130,7 @@ executable rest-example-snap
build-depends:
base >= 4.6 && < 4.8
, mtl >= 2.0 && < 2.3
, rest-core >= 0.33 && < 0.35
, rest-core == 0.35.*
, rest-example
, rest-snap == 0.1.*
, snap-core == 0.9.*
Expand All @@ -149,9 +149,9 @@ executable rest-example-gen
build-depends:
base >= 4.6 && < 4.8
, mtl >= 2.0 && < 2.3
, rest-core >= 0.33 && < 0.35
, rest-core == 0.35.*
, rest-example
, rest-gen >= 0.14 && < 0.17
, rest-gen >= 0.14 && < 0.18
, transformers-compat == 0.4.*
else
buildable: False
5 changes: 5 additions & 0 deletions rest-gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

#### 0.17.0.0

* Docs: More exhaustive examples of JSON messages showing each possible node in the schema at least once.
* Docs: Make example popup scrollable.

#### 0.16.1.8

* Remove dependency on hslogger.
Expand Down
6 changes: 3 additions & 3 deletions rest-gen/rest-gen.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rest-gen
version: 0.16.1.8
version: 0.17.0.0
description: Documentation and client generation from rest definition.
synopsis: Documentation and client generation from rest definition.
maintainer: code@silk.co
Expand Down Expand Up @@ -62,7 +62,7 @@ library
, json-schema >= 0.6 && < 0.8
, pretty >= 1.0 && < 1.2
, process >= 1.0 && < 1.3
, rest-core >= 0.31 && < 0.35
, rest-core >= 0.31 && < 0.36
, safe >= 0.2 && < 0.4
, semigroups >= 0.5.0 && < 0.17
, scientific >= 0.3.2 && < 0.4
Expand All @@ -83,7 +83,7 @@ test-suite rest-gen-tests
, HUnit == 1.2.*
, fclabels >= 1.0.4 && < 2.1
, haskell-src-exts >= 1.15.0 && < 1.17
, rest-core >= 0.31 && < 0.35
, rest-core >= 0.31 && < 0.36
, rest-gen
, test-framework == 0.8.*
, test-framework-hunit == 0.3.*
6 changes: 5 additions & 1 deletion rest-happstack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

#### 0.2.10.7

* Bump `rest-core` and `rest-gen` upper bounds.

#### 0.2.10.6

* Allow utf8-string 1.
* Allow `utf8-string 1.0.*`.

#### 0.2.10.5

Expand Down
4 changes: 2 additions & 2 deletions rest-happstack/rest-happstack.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ library
, containers >= 0.4 && < 0.6
, happstack-server >= 7.0.5 && < 7.5
, mtl >= 2.0 && < 2.3
, rest-core == 0.34.*
, rest-gen >= 0.14 && < 0.17
, rest-core >= 0.34 && < 0.36
, rest-gen >= 0.14 && < 0.18
, utf8-string >= 0.3 && < 1.1
4 changes: 4 additions & 0 deletions rest-snap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

#### 0.1.17.17

* Bump `rest-core` upper bound.

#### 0.1.17.16

* Allow utf8-string 1.
Expand Down
4 changes: 2 additions & 2 deletions rest-snap/rest-snap.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rest-snap
version: 0.1.17.16
version: 0.1.17.17
description: Rest driver for Snap.
synopsis: Rest driver for Snap.
maintainer: code@silk.co
Expand All @@ -25,7 +25,7 @@ library
base == 4.*
, bytestring >= 0.9 && < 0.11
, case-insensitive >= 0.4 && < 1.3
, rest-core == 0.34.*
, rest-core >= 0.34 && < 0.36
, safe >= 0.2 && < 0.4
, snap-core == 0.9.*
, unordered-containers == 0.2.*
Expand Down
6 changes: 6 additions & 0 deletions rest-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.13

* Change the type of `Reason_` from `Reason ()` to `Reason Void`
* Remove the no longer needed `ToResponseCode ()` instance
* Removed `Error` instances for `DataError`, `Reason e`, and `SomeReason`.

## 1.12

* Add `method` field to `Resource`, allowing you to use different
Expand Down
2 changes: 1 addition & 1 deletion rest-types/rest-types.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rest-types
version: 1.12
version: 1.13
description: Silk Rest Framework Types
synopsis: Silk Rest Framework Types
maintainer: code@silk.co
Expand Down
6 changes: 6 additions & 0 deletions rest-wai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

#### 0.1.0.7

* Make header comparison case-insensitive.

* Bump `rest-core` upper bound.

#### 0.1.0.6

* Remove unneeded dependency on utf8-string.
Expand Down
4 changes: 2 additions & 2 deletions rest-wai/rest-wai.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rest-wai
version: 0.1.0.6
version: 0.1.0.7
description: Rest driver for WAI applications.
synopsis: Rest driver for WAI applications.
maintainer: code@silk.co
Expand Down Expand Up @@ -29,7 +29,7 @@ library
, http-types == 0.8.*
, mime-types == 0.1.*
, mtl >= 2.0 && < 2.3
, rest-core == 0.34.*
, rest-core >= 0.34 && < 0.36
, text >= 0.11 && < 1.3
, unordered-containers == 0.2.*
, wai >= 2.1 && < 3.1

0 comments on commit a2d2620

Please sign in to comment.