Permalink
Commits on Jun 23, 2012
  1. Release r2.3.0

    bwmcadams committed Jun 23, 2012
  2. Rollback the Spiewak suggested getAs changs. They break a lot of

    behavior especially boxing.
    bwmcadams committed Jun 23, 2012
  3. Incorrect casting of getAs and family should throw an Exception, not a

    warning.  Catch if you don't like it.
    bwmcadams committed Jun 23, 2012
Commits on Jun 6, 2012
Commits on May 29, 2012
  1. Herald Release Notes

    bwmcadams committed May 29, 2012
  2. Release r2.3.0-RC1

    bwmcadams committed May 29, 2012
Commits on May 28, 2012
  1. mis-tagged version.

    bwmcadams committed May 28, 2012
  2. Release r2.3.0-M1

    bwmcadams committed May 28, 2012
  3. Mark Casbah 2.2.0-M1

    bwmcadams committed May 28, 2012
Commits on May 16, 2012
  1. Dropped Scala 2.8.0 support...

        2.1.5-1 is the final Casbah release for 2.8.0; please migrate to Scala 2.8.1 or higher
    bwmcadams committed May 16, 2012
  2. SCALA-62: Fixed a potential conflict on the date conversions. This te…

    …chnique
    
    should work.
    bwmcadams committed May 16, 2012
  3. SCALA-62: Simple solution - hack the date type on the base class.

              There is now a JodaGridFS implementation which works cleanly
              with Joda DateTime and will return them to you
    bwmcadams committed May 16, 2012
  4. Backport casbah-gridfs from 3.0

    - Fixes SCALA-45: Allow filename and contentType to be nullable
      * Retrieving filename or contentType on a GridFS File now returns
        Option[String] when fetched
      * To facilitate sane usage, the loan-pattern/execute-around-resource
        methods now return the _id of the created file as Option[AnyRef]
    bwmcadams committed May 16, 2012
  5. Backports to casbah-core from 3.0

    * SCALA-70: Removed type alias to com.mongodb.WriteConcern and made method args for it explicit, as it was causing a fun post-compile (aka "library compiles, user code doesn't") implosion.
    *  added socketKeepAlive option
    * Fixes SCALA-45: Allow filename and contentType to be nullable
        + Retrieving filename or contentType on a GridFS File now returns Option[String] when fetched
        + To facilitate sane usage, the loan-pattern/execute-around-resource methods now return the _id of the created file as Option[AnyRef]
    
    * SCALA-46 - Support Java Driver 2.6.5 based Lazy BSON Decoding
    * Change group with finalize to use underlying implementation
    
    * SCALA-46 - Support Java Driver 2.6.5 LazyBSONObject & Decodingk
        + In order to correct bugs outstanding in the Java Driver, and optimize for Scala rewrote a special Scala Only version, OptimizedLazyBSONObject and related classes.
        + Removed the _typedValue hook which just muddies the water with Abstract Type erasure.  Just return all as Option[DBObject], do your own casting as necessary.
        + Introducing Scala versions of the LazyBSON System to Casbah-Util for more scala appropriate hackage.
        + Finished timing tests on Lazy decoder.  Definitely shows an edge but most performance boost will be realized by frameworks which typically would have had to decode *twice* and can now decode *once*.
        + Replaced the old Typed Cursors and Collections with the new Lazy ones
    
    * SCALA-52 - Support new ReadPreference semantics, deprecate SlaveOK
        + Deprecated slaveOK
        + Introduced ReadPreference
        + Added set/get readPreference bindings at DB/Connection/collection levels
    
    * SCALA-50 - Support MongoDB Server 2.0 getLastError Changes (j, w=string/number)
    *  Significant cleanup and refactor around DBCollection; reduced all core write ops to single implementations with default args
        + All write ops take an implicit DBEncoder and WriteConcern w/ defaults set now
        + Introduced core DBEncoder logic to write ops
        + String "w" value, new constants, "j" boolean for WriteConcern
    * SCALA-51: Added "continueInsertOnError" boolean for WriteConcern
    * SCALA-39 - Added support for options argument to DBCollection.ensureIndex
    * Fix MapReduce for new Java Driver stuff
    * Update to Java Driver 2.7.3
        + Updated DBEncoderFactories in DBCollection to conform to new 2.7.3 behavior with nullables
    * Refactored MongoURI to be more "Scala-Ey"
        + Optional fields such as Password & Login now are returned
          wrapped in Option rather than returning Null as the Java driver does
        + The "connect*" methods have been cleaned up; they now return Either[Throwable, ] to allow for more programatic early handling of connection failures w/o try-catch hell
        + Several unecessary legacy methods were removed.
    bwmcadams committed May 16, 2012
  6. Backports for QueryDSL

        * Major cleanups and bugfixes to the DSL, it's heavily and fully tested now and much faster/cleaner
        - Added support for $and bareword operator
        - SCALA-30, SCALA-59- $or is not properly accepting nested values esp. from other DSL constructors
          + Introduced proper type class filter base to fix $or, will implement across other operators next.
        - SCALA-59 - Fix Bareword Query Operators to better target accepted values; should only accept KV Tuple Pairs or DBObjects returned from Core Operators
          + Complete test suites for $and and $nor although they need to be updated to more appropriate contextual examples rather than just "compiles properly"
          + New code logic, fixed $or, $and and $nor for proper nested list operations
          + New :: list cons operator on MongoDBObject to create MongoDBLists on th fly (esp. for DSL)
        -Typesafety kungfu from @jteigen
          + enforce at compile time that type parameters used for casting are not Nothing
          + disable parallel test execution in core since LazyDecodingSpec was failing for no reason when executed together with other tests
          + enforce  $pushAll & $pullAll arguments can be converted to Iterable at compile time
          + switched to a type class (AsQueryParam) for queryparams to avoid code duplication
    bwmcadams committed May 16, 2012
  7. SCALA-69: Maps saved to DBObject are now eagerly converted to a

              DBObject, from factory, builder and put methods.
    bwmcadams committed May 16, 2012
Commits on May 15, 2012
  1. Backports from Casbah 3.0

        - Refactor collections (MongoDBList and MongoDBObject)
            * Use CanBuildFrom properly to compose more appropriate Collection objects
            * As part of above, you should get seq-like objects back from MongoDBList
              builders & factories instead of the previous BasicDBList; this
              is part of attempting to "Hide" DBList and let people work
              with List/Seq
            * SCALA-69: Immediately upon saving any None's will be converted
                        to null inside the DBObject for proper fetching later.
            * Add toString, hashCode and equals methods to DBObject
            * New, refactored tests for DBObject and DBList
        - Typesafety kungfu from @jteigen
              + enforce at *compile time* that type parameters used for
                casting ( as, getAs, getAsOrElse ) are not Nothing
    bwmcadams committed May 15, 2012
Commits on May 11, 2012
  1. Backport Test Helpers

    bwmcadams committed May 11, 2012
  2. Fix version decl of scalatime

    bwmcadams committed May 11, 2012
  3. Copy bookstore sample file

    bwmcadams committed May 11, 2012
  4. Update to Scala Time 0.5

    bwmcadams committed May 11, 2012
  5. Backport SBT 0.11 build

    bwmcadams committed May 11, 2012
  6. SBT Rebel cut, local runner

    bwmcadams committed May 11, 2012
  7. Merged SBT 0.11.x build.

    bwmcadams committed May 11, 2012
  8. Updated to SBT 0.10.0 build system

    Conflicts:
    
    	project/build.properties
    	project/build/CasbahProject.scala
    	project/plugins/Plugin.scala
    bwmcadams committed Jul 14, 2011
  9. Miscellaneous backports.

    bwmcadams committed May 11, 2012
Commits on May 31, 2011
  1. Release r2.1.5-1_2.8.1

    bwmcadams committed May 31, 2011