marshmallow 3.24.2__tar.gz → 3.25.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {marshmallow-3.24.2 → marshmallow-3.25.1}/CHANGELOG.rst +173 -141
- {marshmallow-3.24.2 → marshmallow-3.25.1}/CONTRIBUTING.rst +25 -13
- {marshmallow-3.24.2 → marshmallow-3.25.1}/PKG-INFO +16 -7
- {marshmallow-3.24.2 → marshmallow-3.25.1}/README.rst +10 -3
- marshmallow-3.25.1/docs/_static/apple-touch-icon.png +0 -0
- marshmallow-3.25.1/docs/_static/custom.css +23 -0
- marshmallow-3.25.1/docs/_static/favicon.ico +0 -0
- marshmallow-3.25.1/docs/_static/marshmallow-logo-200.png +0 -0
- marshmallow-3.25.1/docs/_static/marshmallow-logo-with-title-for-dark-theme.png +0 -0
- marshmallow-3.25.1/docs/_static/marshmallow-logo.png +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/api_reference.rst +12 -6
- marshmallow-3.25.1/docs/changelog.rst +4 -0
- marshmallow-3.25.1/docs/conf.py +59 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/custom_fields.rst +9 -2
- marshmallow-3.25.1/docs/donate.rst +12 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/examples.rst +11 -11
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/extending.rst +9 -2
- marshmallow-3.25.1/docs/index.rst +94 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/install.rst +4 -4
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.class_registry.rst +1 -1
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.error_store.rst +1 -1
- marshmallow-3.25.1/docs/marshmallow.types.rst +5 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.utils.rst +1 -1
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/nesting.rst +3 -3
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/quickstart.rst +24 -6
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/upgrading.rst +4 -4
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/why.rst +0 -3
- {marshmallow-3.24.2 → marshmallow-3.25.1}/pyproject.toml +6 -4
- marshmallow-3.25.1/src/marshmallow/base.py +61 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/class_registry.py +2 -4
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/decorators.py +1 -1
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/fields.py +48 -34
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/schema.py +21 -20
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/types.py +5 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/utils.py +9 -5
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/validate.py +5 -5
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_schema.py +2 -2
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tox.ini +1 -1
- marshmallow-3.24.2/docs/_templates/donate.html +0 -34
- marshmallow-3.24.2/docs/_templates/useful-links.html +0 -7
- marshmallow-3.24.2/docs/about.rst.inc +0 -46
- marshmallow-3.24.2/docs/changelog.rst +0 -4
- marshmallow-3.24.2/docs/conf.py +0 -76
- marshmallow-3.24.2/docs/ecosystem.rst +0 -6
- marshmallow-3.24.2/docs/index.rst +0 -72
- marshmallow-3.24.2/src/marshmallow/base.py +0 -33
- {marshmallow-3.24.2 → marshmallow-3.25.1}/LICENSE +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/NOTICE +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/SECURITY.md +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/.gitignore +0 -0
- /marshmallow-3.24.2/docs/_static/marshmallow-logo.png → /marshmallow-3.25.1/docs/_static/marshmallow-logo-with-title.png +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/authors.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/code_of_conduct.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/contributing.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/dashing.json +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/kudos.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/license.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.decorators.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.exceptions.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.fields.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.schema.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/marshmallow.validate.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/top_level.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/docs/whos_using.rst +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/__init__.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/error_store.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/exceptions.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/orderedset.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/py.typed +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/src/marshmallow/warnings.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/__init__.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/base.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/conftest.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/foo_serializer.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/mypy_test_cases/test_class_registry.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/mypy_test_cases/test_validation_error.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_decorators.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_deserialization.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_error_store.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_exceptions.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_fields.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_options.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_registry.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_serialization.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_utils.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_validate.py +0 -0
- {marshmallow-3.24.2 → marshmallow-3.25.1}/tests/test_version_attributes.py +0 -0
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
---------
|
|
3
3
|
|
|
4
|
+
3.25.1 (2025-01-11)
|
|
5
|
+
*******************
|
|
6
|
+
|
|
7
|
+
Bug fixes:
|
|
8
|
+
|
|
9
|
+
- Typing: Fix type annotations for `Tuple <marshmallow.fields.Tuple>`,
|
|
10
|
+
`Boolean <marshmallow.fields.Boolean>`, and `Pluck <marshmallow.fields.Pluck>`
|
|
11
|
+
constructors (:pr:`2756`).
|
|
12
|
+
- Typing: Fix overload for `marshmallow.class_registry.get_class` (:pr:`2756`).
|
|
13
|
+
|
|
14
|
+
Documentation:
|
|
15
|
+
|
|
16
|
+
- Various documentation improvements (:pr:`2746`, :pr:`2747`, :pr:`2748`, :pr:`2749`, :pr:`2750`, :pr:`2751`).
|
|
17
|
+
|
|
18
|
+
3.25.0 (2025-01-09)
|
|
19
|
+
*******************
|
|
20
|
+
|
|
21
|
+
Features:
|
|
22
|
+
|
|
23
|
+
- Typing: Improve type annotations for ``SchemaMeta.get_declared_fields`` (:pr:`2742`).
|
|
24
|
+
|
|
25
|
+
Bug fixes:
|
|
26
|
+
|
|
27
|
+
- Typing: Relax type annotation for ``Schema.opts`` to allow subclasses to define their own
|
|
28
|
+
options classes (:pr:`2744`).
|
|
29
|
+
|
|
30
|
+
Other changes:
|
|
31
|
+
|
|
32
|
+
- Restore ``marshmallow.base.SchemaABC`` for backwards-compatibility (:issue:`2743`).
|
|
33
|
+
Note that this class is deprecated and will be removed in marshmallow 4.
|
|
34
|
+
Use `marshmallow.schema.Schema` as a base class for type-checking instead.
|
|
35
|
+
|
|
4
36
|
3.24.2 (2025-01-08)
|
|
5
37
|
*******************
|
|
6
38
|
|
|
@@ -563,14 +595,14 @@ Support:
|
|
|
563
595
|
- Test against Python 3.8 (:pr:`1431`).
|
|
564
596
|
|
|
565
597
|
3.2.1 (2019-09-30)
|
|
566
|
-
|
|
598
|
+
******************
|
|
567
599
|
|
|
568
600
|
Bug fixes:
|
|
569
601
|
|
|
570
602
|
- Fix typing for ``Schema.dump[s]`` (:pr:`1416`).
|
|
571
603
|
|
|
572
604
|
3.2.0 (2019-09-17)
|
|
573
|
-
|
|
605
|
+
******************
|
|
574
606
|
|
|
575
607
|
Features:
|
|
576
608
|
|
|
@@ -585,7 +617,7 @@ Refactoring:
|
|
|
585
617
|
- Remove unnecessary ``BaseSchema`` superclass (:pr:`1406`).
|
|
586
618
|
|
|
587
619
|
3.1.1 (2019-09-16)
|
|
588
|
-
|
|
620
|
+
******************
|
|
589
621
|
|
|
590
622
|
Bug fixes:
|
|
591
623
|
|
|
@@ -595,7 +627,7 @@ Bug fixes:
|
|
|
595
627
|
Thanks :user:`metheoryt` for reporting.
|
|
596
628
|
|
|
597
629
|
3.1.0 (2019-09-15)
|
|
598
|
-
|
|
630
|
+
******************
|
|
599
631
|
|
|
600
632
|
Features:
|
|
601
633
|
|
|
@@ -608,7 +640,7 @@ Bug fixes:
|
|
|
608
640
|
- Includes bug fix from 2.20.5.
|
|
609
641
|
|
|
610
642
|
3.0.5 (2019-09-12)
|
|
611
|
-
|
|
643
|
+
******************
|
|
612
644
|
|
|
613
645
|
Bug fixes:
|
|
614
646
|
|
|
@@ -617,7 +649,7 @@ Bug fixes:
|
|
|
617
649
|
|
|
618
650
|
|
|
619
651
|
3.0.4 (2019-09-11)
|
|
620
|
-
|
|
652
|
+
******************
|
|
621
653
|
|
|
622
654
|
Bug fixes:
|
|
623
655
|
|
|
@@ -625,7 +657,7 @@ Bug fixes:
|
|
|
625
657
|
- Includes bug fix from 2.20.4 (:issue:`1160`).
|
|
626
658
|
|
|
627
659
|
3.0.3 (2019-09-04)
|
|
628
|
-
|
|
660
|
+
******************
|
|
629
661
|
|
|
630
662
|
Bug fixes:
|
|
631
663
|
|
|
@@ -633,7 +665,7 @@ Bug fixes:
|
|
|
633
665
|
Thanks :user:`jtrakk` for reporting.
|
|
634
666
|
|
|
635
667
|
3.0.2 (2019-09-04)
|
|
636
|
-
|
|
668
|
+
******************
|
|
637
669
|
|
|
638
670
|
Bug fixes:
|
|
639
671
|
|
|
@@ -641,7 +673,7 @@ Bug fixes:
|
|
|
641
673
|
- Fix incorrect ``super()`` call in ``SchemaMeta.__init__`` (:pr:`1362`).
|
|
642
674
|
|
|
643
675
|
3.0.1 (2019-08-21)
|
|
644
|
-
|
|
676
|
+
******************
|
|
645
677
|
|
|
646
678
|
Bug fixes:
|
|
647
679
|
|
|
@@ -649,7 +681,7 @@ Bug fixes:
|
|
|
649
681
|
This bug was introduced in 3.0.0rc9. Thanks :user:`zblz` for reporting.
|
|
650
682
|
|
|
651
683
|
3.0.0 (2019-08-18)
|
|
652
|
-
|
|
684
|
+
******************
|
|
653
685
|
|
|
654
686
|
Features:
|
|
655
687
|
|
|
@@ -667,7 +699,7 @@ Support:
|
|
|
667
699
|
- Various docs improvements (:pr:`1329`).
|
|
668
700
|
|
|
669
701
|
3.0.0rc9 (2019-07-31)
|
|
670
|
-
|
|
702
|
+
*********************
|
|
671
703
|
|
|
672
704
|
Features:
|
|
673
705
|
|
|
@@ -698,7 +730,7 @@ Support:
|
|
|
698
730
|
- Document usage of ``validate.Regexp``'s usage ``re.search`` (:issue:`1285`). Thanks :user:`macdonaldezra`.
|
|
699
731
|
|
|
700
732
|
3.0.0rc8 (2019-07-04)
|
|
701
|
-
|
|
733
|
+
*********************
|
|
702
734
|
|
|
703
735
|
Features:
|
|
704
736
|
|
|
@@ -729,7 +761,7 @@ Other changes:
|
|
|
729
761
|
- Switch to Azure Pipelines for CI (:issue:`1261`).
|
|
730
762
|
|
|
731
763
|
3.0.0rc7 (2019-06-15)
|
|
732
|
-
|
|
764
|
+
*********************
|
|
733
765
|
|
|
734
766
|
Features:
|
|
735
767
|
|
|
@@ -751,7 +783,7 @@ Other changes:
|
|
|
751
783
|
- *Backwards-incompatible*: Use keyword-only arguments (:issue:`1216`).
|
|
752
784
|
|
|
753
785
|
3.0.0rc6 (2019-05-05)
|
|
754
|
-
|
|
786
|
+
*********************
|
|
755
787
|
|
|
756
788
|
Support:
|
|
757
789
|
|
|
@@ -767,7 +799,7 @@ Support:
|
|
|
767
799
|
again :user:`hugovk`.
|
|
768
800
|
|
|
769
801
|
3.0.0rc5 (2019-03-30)
|
|
770
|
-
|
|
802
|
+
*********************
|
|
771
803
|
|
|
772
804
|
Features:
|
|
773
805
|
|
|
@@ -787,7 +819,7 @@ Bug fixes:
|
|
|
787
819
|
- Includes bug fix from 2.19.2.
|
|
788
820
|
|
|
789
821
|
3.0.0rc4 (2019-02-08)
|
|
790
|
-
|
|
822
|
+
*********************
|
|
791
823
|
|
|
792
824
|
Features:
|
|
793
825
|
|
|
@@ -797,7 +829,7 @@ Features:
|
|
|
797
829
|
Thank :user:`sayanarijit` for the suggestion and the PR.
|
|
798
830
|
|
|
799
831
|
3.0.0rc3 (2019-01-13)
|
|
800
|
-
|
|
832
|
+
*********************
|
|
801
833
|
|
|
802
834
|
Features:
|
|
803
835
|
|
|
@@ -819,7 +851,7 @@ Bug fixes:
|
|
|
819
851
|
- Includes bug fix from 2.18.0.
|
|
820
852
|
|
|
821
853
|
3.0.0rc2 (2019-01-03)
|
|
822
|
-
|
|
854
|
+
*********************
|
|
823
855
|
|
|
824
856
|
Features:
|
|
825
857
|
|
|
@@ -844,7 +876,7 @@ Other changes:
|
|
|
844
876
|
validation completion (:issue:`996`).
|
|
845
877
|
|
|
846
878
|
3.0.0rc1 (2018-11-29)
|
|
847
|
-
|
|
879
|
+
*********************
|
|
848
880
|
|
|
849
881
|
Features:
|
|
850
882
|
|
|
@@ -862,14 +894,14 @@ Bug fixes:
|
|
|
862
894
|
Thanks :user:`toffan` for the catch and patch.
|
|
863
895
|
|
|
864
896
|
3.0.0b20 (2018-11-01)
|
|
865
|
-
|
|
897
|
+
*********************
|
|
866
898
|
|
|
867
899
|
Bug fixes:
|
|
868
900
|
|
|
869
901
|
- Includes bug fixes from 2.16.2 and 2.16.3.
|
|
870
902
|
|
|
871
903
|
3.0.0b19 (2018-10-24)
|
|
872
|
-
|
|
904
|
+
*********************
|
|
873
905
|
|
|
874
906
|
Features:
|
|
875
907
|
|
|
@@ -889,7 +921,7 @@ Other changes:
|
|
|
889
921
|
|
|
890
922
|
|
|
891
923
|
3.0.0b18 (2018-10-15)
|
|
892
|
-
|
|
924
|
+
*********************
|
|
893
925
|
|
|
894
926
|
Bug fixes:
|
|
895
927
|
|
|
@@ -903,7 +935,7 @@ Deprecations/Removals:
|
|
|
903
935
|
|
|
904
936
|
|
|
905
937
|
3.0.0b17 (2018-10-13)
|
|
906
|
-
|
|
938
|
+
*********************
|
|
907
939
|
|
|
908
940
|
Features:
|
|
909
941
|
|
|
@@ -927,7 +959,7 @@ Bug fixes:
|
|
|
927
959
|
- Includes bug fix from 2.16.0.
|
|
928
960
|
|
|
929
961
|
3.0.0b16 (2018-09-20)
|
|
930
|
-
|
|
962
|
+
*********************
|
|
931
963
|
|
|
932
964
|
Bug fixes:
|
|
933
965
|
|
|
@@ -936,7 +968,7 @@ Bug fixes:
|
|
|
936
968
|
for reporting.
|
|
937
969
|
|
|
938
970
|
3.0.0b15 (2018-09-18)
|
|
939
|
-
|
|
971
|
+
*********************
|
|
940
972
|
|
|
941
973
|
Bug fixes:
|
|
942
974
|
|
|
@@ -950,7 +982,7 @@ Bug fixes:
|
|
|
950
982
|
Thanks :user:`tuukkamustonen` for implementing these changes.
|
|
951
983
|
|
|
952
984
|
3.0.0b14 (2018-09-15)
|
|
953
|
-
|
|
985
|
+
*********************
|
|
954
986
|
|
|
955
987
|
Features:
|
|
956
988
|
|
|
@@ -974,7 +1006,7 @@ Other changes:
|
|
|
974
1006
|
- Tested against Python 3.7.
|
|
975
1007
|
|
|
976
1008
|
3.0.0b13 (2018-08-04)
|
|
977
|
-
|
|
1009
|
+
*********************
|
|
978
1010
|
|
|
979
1011
|
Bug fixes:
|
|
980
1012
|
|
|
@@ -995,7 +1027,7 @@ Other changes:
|
|
|
995
1027
|
reporting.
|
|
996
1028
|
|
|
997
1029
|
3.0.0b12 (2018-07-04)
|
|
998
|
-
|
|
1030
|
+
*********************
|
|
999
1031
|
|
|
1000
1032
|
Features:
|
|
1001
1033
|
|
|
@@ -1028,7 +1060,7 @@ Deprecations/Removals:
|
|
|
1028
1060
|
instances from ``Schema.fields``.
|
|
1029
1061
|
|
|
1030
1062
|
3.0.0b11 (2018-05-20)
|
|
1031
|
-
|
|
1063
|
+
*********************
|
|
1032
1064
|
|
|
1033
1065
|
Features:
|
|
1034
1066
|
|
|
@@ -1048,14 +1080,14 @@ Bug fixes:
|
|
|
1048
1080
|
|
|
1049
1081
|
|
|
1050
1082
|
3.0.0b10 (2018-05-10)
|
|
1051
|
-
|
|
1083
|
+
*********************
|
|
1052
1084
|
|
|
1053
1085
|
Bug fixes:
|
|
1054
1086
|
|
|
1055
1087
|
- Includes bugfixes from 2.15.2.
|
|
1056
1088
|
|
|
1057
1089
|
3.0.0b9 (2018-04-25)
|
|
1058
|
-
|
|
1090
|
+
********************
|
|
1059
1091
|
|
|
1060
1092
|
Features:
|
|
1061
1093
|
|
|
@@ -1068,7 +1100,7 @@ Bug fixes:
|
|
|
1068
1100
|
- Includes the bugfix from 2.15.1.
|
|
1069
1101
|
|
|
1070
1102
|
3.0.0b8 (2018-03-24)
|
|
1071
|
-
|
|
1103
|
+
********************
|
|
1072
1104
|
|
|
1073
1105
|
Features:
|
|
1074
1106
|
|
|
@@ -1090,7 +1122,7 @@ Features:
|
|
|
1090
1122
|
Thanks :user:`shabble` for the report and thanks :user:`lafrech` for the PR.
|
|
1091
1123
|
|
|
1092
1124
|
3.0.0b7 (2018-02-03)
|
|
1093
|
-
|
|
1125
|
+
********************
|
|
1094
1126
|
|
|
1095
1127
|
Features:
|
|
1096
1128
|
|
|
@@ -1119,7 +1151,7 @@ Support:
|
|
|
1119
1151
|
|
|
1120
1152
|
|
|
1121
1153
|
3.0.0b6 (2018-01-02)
|
|
1122
|
-
|
|
1154
|
+
********************
|
|
1123
1155
|
|
|
1124
1156
|
Bug fixes:
|
|
1125
1157
|
|
|
@@ -1135,7 +1167,7 @@ Other changes:
|
|
|
1135
1167
|
- ``validate.URL`` requires square brackets around IPv6 URLs (:issue:`707`). Thanks :user:`harlov`.
|
|
1136
1168
|
|
|
1137
1169
|
3.0.0b5 (2017-12-30)
|
|
1138
|
-
|
|
1170
|
+
********************
|
|
1139
1171
|
|
|
1140
1172
|
Features:
|
|
1141
1173
|
|
|
@@ -1149,7 +1181,7 @@ Other changes:
|
|
|
1149
1181
|
``utils.from_iso_datetime`` (:issue:`694`). Thanks :user:`sklarsa`.
|
|
1150
1182
|
|
|
1151
1183
|
3.0.0b4 (2017-10-23)
|
|
1152
|
-
|
|
1184
|
+
********************
|
|
1153
1185
|
|
|
1154
1186
|
Features:
|
|
1155
1187
|
|
|
@@ -1168,7 +1200,7 @@ Support:
|
|
|
1168
1200
|
for reporting and thanks :user:`yoichi` for the PR.
|
|
1169
1201
|
|
|
1170
1202
|
3.0.0b3 (2017-08-20)
|
|
1171
|
-
|
|
1203
|
+
********************
|
|
1172
1204
|
|
|
1173
1205
|
Features:
|
|
1174
1206
|
|
|
@@ -1190,7 +1222,7 @@ Support:
|
|
|
1190
1222
|
- Add benchmark script. Thanks :user:`rowillia`.
|
|
1191
1223
|
|
|
1192
1224
|
3.0.0b2 (2017-03-19)
|
|
1193
|
-
|
|
1225
|
+
********************
|
|
1194
1226
|
|
|
1195
1227
|
Features:
|
|
1196
1228
|
|
|
@@ -1205,7 +1237,7 @@ Bug fixes:
|
|
|
1205
1237
|
- Includes bug fixes from release 2.13.4.
|
|
1206
1238
|
|
|
1207
1239
|
3.0.0b1 (2017-03-10)
|
|
1208
|
-
|
|
1240
|
+
********************
|
|
1209
1241
|
|
|
1210
1242
|
Features:
|
|
1211
1243
|
|
|
@@ -1219,7 +1251,7 @@ Other changes:
|
|
|
1219
1251
|
- *Backwards-incompatible*: ``skip_on_field_errors`` defaults to ``True`` for ``validates_schema`` (:issue:`352`).
|
|
1220
1252
|
|
|
1221
1253
|
3.0.0a1 (2017-02-26)
|
|
1222
|
-
|
|
1254
|
+
********************
|
|
1223
1255
|
|
|
1224
1256
|
Features:
|
|
1225
1257
|
|
|
@@ -1241,7 +1273,7 @@ Deprecation/Removals:
|
|
|
1241
1273
|
- Remove ``extra`` parameter from ``Schema``. Use a ``@post_dump`` method to add additional data.
|
|
1242
1274
|
|
|
1243
1275
|
2.21.0 (2020-03-05)
|
|
1244
|
-
|
|
1276
|
+
*******************
|
|
1245
1277
|
|
|
1246
1278
|
Bug fixes:
|
|
1247
1279
|
|
|
@@ -1253,14 +1285,14 @@ Other changes:
|
|
|
1253
1285
|
- Drop support for Python 3.4 (:pr:`1525`).
|
|
1254
1286
|
|
|
1255
1287
|
2.20.5 (2019-09-15)
|
|
1256
|
-
|
|
1288
|
+
*******************
|
|
1257
1289
|
|
|
1258
1290
|
Bug fixes:
|
|
1259
1291
|
|
|
1260
1292
|
- Fix behavior when a non-list collection is passed to the ``validate`` argument of ``fields.Email`` and ``fields.URL`` (:issue:`1400`).
|
|
1261
1293
|
|
|
1262
1294
|
2.20.4 (2019-09-11)
|
|
1263
|
-
|
|
1295
|
+
*******************
|
|
1264
1296
|
|
|
1265
1297
|
Bug fixes:
|
|
1266
1298
|
|
|
@@ -1268,14 +1300,14 @@ Bug fixes:
|
|
|
1268
1300
|
Thanks :user:`Kamforka` for reporting.
|
|
1269
1301
|
|
|
1270
1302
|
2.20.3 (2019-09-04)
|
|
1271
|
-
|
|
1303
|
+
*******************
|
|
1272
1304
|
|
|
1273
1305
|
Bug fixes:
|
|
1274
1306
|
|
|
1275
1307
|
- Don't swallow ``TypeError`` exceptions raised by ``Field._bind_to_schema`` or ``Schema.on_bind_field`` (:pr:`1376`).
|
|
1276
1308
|
|
|
1277
1309
|
2.20.2 (2019-08-20)
|
|
1278
|
-
|
|
1310
|
+
*******************
|
|
1279
1311
|
|
|
1280
1312
|
Bug fixes:
|
|
1281
1313
|
|
|
@@ -1283,7 +1315,7 @@ Bug fixes:
|
|
|
1283
1315
|
(:pr:`1354`). Thanks :user:`nicktimko` for the PR.
|
|
1284
1316
|
|
|
1285
1317
|
2.20.1 (2019-08-13)
|
|
1286
|
-
|
|
1318
|
+
*******************
|
|
1287
1319
|
|
|
1288
1320
|
Bug fixes:
|
|
1289
1321
|
|
|
@@ -1291,7 +1323,7 @@ Bug fixes:
|
|
|
1291
1323
|
passed to a nested schema with ``@validates`` (:issue:`1342`).
|
|
1292
1324
|
|
|
1293
1325
|
2.20.0 (2019-08-10)
|
|
1294
|
-
|
|
1326
|
+
*******************
|
|
1295
1327
|
|
|
1296
1328
|
Bug fixes:
|
|
1297
1329
|
|
|
@@ -1306,7 +1338,7 @@ Deprecation/Removals:
|
|
|
1306
1338
|
- Python 2.6 is no longer officially supported (:issue:`1274`).
|
|
1307
1339
|
|
|
1308
1340
|
2.19.5 (2019-06-18)
|
|
1309
|
-
|
|
1341
|
+
*******************
|
|
1310
1342
|
|
|
1311
1343
|
Bug fixes:
|
|
1312
1344
|
|
|
@@ -1314,7 +1346,7 @@ Bug fixes:
|
|
|
1314
1346
|
miroseconds (:issue:`1251`). Thanks :user:`diego-plan9` for reporting.
|
|
1315
1347
|
|
|
1316
1348
|
2.19.4 (2019-06-16)
|
|
1317
|
-
|
|
1349
|
+
*******************
|
|
1318
1350
|
|
|
1319
1351
|
Bug fixes:
|
|
1320
1352
|
|
|
@@ -1322,7 +1354,7 @@ Bug fixes:
|
|
|
1322
1354
|
installed (:issue:`1147`).
|
|
1323
1355
|
|
|
1324
1356
|
2.19.3 (2019-06-15)
|
|
1325
|
-
|
|
1357
|
+
*******************
|
|
1326
1358
|
|
|
1327
1359
|
Bug fixes:
|
|
1328
1360
|
|
|
@@ -1331,7 +1363,7 @@ Bug fixes:
|
|
|
1331
1363
|
reporting.
|
|
1332
1364
|
|
|
1333
1365
|
2.19.2 (2019-03-30)
|
|
1334
|
-
|
|
1366
|
+
*******************
|
|
1335
1367
|
|
|
1336
1368
|
Bug fixes:
|
|
1337
1369
|
|
|
@@ -1339,7 +1371,7 @@ Bug fixes:
|
|
|
1339
1371
|
``fields.Float`` (:pr:`1177`). Thanks :user:`brycedrennan` for the PR.
|
|
1340
1372
|
|
|
1341
1373
|
2.19.1 (2019-03-16)
|
|
1342
|
-
|
|
1374
|
+
*******************
|
|
1343
1375
|
|
|
1344
1376
|
Bug fixes:
|
|
1345
1377
|
|
|
@@ -1348,7 +1380,7 @@ Bug fixes:
|
|
|
1348
1380
|
catch and patch.
|
|
1349
1381
|
|
|
1350
1382
|
2.19.0 (2019-03-07)
|
|
1351
|
-
|
|
1383
|
+
*******************
|
|
1352
1384
|
|
|
1353
1385
|
Deprecation/Removal:
|
|
1354
1386
|
|
|
@@ -1357,7 +1389,7 @@ Deprecation/Removal:
|
|
|
1357
1389
|
instead (:issue:`1141`).
|
|
1358
1390
|
|
|
1359
1391
|
2.18.1 (2019-02-15)
|
|
1360
|
-
|
|
1392
|
+
*******************
|
|
1361
1393
|
|
|
1362
1394
|
Bug fixes:
|
|
1363
1395
|
|
|
@@ -1366,7 +1398,7 @@ Bug fixes:
|
|
|
1366
1398
|
reporting.
|
|
1367
1399
|
|
|
1368
1400
|
2.18.0 (2019-01-13)
|
|
1369
|
-
|
|
1401
|
+
*******************
|
|
1370
1402
|
|
|
1371
1403
|
Features:
|
|
1372
1404
|
|
|
@@ -1379,7 +1411,7 @@ Bug fixes:
|
|
|
1379
1411
|
duplicate it (:pr:`1099`).
|
|
1380
1412
|
|
|
1381
1413
|
2.17.0 (2018-12-26)
|
|
1382
|
-
|
|
1414
|
+
*******************
|
|
1383
1415
|
|
|
1384
1416
|
Features:
|
|
1385
1417
|
|
|
@@ -1388,7 +1420,7 @@ Features:
|
|
|
1388
1420
|
prepare for marshmallow 3 (:pr:`1075`).
|
|
1389
1421
|
|
|
1390
1422
|
2.16.3 (2018-11-01)
|
|
1391
|
-
|
|
1423
|
+
*******************
|
|
1392
1424
|
|
|
1393
1425
|
Bug fixes:
|
|
1394
1426
|
|
|
@@ -1397,7 +1429,7 @@ Bug fixes:
|
|
|
1397
1429
|
reproduce this issue.
|
|
1398
1430
|
|
|
1399
1431
|
2.16.2 (2018-10-30)
|
|
1400
|
-
|
|
1432
|
+
*******************
|
|
1401
1433
|
|
|
1402
1434
|
Bug fixes:
|
|
1403
1435
|
|
|
@@ -1406,7 +1438,7 @@ Bug fixes:
|
|
|
1406
1438
|
:user:`jmargeta` for the PR.
|
|
1407
1439
|
|
|
1408
1440
|
2.16.1 (2018-10-17)
|
|
1409
|
-
|
|
1441
|
+
*******************
|
|
1410
1442
|
|
|
1411
1443
|
Bug fixes:
|
|
1412
1444
|
|
|
@@ -1414,7 +1446,7 @@ Bug fixes:
|
|
|
1414
1446
|
(:issue:`998`). Thanks :user:`lalvarezguillen` for reporting.
|
|
1415
1447
|
|
|
1416
1448
|
2.16.0 (2018-10-10)
|
|
1417
|
-
|
|
1449
|
+
*******************
|
|
1418
1450
|
|
|
1419
1451
|
Bug fixes:
|
|
1420
1452
|
|
|
@@ -1426,7 +1458,7 @@ Other changes:
|
|
|
1426
1458
|
- Drop support for Python 3.3 (:pr:`987`).
|
|
1427
1459
|
|
|
1428
1460
|
2.15.6 (2018-09-20)
|
|
1429
|
-
|
|
1461
|
+
*******************
|
|
1430
1462
|
|
|
1431
1463
|
Bug fixes:
|
|
1432
1464
|
|
|
@@ -1440,7 +1472,7 @@ These fixes were backported from 3.0.0b15 and 3.0.0b16.
|
|
|
1440
1472
|
|
|
1441
1473
|
|
|
1442
1474
|
2.15.5 (2018-09-15)
|
|
1443
|
-
|
|
1475
|
+
*******************
|
|
1444
1476
|
|
|
1445
1477
|
Bug fixes:
|
|
1446
1478
|
|
|
@@ -1448,7 +1480,7 @@ Bug fixes:
|
|
|
1448
1480
|
Thanks :user:`vke-code` for the catch and :user:`YuriHeupa` for the patch.
|
|
1449
1481
|
|
|
1450
1482
|
2.15.4 (2018-08-04)
|
|
1451
|
-
|
|
1483
|
+
*******************
|
|
1452
1484
|
|
|
1453
1485
|
Bug fixes:
|
|
1454
1486
|
|
|
@@ -1456,7 +1488,7 @@ Bug fixes:
|
|
|
1456
1488
|
(:issue:`748`). Thanks :user:`m-novikov` for the catch and patch.
|
|
1457
1489
|
|
|
1458
1490
|
2.15.3 (2018-05-20)
|
|
1459
|
-
|
|
1491
|
+
*******************
|
|
1460
1492
|
|
|
1461
1493
|
Bug fixes:
|
|
1462
1494
|
|
|
@@ -1465,7 +1497,7 @@ Bug fixes:
|
|
|
1465
1497
|
:user:`deckar01` for the catch and patch.
|
|
1466
1498
|
|
|
1467
1499
|
2.15.2 (2018-05-10)
|
|
1468
|
-
|
|
1500
|
+
*******************
|
|
1469
1501
|
|
|
1470
1502
|
Bug fixes:
|
|
1471
1503
|
|
|
@@ -1480,7 +1512,7 @@ Bug fixes:
|
|
|
1480
1512
|
:user:`deckar01` for the fix.
|
|
1481
1513
|
|
|
1482
1514
|
2.15.1 (2018-04-25)
|
|
1483
|
-
|
|
1515
|
+
*******************
|
|
1484
1516
|
|
|
1485
1517
|
Bug fixes:
|
|
1486
1518
|
|
|
@@ -1489,7 +1521,7 @@ Bug fixes:
|
|
|
1489
1521
|
:user:`lafrech` for the fix.
|
|
1490
1522
|
|
|
1491
1523
|
2.15.0 (2017-12-02)
|
|
1492
|
-
|
|
1524
|
+
*******************
|
|
1493
1525
|
|
|
1494
1526
|
Bug fixes:
|
|
1495
1527
|
|
|
@@ -1498,7 +1530,7 @@ Bug fixes:
|
|
|
1498
1530
|
suggestion and thanks :user:`4lissonsilveira` for the PR.
|
|
1499
1531
|
|
|
1500
1532
|
2.14.0 (2017-10-23)
|
|
1501
|
-
|
|
1533
|
+
*******************
|
|
1502
1534
|
|
|
1503
1535
|
Features:
|
|
1504
1536
|
|
|
@@ -1506,7 +1538,7 @@ Features:
|
|
|
1506
1538
|
Thanks :user:`sduthil` for the suggestion and the PR.
|
|
1507
1539
|
|
|
1508
1540
|
2.13.6 (2017-08-16)
|
|
1509
|
-
|
|
1541
|
+
*******************
|
|
1510
1542
|
|
|
1511
1543
|
Bug fixes:
|
|
1512
1544
|
|
|
@@ -1514,28 +1546,28 @@ Bug fixes:
|
|
|
1514
1546
|
(:issue:`669`). Thanks :user:`MichalKononenko`.
|
|
1515
1547
|
|
|
1516
1548
|
2.13.5 (2017-04-12)
|
|
1517
|
-
|
|
1549
|
+
*******************
|
|
1518
1550
|
|
|
1519
1551
|
Bug fixes:
|
|
1520
1552
|
|
|
1521
1553
|
- Fix validation of iso8601-formatted dates (:issue:`556`). Thanks :user:`lafrech` for reporting.
|
|
1522
1554
|
|
|
1523
1555
|
2.13.4 (2017-03-19)
|
|
1524
|
-
|
|
1556
|
+
*******************
|
|
1525
1557
|
|
|
1526
1558
|
Bug fixes:
|
|
1527
1559
|
|
|
1528
1560
|
- Fix symmetry of serialization and deserialization behavior when passing a dot-delimited path to the ``attribute`` parameter of fields (:issue:`450`). Thanks :user:`itajaja` for reporting.
|
|
1529
1561
|
|
|
1530
1562
|
2.13.3 (2017-03-11)
|
|
1531
|
-
|
|
1563
|
+
*******************
|
|
1532
1564
|
|
|
1533
1565
|
Bug fixes:
|
|
1534
1566
|
|
|
1535
1567
|
- Restore backwards-compatibility of ``SchemaOpts`` constructor (:issue:`597`). Thanks :user:`Wesmania` for reporting and thanks :user:`frol` for the fix.
|
|
1536
1568
|
|
|
1537
1569
|
2.13.2 (2017-03-10)
|
|
1538
|
-
|
|
1570
|
+
*******************
|
|
1539
1571
|
|
|
1540
1572
|
Bug fixes:
|
|
1541
1573
|
|
|
@@ -1546,35 +1578,35 @@ Support:
|
|
|
1546
1578
|
- Update contributing docs.
|
|
1547
1579
|
|
|
1548
1580
|
2.13.1 (2017-03-04)
|
|
1549
|
-
|
|
1581
|
+
*******************
|
|
1550
1582
|
|
|
1551
1583
|
Bug fixes:
|
|
1552
1584
|
|
|
1553
1585
|
- Fix sorting on Schema subclasses when ``ordered=True`` (:issue:`592`). Thanks :user:`frol`.
|
|
1554
1586
|
|
|
1555
1587
|
2.13.0 (2017-02-18)
|
|
1556
|
-
|
|
1588
|
+
*******************
|
|
1557
1589
|
|
|
1558
1590
|
Features:
|
|
1559
1591
|
|
|
1560
1592
|
- Minor optimizations (:issue:`577`). Thanks :user:`rowillia` for the PR.
|
|
1561
1593
|
|
|
1562
1594
|
2.12.2 (2017-01-30)
|
|
1563
|
-
|
|
1595
|
+
*******************
|
|
1564
1596
|
|
|
1565
1597
|
Bug fixes:
|
|
1566
1598
|
|
|
1567
1599
|
- Unbound fields return `None` rather returning the field itself. This fixes a corner case introduced in :issue:`572`. Thanks :user:`touilleMan` for reporting and :user:`YuriHeupa` for the fix.
|
|
1568
1600
|
|
|
1569
1601
|
2.12.1 (2017-01-23)
|
|
1570
|
-
|
|
1602
|
+
*******************
|
|
1571
1603
|
|
|
1572
1604
|
Bug fixes:
|
|
1573
1605
|
|
|
1574
1606
|
- Fix behavior when a ``Nested`` field is composed within a ``List`` field (:issue:`572`). Thanks :user:`avish` for reporting and :user:`YuriHeupa` for the PR.
|
|
1575
1607
|
|
|
1576
1608
|
2.12.0 (2017-01-22)
|
|
1577
|
-
|
|
1609
|
+
*******************
|
|
1578
1610
|
|
|
1579
1611
|
Features:
|
|
1580
1612
|
|
|
@@ -1582,14 +1614,14 @@ Features:
|
|
|
1582
1614
|
- Add ``schemes`` parameter to ``fields.URL`` (:issue:`574`). Thanks :user:`mosquito` for the PR.
|
|
1583
1615
|
|
|
1584
1616
|
2.11.1 (2017-01-08)
|
|
1585
|
-
|
|
1617
|
+
*******************
|
|
1586
1618
|
|
|
1587
1619
|
Bug fixes:
|
|
1588
1620
|
|
|
1589
1621
|
- Allow ``strict`` class Meta option to be overridden by constructor (:issue:`550`). Thanks :user:`douglas-treadwell` for reporting and thanks :user:`podhmo` for the PR.
|
|
1590
1622
|
|
|
1591
1623
|
2.11.0 (2017-01-08)
|
|
1592
|
-
|
|
1624
|
+
*******************
|
|
1593
1625
|
|
|
1594
1626
|
Features:
|
|
1595
1627
|
|
|
@@ -1601,7 +1633,7 @@ Support:
|
|
|
1601
1633
|
- Test against Python 3.6.
|
|
1602
1634
|
|
|
1603
1635
|
2.10.5 (2016-12-19)
|
|
1604
|
-
|
|
1636
|
+
*******************
|
|
1605
1637
|
|
|
1606
1638
|
Bug fixes:
|
|
1607
1639
|
|
|
@@ -1612,21 +1644,21 @@ Support:
|
|
|
1612
1644
|
- Tests: Fix redefinition of ``test_utils.test_get_value()`` (:issue:`562`). Thanks :user:`nelfin`.
|
|
1613
1645
|
|
|
1614
1646
|
2.10.4 (2016-11-18)
|
|
1615
|
-
|
|
1647
|
+
*******************
|
|
1616
1648
|
|
|
1617
1649
|
Bug fixes:
|
|
1618
1650
|
|
|
1619
1651
|
- `Function` field works with callables that use Python 3 type annotations (:issue:`540`). Thanks :user:`martinstein` for reporting and thanks :user:`sabinem`, :user:`lafrech`, and :user:`maximkulkin` for the work on the PR.
|
|
1620
1652
|
|
|
1621
1653
|
2.10.3 (2016-10-02)
|
|
1622
|
-
|
|
1654
|
+
*******************
|
|
1623
1655
|
|
|
1624
1656
|
Bug fixes:
|
|
1625
1657
|
|
|
1626
1658
|
- Fix behavior for serializing missing data with ``Number`` fields when ``as_string=True`` is passed (:issue:`538`). Thanks :user:`jessemyers` for reporting.
|
|
1627
1659
|
|
|
1628
1660
|
2.10.2 (2016-09-25)
|
|
1629
|
-
|
|
1661
|
+
*******************
|
|
1630
1662
|
|
|
1631
1663
|
Bug fixes:
|
|
1632
1664
|
|
|
@@ -1634,7 +1666,7 @@ Bug fixes:
|
|
|
1634
1666
|
- Fix UUID validation on serialization and deserialization of ``uuid.UUID`` objects (:issue:`532`). Thanks :user:`pauljz`.
|
|
1635
1667
|
|
|
1636
1668
|
2.10.1 (2016-09-14)
|
|
1637
|
-
|
|
1669
|
+
*******************
|
|
1638
1670
|
|
|
1639
1671
|
Bug fixes:
|
|
1640
1672
|
|
|
@@ -1643,14 +1675,14 @@ Bug fixes:
|
|
|
1643
1675
|
- Fix validation of nested fields on dumping (:issue:`528`). Thanks again :user:`tvuotila`.
|
|
1644
1676
|
|
|
1645
1677
|
2.10.0 (2016-09-05)
|
|
1646
|
-
|
|
1678
|
+
*******************
|
|
1647
1679
|
|
|
1648
1680
|
Features:
|
|
1649
1681
|
|
|
1650
1682
|
- Errors raised by pre/post-load/dump methods will be added to a schema's errors dictionary (:issue:`472`). Thanks :user:`dbertouille` for the suggestion and for the PR.
|
|
1651
1683
|
|
|
1652
1684
|
2.9.1 (2016-07-21)
|
|
1653
|
-
|
|
1685
|
+
******************
|
|
1654
1686
|
|
|
1655
1687
|
Bug fixes:
|
|
1656
1688
|
|
|
@@ -1658,12 +1690,12 @@ Bug fixes:
|
|
|
1658
1690
|
- Make ``@validates`` consistent with field validator behavior: if validation fails, the field will not be included in the deserialized output (:issue:`391`). Thanks :user:`martinstein` for reporting and thanks :user:`vuonghv` for the fix.
|
|
1659
1691
|
|
|
1660
1692
|
2.9.0 (2016-07-06)
|
|
1661
|
-
|
|
1693
|
+
******************
|
|
1662
1694
|
|
|
1663
1695
|
- ``Decimal`` field coerces input values to a string before deserializing to a `decimal.Decimal` object in order to avoid transformation of float values under 12 significant digits (:issue:`434`, :issue:`435`). Thanks :user:`davidthornton` for the PR.
|
|
1664
1696
|
|
|
1665
1697
|
2.8.0 (2016-06-23)
|
|
1666
|
-
|
|
1698
|
+
******************
|
|
1667
1699
|
|
|
1668
1700
|
Features:
|
|
1669
1701
|
|
|
@@ -1674,12 +1706,12 @@ Support:
|
|
|
1674
1706
|
- Update tasks.py for compatibility with invoke>=0.13.0. Thanks :user:`deckar01`.
|
|
1675
1707
|
|
|
1676
1708
|
2.7.3 (2016-05-05)
|
|
1677
|
-
|
|
1709
|
+
******************
|
|
1678
1710
|
|
|
1679
1711
|
- Make ``field.parent`` and ``field.name`` accessible to ``on_bind_field`` (:issue:`449`). Thanks :user:`immerrr`.
|
|
1680
1712
|
|
|
1681
1713
|
2.7.2 (2016-04-27)
|
|
1682
|
-
|
|
1714
|
+
******************
|
|
1683
1715
|
|
|
1684
1716
|
No code changes in this release. This is a reupload in order to distribute an sdist for the last hotfix release. See :issue:`443`.
|
|
1685
1717
|
|
|
@@ -1688,7 +1720,7 @@ Support:
|
|
|
1688
1720
|
- Update license entry in setup.py to fix RPM distributions (:issue:`433`). Thanks :user:`rrajaravi` for reporting.
|
|
1689
1721
|
|
|
1690
1722
|
2.7.1 (2016-04-08)
|
|
1691
|
-
|
|
1723
|
+
******************
|
|
1692
1724
|
|
|
1693
1725
|
Bug fixes:
|
|
1694
1726
|
|
|
@@ -1696,7 +1728,7 @@ Bug fixes:
|
|
|
1696
1728
|
constructed dynamically using the ``type`` constructor without getting added to the class registry (which is useful for saving memory).
|
|
1697
1729
|
|
|
1698
1730
|
2.7.0 (2016-04-04)
|
|
1699
|
-
|
|
1731
|
+
******************
|
|
1700
1732
|
|
|
1701
1733
|
Features:
|
|
1702
1734
|
|
|
@@ -1708,14 +1740,14 @@ Other changes:
|
|
|
1708
1740
|
- Remove unused attributes ``root``, ``parent``, and ``name`` from ``SchemaABC`` (:issue:`410`). Thanks :user:`Tim-Erwin` for the PR.
|
|
1709
1741
|
|
|
1710
1742
|
2.6.1 (2016-03-17)
|
|
1711
|
-
|
|
1743
|
+
******************
|
|
1712
1744
|
|
|
1713
1745
|
Bug fixes:
|
|
1714
1746
|
|
|
1715
1747
|
- Respect ``load_from`` when reporting errors for nested required fields (:issue:`414`). Thanks :user:`yumike`.
|
|
1716
1748
|
|
|
1717
1749
|
2.6.0 (2016-02-01)
|
|
1718
|
-
|
|
1750
|
+
******************
|
|
1719
1751
|
|
|
1720
1752
|
Features:
|
|
1721
1753
|
|
|
@@ -1724,7 +1756,7 @@ Features:
|
|
|
1724
1756
|
- Collect all validation errors for each item deserialized by a ``List`` field (:issue:`345`). Thanks :user:`maximkulkin` for the report and the PR.
|
|
1725
1757
|
|
|
1726
1758
|
2.5.0 (2016-01-16)
|
|
1727
|
-
|
|
1759
|
+
******************
|
|
1728
1760
|
|
|
1729
1761
|
Features:
|
|
1730
1762
|
|
|
@@ -1732,21 +1764,21 @@ Features:
|
|
|
1732
1764
|
- Add ``schemes`` argument to ``validate.URL`` (:issue:`356`).
|
|
1733
1765
|
|
|
1734
1766
|
2.4.2 (2015-12-08)
|
|
1735
|
-
|
|
1767
|
+
******************
|
|
1736
1768
|
|
|
1737
1769
|
Bug fixes:
|
|
1738
1770
|
|
|
1739
1771
|
- Prevent duplicate error messages when validating nested collections (:issue:`360`). Thanks :user:`alexmorken` for the catch and patch.
|
|
1740
1772
|
|
|
1741
1773
|
2.4.1 (2015-12-07)
|
|
1742
|
-
|
|
1774
|
+
******************
|
|
1743
1775
|
|
|
1744
1776
|
Bug fixes:
|
|
1745
1777
|
|
|
1746
1778
|
- Serializing an iterator will not drop the first item (:issue:`343`, :issue:`353`). Thanks :user:`jmcarp` for the patch. Thanks :user:`edgarallang` and :user:`jmcarp` for reporting.
|
|
1747
1779
|
|
|
1748
1780
|
2.4.0 (2015-12-06)
|
|
1749
|
-
|
|
1781
|
+
******************
|
|
1750
1782
|
|
|
1751
1783
|
Features:
|
|
1752
1784
|
|
|
@@ -1758,7 +1790,7 @@ Bug fixes:
|
|
|
1758
1790
|
- Fix ``@validates`` behavior when used when ``attribute`` is specified and ``strict=True`` (:issue:`350`). Thanks :user:`density` for reporting.
|
|
1759
1791
|
|
|
1760
1792
|
2.3.0 (2015-11-22)
|
|
1761
|
-
|
|
1793
|
+
******************
|
|
1762
1794
|
|
|
1763
1795
|
Features:
|
|
1764
1796
|
|
|
@@ -1775,14 +1807,14 @@ Deprecation/Removal:
|
|
|
1775
1807
|
``func`` and ``method_name`` are still present for backwards-compatibility, but they will both be removed in marshmallow 3.0.
|
|
1776
1808
|
|
|
1777
1809
|
2.2.1 (2015-11-11)
|
|
1778
|
-
|
|
1810
|
+
******************
|
|
1779
1811
|
|
|
1780
1812
|
Bug fixes:
|
|
1781
1813
|
|
|
1782
1814
|
- Skip field validators for fields that aren't included in ``only`` (:issue:`320`). Thanks :user:`carlos-alberto` for reporting and :user:`eprikazc` for the PR.
|
|
1783
1815
|
|
|
1784
1816
|
2.2.0 (2015-10-26)
|
|
1785
|
-
|
|
1817
|
+
******************
|
|
1786
1818
|
|
|
1787
1819
|
Features:
|
|
1788
1820
|
|
|
@@ -1799,14 +1831,14 @@ Support:
|
|
|
1799
1831
|
- Add "Customizing Error Messages" section to custom fields docs.
|
|
1800
1832
|
|
|
1801
1833
|
2.1.3 (2015-10-18)
|
|
1802
|
-
|
|
1834
|
+
******************
|
|
1803
1835
|
|
|
1804
1836
|
Bug fixes:
|
|
1805
1837
|
|
|
1806
1838
|
- Fix serialization of collections for which ``iter`` will modify position, e.g. Pymongo cursors (:issue:`303`). Thanks :user:`Mise` for the catch and patch.
|
|
1807
1839
|
|
|
1808
1840
|
2.1.2 (2015-10-14)
|
|
1809
|
-
|
|
1841
|
+
******************
|
|
1810
1842
|
|
|
1811
1843
|
Bug fixes:
|
|
1812
1844
|
|
|
@@ -1814,14 +1846,14 @@ Bug fixes:
|
|
|
1814
1846
|
- Fix usage of ``@validates`` with a nested field when ``many=True`` (:issue:`298`). Thanks :user:`nelfin` for the catch and patch.
|
|
1815
1847
|
|
|
1816
1848
|
2.1.1 (2015-10-07)
|
|
1817
|
-
|
|
1849
|
+
******************
|
|
1818
1850
|
|
|
1819
1851
|
Bug fixes:
|
|
1820
1852
|
|
|
1821
1853
|
- ``Constant`` field deserializes to its value regardless of whether its field name is present in input data (:issue:`291`). Thanks :user:`fayazkhan` for reporting.
|
|
1822
1854
|
|
|
1823
1855
|
2.1.0 (2015-09-30)
|
|
1824
|
-
|
|
1856
|
+
******************
|
|
1825
1857
|
|
|
1826
1858
|
Features:
|
|
1827
1859
|
|
|
@@ -1843,7 +1875,7 @@ Other changes:
|
|
|
1843
1875
|
- A ``List's`` inner field will have the list field set as its parent. Use ``root`` to access the ``Schema``.
|
|
1844
1876
|
|
|
1845
1877
|
2.0.0 (2015-09-25)
|
|
1846
|
-
|
|
1878
|
+
******************
|
|
1847
1879
|
|
|
1848
1880
|
Features:
|
|
1849
1881
|
|
|
@@ -1872,7 +1904,7 @@ Changes from 2.0.0rc2:
|
|
|
1872
1904
|
- Bug fix: Prevent infinite loop when validating a required, self-nested field. Thanks :user:`Bachmann1234` for the fix.
|
|
1873
1905
|
|
|
1874
1906
|
2.0.0rc2 (2015-09-16)
|
|
1875
|
-
|
|
1907
|
+
*********************
|
|
1876
1908
|
|
|
1877
1909
|
Deprecation/Removals:
|
|
1878
1910
|
|
|
@@ -1890,7 +1922,7 @@ Changes from 2.0.0rc1:
|
|
|
1890
1922
|
- Methods decorated with the ``pre_*``, ``post_*``, and ``validates_*`` decorators must be instance methods. Class methods and instance methods are not supported at this time.
|
|
1891
1923
|
|
|
1892
1924
|
2.0.0rc1 (2015-09-13)
|
|
1893
|
-
|
|
1925
|
+
*********************
|
|
1894
1926
|
|
|
1895
1927
|
Features:
|
|
1896
1928
|
|
|
@@ -1918,7 +1950,7 @@ Support:
|
|
|
1918
1950
|
- Test against Python 3.5.
|
|
1919
1951
|
|
|
1920
1952
|
2.0.0b5 (2015-08-23)
|
|
1921
|
-
|
|
1953
|
+
********************
|
|
1922
1954
|
|
|
1923
1955
|
Features:
|
|
1924
1956
|
|
|
@@ -1939,7 +1971,7 @@ Other changes:
|
|
|
1939
1971
|
- ``Email`` validator permits email addresses with non-ASCII characters, as per RFC 6530 (:issue:`221`). Thanks :user:`lextoumbourou` for reporting and :user:`mwstobo` for sending the patch.
|
|
1940
1972
|
|
|
1941
1973
|
2.0.0b4 (2015-07-07)
|
|
1942
|
-
|
|
1974
|
+
********************
|
|
1943
1975
|
|
|
1944
1976
|
Features:
|
|
1945
1977
|
|
|
@@ -1959,7 +1991,7 @@ Changes from 2.0.0b3:
|
|
|
1959
1991
|
- If ``load_from`` is used on deserialization, the value of ``load_from`` is used as the key in the errors dict (:issue:`232`). Thanks :user:`alexmorken`.
|
|
1960
1992
|
|
|
1961
1993
|
2.0.0b3 (2015-06-14)
|
|
1962
|
-
|
|
1994
|
+
*********************
|
|
1963
1995
|
|
|
1964
1996
|
Features:
|
|
1965
1997
|
|
|
@@ -1996,7 +2028,7 @@ Changes from 2.0.0b2:
|
|
|
1996
2028
|
- Implicit passing of original, raw data to Schema validators is removed. Use ``@marshmallow.validates_schema(pass_original=True)`` instead.
|
|
1997
2029
|
|
|
1998
2030
|
2.0.0b2 (2015-05-03)
|
|
1999
|
-
|
|
2031
|
+
********************
|
|
2000
2032
|
|
|
2001
2033
|
Features:
|
|
2002
2034
|
|
|
@@ -2010,7 +2042,7 @@ Changes from 2.0.0b1:
|
|
|
2010
2042
|
Includes bug fixes from 1.2.6.
|
|
2011
2043
|
|
|
2012
2044
|
2.0.0b1 (2015-04-26)
|
|
2013
|
-
|
|
2045
|
+
********************
|
|
2014
2046
|
|
|
2015
2047
|
Features:
|
|
2016
2048
|
|
|
@@ -2027,7 +2059,7 @@ Changes from 2.0.0a1:
|
|
|
2027
2059
|
- Fix serialization of `None` for ``fields.Email``.
|
|
2028
2060
|
|
|
2029
2061
|
2.0.0a1 (2015-04-25)
|
|
2030
|
-
|
|
2062
|
+
********************
|
|
2031
2063
|
|
|
2032
2064
|
Features:
|
|
2033
2065
|
|
|
@@ -2066,7 +2098,7 @@ Other changes:
|
|
|
2066
2098
|
- Make ``allow_null=True`` the default for ``Nested`` fields. This will make ``None`` serialize to ``None`` rather than a dictionary with empty values (:issue:`132`). Thanks :user:`nickrellack` for the suggestion.
|
|
2067
2099
|
|
|
2068
2100
|
1.2.6 (2015-05-03)
|
|
2069
|
-
|
|
2101
|
+
******************
|
|
2070
2102
|
|
|
2071
2103
|
Bug fixes:
|
|
2072
2104
|
|
|
@@ -2074,7 +2106,7 @@ Bug fixes:
|
|
|
2074
2106
|
- Allow error message for ``fields.Boolean`` to be customized with the ``error`` parameter (like other fields).
|
|
2075
2107
|
|
|
2076
2108
|
1.2.5 (2015-04-25)
|
|
2077
|
-
|
|
2109
|
+
******************
|
|
2078
2110
|
|
|
2079
2111
|
Bug fixes:
|
|
2080
2112
|
|
|
@@ -2085,7 +2117,7 @@ Support:
|
|
|
2085
2117
|
- Fix pep8 dev dependency for flake8. Thanks :user:`taion`.
|
|
2086
2118
|
|
|
2087
2119
|
1.2.4 (2015-03-22)
|
|
2088
|
-
|
|
2120
|
+
******************
|
|
2089
2121
|
|
|
2090
2122
|
Bug fixes:
|
|
2091
2123
|
|
|
@@ -2100,14 +2132,14 @@ Support:
|
|
|
2100
2132
|
- Correction to ``_postprocess`` method in docs. Thanks again :user:`taion`.
|
|
2101
2133
|
|
|
2102
2134
|
1.2.3 (2015-03-15)
|
|
2103
|
-
|
|
2135
|
+
******************
|
|
2104
2136
|
|
|
2105
2137
|
Bug fixes:
|
|
2106
2138
|
|
|
2107
2139
|
- Fix inheritance of ``ordered`` class Meta option (:issue:`162`). Thanks :user:`stephenfin` for reporting.
|
|
2108
2140
|
|
|
2109
2141
|
1.2.2 (2015-02-23)
|
|
2110
|
-
|
|
2142
|
+
******************
|
|
2111
2143
|
|
|
2112
2144
|
Bug fixes:
|
|
2113
2145
|
|
|
@@ -2115,7 +2147,7 @@ Bug fixes:
|
|
|
2115
2147
|
- Fix bug that could cause an ``AttributeError`` when nesting schemas with schema-level validators (:issue:`144`). Thanks :user:`vovanbo` for reporting.
|
|
2116
2148
|
|
|
2117
2149
|
1.2.1 (2015-01-11)
|
|
2118
|
-
|
|
2150
|
+
******************
|
|
2119
2151
|
|
|
2120
2152
|
Bug fixes:
|
|
2121
2153
|
|
|
@@ -2123,7 +2155,7 @@ Bug fixes:
|
|
|
2123
2155
|
- Deserializing `None` returns `None` rather than raising an ``AttributeError`` (:issue:`123`). Thanks :user:`RealSalmon` for the catch and patch.
|
|
2124
2156
|
|
|
2125
2157
|
1.2.0 (2014-12-22)
|
|
2126
|
-
|
|
2158
|
+
******************
|
|
2127
2159
|
|
|
2128
2160
|
Features:
|
|
2129
2161
|
|
|
@@ -2158,7 +2190,7 @@ Support:
|
|
|
2158
2190
|
|
|
2159
2191
|
|
|
2160
2192
|
1.1.0 (2014-12-02)
|
|
2161
|
-
|
|
2193
|
+
******************
|
|
2162
2194
|
|
|
2163
2195
|
Features:
|
|
2164
2196
|
|
|
@@ -2180,14 +2212,14 @@ Support:
|
|
|
2180
2212
|
- Update Flask and Peewee examples.
|
|
2181
2213
|
|
|
2182
2214
|
1.0.1 (2014-11-18)
|
|
2183
|
-
|
|
2215
|
+
******************
|
|
2184
2216
|
|
|
2185
2217
|
Hotfix release.
|
|
2186
2218
|
|
|
2187
2219
|
- Ensure that errors dictionary is correctly cleared on each call to ``Schema.dump`` and ``Schema.load``.
|
|
2188
2220
|
|
|
2189
2221
|
1.0.0 (2014-11-16)
|
|
2190
|
-
|
|
2222
|
+
******************
|
|
2191
2223
|
|
|
2192
2224
|
Adds new features, speed improvements, better error handling, and updated documentation.
|
|
2193
2225
|
|
|
@@ -2206,7 +2238,7 @@ Adds new features, speed improvements, better error handling, and updated docume
|
|
|
2206
2238
|
- Updated docs.
|
|
2207
2239
|
|
|
2208
2240
|
1.0.0-a (2014-10-19)
|
|
2209
|
-
|
|
2241
|
+
********************
|
|
2210
2242
|
|
|
2211
2243
|
Major reworking and simplification of the public API, centered around support for deserialization, improved validation, and a less stateful ``Schema`` class.
|
|
2212
2244
|
|
|
@@ -2236,7 +2268,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2236
2268
|
* Add ``Str``, ``Bool``, and ``Int`` field class aliases.
|
|
2237
2269
|
|
|
2238
2270
|
0.7.0 (2014-06-22)
|
|
2239
|
-
|
|
2271
|
+
******************
|
|
2240
2272
|
|
|
2241
2273
|
* Add ``Serializer.error_handler`` decorator that registers a custom error handler.
|
|
2242
2274
|
* Add ``Serializer.data_handler`` decorator that registers data post-processing callbacks.
|
|
@@ -2247,14 +2279,14 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2247
2279
|
* ``validated`` decorator should only wrap a ``Field`` class's ``output`` method.
|
|
2248
2280
|
|
|
2249
2281
|
0.6.0 (2014-06-03)
|
|
2250
|
-
|
|
2282
|
+
******************
|
|
2251
2283
|
|
|
2252
2284
|
* Fix bug in serializing keyed tuple types, e.g. ``namedtuple`` and ``KeyedTuple``.
|
|
2253
2285
|
* Nested field can load a serializer by its class name as a string. This makes it easier to implement 2-way nesting.
|
|
2254
2286
|
* Make ``Serializer.data`` override-able.
|
|
2255
2287
|
|
|
2256
2288
|
0.5.5 (2014-05-02)
|
|
2257
|
-
|
|
2289
|
+
******************
|
|
2258
2290
|
|
|
2259
2291
|
* Add ``Serializer.factory`` for creating a factory function that returns a Serializer instance.
|
|
2260
2292
|
* ``MarshallingError`` stores its underlying exception as an instance variable. This is useful for inspecting errors.
|
|
@@ -2264,14 +2296,14 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2264
2296
|
* Add ``Serializer.process_data`` hook that allows subclasses to manipulate the final output data.
|
|
2265
2297
|
|
|
2266
2298
|
0.5.4 (2014-04-17)
|
|
2267
|
-
|
|
2299
|
+
******************
|
|
2268
2300
|
|
|
2269
2301
|
* Add ``json_module`` class Meta option.
|
|
2270
2302
|
* Add ``required`` option to fields . Thanks :user:`DeaconDesperado`.
|
|
2271
2303
|
* Tested on Python 3.4 and PyPy.
|
|
2272
2304
|
|
|
2273
2305
|
0.5.3 (2014-03-02)
|
|
2274
|
-
|
|
2306
|
+
******************
|
|
2275
2307
|
|
|
2276
2308
|
* Fix ``Integer`` field default. It is now ``0`` instead of ``0.0``. Thanks :user:`kalasjocke`.
|
|
2277
2309
|
* Add ``context`` param to ``Serializer``. Allows accessing arbitrary objects in ``Function`` and ``Method`` fields.
|
|
@@ -2279,19 +2311,19 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2279
2311
|
|
|
2280
2312
|
|
|
2281
2313
|
0.5.2 (2014-02-10)
|
|
2282
|
-
|
|
2314
|
+
******************
|
|
2283
2315
|
|
|
2284
2316
|
* Enable custom field validation via the ``validate`` parameter.
|
|
2285
2317
|
* Add ``utils.from_rfc`` for parsing RFC datestring to Python datetime object.
|
|
2286
2318
|
|
|
2287
2319
|
0.5.1 (2014-02-02)
|
|
2288
|
-
|
|
2320
|
+
******************
|
|
2289
2321
|
|
|
2290
2322
|
* Avoid unnecessary attribute access in ``utils.to_marshallable_type`` for improved performance.
|
|
2291
2323
|
* Fix RFC822 formatting for localized datetimes.
|
|
2292
2324
|
|
|
2293
2325
|
0.5.0 (2013-12-29)
|
|
2294
|
-
|
|
2326
|
+
******************
|
|
2295
2327
|
|
|
2296
2328
|
* Can customize validation error messages by passing the ``error`` parameter to a field.
|
|
2297
2329
|
* *Backwards-incompatible*: Rename ``fields.NumberField`` -> ``fields.Number``.
|
|
@@ -2302,7 +2334,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2302
2334
|
* Improved performance and stability.
|
|
2303
2335
|
|
|
2304
2336
|
0.4.1 (2013-12-01)
|
|
2305
|
-
|
|
2337
|
+
******************
|
|
2306
2338
|
|
|
2307
2339
|
* An object's ``__marshallable__`` method, if defined, takes precedence over ``__getitem__``.
|
|
2308
2340
|
* Generator expressions can be passed to a serializer.
|
|
@@ -2310,7 +2342,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2310
2342
|
* Other minor bugfixes.
|
|
2311
2343
|
|
|
2312
2344
|
0.4.0 (2013-11-24)
|
|
2313
|
-
|
|
2345
|
+
******************
|
|
2314
2346
|
|
|
2315
2347
|
* Add ``additional`` `class Meta` option.
|
|
2316
2348
|
* Add ``dateformat`` `class Meta` option.
|
|
@@ -2326,7 +2358,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2326
2358
|
* Fix bug with passing ``None`` to a serializer.
|
|
2327
2359
|
|
|
2328
2360
|
0.3.1 (2013-11-16)
|
|
2329
|
-
|
|
2361
|
+
******************
|
|
2330
2362
|
|
|
2331
2363
|
* Fix bug with serializing dictionaries.
|
|
2332
2364
|
* Fix error raised when serializing empty list.
|
|
@@ -2335,7 +2367,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2335
2367
|
* Updated Flask + SQLA example in docs.
|
|
2336
2368
|
|
|
2337
2369
|
0.3.0 (2013-11-14)
|
|
2338
|
-
|
|
2370
|
+
******************
|
|
2339
2371
|
|
|
2340
2372
|
* Declaring Serializers just got easier. The ``class Meta`` paradigm allows you to specify fields more concisely. Can specify ``fields`` and ``exclude`` options.
|
|
2341
2373
|
* Allow date formats to be changed by passing ``format`` parameter to ``DateTime`` field constructor. Can either be ``"rfc"`` (default), ``"iso"``, or a date format string.
|
|
@@ -2344,14 +2376,14 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2344
2376
|
* Rename ``marshmallow.core`` -> ``marshmallow.serializer``.
|
|
2345
2377
|
|
|
2346
2378
|
0.2.1 (2013-11-12)
|
|
2347
|
-
|
|
2379
|
+
******************
|
|
2348
2380
|
|
|
2349
2381
|
* Allow prefixing field names.
|
|
2350
2382
|
* Fix storing errors on Nested Serializers.
|
|
2351
2383
|
* Python 2.6 support.
|
|
2352
2384
|
|
|
2353
2385
|
0.2.0 (2013-11-11)
|
|
2354
|
-
|
|
2386
|
+
******************
|
|
2355
2387
|
|
|
2356
2388
|
* Field-level validation.
|
|
2357
2389
|
* Add ``fields.Method``.
|
|
@@ -2360,6 +2392,6 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2360
2392
|
* Add ``relative`` parameter to ``fields.Url`` that allows for relative URLs.
|
|
2361
2393
|
|
|
2362
2394
|
0.1.0 (2013-11-10)
|
|
2363
|
-
|
|
2395
|
+
******************
|
|
2364
2396
|
|
|
2365
2397
|
* First release.
|