Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/mtl refactor #18

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
${{ runner.os }}-${{ matrix.ghc }}-
${{ runner.os }}-
- run: cabal update
- run: cabal build --enable-tests --flags=ci all
- run: cabal build --enable-tests --flags=ci all --write-ghc-environment-files=always
- run: cabal test --enable-tests --flags=ci --test-show-details=direct all
- run: cabal haddock all
- run: cabal sdist all
Expand Down
7 changes: 7 additions & 0 deletions matrix-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.1.5.0

- Replaces MatrixIO with a new mtl style API using ExceptT MatrixError and ReaderT ClientSession.
- Adds loginToken.
- Adds loginTokenWithManager and createSessionWithManager to support custom http Manager.
- Replaces IdentitySession with ClientSession.

## 0.1.4.0

- Completes The Room API
Expand Down
4 changes: 3 additions & 1 deletion matrix-client/matrix-client.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: matrix-client
version: 0.1.4.0
version: 0.1.5.0
synopsis: A matrix client library
description:
Matrix client is a library to interface with https://matrix.org.
Expand Down Expand Up @@ -56,6 +56,7 @@ common lib-depends
, http-client >= 0.5.0 && < 0.8
, http-client-tls >= 0.2.0 && < 0.4
, http-types >= 0.10.0 && < 0.13
, mtl
, network-uri
, profunctors
, retry ^>= 0.8
Expand Down Expand Up @@ -85,3 +86,4 @@ test-suite unit
, hspec >= 2
, matrix-client
, text
, doctest
Loading