Permalink
Commits on May 28, 2012
  1. mis-tagged version.

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

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

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

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

    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 committed May 16, 2012
    …chnique
    
    should work.
  3. SCALA-62: Simple solution - hack the date type on the base class.

    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 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 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 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 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 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 committed May 11, 2012
  2. Fix version decl of scalatime

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

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

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

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

    Brendan W. McAdams committed May 11, 2012
  7. Merged SBT 0.11.x build.

    Brendan W. McAdams committed May 11, 2012
  8. Updated to SBT 0.10.0 build system

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

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

    Brendan W. McAdams committed May 31, 2011
  2. Release r2.1.5-1_2.8.x

    Brendan W. McAdams committed May 31, 2011
Commits on May 26, 2011
  1. Release r2.1.5.0_2.8.x

    Brendan W. McAdams committed May 26, 2011
  2. Updated docs for 2.1.5.0

    Brendan W. McAdams committed May 26, 2011
  3. Release r2.1.5.0_2.8.x

    Brendan W. McAdams committed May 26, 2011
  4. Changelog for 2.9.0

    Brendan W. McAdams committed May 26, 2011
  5. Roll SBT version to 0.7.7

    Brendan W. McAdams committed May 26, 2011
  6. I seem to have missed project files for SBT and casbah-dynamic

    Brendan W. McAdams committed May 18, 2011
  7. Prototype "Dynamic" module

    Brendan W. McAdams committed May 17, 2011
  8. Disabled a few tests that weren't passing and known to be 'buggy' in

    Brendan W. McAdams committed May 26, 2011
    specs1.  These are fixed for the upcoming 2.2. release on specs2
  9. RegEx $not was just flat out wrong - was producing {"foo": {"foo": /<…

    Brendan W. McAdams committed May 16, 2011
    …regex>/}} instead of {"foo": {"$not": {/<regex>/}}