grift icon indicating copy to clipboard operation
grift copied to clipboard

pyup: Update schematics to 2.1.1

Open pyup-bot opened this issue 4 years ago • 0 comments

This PR updates schematics from 1.1.1 to 2.1.1.

Changelog

2.1.1

==================
- Update error message for incorrect choices field
`572 <https://github.com/schematics/schematics/pull/572>`__
(`begor <https://github.com/begor>`__)
- Avoid some deprecation warnings when using Python 3
`576 <https://github.com/schematics/schematics/pull/576>`__
(`jesuslosada <https://github.com/jesuslosada>`__)
- Fix EnumType enums with value=0 not working with use_values=True
`594 <https://github.com/schematics/schematics/pull/594>`__
(`nikhilgupta345 <https://github.com/nikhilgupta345>`__)
- Fix syntax warning over comparison of literals using is.
`611 <https://github.com/schematics/schematics/pull/611>`__
(`tirkarthi <https://github.com/tirkarthi>`__)
- Add help text generation capability to Models
`543 <https://github.com/schematics/schematics/pull/543>`__
(`MartinHowarth <https://github.com/MartinHowarth>`__)
- Update documentation
`578 <https://github.com/schematics/schematics/pull/578>`__
(`BobDu <https://github.com/BobDu>`__)
`604 <https://github.com/schematics/schematics/pull/604>`__
(`BryanChan777 <https://github.com/BryanChan777>`__)
`605 <https://github.com/schematics/schematics/pull/605>`__
(`timgates42 <https://github.com/timgates42>`__)
`608 <https://github.com/schematics/schematics/pull/608>`__
(`dasubermanmind <https://github.com/dasubermanmind>`__)
- Add test coverage for model validation inside Dict/List
`588 <https://github.com/schematics/schematics/pull/588>`__
(`borgstrom <https://github.com/borgstrom>`__)
- Added German translation
`614 <https://github.com/schematics/schematics/pull/614>`__
(`hkage <https://github.com/hkage>`__)

2.1.0

==================
**[BREAKING CHANGE]**

- Drop Python 2.6 support
`517 <https://github.com/schematics/schematics/pull/517>`__
(`rooterkyberian <https://github.com/rooterkyberian>`__)

Other changes:

- Add TimedeltaType
`540 <https://github.com/schematics/schematics/pull/540>`__
(`gabisurita <https://github.com/gabisurita>`__)
- Allow to create Model fields dynamically
`512 <https://github.com/schematics/schematics/pull/512>`__
(`lkraider <https://github.com/lkraider>`__)
- Allow ModelOptions to have extra parameters
`449 <https://github.com/schematics/schematics/pull/449>`__
(`rmb938 <https://github.com/rmb938>`__)
`506 <https://github.com/schematics/schematics/pull/506>`__
(`ekampf <https://github.com/ekampf>`__)
- Accept callables as serialize roles
`508 <https://github.com/schematics/schematics/pull/508>`__
(`lkraider <https://github.com/lkraider>`__)
(`jaysonsantos <https://github.com/jaysonsantos>`__)
- Simplify PolyModelType.find_model for readability
`537 <https://github.com/schematics/schematics/pull/537>`__
(`kstrauser <https://github.com/kstrauser>`__)
- Enable PolyModelType recursive validation
`535 <https://github.com/schematics/schematics/pull/535>`__
(`javiertejero <https://github.com/javiertejero>`__)
- Documentation fixes
`509 <https://github.com/schematics/schematics/pull/509>`__
(`Tuoris <https://github.com/Tuoris>`__)
`514 <https://github.com/schematics/schematics/pull/514>`__
(`tommyzli <https://github.com/tommyzli>`__)
`518 <https://github.com/schematics/schematics/pull/518>`__
(`rooterkyberian <https://github.com/rooterkyberian>`__)
`546 <https://github.com/schematics/schematics/pull/546>`__
(`harveyslash <https://github.com/harveyslash>`__)
- Fix Model.init validation when partial is True
`531 <https://github.com/schematics/schematics/issues/531>`__
(`lkraider <https://github.com/lkraider>`__)
- Minor number types refactor and mocking fixes
`519 <https://github.com/schematics/schematics/pull/519>`__
(`rooterkyberian <https://github.com/rooterkyberian>`__)
`520 <https://github.com/schematics/schematics/pull/520>`__
(`rooterkyberian <https://github.com/rooterkyberian>`__)
- Add ability to import models as strings
`496 <https://github.com/schematics/schematics/pull/496>`__
(`jaysonsantos <https://github.com/jaysonsantos>`__)
- Add EnumType
`504 <https://github.com/schematics/schematics/pull/504>`__
(`ekamil <https://github.com/ekamil>`__)
- Dynamic models: Possible memory issues because of _subclasses
`502 <https://github.com/schematics/schematics/pull/502>`__
(`mjrk <https://github.com/mjrk>`__)
- Add type hints to constructors of field type classes
`488 <https://github.com/schematics/schematics/pull/488>`__
(`KonishchevDmitry <https://github.com/KonishchevDmitry>`__)
- Regression: Do not call field validator if field has not been set
`499 <https://github.com/schematics/schematics/pull/499>`__
(`cmonfort <https://github.com/cmonfort>`__)
- Add possibility to translate strings and add initial pt_BR translations
`495 <https://github.com/schematics/schematics/pull/495>`__
(`jaysonsantos <https://github.com/jaysonsantos>`__)
(`lkraider <https://github.com/lkraider>`__)

2.0.1

==================
- Support for raising DataError inside custom validate_fieldname methods.
`441 <https://github.com/schematics/schematics/pull/441>`__
(`alexhayes <https://github.com/alexhayes>`__)
- Add specialized SchematicsDeprecationWarning.
(`lkraider <https://github.com/lkraider>`__)
- DateTimeType to_native method should handle type errors gracefully.
`491 <https://github.com/schematics/schematics/pull/491>`__
(`e271828- <https://github.com/e271828->`__)
- Allow fields names to override the mapping-interface methods.
`489 <https://github.com/schematics/schematics/pull/489>`__
(`toumorokoshi <https://github.com/toumorokoshi>`__)
(`lkraider <https://github.com/lkraider>`__)

2.0.0

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

`Full Changelog <https://github.com/schematics/schematics/compare/v1.1.2...v2.0.0>`_

-  Add syntax highlighting to README examples
`486 <https://github.com/schematics/schematics/pull/486>`__
(`gabisurita <https://github.com/gabisurita>`__)
-  Encode Unsafe data state in Model
`484 <https://github.com/schematics/schematics/pull/484>`__
(`lkraider <https://github.com/lkraider>`__)
-  Add MACAddressType
`482 <https://github.com/schematics/schematics/pull/482>`__
(`aleksej-paschenko <https://github.com/aleksej-paschenko>`__)

2.0.0.b1

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

2.0.0a1

====================
-  Restore v1 to\_native behavior; simplify converter code
`412 <https://github.com/schematics/schematics/pull/412>`__
(`bintoro <https://github.com/bintoro>`__)
-  Change conversion rules for booleans
`407 <https://github.com/schematics/schematics/pull/407>`__
(`bintoro <https://github.com/bintoro>`__)
-  Test for Model.\_\_init\_\_ context passing to types
`399 <https://github.com/schematics/schematics/pull/399>`__
(`sheilatron <https://github.com/sheilatron>`__)
-  Code normalization for Python 3 + general cleanup
`391 <https://github.com/schematics/schematics/pull/391>`__
(`bintoro <https://github.com/bintoro>`__)
-  Add support for arbitrary field metadata.
`390 <https://github.com/schematics/schematics/pull/390>`__
(`chadrik <https://github.com/chadrik>`__)
-  Introduce MixedType
`380 <https://github.com/schematics/schematics/pull/380>`__
(`bintoro <https://github.com/bintoro>`__)

2.0.0.dev2

=======================
-  Type maintenance
`383 <https://github.com/schematics/schematics/pull/383>`__
(`bintoro <https://github.com/bintoro>`__)

2.0.0.dev1

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

1.1.3

==================
* [Maintenance] (`501 <https://github.com/schematics/schematics/issues/501>`_) Dynamic models: Possible memory issues because of _subclasses

1.1.2

==================
* [Bug] (`478 <https://github.com/schematics/schematics/pull/478>`_) Fix dangerous performance issue with ModelConversionError in nested models
Links
  • PyPI: https://pypi.org/project/schematics
  • Changelog: https://pyup.io/changelogs/schematics/
  • Repo: https://github.com/schematics/schematics/archive/v2.1.1.tar.gz

pyup-bot avatar Aug 18 '21 05:08 pyup-bot