returning MongoDB (matches Mongo driver's static .connect)
-Minor bugfixes/enhancements. + Due to oddities and ambiguities, stripped the type parameter apply[A] method from MongoDBObject. If you want a cast return, please use MongoDBObject.getAs[A]. This should minimize odd runtime failures. + Added toplevel detection in MongoDBObject's +=/put methods to try and convert a MongoDBObject value to DBObject for you. + Added "Product" arguments to $pushAll - this means you can pass a Tuple-style list, where previously it required an Iterable ( $pushAll ("foo" -> (5, 10, 23, "spam", eggs") should now work). + Updated to scalaj-collection 1.0 release, built against 2.8.0 final + Added a new ScalaJ-Collection based Deserializer and Serializer layer. All base types supported by ScalaJ collection now use asJava / asScala to cleanly ser/deser where possible. This excludes Comparator/Comparable and Map types for sanity reasons. See com.novus.casbah.mongodb.conversions.scala.ScalaConversions for detail. Please report bugs if this breaks your code - it's nascent and a bit naive! + New Committer - Max Afonov + Removed the BitBucket Mirror; we're purely on GitHub now. Bug tracker linked from Github page. + Created a user mailing list - http://groups.google.com/group/mongodb-casbah-users
detail - Added a minor level of detection for scala.Nothing and throw a IllegalArgumentException if it's picked up due to type inference failure (Added to MongoDBObject)
…guity issues) and added import for DBRef
+ Updated externals to link against 2.8.0 final - 1.0 release had some RC/Beta built externals. (scalaj-collection is still linked against Beta) + Added an Object interface, MongoDBAddress, for static construction of DBAddress instances. + Added type aliases in MongoTypeImports for all Casbah companion objects - please report any odd behavior this causes. + Added MapReduceCommand to BaseImports
- Added posterous plugin
…sure, it breaks conversion. Testing FAIL on my part
- Added new unit testing for docs
…ing moving in many cases to view context boundaries for allowing implicit arguments... Tweaks to our Map conversions and implicits. - This is technically RC5 but not bothering to tag it
…sues we've been encountering * Monkey Patching package-only methods in org.bson.BSON via a package-space invading helper. + Can now specifically add and remove individual transformers, which lets us unregister DateTime as needed. + GridFS now loans itself a temporary unserialization. this WILL cause a race condition in threaded environs using both GridFS and JodaTime deserialization so be careful. Also - it may interfere w/ 3rd party jdk date deserialization hooks with it's current lazy implementation. * MongoConnection's constructor now loads the 'base' (non Joda) serializers automatically. TODO - Ability to turn this off. - To avoid an occasional toString race condition, added an 'always patch' functionality to the queryo perators to load any needed transformers if they aren't there.
- Added ability to sort and get at underlying cursor for map/reduce results
…data. * Added automatic ArrayBuffer serializer helper. * Now imports the "base" Serialization helper as part of Implicits.
…hich were passing unit tests but actually creating unserializable data - Adjusted interfaces to calling map/reduce by making defaultable params for any Option[_]'s, adding a mapReduce method to MongoDB and a parameterized method on MongoCollection - Rolled internal version to 1.0-RC2 but not releasing RC2 yet
…lders & Factories, with implicits to get maplike methods. This is about as close as we'll reasonably get to mapping ticket #6 without rewriting everything. Fixes #6.