Skip to content

Tags: SCOja/motor

Tags

2.4.0

Toggle 2.4.0's commit message
BUMP 2.4.0

2.3.0

Toggle 2.3.0's commit message
BUMP 2.3.0

2.2.0

Toggle 2.2.0's commit message
BUMP 2.2.0

2.0.0

Toggle 2.0.0's commit message

Verified

This tag was signed with the committer’s verified signature.
ajdavis A. Jesse Jiryu Davis
Motor 2.0 drops support for MongoDB 2.6 and adds supports MongoDB 4.0…

… features,

including multi-document transactions, and change stream notifications on
entire databases or entire MongoDB servers. It adds support for Python 3.7.
This version of Motor requires PyMongo 3.7 or later.

This is a major release that removes previously deprecated APIs.

To support multi-document transactions, Motor had to make breaking changes to
the session API and release a major version bump. Since this is a major release
it also deletes many helper methods and APIs that had been deprecated over the
time since Motor 1.0, most notably the old CRUD methods insert, update, remove,
and save, and the original callback-based API. Read the Motor 2.0 Migration
Guide carefully to upgrade your existing Motor application.

Documentation is updated to warn about obsolete TLS versions, see
Configuration. Motor is now tested on Travis in addition to MongoDB's Evergreen
system.

Added support for aiohttp 3.0 and later, and dropped older aiohttp versions.
The aiohttp integration now requires Python 3.5+.

The MotorDatabase.add_user and MotorDatabase.remove_user methods are deleted.
Manage user accounts with four database commands: createUser, usersInfo,
updateUser, and dropUser. You can run any database command with the
MotorDatabase.command() method.

The deprecated GridFS classes MotorGridFS and AsyncIOMotorGridFS are deleted in
favor of MotorGridFSBucket and AsyncIOMotorGridFSBucket, which conform to
driver specs for GridFS.

Additional changes:

New methods for retrieving batches of raw BSON:
- MotorCollection.find_raw_batches()
- MotorCollection.aggregate_raw_batches()

Motor adds its name, version, and Tornado's version (if appropriate) to the
client data logged by the MongoDB server when Motor connects, in addition to
the data added by PyMongo. Calling batch_size() on a cursor returned from
aggregate() no longer raises AttributeError.

1.3.1

Toggle 1.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
ajdavis A. Jesse Jiryu Davis
Fix a Python 3.7 compatibility bug caused by importing "async", which…

… is a

keyword in Python 3.7. Drop support for Python 3.4.3 and older.

1.3.0

Toggle 1.3.0's commit message

Verified

This tag was signed with the committer’s verified signature.
ajdavis A. Jesse Jiryu Davis
Deprecate Motor's old callback-based async API in preparation for rem…

…oving it

in Motor 2.0. Raise DeprecationWarning whenever a callback is passed.

See the "Motor 2.0 Migration Guide".

1.2.5

Toggle 1.2.5's commit message

Verified

This tag was signed with the committer’s verified signature.
ajdavis A. Jesse Jiryu Davis
Fix a Python 3.7 compatibility bug caused by importing "async", which…

… is a

keyword in Python 3.7. Drop support for Python 3.4.3 and older.

1.2.4

Toggle 1.2.4's commit message

Verified

This tag was signed with the committer’s verified signature.
ajdavis A. Jesse Jiryu Davis
Fix a Python 3.7 compatibility bug in the MotorChangeStream class ret…

…urned by

MotorCollection.watch. It is now possible to use change streams in ``async
for`` loops in Python 3.7.