Browse files

BUMP v0.6

  • Loading branch information...
1 parent 5cc3600 commit 013fe75d6920afcfa016b4fd9bb7d0f2bf41da6e @banker banker committed Jun 3, 2012
Showing with 28 additions and 15 deletions.
  1. +17 −5 HISTORY.md
  2. +2 −2 Makefile
  3. +2 −2 README.md
  4. +2 −2 SConstruct
  5. +2 −1 docs/source/sphinx/source/index.rst
  6. +1 −1 doxygenConfig
  7. +2 −2 src/mongo.h
View
22 HISTORY.md
@@ -1,25 +1,37 @@
# MongoDB C Driver History
## 0.6
-UNRELEASED
+2012-6-3
** API CHANGE **
Version 0.6 supports write concern. This involves a backward-breaking
API change, as the write functions now take an optional write_concern
-object. The new function prototypes are as follows:
+object.
+
+The driver now also supports the MONGO_CONTINUE_ON_ERROR flag for
+batch inserts.
+
+The new function prototypes are as follows:
* int mongo_insert( mongo *conn, const char *ns, const bson *data,
mongo_write_concern *custom_write_concern );
-* int mongo_insert_batch( mongo *conn , const char *ns ,
- const bson **data , int num, mongo_write_concern *custom_write_concern );
+* int mongo_insert_batch( mongo *conn, const char *ns,
+ const bson **data, int num, mongo_write_concern *custom_write_concern );
* int mongo_update( mongo *conn, const char *ns, const bson *cond,
- const bson *op, int flags, mongo_write_concern *custom_write_concern );
+ const bson *op, int flags, mongo_write_concern *custom_write_concern,
+ int flags );
* int mongo_remove( mongo *conn, const char *ns, const bson *cond,
mongo_write_concern *custom_write_concern );
+* Allow DBRefs (i.e., allows keys $ref, $id, and $db)
+* Added mongo_create_capped_collection().
+* Fixed some bugs in the SCons and Makefile build scripts.
+* Fixes for SCons and Makefile shared library install targets.
+* Other minor bug fixes.
+
## 0.5.2
2012-5-4
View
4 Makefile
@@ -16,8 +16,8 @@
# Version
MONGO_MAJOR=0
-MONGO_MINOR=5
-MONGO_PATCH=2
+MONGO_MINOR=6
+MONGO_PATCH=0
BSON_MAJOR=$(MONGO_MAJOR)
BSON_MINOR=$(MONGO_MINOR)
BSON_PATCH=$(MONGO_PATCH)
View
4 README.md
@@ -24,9 +24,9 @@ The html docs will appear in docs/html.
# Building
First check out the version you want to build. *Always build from a particular tag, since HEAD may be
-a work in progress.* For example, to build version 0.5.2, run:
+a work in progress.* For example, to build version 0.6, run:
- git checkout v0.5.2
+ git checkout v0.6
You can then build the driver with scons:
View
4 SConstruct
@@ -1,8 +1,8 @@
# -*- mode: python; -*-
MAJOR_VERSION = "0"
-MINOR_VERSION = "5"
-PATCH_VERSION = "2"
+MINOR_VERSION = "6"
+PATCH_VERSION = "0"
VERSION = MAJOR_VERSION + "." + MINOR_VERSION + "." + PATCH_VERSION
# --- options ----
View
3 docs/source/sphinx/source/index.rst
@@ -10,7 +10,8 @@ portability, no dependencies, and generic embeddability.
The driver is still considered alpha but is undergoing active
development. Support for replica sets was just added in v0.3.1.
-The API was completely revamped in v0.4.
+The API was completely revamped in v0.4. Another backward-breaking
+change (support for `write_concern`) was added in v0.6.
:doc:`tutorial`
An overview of the driver's API.
View
2 doxygenConfig
@@ -3,7 +3,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = MongoDB C Driver
-PROJECT_NUMBER = 0.5.2
+PROJECT_NUMBER = 0.6
OUTPUT_DIRECTORY = docs/source/doxygen
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
View
4 src/mongo.h
@@ -26,8 +26,8 @@
MONGO_EXTERN_C_START
#define MONGO_MAJOR 0
-#define MONGO_MINOR 5
-#define MONGO_PATCH 2
+#define MONGO_MINOR 6
+#define MONGO_PATCH 0
#define MONGO_OK 0
#define MONGO_ERROR -1

0 comments on commit 013fe75

Please sign in to comment.