Skip to content

Releases: GetmeUK/MongoFrames

RandomReference

10 Aug 11:50
Compare
Choose a tag to compare

Changes:

  • Added RandomReference maker to allow the _id or a document from a specified collection to be selected at random, optionally with a constraint.
  • Removed the issue where insert_many would only accept documents that did not have _id values.

Fix for incorrect default domain for `ImageURL` maker.

08 Aug 17:30
Compare
Choose a tag to compare
1.2.1

Fix for incorrect default domain for `ImageURL` maker.

New interface for blueprints

08 Aug 16:55
Compare
Choose a tag to compare

Changes:

  • New interface for blueprints, Blueprint classes are now defined as static classes and instructions as attributes not a separate dictionary.
  • Added Int maker class.
  • Added Float maker class.

Hot fix for `Lorem` maker and new `Faker` locale changes.

04 Aug 12:00
Compare
Choose a tag to compare
1.1.2

Fix for `Lorem` maker and new `Faker` locale changes.

Added support for setting the locale against the `Faker` maker class.

04 Aug 11:53
Compare
Choose a tag to compare
1.1.1

Added support for setting the locale against the Faker maker.

Introduction of factory

03 Aug 23:22
Compare
Choose a tag to compare

This release of MongoFrames sees the introduction of the factory sub-module which provides a set of classes and functions to simplify the process of generating fake data.

The documentation for the release has not yet been completed and so I'll update the release with a link once this is in place.

Fixes for by_id and references that aren't ObjectId types.

12 Jul 09:03
Compare
Choose a tag to compare
1.0.3

Fixes #6. `by_id` no longer attempts to convert any value passed to a…

`insert` and `upsert` fixed to support for preset `_id` value

11 Jul 12:19
Compare
Choose a tag to compare

Added support for reference and SubFrame mappings in $sub projections

06 Jul 20:19
Compare
Choose a tag to compare

This makes the following project possible:

web_order = WebOrder.one(Q._id == ObjectID(...), projection={
        'items': {
            '$sub': Item,
            'product': {
                '$ref': Product,
                'name': True 
            }
        }
    })

In the example above we select a single web order (Frame) and map all items for the order to an item (SubFrame). Each item has a reference to a product (Frame) which we select limiting the projection to just the product's name.

Initial release

27 Jun 02:06
Compare
Choose a tag to compare
1.0.0

Merge branch 'master' of github.com:GetmeUK/MongoFrames