Commit graph

143 commits

Author SHA1 Message Date
Victor Denisov
8af6a82ec8 Clean trailing whitespaces 2015-11-07 10:37:40 -08:00
Ralph Morton
6f5f76afbb Add support for SCRAM-SHA-1 authentication 2015-11-01 18:05:39 +02:00
Victor Denisov
632f0eaafa Bump version 2015-10-03 14:11:40 -07:00
Victor Denisov
fff024b135 Bump version 2015-09-04 11:03:54 -07:00
Victor Denisov
0306ea9c21 Increase default stack size for test 2015-08-30 14:51:22 -07:00
Victor Denisov
79b88ddeb5 Add benchmark for inserts 2015-08-29 22:36:58 -07:00
Victor Denisov
6d3f617dd2 Add changelog and bump version 2015-08-02 10:15:11 -07:00
Victor Denisov
0038e4163c Add big test 2015-06-20 21:14:26 -07:00
Greg Weber
cb912cb952 version bump for export of MongoContext constructor 2015-05-16 09:43:05 -07:00
Sean Leather
77cde91c61 Add aggregate test 2015-03-22 19:55:01 +02:00
Greg Weber
c493f8f7b1 version bump for new Connection module 2015-03-05 12:17:45 -08:00
Greg Weber
91701962c3 fix ActionWith usage 2015-03-05 12:00:01 -08:00
Greg Weber
98bcc2dfe8 abstract connection interface
rebase #13 to master
2015-03-05 11:21:58 -08:00
Fujimura Daisuke
f6d886e8bd Reorganize specs 2014-08-19 12:48:36 +08:00
Greg Weber
4696355085 add test suite 2014-08-07 09:10:06 -07:00
Greg Weber
f2a6307530 repsert -> upsert 2014-07-24 08:12:15 -07:00
Greg Weber
d2d4f9534c export defFamUpdateOpts 2014-07-19 19:32:33 -07:00
Greg Weber
c835d87a66 Cabal-version: >= 1.6 2014-07-19 19:13:28 -07:00
Greg Weber
c969c2cc46 version bump for findAndModifyOpts 2014-07-08 12:44:56 -07:00
Fedor Gogolev
20454a2bb7 Update links to repository in README and .cabal 2014-07-07 08:51:06 +04:00
Greg Weber
6e4c31c90e release mongoDB 2.0 2014-06-22 17:58:34 -07:00
Michael Snoyman
b128bc7a09 Remove System.IO.Pool (use resource-pool instead) 2013-12-26 16:55:26 +02:00
Fedor Gogolev
6e4decfa95 Bump version 2013-12-21 17:27:18 +04:00
Fedor Gogolev
721360cb3f Bump version 2013-12-21 15:43:46 +04:00
Fedor Gogolev
df5afb99c8 Bump version 2013-12-20 10:44:09 +04:00
Edward Z. Yang
5656f90c27 Convert to use hashtables, as Data.HashTable went away.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2013-11-06 23:04:16 -08:00
Greg Weber
57722a7d43 handle findAndModify edge cases
also give better error messages
2013-08-29 11:57:07 -07:00
Fedor Gogolev
dda18bf8d1
Version bump 2013-06-20 12:03:11 +04:00
Fedor Gogolev
5a6e8842bd
Bumped version 2013-06-04 00:10:13 +04:00
Fedor Gogolev
46b3f1f3fa Support for network 2.4.1 2013-01-21 02:08:20 +04:00
Fedor Gogolev
96c876979c Bumped version 2012-10-25 14:31:44 +04:00
Fedor Gogolev
a6ecd104f7 Updated homepage 2012-06-11 00:28:27 +04:00
Fedor Gogolev
a0f0f04d8b Updated maintainer field 2012-06-11 00:27:27 +04:00
Fedor Gogolev
b11c01fc00 Specified required bson version to 0.2.* 2012-06-11 00:26:56 +04:00
Fedor Gogolev
8a02b8056e Improved cabal-file readability 2012-06-11 00:26:36 +04:00
Fedor Gogolev
17f528e835 Use text instead of compact-string-fix 2012-05-08 19:13:25 +04:00
Tony Hannan
2f23e78c28 Use MVar from lifted-base 2012-01-23 20:45:10 -05:00
Tony Hannan
b8f25ad6f0 bump version for latest lifted-base 2012-01-23 19:14:36 -05:00
Nathan Howell
b18f81f431 Updating to monad-control-0.3, with help from Bas van Dijk.
Conflicts:

	Database/MongoDB/Query.hs
2011-12-05 09:23:39 -08:00
Tony Hannan
d506011cd1 fix some warnings. bump version for previous 7.2.1 compatibility fix 2011-11-10 10:23:07 -05:00
Tony Hannan
bc3866b79c new version using MonadControlIO instead of custom MonadMVar 2011-09-08 18:56:38 -04:00
Tony Hannan
747fd0ae87 fix typo in previous merge 2011-09-07 23:51:57 -04:00
Michael Snoyman
a320c363e4 Move to monad-control 2011-08-25 16:29:39 +03:00
Tony Hannan
4307fea5aa collect ids from insert lazily in case not used 2011-08-18 19:41:32 -04:00
Tony Hannan
dad5134863 remote ghc-option -O because Cabal does it 2011-07-22 10:58:56 -04:00
Tony Hannan
19da43a348 connect timeout 2011-07-21 11:27:19 -04:00
Tony Hannan
8025ac4ec4 Small edits to some comments. fix secondaryOk to return master only when no secondaries available 2011-07-13 15:34:52 -04:00
Tony Hannan
8672652395 move Pool to System.IO. update docs 2011-07-12 10:51:54 -04:00
Tony Hannan
b52854a457 moved docs to new docs folder. updated tutorial for version 1.0.0 2011-07-08 22:17:44 -04:00
Tony Hannan
9f48c26384 Simplify! Removed Context and Throw monad classes. Removed embedded pool from replica-set. Not backwards-compatible, starts new major version 1.x 2011-07-05 10:37:01 -04:00
Tony Hannan
f7ae5b7235 MapReduce updated to work with MongoDB version >= 1.7.4 2011-06-22 17:18:32 -04:00
Tony Hannan
db58a9c4ca use md5 from cryptohash package instead of nano-md5 to remove dependency on OpenSSL 2011-03-11 11:11:14 -05:00
Tony Hannan
85e2fc0cbb bump package version 2011-02-22 10:49:29 -05:00
Tony Hannan
04ff72f680 bump package version 2011-02-22 10:35:56 -05:00
Tony Hannan
a399e81925 Access monad no longer needs to be a MonadMVar 2011-01-26 14:25:12 -05:00
Tony Hannan
df93ac57c5 mongo does not depend on compact string, just bson does 2011-01-26 12:06:15 -05:00
Tony Hannan
73012bb430 Single param Network instance. NetworkIO instance of IO that yields Internet so user does not have to supply it 2010-12-27 00:23:02 -05:00
Tony Hannan
111d9a2f72 Abstract network communication so we can capture and replay messages if desired. Also, remove dependence on deprecated ImpredicativeTypes. 2010-12-19 21:08:53 -05:00
Tony Hannan
8da53a3fa3 Use Monad.MVar. Remove Delayed wrapper around promise. 2010-11-01 15:35:13 -04:00
Tony Hannan
630b558b93 Depend on mtl >= 2 since it now has Applicative instance for ReaderT, ErrorT, etc. 2010-11-01 10:25:46 -04:00
Tony Hannan
828a53a4a1 remove faulty cabal-version constraint from package file 2010-10-31 20:58:48 -04:00
Tony Hannan
36cc86fd70 Rename Connection to ConnPool. Edit tutorial and some comments 2010-10-31 20:38:38 -04:00
Tony Hannan
583f8330c7 Fix compile warnings 2010-10-27 16:46:11 -04:00
Tony Hannan
de32b22b4f Connection pooling and some refactoring 2010-10-27 16:13:23 -04:00
Tony Hannan
2d964f9448 fix sample code in comment, with bump in cabal version 2010-07-27 18:03:32 -04:00
Tony Hannan
3a7f235246 Slight API refactoring. Fix spinning pipeline when other end disconnects. Handle response flags correctly 2010-07-27 17:18:53 -04:00
Tony Hannan
6435bc3cd9 Handle response flags correctly, plus some comment changes 2010-07-03 13:15:30 -04:00
Tony Hannan
b03763b1d6 Add license file 2010-06-28 20:37:46 -04:00
Tony Hannan
5001bd0bef Add license file 2010-06-28 20:33:53 -04:00
Tony Hannan
99613cae3e Add license file 2010-06-28 20:24:23 -04:00
Tony Hannan
c9dc87ad33 Slight redesign: pipelining with writeMode instead of exclusive access with getLastError 2010-06-21 11:06:20 -04:00
Tony Hannan
3e4065cd97 See V0.5.0-Redesign.md for description of changes in this commit 2010-06-14 23:14:40 -04:00
Scott R. Parish
6f91a29f89 v0.4.2 2010-04-15 20:59:07 -05:00
Scott R. Parish
e0534f6bdd mongoDB.cabal: we no longer depend on convertible 2010-03-18 22:11:37 -05:00
Scott R. Parish
5b8b7b5dce v0.4.1 2010-03-14 13:26:14 -05:00
Scott R. Parish
532e758fe4 v0.4 2010-03-13 22:09:47 -06:00
Scott R. Parish
442ed03027 module level documentation to point to tutorials 2010-03-13 22:09:47 -06:00
Scott R. Parish
66cbae9046 compile with -O2 2010-03-13 20:43:11 -06:00
Scott R. Parish
e7c58bf4d7 BSON: use Integers to represent oid's, oid generation 2010-03-13 00:23:05 -06:00
Scott R. Parish
3e27994a6e v0.3 2010-03-04 19:44:20 -06:00
Scott R. Parish
34b4d22856 fix whitespace (mostly trailing) introduced in merge 2010-02-06 14:49:39 -06:00
Rick Richardson
0cf0da8ab6 added login/user mgmt, added multiple handles in the connection 2010-02-02 16:06:53 -05:00
Scott R. Parish
e820d7ad07 verison 0.2 2010-01-24 21:20:45 -06:00
Scott R. Parish
345ab65811 add homepage to .cabal 2010-01-19 06:03:58 -06:00
Scott R. Parish
423842a0c6 .cabal fixes required for hackage submission 2010-01-19 00:02:53 -06:00
Scott R. Parish
35ef4acc41 more complete .cabal files 2010-01-18 11:55:08 -06:00
Scott R. Parish
67bf1245bb some initial (to BsonValue) Convertible instances and toBson 2010-01-17 23:08:14 -06:00
Scott R. Parish
7f777c8fb4 compile with -Wall and -Werror, fix all ensuing breaks 2010-01-16 21:40:22 -06:00
Scott R. Parish
41b9c8d139 initial MongoDB.hs: can insert and delete 2010-01-10 21:23:54 -06:00
Scott R. Parish
b18d3d54b0 BSON: fix unexported data constructor 2010-01-10 21:23:54 -06:00
Scott R. Parish
2cea5777fb BSON: use Data.Map for BSONObjects 2010-01-10 21:23:54 -06:00
Scott R. Parish
61051bfc46 move the get/put* helpers to Util.hs so other modules can use them 2010-01-10 21:23:50 -06:00
Scott R. Parish
06391f5992 stuff to make into a package 2010-01-09 16:49:06 -06:00