Skip to content

Releases: congomongo/congomongo

Authentication sources

26 Nov 09:08
Compare
Choose a tag to compare

Adds support for authentication source using one of the following authentication mechanisms:
AuthenticationMechanism.PLAIN,
AuthenticationMechanism.SCRAM_SHA_1,
AuthenticationMechanism.SCRAM_SHA_256

Default query options

26 Nov 09:10
Compare
Choose a tag to compare

Sometimes it's very helpful to be able to provide default options for all queries (for example, specify default
max-time-ms timeout) instead of specifying it for each call. You can do this by wrapping your code in the
with-default-query-options macro. Options specified in a particular call will have a priority and overwrite
default-query-options.

; This call will only return one item, since it is using the default options
(with-default-query-options {:limit 1}
  (fetch :thingies :where {:foo 1}))

; You can also override the defaults by specifying a new value
(with-default-query-options {:limit 1}
  (fetch :thingies :where {:foo 1} :limit 2)) ; returns 2 items

Remove deprecated commands

26 Nov 09:09
Compare
Choose a tag to compare

BREAKING CHANGES IN THIS RELEASE!
The group, eval and geoNear commands have been deprecated for a long while now and were finally removed
in MongoDB 4.2. They have now been removed from this library as well. You are recommended to use the aggregate
command to replace the functionality of group and geoNear.

1.0.1

11 Sep 11:36
Compare
Choose a tag to compare

Fixed bug where too few documents were returned if fetching with a limit that was larger than the
default batch size.

1.0.0

11 Sep 11:34
Compare
Choose a tag to compare

Updated to support mongo-java-driver 3.0+ which enables use of TLS connections and DNS SRV connection strings.
Authentication has changed significantly in the 3.0 driver which necessitated some breaking API changes around connecting and authenticating.

BREAKING CHANGES IN THIS RELEASE!

  • Usernames and passwords for authenticated connections must be supplied to make-connection rather than authenticating after the connection has been created. The make-connection API has been changed to accomodate this. Optional parameters (instances, Mongo options, username and password) are now passed via keyword args.
  • The authenticate function has been removed.
  • The deprecated mongo! function has been removed. Use (set-connection (make-connection ...))

Release 0.5.1

19 Jan 18:54
Compare
Choose a tag to compare
  • Allow _id to be provided when inserting via GridFS.
  • Update Java driver to 2.14.2

Release 0.5.0

10 Jun 02:07
Compare
Choose a tag to compare
  • DROP SUPPORT FOR CLOJURE 1.3.0!
  • Add Clojure 1.9.0 compatibility (handling of seqable? in coerce namespace) - issue #147
  • Clojure is now a "provided" dependency and should no longer appear as a transitive dependency in projects that use CongoMongo, making it easier to get rid of conflicts! Potentially a breaking change if a project depended on CongoMongo but did not have an explicit dependency on Clojure itself.

Release 0.4.8

25 Feb 18:22
Compare
Choose a tag to compare
  • Update clojure.data.json to 0.2.6
  • Update default Clojure version to 1.8.0 and update test-all alias
  • Rename update test to update-one to avoid Clojure update name conflict

Release 0.4.7

27 Dec 23:26
Compare
Choose a tag to compare

Updates Java driver to 2.14.0. Has been tested against MongoDB 3.0.

Release 0.4.6

29 Jul 19:58
Compare
Choose a tag to compare

Version 0.4.6 - Jul 29th, 2015

  • Add support for hints on fetches
  • Error on unsupported arguments (eg read-preferences on fetch-one)

Version 0.4.5 - Jul 18th, 2015

  • update Java driver to 2.13.2
  • change default Clojure version from 1.6.0 to 1.7.0 (we still support back to 1.3.0)