Commit graph

529 commits

Author SHA1 Message Date
Victor Denisov
33f2aca7b7 Merge: update to network 3.0
This PR introduces an abstraction layer that
builds a facade for network 2.8 and 3.0.

PR# 98
2019-06-14 20:12:50 -07:00
Scott Fleischman
ef1fc3875c Remove explicit default of _old-network flag.
Following 69378a0846
2019-06-12 08:57:53 -07:00
Scott Fleischman
f84cc03517 Add numeric instances that network's PortNumber has.
In particular this allows you to use `fromIntegral` without having to add the newtype wrapper. This can help existing code move away from importing and referencing the PortID type altogether.
2019-05-30 11:33:13 -07:00
Scott Fleischman
3334d819b4 Improve network versioning; add to benchmarks. 2019-05-30 10:52:25 -07:00
Scott Fleischman
996d3e196b Use same version check as in cabal file; fix typo in comment. 2019-05-30 10:28:23 -07:00
Scott Fleischman
17287b5556 Use network's connectTo when available. 2019-05-30 10:02:06 -07:00
Scott Fleischman
21cf023854 Add module Database.MongoDB.Internal.Network.
Add flag imitating bson package PR for network changes.
Add stack files for compilation checking.

Both ghc86 builds work. Still need to fix ghc84 and under builds with older network code.
2019-05-29 18:02:37 -07:00
Scott Fleischman
5bb77518a8 Revert "Remove use of conduit Producer and Consumer."
This reverts commit 5f04dc6a23.

Leave the use of Producer and Consumer for now until we drop support for conduit-1.2.*.
conduit-1.3 introduces ConduitT and deprecates the use of type synonyms.
However, ConduitT is not present in conduit-1.2.
2019-05-29 17:18:00 -07:00
Scott Fleischman
74a40411c1 Update shadowing warnings. 2019-05-29 17:07:29 -07:00
Scott Fleischman
b094dff057 Prefix internal unused fields with underscore.
Due to warning: [-Wunused-top-binds].
2019-05-29 17:03:03 -07:00
Scott Fleischman
5f04dc6a23 Remove use of conduit Producer and Consumer.
Due to deprecations: "Deprecated: Use ConduitT directly".
2019-05-29 17:01:50 -07:00
Scott Fleischman
c03e1ed746 Use Control.Monad.Except instead of Control.Monad.Error.
Due to the following warning:
"Module ‘Control.Monad.Error’ is deprecated:
  Use "Control.Monad.Except" instead"
2019-05-29 16:57:51 -07:00
Scott Fleischman
13f56bbee4 Use ciphersuite_default instead of ciphersuite_all.
Due to this warning: "This ciphersuite list contains RC4. Use ciphersuite_strong or ciphersuite_default instead."
2019-05-29 16:52:37 -07:00
Scott Fleischman
44770450db Add .stack-work to .gitignore. 2019-05-29 16:30:24 -07:00
Victor Denisov
ea36d6fbb2 Bump version and add changelog entry 2019-03-03 17:38:18 -08:00
Victor Denisov
ddaaa6a9cd Merge doc update for modify method
PR #93
2019-03-03 17:34:31 -08:00
Victor Denisov
85fc268ce4 Force reinstalls when installing dependencies 2019-02-26 18:41:38 -08:00
jaccokrijnen
12ab2aef66
Update Query.hs
Fix url to mongo documentation on update modifiers.
2018-10-31 15:03:23 +01:00
Victor Denisov
eb7273e091 Bump version 2018-05-02 23:20:38 -07:00
Victor Denisov
7d23189fdd Merge fix for ghc-8.4 2018-05-02 23:18:19 -07:00
Victor Denisov
21e87d9e57 Add a changelog entry 2018-04-29 13:16:03 -07:00
Victor Denisov
3b526c035d Reverse build order 2018-04-28 16:27:05 -07:00
Victor Denisov
9e0781dff5 Use stm channels 2018-04-28 16:12:11 -07:00
Victor Denisov
b66318d5ea Add ghc 8.4 2018-04-28 14:35:57 -07:00
Victor Denisov
5e08f63f34 Add lts build 2018-04-28 14:12:53 -07:00
Victor Denisov
e2b0ae39d0 Use lts stackage for builds 2018-04-28 13:54:32 -07:00
Victor Denisov
823e6ac53e Bump version of nonce constraint
withGenerator function is available since nonce 1.0.5
2018-03-22 21:10:39 -07:00
Victor Denisov
e46bc87fcc Bump version 2018-03-15 00:07:43 -07:00
Victor Denisov
b02c29e4bb
Merge Stop leaking Nonce generator on authentication
pull request #89 from EdutainmentLIVE/master
2018-03-15 00:05:10 -07:00
James Brechtel
87ddf52c97 Stop leaking Nonce generator on authentication 2018-03-12 16:15:56 -04:00
Victor Denisov
91fed88d08 Bump version 2018-02-11 20:50:12 -08:00
Victor Denisov
5f280ec94f Fix benchmarks 2018-02-11 16:32:15 -08:00
Victor Denisov
7f9eb13356 Bump version 2018-02-10 16:56:34 -08:00
Victor Denisov
a985209714 Add aggregate that returns Cursor
- also add config to the new aggregate that is extensible in a backward
compatible manner.
2018-02-08 22:18:58 -08:00
Victor Denisov
6e35c6f9f7 Run mongo instance for tests in docker 2018-02-08 22:10:13 -08:00
Victor Denisov
b856abc445 Bump version 2018-01-28 21:44:06 -08:00
Victor Denisov
77b84a5695 Recover original indentation 2018-01-27 11:46:53 -08:00
Peter Tillemans
582a16d08e remove a forgotten debug statement 2017-12-31 18:39:09 +01:00
Peter Tillemans
bb3e66073f fix correct finalizing of last block 2017-12-31 18:35:37 +01:00
Victor Denisov
6431062ea7 Bump version 2017-12-28 11:02:20 -08:00
Victor Denisov
c0ad513c95 Merge branch 'netom-remove-putStrLn'
Removes offending putStrLn-s
2017-12-28 10:57:01 -08:00
Fábián Tamás László
5527036d6c
Remove offending putStrLn-s
The two removed lines littered the terminal.
2017-12-27 11:49:08 +01:00
Victor Denisov
a4448fa941 Bump version 2017-05-31 23:20:22 -07:00
Victor Denisov
214248e036 Auto push tagged package to hackage
Merge pull request #78 from VictorDenisov/autopush
2017-05-31 16:54:06 -07:00
Victor Denisov
6c9edeb2ad Auto push tagged package to hackage 2017-05-29 23:13:30 -07:00
Victor Denisov
dda10d461b Rework WriteResult for updateMany, deleteMany functions
Merge branch 'update-result'

PR #77

Conflicts:
	CHANGELOG.md
	Database/MongoDB/Query.hs
2017-05-29 19:37:21 -07:00
Victor Denisov
571fe47d82 Test for non multi update 2017-05-29 16:34:35 -07:00
Victor Denisov
9bd0dff6ee Add unit test for upserted 2017-05-29 16:11:25 -07:00
Victor Denisov
a1e19379f6 Add test and fix for updateMany nMatched and nModified 2017-05-29 12:58:39 -07:00
Victor Denisov
50b7fef240 Fix delete count 2017-05-28 12:58:29 -07:00