Commit graph

1140 commits

Author SHA1 Message Date
Michael Klishin
114630f769 Back to dev version 2016-01-10 23:44:39 +03:00
Michael Klishin
6c25763748 3.0.2 2016-01-10 23:44:39 +03:00
Michael Klishin
fdb354b2db Update change log 2016-01-10 23:44:39 +03:00
Michael Klishin
45cb68115b Upgrade Java client to 3.2.0 2016-01-10 23:44:39 +03:00
Stijn Opheide
dd890231ee Fix cursor hinting
The .hint method should be applied on the cursor object instead
of the DBObject contained in the hint field.
2016-01-10 23:44:39 +03:00
Michael Klishin
7195f77945 Install MongoDB 3.0 before running tests 2015-09-25 01:49:04 +03:00
Michael Klishin
b59ccb4087 Make this script executable 2015-09-25 01:48:58 +03:00
Michael Klishin
9178df179d MongoDB installation script 2015-09-25 01:48:52 +03:00
Michael Klishin
8cefa7fc9e Test 3.0.x, 2.1.x is no longer maintained 2015-09-25 01:48:46 +03:00
Michael Klishin
45599a4f51 Print MongoDB version on Travis 2015-09-25 01:48:35 +03:00
Michael Klishin
1f395c4e41 Back to dev version 2015-09-25 01:27:38 +03:00
Michael Klishin
bfac6bbe3a 3.0.1 2015-09-25 01:27:01 +03:00
Michael Klishin
def4ce3e6b Update change log 2015-09-25 01:26:54 +03:00
Michael Klishin
504a358162 MongoDB Java driver 3.0.4 2015-09-25 01:25:48 +03:00
Michael Klishin
5898cfb3bc Back to dev version 2015-09-25 01:25:17 +03:00
Artem Chistyakov
cf86245526 Don’t forget to pass credentials to MongoClient
It looks like provided credentials are ignored unless `server-address` is a collection.
2015-09-25 01:18:13 +03:00
Michael Klishin
7e111a332e 3.0.0 2015-07-16 23:38:08 +03:00
Michael Klishin
19613b6e01 Bump Cheshire to 5.5.0 2015-07-16 23:38:08 +03:00
Michael Klishin
c1597b1c9a Make this test order independent 2015-07-16 23:38:08 +03:00
Michael Klishin
478efa092d Bump clojure.data.json to 0.2.6 2015-07-16 23:38:08 +03:00
Michael Klishin
ac90956f92 Don't test against clojure.data.json 0.1.x 2015-07-16 23:38:08 +03:00
Michael Klishin
1da1dab013 Test against 1.6 via a profile, drop 1.5 support 2015-07-16 23:38:07 +03:00
Michael Klishin
80cadd54c4 Depend on Clojure 1.7 2015-07-16 23:37:34 +03:00
Michael Klishin
b4ea572293 Clojure master is now 1.8.0-master-SNAPSHOT 2015-07-12 01:16:03 +03:00
Michael Klishin
ae2ac84921 Test against Clojure 1.7.0 GA 2015-07-12 01:07:23 +03:00
Michael Klishin
0891a9ded7 Update change log 2015-06-27 23:24:26 +03:00
Michael Klishin
51baa3e154 Adhere to the existing code style 2015-06-27 23:16:11 +03:00
Michael Klishin
1717bdac9e rc2 is out 2015-06-27 23:10:46 +03:00
Michael Klishin
7f74d16a36 Test against Clojure 1.7.0-RC2 2015-06-27 23:10:24 +03:00
Michael Klishin
2cd8c0c6a0 Back to dev version 2015-06-27 23:08:46 +03:00
Michael Klishin
ceed6f85c5 3.0.0-rc2 2015-06-27 23:06:48 +03:00
Michael Klishin
4ff7d05aa4 monger.credentials/for => monger.credentials/create
To make sure we don't shadow clojure.core/for when monger.credentials
is required with :refer :all.
2015-06-27 22:39:01 +03:00
Michael Klishin
b762c1875f Bump Java driver to 3.0.2 2015-06-27 22:13:23 +03:00
Bartek Marcinowski
15f50408a9 Merge branch 'add_options_to_aggregate'
Merge implementation of aggregation framework options and explanation of
aggregation query plan.

Conflicts:
	src/clojure/monger/collection.clj
2015-06-24 16:05:47 +01:00
Bartek Marcinowski
f0946acd75 Enable query plan explanation for the aggregation framework
Add the explain-aggregate function, which returns a map containing
information about the given aggregation query.
2015-06-24 15:51:24 +01:00
Bartek Marcinowski
136dea00b2 Add allow-disk-use and cursor options to aggregate
Reimplement aggregate on top of the Java driver's DBCollection#aggregate
in order to return a cursor for the results. This allows users to
overcome the 16MB result size limit and specify the cursor batch size.
The allowDiskUse can also be passed to Mongo, through the allow-disk-use
key. The maxTime option enables setting a limit (in milliseconds) on the
execution time of the query, through the max-time key.
2015-06-24 15:47:46 +01:00
Michael Klishin
3a4de68dd4 Merge pull request #105 from karstendick/fix/ensure-index-name
Fix 5-arity ensure-index by renaming `name` argument
2015-06-24 07:41:01 +03:00
Joshua Karstendick
9c0f385ab2 Fixes a bug with the 5-arity ensure-index function. The argument
named `name` shadowed clojure.core/name, so trying to call `name`
as a function on line 426 throws an exception. Fixes the bug by
renaming the argument to `index-name`.
2015-06-23 17:21:12 -04:00
Joshua Karstendick
d337cd1546 added failing unit test 2015-06-23 17:21:05 -04:00
Michael Klishin
94029c7f6c Support aggregation options, closes #102 2015-06-23 22:01:06 +03:00
Michael Klishin
aeab2851c1 Merge pull request #104 from kronos/master
Connect via uri in core/connect if it is passed
2015-06-16 00:54:26 +03:00
Ivan Samsonov
126c9f8503 Connect via uri in core/connect if it is passed
core/connect ignores :uri key and tries to connect 127.0.0.1:27017 instead.
Patch fix this behaviour by checking uri key existance and trying to connect
by uri if it's provided.
2015-06-15 02:45:11 +03:00
Michael Klishin
6e41cb94d8 Link to MongoDB Java driver 3.0 2015-06-15 01:32:49 +03:00
Michael Klishin
3edc8049db README updates 2015-06-14 02:09:06 +03:00
Michael Klishin
e76dc21182 3.0.0-rc1 is out 2015-06-14 02:08:11 +03:00
Michael Klishin
d80a2766ee Back to dev version 2015-06-13 22:17:06 +03:00
Michael Klishin
2eb6f80ae8 3.0.0-rc1 2015-06-13 19:47:52 +03:00
Michael Klishin
eb168b6830 2.1.0 is out 2015-06-07 15:12:23 +03:00
Michael Klishin
4701a7b5ab Merge pull request #101 from michaelklishin/issue-99
Update license headers
2015-06-06 19:15:50 +03:00
Michael Klishin
a2b1ddb054 Update license headers 2015-06-06 19:15:01 +03:00