Changelogs » Alchemy-mock

Alchemy-mock

0.4.2

~~~~~~~~~~~~~~~~~~

* Adding support ``label()`` in ``ExpressionMatcher``. For example ``column.label('foo')``.

0.4.1

~~~~~~~~~~~~~~~~~~

* Adding support for ``one_or_none()``. Thanks davidroeca

0.4.0

~~~~~~~~~~~~~~~~~~

* Adding basic mutation capability with ``add`` and ``add_all``.

0.3.5

~~~~~~~~~~~~~~~~~~

* Fixing compatibility with latest ``mock``.

0.3.4

~~~~~~~~~~~~~~~~~~

* Unifying ``limit``.

0.3.3

~~~~~~~~~~~~~~~~~~

* Unifying ``options`` and ``group_by``.

0.3.2

~~~~~~~~~~~~~~~~~~

* Added support for ``count()`` and ``get()`` between boundaries.

0.3.1

~~~~~~~~~~~~~~~~~~

* Added support for ``func`` calls in ``ExpressionMatcher``. For example ``func.lower(column)``.

0.3.0

~~~~~~~~~~~~~~~~~~

* Added support for ``.one()`` and ``.first()`` methods when stubbing data.
* Fixed bug which incorrectly unified methods after iterating on mock.

0.2.0

~~~~~~~~~~~~~~~~~~

* Added ability to stub real-data by filtering criteria.
See `2 <https://github.com/miki725/alchemy-mock/pull/2>`_.

0.1.1

~~~~~~~~~~~~~~~~~~

* Fixed alembic typo in README. oops.

0.1.0

~~~~~~~~~~~~~~~~~~

* First release on PyPI.