Changes in Version 0.4.0¶
- Remove vendoring of libmongoc - users must install libmongoc 1.0 or later independently.
- Improved error handling and error reporting.
- Improved Testing: tests can be run through
setup.py test; added skiptest; removed dependency on Nose.
- Connection over SSL.
- Various bugfixes.
Changes in Version 0.3.0¶
Version 0.3.0 is a major overhaul of the backend code.
- Upgrade to latest version of the MongoDB C driver (0.98.0).
monary_connectnow takes a MongoDB URI or hostname and port. See the connection string documentation for more information.
- Monary can now freely cast between integer and floating-point values.
- Debug messages are suppressed by default.
datehelpernow allows negative timedeltas and time values to represent dates before the epoch.
- Monary objects no longer support the
authenticate()method, which is a breaking change. If your code relied on
authenticate(), you must now include the username and password in the MongoDB URI passed into the Monary constructor. Authentication now occurs when a connection is made.
Changes in Version 0.1.4¶
Upgraded to the latest version of the MongoDB C driver - changed the signature
Changes in Version 0.1.3¶
Added support for sorting queries and providing hints - see
Added simple unit tests for
Changes in Version 0.1.2¶
Added support for a “date” type which populates an array of in64 values from a BSON date. The date value is milliseconds since January 1, 1970.
Column tests improved.
Strict argument checks added to datehelper functions.
Fixed a minor bug in
datehelper.mongodelta_to_timedelta(), which was not
numpy.int64 instance as the date value. (Now we simply convert
the argument to a Python int.)
Changes in Version 0.1.1¶
Added support for int8, int16, int64 and float32 column types. Also added basic
tests for all column types (requires
To run the tests, first obtain
$ pip install nose
Then, to test:
Fixed issue with ObjectIDs containing NULL bytes. (ObjectIDs now use a 12-byte ‘void’ array type in numeric Python.)
Changes in Version 0.1.0¶