Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
202 lines (126 sloc) 4.9 KB

Release Notes

1.1.7

  • support for EnumField and EnumNameField
  • added explicit lift jar dependencies to build.sbt

1.1.6

  • iteratee support
  • default WriteConcern is configurable
  • renamed blockingBulkDelete_!! to bulkDelete_!! (takes a WriteConcern)
  • moved gt, lt into base QueryField (nsanch)
  • fixed the way nested subfield queries work if both fields are ListFields

1.1.5

  • fixed handling of subfields of list fields
  • allow nested subfields for BsonRecordFields

1.1.4

  • removed EmptyQuery, fixed handling of upserts on empty queries
  • BaseQuery.asDBObject, BaseModifyQuery.asDBObject
  • fix for subselecting when the top-level field doesn't exist (nsanch)
  • fixes for publishing to sonatype
  • bumped mongo java driver version to 2.7.3

1.1.3

  • fixed bug where findAndModify upsert with returnNew = false was returning Some
  • fixed bug where $regex query on a field would not allow other queries on that field
  • publishing to sonatype instead of scala-tools

1.1.2

  • allow $or queries in modify commands

1.1.1

  • select/selectCase up to 10 fields (davidtaylor)
  • only validate lists on $all and $in queries (jliszka)
  • pass query object to logging hook (jliszka)

1.1.0

  • compile-time index checking (nsanch)
  • stop building select clause from all fields (jliszka)
  • QueryLogger.logIndexHit hook (jliszka)
  • use distinct values in $in and $all queries (jliszka)
  • slaveOk query modifier (nsanch)

1.0.29

  • updated inline documentation (markcc)
  • between takes a tuple (davidt)
  • end-to-end tests (nsanch)
  • subfield select on embedded list (nsanch)
  • regex match operator for string fields (jliszka)

1.0.28

  • Support for the $ positional operator
  • pullWhere - $pull by query instead of exact match

1.0.27

  • Mongo index checking (see here for documentation)

1.0.26

  • $rename support

1.0.25

  • ability to supply a WriteConcern to updateOne, updateMulti and upsertOne.
  • select and selectCase can handle 7 and 8 parameters

1.0.24

  • $bit support

1.0.23

  • Add hook for intercepting and transforming queries right before sending request to mongodb.

1.0.22

  • improved support for subfield queries on BsonRecordField

1.0.21

  • support for subfield queries on BsonRecordField
  • added "matches" operator (for regexes) on StringFields with explicit index behavior expectations
  • fixed some more broken logging

1.0.20

  • sbt 0.10.0
  • raw access do BasicDBObjectBuilder in query builder
  • fixed some broken logging

1.0.19

  • whereOpt support: Venue.whereOpt(uidOpt)(_.userid eqs _)
  • Pass the query signature to the logging hook

1.0.18

  • findAndModify support
  • $or query support
  • efficient .exists query method (thanks Jorge!)
  • support for BsonRecordField and BsonRecordListField (thanks Marc!)
  • type-safe foreign key condtions, e.g., Tip.where(_.venueid eqs venueObj) (thanks dtaylor!)

1.0.17

  • blockingBulkDelete_!! which takes a WriteConcern
  • more uniform query logging

1.0.16

  • skipOpt query modifier
  • use built-in interpreter for type checking tests

1.0.15

  • .toString produces runnable javascript commands for mongodb console
  • added tests for constructions that should not compile
  • selectCase() builder method for select()ing via case class
  • support for $nin (nin) and $ne (notcontains) on list fields
  • unchecked warnings cleanup

1.0.14:

  • index hinting support
  • support for selecting subfields (MongoMapField and MongoCaseClassField only; no support for MongoCaseClassListField)
  • "between" convenience operator (numeric)
  • scala 2.9.0 and 2.9.0-1 build support -- thanks eltimn!

1.0.13:

  • fixed ObjectId construction for date ranges by zeroing out machine, pid and counter fields
  • support for $maxScan and $comment addSpecial parameters on find() queries

1.0.12:

  • always specify field names to return in the query; if select() was not specified, use all field names from the model
  • some code cleanup (use case classes and copy() to save some typing)

1.0.11:

  • explain() method on BaseQuery (thanks tjulien!)
  • support for select()ing up to 6 fields

1.0.10:

  • regression fix for 1.0.9

1.0.9

  • added hooks for full query validation
  • support for $type and $mod query operators
  • query signatures: string version of a query without values
  • support for indicating when a query clause is intended to hit an index (for runtime index checking, if you wish to implement it)

1.0.8

  • extra logging around mongo exceptions

1.0.7

  • support for empty (noop) modify queries

1.0.6

  • fetchBatch now uses db cursors
  • building against Lift snapshot (thanks Indrajit!)
  • support for crossbuilding 2.8.0 & 2.8.1

1.0.5

  • added tiny bit more type safety to unsafeField subfield selector

1.0.4

  • bug fix: alwasy set _id in select() queries

1.0.3

  • fixed setTo serialization
  • eqs/neqs support for GeoQueryField

1.0.2

  • support for querying sub-fields of a map

1.0.1

  • added BasePaginatedQuery.setCountPerPage()
Something went wrong with that request. Please try again.