Permalink
Browse files

Release r2.0rc1

  • Loading branch information...
Brendan W. McAdams
Brendan W. McAdams committed Dec 27, 2010
1 parent 0a9d0d0 commit 5e0afa14a9e636ac234b72c797741a10c48753ac
Showing with 19 additions and 12 deletions.
  1. +7 −0 History.md
  2. +1 −1 tutorial_src/source/conf.py
  3. +3 −3 tutorial_src/source/index.rst
  4. +8 −8 tutorial_src/source/setting_up.rst
View
@@ -1,4 +1,11 @@
+2.0rc1 / 2010-12-27
+==================
+
+ * Pull Java Driver 2.4 from Maven (and include it in the POM)
+ * SCALA-11: Added new findOneByID methods to match the Java driver's Object taking ambiguous findOne methods.
+ * SCALA-11: findOne in Java has methods which take an Object to allow ID matching. Because of the view boundary, Scala was selecting the Object version instead of DBObject, causing breakage. findOne methods now explicitly cast the query arg to DBObject to hook the right java method.
+
2.0rc0/ 2010-12-23
==================
@@ -51,7 +51,7 @@
# The short X.Y version.
version = '2.0'
# The full version, including alpha/beta/rc tags.
-release = '2.0b3p1'
+release = '2.0rc0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -15,12 +15,12 @@ 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.0b3p1/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.0rc0/scaladoc/>`_ along with SXR cross referenced source are available at the `MongoDB API site <http://api.mongodb.org>`_.
You may also download this documentation in other formats.
- * `ePub <http://api.mongodb.org/scala/casbah/2.0b3p1/CasbahDocumentation.epub>`_
- * `PDF <http://api.mongodb.org/scala/casbah/2.0b3p1/CasbahDocumentation.pdf>`_
+ * `ePub <http://api.mongodb.org/scala/casbah/2.0rc0/CasbahDocumentation.epub>`_
+ * `PDF <http://api.mongodb.org/scala/casbah/2.0rc0/CasbahDocumentation.pdf>`_
.. toctree::
:maxdepth: 3
@@ -42,15 +42,15 @@ Scala 2.8.0 users::
<dependency>
<groupId>com.mongodb.casbah<groupId>
<artifactId>casbah_2.8.0<artifactId>
- <version>2.0b3p1<version>
+ <version>2.0rc0<version>
<dependency>
Scala 2.8.1 users::
<dependency>
<groupId>com.mongodb.casbah<groupId>
<artifactId>casbah_2.8.1<artifactId>
- <version>2.0b3p1<version>
+ <version>2.0rc0<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.0b3p1"/>
+ <dependency org="com.mongodb.casbah" name="casbah_2.8.0" rev="2.0rc0"/>
Scala 2.8.1 users::
- <dependency org="com.mongodb.casbah" name="casbah_2.8.1" rev="2.0b3p1"/>
+ <dependency org="com.mongodb.casbah" name="casbah_2.8.1" rev="2.0rc0"/>
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.0b3p1"
+ val casbah = "com.mongodb.casbah" %% "casbah" % "2.0rc0"
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.0b3p1"
+ val casbah = "com.mongodb.casbah" % "casbah_2.8.0" % "2.0rc0"
// Scala 2.8.1
- val casbah = "com.mongodb.casbah" % "casbah_2.8.1" % "2.0b3p1"
+ val casbah = "com.mongodb.casbah" % "casbah_2.8.1" % "2.0rc0"
Don't forget to reload the project and run ``sbt update`` afterwards to download the dependencies (SBT doesn't check every build like Maven).
@@ -226,4 +226,4 @@ We cover the import of each module in their appropriate tutorials, but each modu
// Imports just the Query DSL along with Commons and its dependencies
import com.mongodb.casbah.query.Imports._
-
+

0 comments on commit 5e0afa1

Please sign in to comment.