Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Latest commit

 

History

History
198 lines (117 loc) · 6.23 KB

CHANGELOG.rst

File metadata and controls

198 lines (117 loc) · 6.23 KB

Changelog

0.13.2 (2017-10-23)

Bug fixes:

0.13.1 (2017-04-06)

Bug fixes:

0.13.0 (2017-03-12)

Features:

  • Invalid inputs for compound primary keys raise a ValidationError when deserializing a scalar value (:issue:`103`). Thanks :user:`YuriHeupa` for the PR.

Bug fixes:

  • Fix compatibility with marshmallow>=3.x.

0.12.1 (2017-01-05)

Bug fixes:

  • Reset ModelSchema.instance after each load call, allowing schema instances to be reused (:issue:`78`). Thanks :user:`georgexsh` for reporting.

Other changes:

  • Test against Python 3.6.

0.12.0 (2016-10-08)

Features:

Bug fixes:

Other changes:

  • Drop official support for Python 3.3. Python>=3.4 and Python 2.7 are supported.

0.11.0 (2016-10-01)

Features:

0.10.0 (2016-08-14)

Features:

0.9.0 (2016-07-02)

Features:

Bug fixes:

  • Depend on SQLAlchemy>=0.9.7, since marshmallow-sqlalchemy uses sqlalchemy.dialects.postgresql.JSONB (:issue:`65`). Thanks :user:`alejom99` for reporting.

0.8.1 (2016-02-21)

Bug fixes:

0.8.0 (2015-12-28)

Features:

  • ModelSchema and TableSchema will respect the TYPE_MAPPING class variable of Schema subclasses when converting Columns to Fields (:issue:`42`). Thanks :user:`dwieeb` for the suggestion.

0.7.1 (2015-12-13)

Bug fixes:

0.7.0 (2015-12-07)

Features:

  • Add include_fk class Meta option (:issue:`36`). Thanks :user:`jmcarp`.
  • Non-nullable columns will generated required marshmallow Fields (:issue:`40`). Thanks :user:`jmcarp`.
  • Improve support for MySQL BIT field (:issue:`41`). Thanks :user:`rudaporto`.
  • Backwards-incompatible: Remove fields.get_primary_columns in favor of fields.get_primary_keys.
  • Backwards-incompatible: Remove Related.related_columns in favor of fields.related_keys.

Bug fixes:

0.6.0 (2015-09-29)

Features:

Other changes:

  • Supports marshmallow>=2.0.0.

0.5.0 (2015-09-27)

  • Add instance argument to ModelSchema constructor and ModelSchema.load which allows for updating existing DB rows (:issue:`26`). Thanks :user:`sssilver` for reporting and :user:`jmcarp` for the patch.
  • Don't autogenerate fields that are in Meta.exclude (:issue:`27`). Thanks :user:`jmcarp`.
  • Raise ModelConversionError if converting properties whose column don't define a python_type. Thanks :user:`jmcarp`.
  • Backwards-incompatible: ModelSchema.make_object is removed in favor of decorated make_instance method for compatibility with marshmallow>=2.0.0rc2.

0.4.1 (2015-09-13)

Bug fixes:

  • Now compatible with marshmallow>=2.0.0rc1.
  • Correctly pass keyword arguments from field_for to generated List fields (:issue:`25`). Thanks :user:`sssilver` for reporting.

0.4.0 (2015-09-03)

Features:

Bug fixes:

  • Allow session to be passed to ModelSchema.validate, since it requires it. Thanks :user:`dpwrussell`.
  • When serializing, don't skip overriden fields that are part of a polymorphic hierarchy (:issue:`18`). Thanks again :user:`dpwrussell`.

Support:

0.3.0 (2015-08-27)

Features:

Bug fixes:

0.2.0 (2015-05-03)

Features:

  • Add field_for function for generating marshmallow Fields from SQLAlchemy mapped class properties.

Support:

  • Docs: Add "Overriding generated fields" section to "Recipes".

0.1.1 (2015-05-02)

Bug fixes:

  • Fix keygetter class Meta option.

0.1.0 (2015-04-28)

  • First release.