Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 29, 2010
  1. @bwmcadams


    bwmcadams committed
  2. @bwmcadams

    - Backport of MongoDBObject related changes related to typing from 1.…

    bwmcadams committed
    …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
Commits on Aug 12, 2010
  1. @bwmcadams

    - Added expand method to unpack dot notation in large embedded docs. No

    bwmcadams committed
      orElse version - just do expand("") orElse "foo" or such,
      you slacker.  Or use pattern matching.
Commits on Aug 11, 2010
  1. @bwmcadams


    bwmcadams committed
        - Fixed a bug in group() functions left from initial 2.7 code with
          conversion of return data - now returns Iterable.
Commits on Aug 3, 2010
  1. @bwmcadams


    bwmcadams committed
    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]
Commits on Aug 2, 2010
  1. @maxaf
  2. @maxaf

    mitigating log spam

    maxaf committed
  3. @maxaf
  4. @bwmcadams

    - Adjusted conversions of incoming data on $in/$nin/$all to catch every

    bwmcadams committed
       case properly and not create nested arrays.   Should convert all
       possible values.
    - Rel
Commits on Aug 1, 2010
  1. @bwmcadams

    Minor bugfixes/enhancements.

    bwmcadams committed
    + 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.
Commits on Jul 31, 2010
  1. @bwmcadams

    - Minor feature - support for MongoConnection.connect(DBAddress)

    bwmcadams committed
      returning MongoDB (matches Mongo driver's static .connect)
Commits on Jul 29, 2010
  1. @bwmcadams

    -Release 1.0.5

    bwmcadams committed
    -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
    + 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 -
  2. @bwmcadams

    - Added ExplainTypes compiler option to explain type errors in more

    bwmcadams committed
    - 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)
Commits on Jul 28, 2010
  1. @maxaf
  2. @maxaf
  3. @bwmcadams
  4. @bwmcadams

    - Removing old bitbucket targetted README file...

    bwmcadams committed
    - Updating README markdown for github to reflect issue tracker, mailing
    - Added Max as a listed maintainer.
  5. @maxaf


    maxaf committed
Commits on Jul 27, 2010
  1. Added tag REL_1_0_2 for changeset 00733842679a

    Brendan W. McAdams committed
  2. - Added type import for MongoDB

    Brendan W. McAdams committed
  3. - Removed the abortive implicit target for objectID (was causing ambi…

    Brendan W. McAdams committed
    …guity issues) and added import for DBRef
  4. Added tag REL_1_0_2 for changeset e7c6e581b200

    Brendan W. McAdams committed
  5. Added tag REL_1_0_2 for changeset 15ee159a9063

    Brendan W. McAdams committed
  6. Minor bugfixes/enhancements.

    Brendan W. McAdams committed
    + Added implicit target to convert (String, ObjectId) to DBObject
    + Changed $in, $notin, $all to always generate an array in Any* mode
Commits on Jul 24, 2010
  1. Added tag REL_1_0_1 for changeset 848b27127b45

    Brendan W. McAdams committed
  2. Minor bugfixes/enhancements from 1.0 release.

    Brendan W. McAdams committed
        + 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
Commits on Jul 18, 2010
  1. - Fixed notes

    Brendan W. McAdams committed
  2. Added tag REL_1_0 for changeset 68637e4924c7

    Brendan W. McAdams committed
  3. - Posterous notes

    Brendan W. McAdams committed
  4. - Fun and games to enable additivity in fluid syntax.

    Brendan W. McAdams committed
    - Added posterous plugin
Commits on Jul 17, 2010
  1. - While removing typing in the findOne flips fixes warnings about era…

    Brendan W. McAdams committed
    …sure, it breaks conversion. Testing FAIL on my part
  2. - Nailed down several edges with view boundary type conversion

    Brendan W. McAdams committed
    - Added new unit testing for docs
Commits on Jul 14, 2010
  1. - Rolled to Scala 2.8.0 final, and version 1.0 a few bug fixes includ…

    Brendan W. McAdams committed
    …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
Commits on Jul 3, 2010
  1. Added tag REL_1_0-RC4 for changeset f3745d784183

    Brendan W. McAdams committed
  2. - Some major tweaks to avoid the race conditions and serialization is…

    Brendan W. McAdams committed
    …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.
Something went wrong with that request. Please try again.