Permalink
Commits on Jun 28, 2012
  1. Release r2.4.0

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 28, 2012
  2. Hide BasicDBList; now, getAs and As and related will always return a

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 28, 2012
    MongoDBList which is a Seq[_].  Enjoy!
Commits on Jun 23, 2012
  1. List new packaging in release notes

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 23, 2012
  2. Remove RC1 notes, conflicting in herald.

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 23, 2012
  3. Release r2.3.0

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 23, 2012
  4. Rollback the Spiewak suggested getAs changs. They break a lot of

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 23, 2012
    behavior especially boxing.
  5. Update mongo-java-driver to 2.8.0 release

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 23, 2012
  6. Incorrect casting of getAs and family should throw an Exception, not a

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 23, 2012
    warning.  Catch if you don't like it.
Commits on Jun 6, 2012
  1. Corrected incorrect casting issue with Joda gridFS file .

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 6, 2012
  2. Adjustments to behavior of JodaGridFS to resolve issues reported by

    Brendan W. McAdams
    Brendan W. McAdams committed Jun 6, 2012
    users.
Commits on May 29, 2012
  1. Post-release tweaks for Herald post to implicit.ly

    Brendan W. McAdams
    Brendan W. McAdams committed May 29, 2012
  2. Herald Release Notes

    Brendan W. McAdams
    Brendan W. McAdams committed May 29, 2012
  3. Release r2.3.0-RC1

    Brendan W. McAdams
    Brendan W. McAdams committed May 29, 2012
  4. JodaGridFS wasn't properly checked in before.

    Brendan W. McAdams
    Brendan W. McAdams committed May 29, 2012
Commits on May 28, 2012
  1. mis-tagged version.

    Brendan W. McAdams
    Brendan W. McAdams committed May 28, 2012
  2. Release r2.3.0-M1

    Brendan W. McAdams
    Brendan W. McAdams committed May 28, 2012
  3. Mark Casbah 2.2.0-M1

    Brendan W. McAdams
    Brendan W. McAdams committed May 28, 2012
  4. Fix dependencies on scalaj libs.

    Brendan W. McAdams
    Brendan W. McAdams committed May 28, 2012
Commits on May 16, 2012
  1. Dropped Scala 2.8.0 support...

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

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

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

    Brendan W. McAdams
    Brendan W. McAdams committed May 16, 2012
    - 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]
  5. Backports to casbah-core from 3.0

    Brendan W. McAdams
    Brendan W. McAdams committed May 16, 2012
    * 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.
  6. Backports for QueryDSL

    Brendan W. McAdams
    Brendan W. McAdams committed May 16, 2012
        * 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
  7. SCALA-69: Maps saved to DBObject are now eagerly converted to a

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

    Brendan W. McAdams
    Brendan W. McAdams committed May 15, 2012
        - 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
Commits on May 11, 2012
  1. Backport Test Helpers

    Brendan W. McAdams
    Brendan W. McAdams committed May 11, 2012
  2. Fix version decl of scalatime

    Brendan W. McAdams
    Brendan W. McAdams committed May 11, 2012
  3. Copy bookstore sample file

    Brendan W. McAdams
    Brendan W. McAdams committed May 11, 2012
  4. Update to Scala Time 0.5

    Brendan W. McAdams
    Brendan W. McAdams committed May 11, 2012
  5. Backport SBT 0.11 build

    Brendan W. McAdams
    Brendan W. McAdams committed May 11, 2012
  6. SBT Rebel cut, local runner

    Brendan W. McAdams
    Brendan W. McAdams committed May 11, 2012