…1 development - Inclusion of Specs, with backport of MongoDBObjectSpec from 1.1 branch - Improvement of type returns from MongoDBObject * Builder and Factory now ALWAYS return a DBObject which makes more sense
orElse version - just do expand("foo.bar.baz") orElse "foo" or such, you slacker. Or use pattern matching.
Minor bugfix / tweak release. + Fixed some issues w/ GridFS libraries attempting to call toMap in iteration, which isn't implemented on the Java side; added custom toString methods on the GridFS files [BWM] + Cleaned up log spam [BWM / MA] + Added serialization hook for MongoDBObject to help catch any nested instances [MA] + Cleaned up some stray references to java.lang.Object, replaced with AnyRef for good Scala coding practices [BWM]
case properly and not create nested arrays. Should convert all possible values. - Rel 220.127.116.11
+ Updated reference to Configgy to have a Scala version attached; this was causing issues on some mixed-version users' systems. + Corrected massive stupidity from lack of testing on my part and disabled ScalaJDeserializers - in most cases these caused runtime ClassCastExceptions. *SERIALIZERS* still in place - Deserializers were just plain a bad idea.
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.