Feature Release 1.1.0
New in this release:
- Add Landscape.io integration.
- Improve overall code health. (#14)
- Added missing project metadata.
- Updated installation documentation. 81e7702
- Remove dependency on
pytz
. 815a74a - Removed our own
compat
module; schema already has a sufficient one. - Allow for
Reference
fields to cache data they reference. (#8) Array
&Embed
dereferencing +Alias
pseudo-field support. (#12)- Ability to dereference
Array
andEmbed
subfield values when querying through class attribute access. - Added
Alias
pseudo-field to allow the creation of shortcuts for value retrieval and assignment (via instance attribute access) and querying (through class attribute access). Array
andEmbed
now persist their typecasting within__data__
, to preserve changes to nested values. (This is generally safe, however do not utilizePluginReference
as an embeddable kind.)
- Ability to dereference
- Allow for fields to be combined, not just query documents. (#11)
- Field references (
Q
instances generated through class-based attribute access of fields) may now be combined to save time in queries involving multiple fields being compared against the same value.
- Field references (
- Parameterized filter, sort, projection and updates. (#4)
- Addition of
~
inversion /$not
support onOps
. - Split
Ops
types. - Ensure Document uses
odict
.
- Addition of
- GeoJSON and geographic querying support. (#6)
- Added Document types:
GeoJSON
GeoJSONCoord
Point
LineString
Polygon
MultiPoint
MultiLineString
MultiPolygon
GeometryCollection
- Added field query operators:
near
intersects
within
- Added parametric filter operators:
near
within
within_box
within_polygon
within_center
within_sphere
intersects
- Added Document types:
- Ability to perform certain collection-level operations. (#17)
- Added Document class methods:
create_collection
get_collection
create_indexes
- Added the following Document class attributes to control collection settings:
__collection__
- the name of the collection to use__read_preference__
- default ReadPreference__read_concern__
- default ReadConcern__write_concern__
- default WriteConcern__capped__
- the size, in bytes, to allocate as a capped collection__capped_count__
- additionally limit the number of records__engine__
- override storage engine options__validate__
- one of 'off' (the default), 'strict', or 'moderate'.
- Added Document class methods: