Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Release r2.0rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan W. McAdams committed Dec 30, 2010
1 parent d998cb5 commit 8344af3
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 15 deletions.
7 changes: 7 additions & 0 deletions History.md
@@ -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 2.0rc2 / 2010-12-29
================== ==================


Expand Down
8 changes: 8 additions & 0 deletions notes/2.0rc3.markdown
@@ -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

2 changes: 1 addition & 1 deletion project/build.properties
Expand Up @@ -3,7 +3,7 @@
project.organization=com.mongodb.casbah project.organization=com.mongodb.casbah
project.name=casbah project.name=casbah
sbt.version=0.7.4 sbt.version=0.7.4
project.version=2.0rc2 project.version=2.0rc3
def.scala.version=2.7.7 def.scala.version=2.7.7
build.scala.versions=2.8.1 2.8.0 build.scala.versions=2.8.1 2.8.0
project.initialize=false project.initialize=false
2 changes: 1 addition & 1 deletion tutorial_src/source/conf.py
Expand Up @@ -51,7 +51,7 @@
# The short X.Y version. # The short X.Y version.
version = '2.0' version = '2.0'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '2.0rc2' release = '2.0rc3'


# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
Expand Down
10 changes: 5 additions & 5 deletions tutorial_src/source/index.rst
Expand Up @@ -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. 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? .. TODO - links to prior releases?
You may also download this documentation in other formats. You may also download this documentation in other formats.


* `ePub <http://api.mongodb.org/scala/casbah/2.0rc2/CasbahDocumentation.epub>`_ * `ePub <http://api.mongodb.org/scala/casbah/2.0rc3/CasbahDocumentation.epub>`_
* `PDF <http://api.mongodb.org/scala/casbah/2.0rc2/CasbahDocumentation.pdf>`_ * `PDF <http://api.mongodb.org/scala/casbah/2.0rc3/CasbahDocumentation.pdf>`_


.. toctree:: .. toctree::
:maxdepth: 3 :maxdepth: 3
:numbered: :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 setting_up
tutorial tutorial


Expand All @@ -37,7 +37,7 @@ You may also download this documentation in other formats.
.. Indices and tables .. 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:`genindex`
.. * :ref:`modindex` .. * :ref:`modindex`
.. * :ref:`search` .. * :ref:`search`
Expand Down
14 changes: 7 additions & 7 deletions tutorial_src/source/setting_up.rst
Expand Up @@ -42,15 +42,15 @@ Scala 2.8.0 users::
<dependency> <dependency>
<groupId>com.mongodb.casbah<groupId> <groupId>com.mongodb.casbah<groupId>
<artifactId>casbah_2.8.0<artifactId> <artifactId>casbah_2.8.0<artifactId>
<version>2.0rc2<version> <version>2.0rc3<version>
<dependency> <dependency>


Scala 2.8.1 users:: Scala 2.8.1 users::


<dependency> <dependency>
<groupId>com.mongodb.casbah<groupId> <groupId>com.mongodb.casbah<groupId>
<artifactId>casbah_2.8.1<artifactId> <artifactId>casbah_2.8.1<artifactId>
<version>2.0rc2<version> <version>2.0rc3<version>
<dependency> <dependency>


Expand All @@ -60,25 +60,25 @@ You can add Casbah to Ivy with the following dependency block.


Scala 2.8.0 users:: 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:: 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 Setting up SBT
--------------- ---------------
Finally, you can add Casbah to SBT by adding the following to your project file:: 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:: 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 // 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 // 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). Don't forget to reload the project and run ``sbt update`` afterwards to download the dependencies (SBT doesn't check every build like Maven).


Expand Down
2 changes: 1 addition & 1 deletion tutorial_src/source/tutorial.rst
Expand Up @@ -17,7 +17,7 @@ Now that you've added Casbah to your project, it should be available for import.


import com.mongodb.casbah.Imports._ 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 Briefly: Automatic Type Conversions
Expand Down

0 comments on commit 8344af3

Please sign in to comment.