Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 28, 2012
  1. @bwmcadams

    Release r2.4.0

    bwmcadams authored
  2. @bwmcadams

    Hide BasicDBList; now, getAs and As and related will always return a

    bwmcadams authored
    MongoDBList which is a Seq[_].  Enjoy!
Commits on Jun 23, 2012
  1. @bwmcadams
  2. @bwmcadams
  3. @bwmcadams

    Release r2.3.0

    bwmcadams authored
  4. @bwmcadams

    Rollback the Spiewak suggested getAs changs. They break a lot of

    bwmcadams authored
    behavior especially boxing.
  5. @bwmcadams
  6. @bwmcadams

    Incorrect casting of getAs and family should throw an Exception, not a

    bwmcadams authored
    warning.  Catch if you don't like it.
Commits on Jun 6, 2012
  1. @bwmcadams
  2. @bwmcadams
Commits on May 29, 2012
  1. @bwmcadams
  2. @bwmcadams

    Herald Release Notes

    bwmcadams authored
  3. @bwmcadams

    Release r2.3.0-RC1

    bwmcadams authored
  4. @bwmcadams
  5. @bwmcadams
  6. @bwmcadams
Commits on May 28, 2012
  1. @bwmcadams

    mis-tagged version.

    bwmcadams authored
  2. @bwmcadams

    Release r2.3.0-M1

    bwmcadams authored
  3. @bwmcadams

    Mark Casbah 2.2.0-M1

    bwmcadams authored
  4. @bwmcadams
Commits on May 16, 2012
  1. @bwmcadams

    Dropped Scala 2.8.0 support...

    bwmcadams authored
        2.1.5-1 is the final Casbah release for 2.8.0; please migrate to Scala 2.8.1 or higher
  2. @bwmcadams
  3. @bwmcadams

    SCALA-62: Simple solution - hack the date type on the base class.

    bwmcadams authored
              There is now a JodaGridFS implementation which works cleanly
              with Joda DateTime and will return them to you
  4. @bwmcadams

    Backport casbah-gridfs from 3.0

    bwmcadams authored
    - 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. @bwmcadams

    Backports to casbah-core from 3.0

    bwmcadams authored
    * 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. @bwmcadams

    Backports for QueryDSL

    bwmcadams authored
        * 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. @bwmcadams

    SCALA-69: Maps saved to DBObject are now eagerly converted to a

    bwmcadams authored
              DBObject, from factory, builder and put methods.
Commits on May 15, 2012
  1. @bwmcadams
  2. @bwmcadams

    Backports from Casbah 3.0

    bwmcadams authored
        - 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. @bwmcadams

    Backport Test Helpers

    bwmcadams authored
  2. @bwmcadams
  3. @bwmcadams

    Copy bookstore sample file

    bwmcadams authored
  4. @bwmcadams

    Update to Scala Time 0.5

    bwmcadams authored
  5. @bwmcadams

    Backport SBT 0.11 build

    bwmcadams authored
  6. @bwmcadams

    SBT Rebel cut, local runner

    bwmcadams authored
Something went wrong with that request. Please try again.