Skip to content

Releases: limansky/mongoquery

Release 0.7

01 Jul 16:26
Compare
Choose a tag to compare

This release introduces support for mongo-scala-driver. Thanks @kell18!
Second important change, Scala 2.10 is not supported anymore.

Release 0.6

17 Dec 16:56
Compare
Choose a tag to compare

Maintenance release. Add Scala 2.12 support.

Release 0.5

25 Sep 21:46
Compare
Choose a tag to compare

This release provides a runtime parser which can be useful for testing, and for converting JSON to BSON.

BSONParser.parse("{foo : \"bar\", xxx : 42 }")

Other notable changes:

  • qouted field names (like { "test" : "me" }) support.
  • better regex support.

Also different bugs were fixed.

Release 0.4

07 Feb 12:39
Compare
Choose a tag to compare

The main achievement of this release is adding mqt interpolator for type checked queries. It allows you to check if the query is applicable for your model case class.

For example:

case class Company(country: String, phone: List[String])

val british = companies.find(mqt"{ country : 'UK' }"[Company])

In this release it checks following things:

  • field is exists in provided class
  • in case of nested fields checks the nested classes
  • if field accessed as a list checks if the class is traversable
  • it supports Options as well

Release 0.3

30 Nov 00:26
Compare
Choose a tag to compare

This release provides several bug fixes and new features:

  • MongoDB operators are checked now. If operator is unknown, the code does not compile and provides a suggestion.
  • Double values can be entered in exponential form.
  • Null literal is supported.

Release 0.2

22 Nov 18:54
Compare
Choose a tag to compare

First public release. Compile time mq interpolator is implemented.