From 73b4cd1dc8c0b9515de4c2c2e0dbc932a63b2ed2 Mon Sep 17 00:00:00 2001 From: neoxic Date: Thu, 25 Jun 2020 23:17:29 -0700 Subject: [PATCH] Version 1.2.2 Upgrade to mongo-c-driver 1.16 mongo.BSON(): autodetect between BSON/JSON data Minor fixes, tests & docs New API for consistency with Mongo C Driver's API: + collection:insertMany(document1, document2, ...) + collection:insertOne(document, [options]) + collection:removeMany(query, [options]) + collection:removeOne(query, [options]) + collection:replaceOne(query, document, [options]) + collection:updateMany(query, document, [options]) + collection:updateOne(query, document, [options]) --- VERSION | 4 ++-- src/common.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index b68b1cf..e033253 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -Current: 1.2.1 -Release: 1.2.1 +Current: 1.2.2 +Release: 1.2.2 diff --git a/src/common.h b/src/common.h index dd7dc57..b6932fe 100644 --- a/src/common.h +++ b/src/common.h @@ -31,7 +31,7 @@ #endif #define MODNAME "lua-mongo" -#define VERSION "1.2.1" +#define VERSION "1.2.2" #define TYPE_BINARY "mongo.Binary" #define TYPE_BSON "mongo.BSON"