Skip to content

Latest commit

 

History

History
352 lines (320 loc) · 20 KB

HISTORY.rst

File metadata and controls

352 lines (320 loc) · 20 KB

2.1.0 / Unreleased

[BREAKING CHANGE]

Other changes:

2.0.1 / 2017-05-30

  • Support for raising DataError inside custom validate_fieldname methods. #441 (alexhayes)
  • Add specialized SchematicsDeprecationWarning. (lkraider)
  • DateTimeType to_native method should handle type errors gracefully. #491 (e271828-)
  • Allow fields names to override the mapping-interface methods. #489 (toumorokoshi) (lkraider)

2.0.0 / 2017-05-22

[BREAKING CHANGE]
Version 2.0 introduces many API changes, and it is not fully backwards-compatible with 1.x code.

Full Changelog

2.0.0.b1 / 2017-04-06

  • Enhancing and addressing some issues around exceptions: #477 (toumorokoshi)
  • Allow primitive and native types to be inspected #431 (chadrik)
  • Atoms iterator performance improvement #476 (vovanbo)
  • Fixes 453: Recursive import_loop with ListType #475 (lkraider)
  • Schema API #466 (lkraider)
  • Tweak code example to avoid sql injection #462 (Ian-Foote)
  • Convert readthedocs links for their .org -> .io migration for hosted projects #454 (adamchainz)
  • Support all non-string Iterables as choices (dev branch) #436 (di)
  • When testing if a values is None or Undefined, use 'is'. #425 (chadrik)

2.0.0a1 / 2016-05-03

  • Restore v1 to_native behavior; simplify converter code #412 (bintoro)
  • Change conversion rules for booleans #407 (bintoro)
  • Test for Model.__init__ context passing to types #399 (sheilatron)
  • Code normalization for Python 3 + general cleanup #391 (bintoro)
  • Add support for arbitrary field metadata. #390 (chadrik)
  • Introduce MixedType #380 (bintoro)

2.0.0.dev2 / 2016-02-06

2.0.0.dev1 / 2016-02-01

  • Performance optimizations #378 (bintoro)
  • Validation refactoring + exception redesign #374 (bintoro)
  • Fix typo: serilaizataion --> serialization #373 (jeffwidman)
  • Add support for undefined values #372 (bintoro)
  • Serializable improvements #371 (bintoro)
  • Unify import/export interface across all types #368 (bintoro)
  • Correctly decode bytestrings in Python 3 #365 (bintoro)
  • Fix NumberType.to_native() #364 (bintoro)
  • Make sure field.validate() uses a native type #363 (bintoro)
  • Don't validate ListType items twice #362 (bintoro)
  • Collect field validators as bound methods #361 (bintoro)
  • Propagate environment during recursive import/export/validation #359 (bintoro)
  • DateTimeType & TimestampType major rewrite #358 (bintoro)
  • Always export empty compound objects as {} / [] #351 (bintoro)
  • export_loop cleanup #350 (bintoro)
  • Fix FieldDescriptor.__delete__ to not touch model #349 (bintoro)
  • Add validation method for latitude and longitude ranges in GeoPointType #347 (wraziens)
  • Fix longitude values for GeoPointType mock and add tests #344 (wraziens)
  • Add support for self-referential ModelType fields #335 (bintoro)
  • avoid unnecessary code path through try/except #327 (scavpy)
  • Get mock object for ModelType and ListType #306 (kaiix)

1.1.3 / 2017-06-27

  • [Maintenance] (#501) Dynamic models: Possible memory issues because of _subclasses

1.1.2 / 2017-03-27

  • [Bug] (#478) Fix dangerous performance issue with ModelConversionError in nested models

1.1.1 / 2015-11-03

  • [Bug] (befa202) Fix Unicode issue with DecimalType
  • [Documentation] (41157a1) Documentation overhaul
  • [Bug] (860d717) Fix import that was negatively affecting performance
  • [Feature] (93b554f) Add DataObject to datastructures.py
  • [Bug] (#236) Set None on a field that's a compound type should honour that semantics
  • [Maintenance] (#348) Update requirements
  • [Maintenance] (#346) Combining Requirements
  • [Maintenance] (#342) Remove to_primitive() method from compound types
  • [Bug] (#339) Basic number validation
  • [Bug] (#336) Don't evaluate serializable when accessed through class
  • [Bug] (#321) Do not compile regex
  • [Maintenance] (#319) Remove mock from install_requires

1.1.0 / 2015-07-12

  • [Feature] (#303) fix ListType, validate_items adds to errors list just field name without...
  • [Feature] (#304) Include Partial Data when Raising ModelConversionError
  • [Feature] (#305) Updated domain verifications to fit to RFC/working standards
  • [Feature] (#308) Grennady ordered validation
  • [Feature] (#309) improves date_time_type error message for custom formats
  • [Feature] (#310) accept optional 'Z' suffix for UTC date_time_type format
  • [Feature] (#311) Remove commented lines from models.py
  • [Feature] (#230) Message normalization

1.0.4 / 2015-04-13

  • [Example] (#286) Add schematics usage with Django
  • [Feature] (#292) increase domain length to 10 for .holiday, .vacations
  • [Feature] (#297) Support for fields order in serialized format
  • [Feature] (#300) increase domain length to 32

1.0.3 / 2015-03-07

  • [Feature] (#284) Add missing requirement for six
  • [Feature] (#283) Update error msgs to print out invalid values in base.py
  • [Feature] (#281) Update Model.__eq__
  • [Feature] (#267) Type choices should be list or tuple

1.0.2 / 2015-02-12

  • [Bug] (#280) Fix the circular import issue.

1.0.1 / 2015-02-01

  • [Feature] (#184 / 03b2fd9) Support for polymorphic model fields
  • [Bug] (#233) Set field.owner_model recursively and honor ListType.field.serialize_when_none
  • [Bug](#252) Fixed project URL
  • [Feature] (#259) Give export loop to serializable when type has one
  • [Feature] (#262) Make copies of inherited meta attributes when setting up a Model
  • [Documentation] (#276) Improve the documentation of get_mock_object

1.0.0 / 2014-10-16

  • [Documentation] (#239) Fix typo with wording suggestion
  • [Documentation] (#244) fix wrong reference in docs
  • [Documentation] (#246) Using the correct function name in the docstring
  • [Documentation] (#245) Making the docstring match actual parameter names
  • [Feature] (#241) Py3k support

0.9.5 / 2014-07-19

  • [Feature] (#191) Updated import_data to avoid overwriting existing data. deserialize_mapping can now support partial and nested models.
  • [Documentation] (#192) Document the creation of custom types
  • [Feature] (#193) Add primitive types accepting values of any simple or compound primitive JSON type.
  • [Bug] (#194) Change standard coerce_key function to unicode
  • [Tests] (#196) Test fixes and cleanup
  • [Feature] (#197) Giving context to serialization
  • [Bug] (#198) Fixed typo in variable name in DateTimeType
  • [Feature] (#200) Added the option to turn of strict conversion when creating a Model from a dict
  • [Feature] (#212) Support exporting ModelType fields with subclassed model instances
  • [Feature] (#214) Create mock objects using a class's fields as a template
  • [Bug] (#215) PEP 8 FTW
  • [Feature] (#216) Datastructures cleanup
  • [Feature] (#217) Models cleanup pt 1
  • [Feature] (#218) Models cleanup pt 2
  • [Feature] (#219) Mongo cleanup
  • [Feature] (#220) Temporal cleanup
  • [Feature] (#221) Base cleanup
  • [Feature] (#224) Exceptions cleanup
  • [Feature] (#225) Validate cleanup
  • [Feature] (#226) Serializable cleanup
  • [Feature] (#227) Transforms cleanup
  • [Feature] (#228) Compound cleanup
  • [Feature] (#229) UUID cleanup
  • [Feature] (#231) Booleans as numbers

0.9.4 / 2013-12-08

  • [Feature] (#178) Added deserialize_from flag to BaseType for alternate field names on import
  • [Bug] (#186) Compoundtype support in ListTypes
  • [Bug] (#181) Removed that stupid print statement!
  • [Feature] (#182) Default roles system
  • [Documentation] (#190) Typos
  • [Bug] (#177) Removed __iter__ from ModelMeta
  • [Documentation] (#188) Typos

0.9.3 / 2013-10-20

  • [Documentation] More improvements
  • [Feature] (#147) Complete conversion over to py.test
  • [Bug] (#176) Fixed bug preventing clean override of options class
  • [Bug] (#174) Python 2.6 support

0.9.2 / 2013-09-13

  • [Documentation] New History file!
  • [Documentation] Major improvements to documentation
  • [Feature] Renamed check_value to validate_range
  • [Feature] Changed serialize to to_native
  • [Bug] (#155) NumberType number range validation bugfix