Permalink
Browse files

Release r2.0rc3

  • Loading branch information...
Brendan W. McAdams
Brendan W. McAdams committed Dec 30, 2010
1 parent d998cb5 commit 8344af35f4064c586a364e2867894955a84a686b
View
@@ -1,4 +1,11 @@
+2.0rc3 / 2010-12-30
+==================
+
+ * Migrated MongoCursorBase[T] chained methods to use this.type which returns their proper SUBTYPE instead of undifferentiated superclass MongoCursorBase[T]
+ * Moved copy() method to properly return the given subtype in MongoCursor/MongoTypedCursor
+ * Replaced explicit asInstanceOf[DBObject] casts of view findOne values to compiler-checked ': DBObject' type annotation
+
2.0rc2 / 2010-12-29
==================
View
@@ -0,0 +1,8 @@
+
+2\.0rc3 / 2010-12-30
+==================
+
+ * Migrated MongoCursorBase[T] chained methods to use this.type which returns their proper SUBTYPE instead of undifferentiated superclass MongoCursorBase[T]
+ * Moved copy() method to properly return the given subtype in MongoCursor/MongoTypedCursor
+ * Replaced explicit asInstanceOf[DBObject] casts of view findOne values to compiler-checked ': DBObject' type annotation
+
View
@@ -3,7 +3,7 @@
project.organization=com.mongodb.casbah
project.name=casbah
sbt.version=0.7.4
-project.version=2.0rc2
+project.version=2.0rc3
def.scala.version=2.7.7
build.scala.versions=2.8.1 2.8.0
project.initialize=false
@@ -51,7 +51,7 @@
# The short X.Y version.
version = '2.0'
# The full version, including alpha/beta/rc tags.
-release = '2.0rc2'
+release = '2.0rc3'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -15,20 +15,20 @@ Casbah provides improved interfaces to GridFS, Map/Reduce and the core Mongo API
With version 2.0, Casbah has become an official MongoDB project and will continue to improve the interaction of Scala + MongoDB. Casbah aims to remain fully compatible with the existing Java driver---it does not talk to MongoDB directly, preferring to wrap the Java code. This means you shouldn't see any wildly unexpected behavior from the underlying Mongo interfaces when a data bug is fixed.
-The `ScalaDocs for Casbah <http://api.mongodb.org/scala/casbah/2.0rc2/scaladoc/>`_ along with SXR cross referenced source are available at the `MongoDB API site <http://api.mongodb.org>`_.
+The `ScalaDocs for Casbah <http://api.mongodb.org/scala/casbah/2.0rc3/scaladoc/>`_ along with SXR cross referenced source are available at the `MongoDB API site <http://api.mongodb.org>`_.
.. TODO - links to prior releases?
You may also download this documentation in other formats.
- * `ePub <http://api.mongodb.org/scala/casbah/2.0rc2/CasbahDocumentation.epub>`_
- * `PDF <http://api.mongodb.org/scala/casbah/2.0rc2/CasbahDocumentation.pdf>`_
+ * `ePub <http://api.mongodb.org/scala/casbah/2.0rc3/CasbahDocumentation.epub>`_
+ * `PDF <http://api.mongodb.org/scala/casbah/2.0rc3/CasbahDocumentation.pdf>`_
.. toctree::
:maxdepth: 3
:numbered:
- API Docs <http://api.mongodb.org/scala/casbah/2.0rc2/scaladoc/>
+ API Docs <http://api.mongodb.org/scala/casbah/2.0rc3/scaladoc/>
setting_up
tutorial
@@ -37,7 +37,7 @@ You may also download this documentation in other formats.
.. Indices and tables
.. ==================
..
-.. * `API Docs <http://api.mongodb.org/scala/casbah/2.0rc2/scaladoc/>`_
+.. * `API Docs <http://api.mongodb.org/scala/casbah/2.0rc3/scaladoc/>`_
.. * :ref:`genindex`
.. * :ref:`modindex`
.. * :ref:`search`
@@ -42,15 +42,15 @@ Scala 2.8.0 users::
<dependency>
<groupId>com.mongodb.casbah<groupId>
<artifactId>casbah_2.8.0<artifactId>
- <version>2.0rc2<version>
+ <version>2.0rc3<version>
<dependency>
Scala 2.8.1 users::
<dependency>
<groupId>com.mongodb.casbah<groupId>
<artifactId>casbah_2.8.1<artifactId>
- <version>2.0rc2<version>
+ <version>2.0rc3<version>
<dependency>
@@ -60,25 +60,25 @@ You can add Casbah to Ivy with the following dependency block.
Scala 2.8.0 users::
- <dependency org="com.mongodb.casbah" name="casbah_2.8.0" rev="2.0rc2"/>
+ <dependency org="com.mongodb.casbah" name="casbah_2.8.0" rev="2.0rc3"/>
Scala 2.8.1 users::
- <dependency org="com.mongodb.casbah" name="casbah_2.8.1" rev="2.0rc2"/>
+ <dependency org="com.mongodb.casbah" name="casbah_2.8.1" rev="2.0rc3"/>
Setting up SBT
---------------
Finally, you can add Casbah to SBT by adding the following to your project file::
- val casbah = "com.mongodb.casbah" %% "casbah" % "2.0rc2"
+ val casbah = "com.mongodb.casbah" %% "casbah" % "2.0rc3"
The double percentages (`%%`) is not a typo---it tells SBT that the library is crossbuilt and to find the appropriate version for your project's Scala version. If you prefer to be explicit you can use this instead::
// Scala 2.8.0
- val casbah = "com.mongodb.casbah" % "casbah_2.8.0" % "2.0rc2"
+ val casbah = "com.mongodb.casbah" % "casbah_2.8.0" % "2.0rc3"
// Scala 2.8.1
- val casbah = "com.mongodb.casbah" % "casbah_2.8.1" % "2.0rc2"
+ val casbah = "com.mongodb.casbah" % "casbah_2.8.1" % "2.0rc3"
Don't forget to reload the project and run ``sbt update`` afterwards to download the dependencies (SBT doesn't check every build like Maven).
@@ -17,7 +17,7 @@ Now that you've added Casbah to your project, it should be available for import.
import com.mongodb.casbah.Imports._
-That's it. Most of what you need to work with Casbah is now at hand. .. If you want to know what's going on inside the ``Imports._`` take a look at `Implicits.scala <http://api.mongodb.org/scala/casbah/2.0rc2/scaladoc/casbah-core/sxr/Implicits.scala.html>`_ which defines it.
+That's it. Most of what you need to work with Casbah is now at hand. .. If you want to know what's going on inside the ``Imports._`` take a look at `Implicits.scala <http://api.mongodb.org/scala/casbah/2.0rc3/scaladoc/casbah-core/sxr/Implicits.scala.html>`_ which defines it.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Briefly: Automatic Type Conversions

0 comments on commit 8344af3

Please sign in to comment.