marshmallow 3.25.0__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.25.0 → marshmallow-3.25.1}/CHANGELOG.rst +155 -141
- {marshmallow-3.25.0 → marshmallow-3.25.1}/CONTRIBUTING.rst +25 -13
- {marshmallow-3.25.0 → marshmallow-3.25.1}/PKG-INFO +16 -7
- {marshmallow-3.25.0 → 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.25.0 → 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.25.0 → marshmallow-3.25.1}/docs/custom_fields.rst +9 -2
- marshmallow-3.25.1/docs/donate.rst +12 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/examples.rst +11 -11
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/extending.rst +9 -2
- marshmallow-3.25.1/docs/index.rst +94 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/install.rst +4 -4
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.class_registry.rst +1 -1
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.error_store.rst +1 -1
- marshmallow-3.25.1/docs/marshmallow.types.rst +5 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.utils.rst +1 -1
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/nesting.rst +3 -3
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/quickstart.rst +24 -6
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/upgrading.rst +4 -4
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/why.rst +0 -3
- {marshmallow-3.25.0 → marshmallow-3.25.1}/pyproject.toml +6 -4
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/class_registry.py +2 -4
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/decorators.py +1 -1
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/fields.py +48 -34
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/schema.py +15 -14
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/types.py +5 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/utils.py +9 -5
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/validate.py +5 -5
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_schema.py +2 -2
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tox.ini +1 -1
- marshmallow-3.25.0/docs/_templates/donate.html +0 -34
- marshmallow-3.25.0/docs/_templates/useful-links.html +0 -7
- marshmallow-3.25.0/docs/about.rst.inc +0 -46
- marshmallow-3.25.0/docs/changelog.rst +0 -4
- marshmallow-3.25.0/docs/conf.py +0 -76
- marshmallow-3.25.0/docs/ecosystem.rst +0 -6
- marshmallow-3.25.0/docs/index.rst +0 -72
- {marshmallow-3.25.0 → marshmallow-3.25.1}/LICENSE +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/NOTICE +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/SECURITY.md +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/.gitignore +0 -0
- /marshmallow-3.25.0/docs/_static/marshmallow-logo.png → /marshmallow-3.25.1/docs/_static/marshmallow-logo-with-title.png +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/authors.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/code_of_conduct.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/contributing.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/dashing.json +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/kudos.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/license.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.decorators.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.exceptions.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.fields.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.schema.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/marshmallow.validate.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/top_level.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/docs/whos_using.rst +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/__init__.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/base.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/error_store.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/exceptions.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/orderedset.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/py.typed +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/src/marshmallow/warnings.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/__init__.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/base.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/conftest.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/foo_serializer.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/mypy_test_cases/test_class_registry.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/mypy_test_cases/test_validation_error.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_decorators.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_deserialization.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_error_store.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_exceptions.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_fields.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_options.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_registry.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_serialization.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_utils.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_validate.py +0 -0
- {marshmallow-3.25.0 → marshmallow-3.25.1}/tests/test_version_attributes.py +0 -0
|
@@ -1,6 +1,20 @@
|
|
|
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
|
+
|
|
4
18
|
3.25.0 (2025-01-09)
|
|
5
19
|
*******************
|
|
6
20
|
|
|
@@ -581,14 +595,14 @@ Support:
|
|
|
581
595
|
- Test against Python 3.8 (:pr:`1431`).
|
|
582
596
|
|
|
583
597
|
3.2.1 (2019-09-30)
|
|
584
|
-
|
|
598
|
+
******************
|
|
585
599
|
|
|
586
600
|
Bug fixes:
|
|
587
601
|
|
|
588
602
|
- Fix typing for ``Schema.dump[s]`` (:pr:`1416`).
|
|
589
603
|
|
|
590
604
|
3.2.0 (2019-09-17)
|
|
591
|
-
|
|
605
|
+
******************
|
|
592
606
|
|
|
593
607
|
Features:
|
|
594
608
|
|
|
@@ -603,7 +617,7 @@ Refactoring:
|
|
|
603
617
|
- Remove unnecessary ``BaseSchema`` superclass (:pr:`1406`).
|
|
604
618
|
|
|
605
619
|
3.1.1 (2019-09-16)
|
|
606
|
-
|
|
620
|
+
******************
|
|
607
621
|
|
|
608
622
|
Bug fixes:
|
|
609
623
|
|
|
@@ -613,7 +627,7 @@ Bug fixes:
|
|
|
613
627
|
Thanks :user:`metheoryt` for reporting.
|
|
614
628
|
|
|
615
629
|
3.1.0 (2019-09-15)
|
|
616
|
-
|
|
630
|
+
******************
|
|
617
631
|
|
|
618
632
|
Features:
|
|
619
633
|
|
|
@@ -626,7 +640,7 @@ Bug fixes:
|
|
|
626
640
|
- Includes bug fix from 2.20.5.
|
|
627
641
|
|
|
628
642
|
3.0.5 (2019-09-12)
|
|
629
|
-
|
|
643
|
+
******************
|
|
630
644
|
|
|
631
645
|
Bug fixes:
|
|
632
646
|
|
|
@@ -635,7 +649,7 @@ Bug fixes:
|
|
|
635
649
|
|
|
636
650
|
|
|
637
651
|
3.0.4 (2019-09-11)
|
|
638
|
-
|
|
652
|
+
******************
|
|
639
653
|
|
|
640
654
|
Bug fixes:
|
|
641
655
|
|
|
@@ -643,7 +657,7 @@ Bug fixes:
|
|
|
643
657
|
- Includes bug fix from 2.20.4 (:issue:`1160`).
|
|
644
658
|
|
|
645
659
|
3.0.3 (2019-09-04)
|
|
646
|
-
|
|
660
|
+
******************
|
|
647
661
|
|
|
648
662
|
Bug fixes:
|
|
649
663
|
|
|
@@ -651,7 +665,7 @@ Bug fixes:
|
|
|
651
665
|
Thanks :user:`jtrakk` for reporting.
|
|
652
666
|
|
|
653
667
|
3.0.2 (2019-09-04)
|
|
654
|
-
|
|
668
|
+
******************
|
|
655
669
|
|
|
656
670
|
Bug fixes:
|
|
657
671
|
|
|
@@ -659,7 +673,7 @@ Bug fixes:
|
|
|
659
673
|
- Fix incorrect ``super()`` call in ``SchemaMeta.__init__`` (:pr:`1362`).
|
|
660
674
|
|
|
661
675
|
3.0.1 (2019-08-21)
|
|
662
|
-
|
|
676
|
+
******************
|
|
663
677
|
|
|
664
678
|
Bug fixes:
|
|
665
679
|
|
|
@@ -667,7 +681,7 @@ Bug fixes:
|
|
|
667
681
|
This bug was introduced in 3.0.0rc9. Thanks :user:`zblz` for reporting.
|
|
668
682
|
|
|
669
683
|
3.0.0 (2019-08-18)
|
|
670
|
-
|
|
684
|
+
******************
|
|
671
685
|
|
|
672
686
|
Features:
|
|
673
687
|
|
|
@@ -685,7 +699,7 @@ Support:
|
|
|
685
699
|
- Various docs improvements (:pr:`1329`).
|
|
686
700
|
|
|
687
701
|
3.0.0rc9 (2019-07-31)
|
|
688
|
-
|
|
702
|
+
*********************
|
|
689
703
|
|
|
690
704
|
Features:
|
|
691
705
|
|
|
@@ -716,7 +730,7 @@ Support:
|
|
|
716
730
|
- Document usage of ``validate.Regexp``'s usage ``re.search`` (:issue:`1285`). Thanks :user:`macdonaldezra`.
|
|
717
731
|
|
|
718
732
|
3.0.0rc8 (2019-07-04)
|
|
719
|
-
|
|
733
|
+
*********************
|
|
720
734
|
|
|
721
735
|
Features:
|
|
722
736
|
|
|
@@ -747,7 +761,7 @@ Other changes:
|
|
|
747
761
|
- Switch to Azure Pipelines for CI (:issue:`1261`).
|
|
748
762
|
|
|
749
763
|
3.0.0rc7 (2019-06-15)
|
|
750
|
-
|
|
764
|
+
*********************
|
|
751
765
|
|
|
752
766
|
Features:
|
|
753
767
|
|
|
@@ -769,7 +783,7 @@ Other changes:
|
|
|
769
783
|
- *Backwards-incompatible*: Use keyword-only arguments (:issue:`1216`).
|
|
770
784
|
|
|
771
785
|
3.0.0rc6 (2019-05-05)
|
|
772
|
-
|
|
786
|
+
*********************
|
|
773
787
|
|
|
774
788
|
Support:
|
|
775
789
|
|
|
@@ -785,7 +799,7 @@ Support:
|
|
|
785
799
|
again :user:`hugovk`.
|
|
786
800
|
|
|
787
801
|
3.0.0rc5 (2019-03-30)
|
|
788
|
-
|
|
802
|
+
*********************
|
|
789
803
|
|
|
790
804
|
Features:
|
|
791
805
|
|
|
@@ -805,7 +819,7 @@ Bug fixes:
|
|
|
805
819
|
- Includes bug fix from 2.19.2.
|
|
806
820
|
|
|
807
821
|
3.0.0rc4 (2019-02-08)
|
|
808
|
-
|
|
822
|
+
*********************
|
|
809
823
|
|
|
810
824
|
Features:
|
|
811
825
|
|
|
@@ -815,7 +829,7 @@ Features:
|
|
|
815
829
|
Thank :user:`sayanarijit` for the suggestion and the PR.
|
|
816
830
|
|
|
817
831
|
3.0.0rc3 (2019-01-13)
|
|
818
|
-
|
|
832
|
+
*********************
|
|
819
833
|
|
|
820
834
|
Features:
|
|
821
835
|
|
|
@@ -837,7 +851,7 @@ Bug fixes:
|
|
|
837
851
|
- Includes bug fix from 2.18.0.
|
|
838
852
|
|
|
839
853
|
3.0.0rc2 (2019-01-03)
|
|
840
|
-
|
|
854
|
+
*********************
|
|
841
855
|
|
|
842
856
|
Features:
|
|
843
857
|
|
|
@@ -862,7 +876,7 @@ Other changes:
|
|
|
862
876
|
validation completion (:issue:`996`).
|
|
863
877
|
|
|
864
878
|
3.0.0rc1 (2018-11-29)
|
|
865
|
-
|
|
879
|
+
*********************
|
|
866
880
|
|
|
867
881
|
Features:
|
|
868
882
|
|
|
@@ -880,14 +894,14 @@ Bug fixes:
|
|
|
880
894
|
Thanks :user:`toffan` for the catch and patch.
|
|
881
895
|
|
|
882
896
|
3.0.0b20 (2018-11-01)
|
|
883
|
-
|
|
897
|
+
*********************
|
|
884
898
|
|
|
885
899
|
Bug fixes:
|
|
886
900
|
|
|
887
901
|
- Includes bug fixes from 2.16.2 and 2.16.3.
|
|
888
902
|
|
|
889
903
|
3.0.0b19 (2018-10-24)
|
|
890
|
-
|
|
904
|
+
*********************
|
|
891
905
|
|
|
892
906
|
Features:
|
|
893
907
|
|
|
@@ -907,7 +921,7 @@ Other changes:
|
|
|
907
921
|
|
|
908
922
|
|
|
909
923
|
3.0.0b18 (2018-10-15)
|
|
910
|
-
|
|
924
|
+
*********************
|
|
911
925
|
|
|
912
926
|
Bug fixes:
|
|
913
927
|
|
|
@@ -921,7 +935,7 @@ Deprecations/Removals:
|
|
|
921
935
|
|
|
922
936
|
|
|
923
937
|
3.0.0b17 (2018-10-13)
|
|
924
|
-
|
|
938
|
+
*********************
|
|
925
939
|
|
|
926
940
|
Features:
|
|
927
941
|
|
|
@@ -945,7 +959,7 @@ Bug fixes:
|
|
|
945
959
|
- Includes bug fix from 2.16.0.
|
|
946
960
|
|
|
947
961
|
3.0.0b16 (2018-09-20)
|
|
948
|
-
|
|
962
|
+
*********************
|
|
949
963
|
|
|
950
964
|
Bug fixes:
|
|
951
965
|
|
|
@@ -954,7 +968,7 @@ Bug fixes:
|
|
|
954
968
|
for reporting.
|
|
955
969
|
|
|
956
970
|
3.0.0b15 (2018-09-18)
|
|
957
|
-
|
|
971
|
+
*********************
|
|
958
972
|
|
|
959
973
|
Bug fixes:
|
|
960
974
|
|
|
@@ -968,7 +982,7 @@ Bug fixes:
|
|
|
968
982
|
Thanks :user:`tuukkamustonen` for implementing these changes.
|
|
969
983
|
|
|
970
984
|
3.0.0b14 (2018-09-15)
|
|
971
|
-
|
|
985
|
+
*********************
|
|
972
986
|
|
|
973
987
|
Features:
|
|
974
988
|
|
|
@@ -992,7 +1006,7 @@ Other changes:
|
|
|
992
1006
|
- Tested against Python 3.7.
|
|
993
1007
|
|
|
994
1008
|
3.0.0b13 (2018-08-04)
|
|
995
|
-
|
|
1009
|
+
*********************
|
|
996
1010
|
|
|
997
1011
|
Bug fixes:
|
|
998
1012
|
|
|
@@ -1013,7 +1027,7 @@ Other changes:
|
|
|
1013
1027
|
reporting.
|
|
1014
1028
|
|
|
1015
1029
|
3.0.0b12 (2018-07-04)
|
|
1016
|
-
|
|
1030
|
+
*********************
|
|
1017
1031
|
|
|
1018
1032
|
Features:
|
|
1019
1033
|
|
|
@@ -1046,7 +1060,7 @@ Deprecations/Removals:
|
|
|
1046
1060
|
instances from ``Schema.fields``.
|
|
1047
1061
|
|
|
1048
1062
|
3.0.0b11 (2018-05-20)
|
|
1049
|
-
|
|
1063
|
+
*********************
|
|
1050
1064
|
|
|
1051
1065
|
Features:
|
|
1052
1066
|
|
|
@@ -1066,14 +1080,14 @@ Bug fixes:
|
|
|
1066
1080
|
|
|
1067
1081
|
|
|
1068
1082
|
3.0.0b10 (2018-05-10)
|
|
1069
|
-
|
|
1083
|
+
*********************
|
|
1070
1084
|
|
|
1071
1085
|
Bug fixes:
|
|
1072
1086
|
|
|
1073
1087
|
- Includes bugfixes from 2.15.2.
|
|
1074
1088
|
|
|
1075
1089
|
3.0.0b9 (2018-04-25)
|
|
1076
|
-
|
|
1090
|
+
********************
|
|
1077
1091
|
|
|
1078
1092
|
Features:
|
|
1079
1093
|
|
|
@@ -1086,7 +1100,7 @@ Bug fixes:
|
|
|
1086
1100
|
- Includes the bugfix from 2.15.1.
|
|
1087
1101
|
|
|
1088
1102
|
3.0.0b8 (2018-03-24)
|
|
1089
|
-
|
|
1103
|
+
********************
|
|
1090
1104
|
|
|
1091
1105
|
Features:
|
|
1092
1106
|
|
|
@@ -1108,7 +1122,7 @@ Features:
|
|
|
1108
1122
|
Thanks :user:`shabble` for the report and thanks :user:`lafrech` for the PR.
|
|
1109
1123
|
|
|
1110
1124
|
3.0.0b7 (2018-02-03)
|
|
1111
|
-
|
|
1125
|
+
********************
|
|
1112
1126
|
|
|
1113
1127
|
Features:
|
|
1114
1128
|
|
|
@@ -1137,7 +1151,7 @@ Support:
|
|
|
1137
1151
|
|
|
1138
1152
|
|
|
1139
1153
|
3.0.0b6 (2018-01-02)
|
|
1140
|
-
|
|
1154
|
+
********************
|
|
1141
1155
|
|
|
1142
1156
|
Bug fixes:
|
|
1143
1157
|
|
|
@@ -1153,7 +1167,7 @@ Other changes:
|
|
|
1153
1167
|
- ``validate.URL`` requires square brackets around IPv6 URLs (:issue:`707`). Thanks :user:`harlov`.
|
|
1154
1168
|
|
|
1155
1169
|
3.0.0b5 (2017-12-30)
|
|
1156
|
-
|
|
1170
|
+
********************
|
|
1157
1171
|
|
|
1158
1172
|
Features:
|
|
1159
1173
|
|
|
@@ -1167,7 +1181,7 @@ Other changes:
|
|
|
1167
1181
|
``utils.from_iso_datetime`` (:issue:`694`). Thanks :user:`sklarsa`.
|
|
1168
1182
|
|
|
1169
1183
|
3.0.0b4 (2017-10-23)
|
|
1170
|
-
|
|
1184
|
+
********************
|
|
1171
1185
|
|
|
1172
1186
|
Features:
|
|
1173
1187
|
|
|
@@ -1186,7 +1200,7 @@ Support:
|
|
|
1186
1200
|
for reporting and thanks :user:`yoichi` for the PR.
|
|
1187
1201
|
|
|
1188
1202
|
3.0.0b3 (2017-08-20)
|
|
1189
|
-
|
|
1203
|
+
********************
|
|
1190
1204
|
|
|
1191
1205
|
Features:
|
|
1192
1206
|
|
|
@@ -1208,7 +1222,7 @@ Support:
|
|
|
1208
1222
|
- Add benchmark script. Thanks :user:`rowillia`.
|
|
1209
1223
|
|
|
1210
1224
|
3.0.0b2 (2017-03-19)
|
|
1211
|
-
|
|
1225
|
+
********************
|
|
1212
1226
|
|
|
1213
1227
|
Features:
|
|
1214
1228
|
|
|
@@ -1223,7 +1237,7 @@ Bug fixes:
|
|
|
1223
1237
|
- Includes bug fixes from release 2.13.4.
|
|
1224
1238
|
|
|
1225
1239
|
3.0.0b1 (2017-03-10)
|
|
1226
|
-
|
|
1240
|
+
********************
|
|
1227
1241
|
|
|
1228
1242
|
Features:
|
|
1229
1243
|
|
|
@@ -1237,7 +1251,7 @@ Other changes:
|
|
|
1237
1251
|
- *Backwards-incompatible*: ``skip_on_field_errors`` defaults to ``True`` for ``validates_schema`` (:issue:`352`).
|
|
1238
1252
|
|
|
1239
1253
|
3.0.0a1 (2017-02-26)
|
|
1240
|
-
|
|
1254
|
+
********************
|
|
1241
1255
|
|
|
1242
1256
|
Features:
|
|
1243
1257
|
|
|
@@ -1259,7 +1273,7 @@ Deprecation/Removals:
|
|
|
1259
1273
|
- Remove ``extra`` parameter from ``Schema``. Use a ``@post_dump`` method to add additional data.
|
|
1260
1274
|
|
|
1261
1275
|
2.21.0 (2020-03-05)
|
|
1262
|
-
|
|
1276
|
+
*******************
|
|
1263
1277
|
|
|
1264
1278
|
Bug fixes:
|
|
1265
1279
|
|
|
@@ -1271,14 +1285,14 @@ Other changes:
|
|
|
1271
1285
|
- Drop support for Python 3.4 (:pr:`1525`).
|
|
1272
1286
|
|
|
1273
1287
|
2.20.5 (2019-09-15)
|
|
1274
|
-
|
|
1288
|
+
*******************
|
|
1275
1289
|
|
|
1276
1290
|
Bug fixes:
|
|
1277
1291
|
|
|
1278
1292
|
- Fix behavior when a non-list collection is passed to the ``validate`` argument of ``fields.Email`` and ``fields.URL`` (:issue:`1400`).
|
|
1279
1293
|
|
|
1280
1294
|
2.20.4 (2019-09-11)
|
|
1281
|
-
|
|
1295
|
+
*******************
|
|
1282
1296
|
|
|
1283
1297
|
Bug fixes:
|
|
1284
1298
|
|
|
@@ -1286,14 +1300,14 @@ Bug fixes:
|
|
|
1286
1300
|
Thanks :user:`Kamforka` for reporting.
|
|
1287
1301
|
|
|
1288
1302
|
2.20.3 (2019-09-04)
|
|
1289
|
-
|
|
1303
|
+
*******************
|
|
1290
1304
|
|
|
1291
1305
|
Bug fixes:
|
|
1292
1306
|
|
|
1293
1307
|
- Don't swallow ``TypeError`` exceptions raised by ``Field._bind_to_schema`` or ``Schema.on_bind_field`` (:pr:`1376`).
|
|
1294
1308
|
|
|
1295
1309
|
2.20.2 (2019-08-20)
|
|
1296
|
-
|
|
1310
|
+
*******************
|
|
1297
1311
|
|
|
1298
1312
|
Bug fixes:
|
|
1299
1313
|
|
|
@@ -1301,7 +1315,7 @@ Bug fixes:
|
|
|
1301
1315
|
(:pr:`1354`). Thanks :user:`nicktimko` for the PR.
|
|
1302
1316
|
|
|
1303
1317
|
2.20.1 (2019-08-13)
|
|
1304
|
-
|
|
1318
|
+
*******************
|
|
1305
1319
|
|
|
1306
1320
|
Bug fixes:
|
|
1307
1321
|
|
|
@@ -1309,7 +1323,7 @@ Bug fixes:
|
|
|
1309
1323
|
passed to a nested schema with ``@validates`` (:issue:`1342`).
|
|
1310
1324
|
|
|
1311
1325
|
2.20.0 (2019-08-10)
|
|
1312
|
-
|
|
1326
|
+
*******************
|
|
1313
1327
|
|
|
1314
1328
|
Bug fixes:
|
|
1315
1329
|
|
|
@@ -1324,7 +1338,7 @@ Deprecation/Removals:
|
|
|
1324
1338
|
- Python 2.6 is no longer officially supported (:issue:`1274`).
|
|
1325
1339
|
|
|
1326
1340
|
2.19.5 (2019-06-18)
|
|
1327
|
-
|
|
1341
|
+
*******************
|
|
1328
1342
|
|
|
1329
1343
|
Bug fixes:
|
|
1330
1344
|
|
|
@@ -1332,7 +1346,7 @@ Bug fixes:
|
|
|
1332
1346
|
miroseconds (:issue:`1251`). Thanks :user:`diego-plan9` for reporting.
|
|
1333
1347
|
|
|
1334
1348
|
2.19.4 (2019-06-16)
|
|
1335
|
-
|
|
1349
|
+
*******************
|
|
1336
1350
|
|
|
1337
1351
|
Bug fixes:
|
|
1338
1352
|
|
|
@@ -1340,7 +1354,7 @@ Bug fixes:
|
|
|
1340
1354
|
installed (:issue:`1147`).
|
|
1341
1355
|
|
|
1342
1356
|
2.19.3 (2019-06-15)
|
|
1343
|
-
|
|
1357
|
+
*******************
|
|
1344
1358
|
|
|
1345
1359
|
Bug fixes:
|
|
1346
1360
|
|
|
@@ -1349,7 +1363,7 @@ Bug fixes:
|
|
|
1349
1363
|
reporting.
|
|
1350
1364
|
|
|
1351
1365
|
2.19.2 (2019-03-30)
|
|
1352
|
-
|
|
1366
|
+
*******************
|
|
1353
1367
|
|
|
1354
1368
|
Bug fixes:
|
|
1355
1369
|
|
|
@@ -1357,7 +1371,7 @@ Bug fixes:
|
|
|
1357
1371
|
``fields.Float`` (:pr:`1177`). Thanks :user:`brycedrennan` for the PR.
|
|
1358
1372
|
|
|
1359
1373
|
2.19.1 (2019-03-16)
|
|
1360
|
-
|
|
1374
|
+
*******************
|
|
1361
1375
|
|
|
1362
1376
|
Bug fixes:
|
|
1363
1377
|
|
|
@@ -1366,7 +1380,7 @@ Bug fixes:
|
|
|
1366
1380
|
catch and patch.
|
|
1367
1381
|
|
|
1368
1382
|
2.19.0 (2019-03-07)
|
|
1369
|
-
|
|
1383
|
+
*******************
|
|
1370
1384
|
|
|
1371
1385
|
Deprecation/Removal:
|
|
1372
1386
|
|
|
@@ -1375,7 +1389,7 @@ Deprecation/Removal:
|
|
|
1375
1389
|
instead (:issue:`1141`).
|
|
1376
1390
|
|
|
1377
1391
|
2.18.1 (2019-02-15)
|
|
1378
|
-
|
|
1392
|
+
*******************
|
|
1379
1393
|
|
|
1380
1394
|
Bug fixes:
|
|
1381
1395
|
|
|
@@ -1384,7 +1398,7 @@ Bug fixes:
|
|
|
1384
1398
|
reporting.
|
|
1385
1399
|
|
|
1386
1400
|
2.18.0 (2019-01-13)
|
|
1387
|
-
|
|
1401
|
+
*******************
|
|
1388
1402
|
|
|
1389
1403
|
Features:
|
|
1390
1404
|
|
|
@@ -1397,7 +1411,7 @@ Bug fixes:
|
|
|
1397
1411
|
duplicate it (:pr:`1099`).
|
|
1398
1412
|
|
|
1399
1413
|
2.17.0 (2018-12-26)
|
|
1400
|
-
|
|
1414
|
+
*******************
|
|
1401
1415
|
|
|
1402
1416
|
Features:
|
|
1403
1417
|
|
|
@@ -1406,7 +1420,7 @@ Features:
|
|
|
1406
1420
|
prepare for marshmallow 3 (:pr:`1075`).
|
|
1407
1421
|
|
|
1408
1422
|
2.16.3 (2018-11-01)
|
|
1409
|
-
|
|
1423
|
+
*******************
|
|
1410
1424
|
|
|
1411
1425
|
Bug fixes:
|
|
1412
1426
|
|
|
@@ -1415,7 +1429,7 @@ Bug fixes:
|
|
|
1415
1429
|
reproduce this issue.
|
|
1416
1430
|
|
|
1417
1431
|
2.16.2 (2018-10-30)
|
|
1418
|
-
|
|
1432
|
+
*******************
|
|
1419
1433
|
|
|
1420
1434
|
Bug fixes:
|
|
1421
1435
|
|
|
@@ -1424,7 +1438,7 @@ Bug fixes:
|
|
|
1424
1438
|
:user:`jmargeta` for the PR.
|
|
1425
1439
|
|
|
1426
1440
|
2.16.1 (2018-10-17)
|
|
1427
|
-
|
|
1441
|
+
*******************
|
|
1428
1442
|
|
|
1429
1443
|
Bug fixes:
|
|
1430
1444
|
|
|
@@ -1432,7 +1446,7 @@ Bug fixes:
|
|
|
1432
1446
|
(:issue:`998`). Thanks :user:`lalvarezguillen` for reporting.
|
|
1433
1447
|
|
|
1434
1448
|
2.16.0 (2018-10-10)
|
|
1435
|
-
|
|
1449
|
+
*******************
|
|
1436
1450
|
|
|
1437
1451
|
Bug fixes:
|
|
1438
1452
|
|
|
@@ -1444,7 +1458,7 @@ Other changes:
|
|
|
1444
1458
|
- Drop support for Python 3.3 (:pr:`987`).
|
|
1445
1459
|
|
|
1446
1460
|
2.15.6 (2018-09-20)
|
|
1447
|
-
|
|
1461
|
+
*******************
|
|
1448
1462
|
|
|
1449
1463
|
Bug fixes:
|
|
1450
1464
|
|
|
@@ -1458,7 +1472,7 @@ These fixes were backported from 3.0.0b15 and 3.0.0b16.
|
|
|
1458
1472
|
|
|
1459
1473
|
|
|
1460
1474
|
2.15.5 (2018-09-15)
|
|
1461
|
-
|
|
1475
|
+
*******************
|
|
1462
1476
|
|
|
1463
1477
|
Bug fixes:
|
|
1464
1478
|
|
|
@@ -1466,7 +1480,7 @@ Bug fixes:
|
|
|
1466
1480
|
Thanks :user:`vke-code` for the catch and :user:`YuriHeupa` for the patch.
|
|
1467
1481
|
|
|
1468
1482
|
2.15.4 (2018-08-04)
|
|
1469
|
-
|
|
1483
|
+
*******************
|
|
1470
1484
|
|
|
1471
1485
|
Bug fixes:
|
|
1472
1486
|
|
|
@@ -1474,7 +1488,7 @@ Bug fixes:
|
|
|
1474
1488
|
(:issue:`748`). Thanks :user:`m-novikov` for the catch and patch.
|
|
1475
1489
|
|
|
1476
1490
|
2.15.3 (2018-05-20)
|
|
1477
|
-
|
|
1491
|
+
*******************
|
|
1478
1492
|
|
|
1479
1493
|
Bug fixes:
|
|
1480
1494
|
|
|
@@ -1483,7 +1497,7 @@ Bug fixes:
|
|
|
1483
1497
|
:user:`deckar01` for the catch and patch.
|
|
1484
1498
|
|
|
1485
1499
|
2.15.2 (2018-05-10)
|
|
1486
|
-
|
|
1500
|
+
*******************
|
|
1487
1501
|
|
|
1488
1502
|
Bug fixes:
|
|
1489
1503
|
|
|
@@ -1498,7 +1512,7 @@ Bug fixes:
|
|
|
1498
1512
|
:user:`deckar01` for the fix.
|
|
1499
1513
|
|
|
1500
1514
|
2.15.1 (2018-04-25)
|
|
1501
|
-
|
|
1515
|
+
*******************
|
|
1502
1516
|
|
|
1503
1517
|
Bug fixes:
|
|
1504
1518
|
|
|
@@ -1507,7 +1521,7 @@ Bug fixes:
|
|
|
1507
1521
|
:user:`lafrech` for the fix.
|
|
1508
1522
|
|
|
1509
1523
|
2.15.0 (2017-12-02)
|
|
1510
|
-
|
|
1524
|
+
*******************
|
|
1511
1525
|
|
|
1512
1526
|
Bug fixes:
|
|
1513
1527
|
|
|
@@ -1516,7 +1530,7 @@ Bug fixes:
|
|
|
1516
1530
|
suggestion and thanks :user:`4lissonsilveira` for the PR.
|
|
1517
1531
|
|
|
1518
1532
|
2.14.0 (2017-10-23)
|
|
1519
|
-
|
|
1533
|
+
*******************
|
|
1520
1534
|
|
|
1521
1535
|
Features:
|
|
1522
1536
|
|
|
@@ -1524,7 +1538,7 @@ Features:
|
|
|
1524
1538
|
Thanks :user:`sduthil` for the suggestion and the PR.
|
|
1525
1539
|
|
|
1526
1540
|
2.13.6 (2017-08-16)
|
|
1527
|
-
|
|
1541
|
+
*******************
|
|
1528
1542
|
|
|
1529
1543
|
Bug fixes:
|
|
1530
1544
|
|
|
@@ -1532,28 +1546,28 @@ Bug fixes:
|
|
|
1532
1546
|
(:issue:`669`). Thanks :user:`MichalKononenko`.
|
|
1533
1547
|
|
|
1534
1548
|
2.13.5 (2017-04-12)
|
|
1535
|
-
|
|
1549
|
+
*******************
|
|
1536
1550
|
|
|
1537
1551
|
Bug fixes:
|
|
1538
1552
|
|
|
1539
1553
|
- Fix validation of iso8601-formatted dates (:issue:`556`). Thanks :user:`lafrech` for reporting.
|
|
1540
1554
|
|
|
1541
1555
|
2.13.4 (2017-03-19)
|
|
1542
|
-
|
|
1556
|
+
*******************
|
|
1543
1557
|
|
|
1544
1558
|
Bug fixes:
|
|
1545
1559
|
|
|
1546
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.
|
|
1547
1561
|
|
|
1548
1562
|
2.13.3 (2017-03-11)
|
|
1549
|
-
|
|
1563
|
+
*******************
|
|
1550
1564
|
|
|
1551
1565
|
Bug fixes:
|
|
1552
1566
|
|
|
1553
1567
|
- Restore backwards-compatibility of ``SchemaOpts`` constructor (:issue:`597`). Thanks :user:`Wesmania` for reporting and thanks :user:`frol` for the fix.
|
|
1554
1568
|
|
|
1555
1569
|
2.13.2 (2017-03-10)
|
|
1556
|
-
|
|
1570
|
+
*******************
|
|
1557
1571
|
|
|
1558
1572
|
Bug fixes:
|
|
1559
1573
|
|
|
@@ -1564,35 +1578,35 @@ Support:
|
|
|
1564
1578
|
- Update contributing docs.
|
|
1565
1579
|
|
|
1566
1580
|
2.13.1 (2017-03-04)
|
|
1567
|
-
|
|
1581
|
+
*******************
|
|
1568
1582
|
|
|
1569
1583
|
Bug fixes:
|
|
1570
1584
|
|
|
1571
1585
|
- Fix sorting on Schema subclasses when ``ordered=True`` (:issue:`592`). Thanks :user:`frol`.
|
|
1572
1586
|
|
|
1573
1587
|
2.13.0 (2017-02-18)
|
|
1574
|
-
|
|
1588
|
+
*******************
|
|
1575
1589
|
|
|
1576
1590
|
Features:
|
|
1577
1591
|
|
|
1578
1592
|
- Minor optimizations (:issue:`577`). Thanks :user:`rowillia` for the PR.
|
|
1579
1593
|
|
|
1580
1594
|
2.12.2 (2017-01-30)
|
|
1581
|
-
|
|
1595
|
+
*******************
|
|
1582
1596
|
|
|
1583
1597
|
Bug fixes:
|
|
1584
1598
|
|
|
1585
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.
|
|
1586
1600
|
|
|
1587
1601
|
2.12.1 (2017-01-23)
|
|
1588
|
-
|
|
1602
|
+
*******************
|
|
1589
1603
|
|
|
1590
1604
|
Bug fixes:
|
|
1591
1605
|
|
|
1592
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.
|
|
1593
1607
|
|
|
1594
1608
|
2.12.0 (2017-01-22)
|
|
1595
|
-
|
|
1609
|
+
*******************
|
|
1596
1610
|
|
|
1597
1611
|
Features:
|
|
1598
1612
|
|
|
@@ -1600,14 +1614,14 @@ Features:
|
|
|
1600
1614
|
- Add ``schemes`` parameter to ``fields.URL`` (:issue:`574`). Thanks :user:`mosquito` for the PR.
|
|
1601
1615
|
|
|
1602
1616
|
2.11.1 (2017-01-08)
|
|
1603
|
-
|
|
1617
|
+
*******************
|
|
1604
1618
|
|
|
1605
1619
|
Bug fixes:
|
|
1606
1620
|
|
|
1607
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.
|
|
1608
1622
|
|
|
1609
1623
|
2.11.0 (2017-01-08)
|
|
1610
|
-
|
|
1624
|
+
*******************
|
|
1611
1625
|
|
|
1612
1626
|
Features:
|
|
1613
1627
|
|
|
@@ -1619,7 +1633,7 @@ Support:
|
|
|
1619
1633
|
- Test against Python 3.6.
|
|
1620
1634
|
|
|
1621
1635
|
2.10.5 (2016-12-19)
|
|
1622
|
-
|
|
1636
|
+
*******************
|
|
1623
1637
|
|
|
1624
1638
|
Bug fixes:
|
|
1625
1639
|
|
|
@@ -1630,21 +1644,21 @@ Support:
|
|
|
1630
1644
|
- Tests: Fix redefinition of ``test_utils.test_get_value()`` (:issue:`562`). Thanks :user:`nelfin`.
|
|
1631
1645
|
|
|
1632
1646
|
2.10.4 (2016-11-18)
|
|
1633
|
-
|
|
1647
|
+
*******************
|
|
1634
1648
|
|
|
1635
1649
|
Bug fixes:
|
|
1636
1650
|
|
|
1637
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.
|
|
1638
1652
|
|
|
1639
1653
|
2.10.3 (2016-10-02)
|
|
1640
|
-
|
|
1654
|
+
*******************
|
|
1641
1655
|
|
|
1642
1656
|
Bug fixes:
|
|
1643
1657
|
|
|
1644
1658
|
- Fix behavior for serializing missing data with ``Number`` fields when ``as_string=True`` is passed (:issue:`538`). Thanks :user:`jessemyers` for reporting.
|
|
1645
1659
|
|
|
1646
1660
|
2.10.2 (2016-09-25)
|
|
1647
|
-
|
|
1661
|
+
*******************
|
|
1648
1662
|
|
|
1649
1663
|
Bug fixes:
|
|
1650
1664
|
|
|
@@ -1652,7 +1666,7 @@ Bug fixes:
|
|
|
1652
1666
|
- Fix UUID validation on serialization and deserialization of ``uuid.UUID`` objects (:issue:`532`). Thanks :user:`pauljz`.
|
|
1653
1667
|
|
|
1654
1668
|
2.10.1 (2016-09-14)
|
|
1655
|
-
|
|
1669
|
+
*******************
|
|
1656
1670
|
|
|
1657
1671
|
Bug fixes:
|
|
1658
1672
|
|
|
@@ -1661,14 +1675,14 @@ Bug fixes:
|
|
|
1661
1675
|
- Fix validation of nested fields on dumping (:issue:`528`). Thanks again :user:`tvuotila`.
|
|
1662
1676
|
|
|
1663
1677
|
2.10.0 (2016-09-05)
|
|
1664
|
-
|
|
1678
|
+
*******************
|
|
1665
1679
|
|
|
1666
1680
|
Features:
|
|
1667
1681
|
|
|
1668
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.
|
|
1669
1683
|
|
|
1670
1684
|
2.9.1 (2016-07-21)
|
|
1671
|
-
|
|
1685
|
+
******************
|
|
1672
1686
|
|
|
1673
1687
|
Bug fixes:
|
|
1674
1688
|
|
|
@@ -1676,12 +1690,12 @@ Bug fixes:
|
|
|
1676
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.
|
|
1677
1691
|
|
|
1678
1692
|
2.9.0 (2016-07-06)
|
|
1679
|
-
|
|
1693
|
+
******************
|
|
1680
1694
|
|
|
1681
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.
|
|
1682
1696
|
|
|
1683
1697
|
2.8.0 (2016-06-23)
|
|
1684
|
-
|
|
1698
|
+
******************
|
|
1685
1699
|
|
|
1686
1700
|
Features:
|
|
1687
1701
|
|
|
@@ -1692,12 +1706,12 @@ Support:
|
|
|
1692
1706
|
- Update tasks.py for compatibility with invoke>=0.13.0. Thanks :user:`deckar01`.
|
|
1693
1707
|
|
|
1694
1708
|
2.7.3 (2016-05-05)
|
|
1695
|
-
|
|
1709
|
+
******************
|
|
1696
1710
|
|
|
1697
1711
|
- Make ``field.parent`` and ``field.name`` accessible to ``on_bind_field`` (:issue:`449`). Thanks :user:`immerrr`.
|
|
1698
1712
|
|
|
1699
1713
|
2.7.2 (2016-04-27)
|
|
1700
|
-
|
|
1714
|
+
******************
|
|
1701
1715
|
|
|
1702
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`.
|
|
1703
1717
|
|
|
@@ -1706,7 +1720,7 @@ Support:
|
|
|
1706
1720
|
- Update license entry in setup.py to fix RPM distributions (:issue:`433`). Thanks :user:`rrajaravi` for reporting.
|
|
1707
1721
|
|
|
1708
1722
|
2.7.1 (2016-04-08)
|
|
1709
|
-
|
|
1723
|
+
******************
|
|
1710
1724
|
|
|
1711
1725
|
Bug fixes:
|
|
1712
1726
|
|
|
@@ -1714,7 +1728,7 @@ Bug fixes:
|
|
|
1714
1728
|
constructed dynamically using the ``type`` constructor without getting added to the class registry (which is useful for saving memory).
|
|
1715
1729
|
|
|
1716
1730
|
2.7.0 (2016-04-04)
|
|
1717
|
-
|
|
1731
|
+
******************
|
|
1718
1732
|
|
|
1719
1733
|
Features:
|
|
1720
1734
|
|
|
@@ -1726,14 +1740,14 @@ Other changes:
|
|
|
1726
1740
|
- Remove unused attributes ``root``, ``parent``, and ``name`` from ``SchemaABC`` (:issue:`410`). Thanks :user:`Tim-Erwin` for the PR.
|
|
1727
1741
|
|
|
1728
1742
|
2.6.1 (2016-03-17)
|
|
1729
|
-
|
|
1743
|
+
******************
|
|
1730
1744
|
|
|
1731
1745
|
Bug fixes:
|
|
1732
1746
|
|
|
1733
1747
|
- Respect ``load_from`` when reporting errors for nested required fields (:issue:`414`). Thanks :user:`yumike`.
|
|
1734
1748
|
|
|
1735
1749
|
2.6.0 (2016-02-01)
|
|
1736
|
-
|
|
1750
|
+
******************
|
|
1737
1751
|
|
|
1738
1752
|
Features:
|
|
1739
1753
|
|
|
@@ -1742,7 +1756,7 @@ Features:
|
|
|
1742
1756
|
- Collect all validation errors for each item deserialized by a ``List`` field (:issue:`345`). Thanks :user:`maximkulkin` for the report and the PR.
|
|
1743
1757
|
|
|
1744
1758
|
2.5.0 (2016-01-16)
|
|
1745
|
-
|
|
1759
|
+
******************
|
|
1746
1760
|
|
|
1747
1761
|
Features:
|
|
1748
1762
|
|
|
@@ -1750,21 +1764,21 @@ Features:
|
|
|
1750
1764
|
- Add ``schemes`` argument to ``validate.URL`` (:issue:`356`).
|
|
1751
1765
|
|
|
1752
1766
|
2.4.2 (2015-12-08)
|
|
1753
|
-
|
|
1767
|
+
******************
|
|
1754
1768
|
|
|
1755
1769
|
Bug fixes:
|
|
1756
1770
|
|
|
1757
1771
|
- Prevent duplicate error messages when validating nested collections (:issue:`360`). Thanks :user:`alexmorken` for the catch and patch.
|
|
1758
1772
|
|
|
1759
1773
|
2.4.1 (2015-12-07)
|
|
1760
|
-
|
|
1774
|
+
******************
|
|
1761
1775
|
|
|
1762
1776
|
Bug fixes:
|
|
1763
1777
|
|
|
1764
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.
|
|
1765
1779
|
|
|
1766
1780
|
2.4.0 (2015-12-06)
|
|
1767
|
-
|
|
1781
|
+
******************
|
|
1768
1782
|
|
|
1769
1783
|
Features:
|
|
1770
1784
|
|
|
@@ -1776,7 +1790,7 @@ Bug fixes:
|
|
|
1776
1790
|
- Fix ``@validates`` behavior when used when ``attribute`` is specified and ``strict=True`` (:issue:`350`). Thanks :user:`density` for reporting.
|
|
1777
1791
|
|
|
1778
1792
|
2.3.0 (2015-11-22)
|
|
1779
|
-
|
|
1793
|
+
******************
|
|
1780
1794
|
|
|
1781
1795
|
Features:
|
|
1782
1796
|
|
|
@@ -1793,14 +1807,14 @@ Deprecation/Removal:
|
|
|
1793
1807
|
``func`` and ``method_name`` are still present for backwards-compatibility, but they will both be removed in marshmallow 3.0.
|
|
1794
1808
|
|
|
1795
1809
|
2.2.1 (2015-11-11)
|
|
1796
|
-
|
|
1810
|
+
******************
|
|
1797
1811
|
|
|
1798
1812
|
Bug fixes:
|
|
1799
1813
|
|
|
1800
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.
|
|
1801
1815
|
|
|
1802
1816
|
2.2.0 (2015-10-26)
|
|
1803
|
-
|
|
1817
|
+
******************
|
|
1804
1818
|
|
|
1805
1819
|
Features:
|
|
1806
1820
|
|
|
@@ -1817,14 +1831,14 @@ Support:
|
|
|
1817
1831
|
- Add "Customizing Error Messages" section to custom fields docs.
|
|
1818
1832
|
|
|
1819
1833
|
2.1.3 (2015-10-18)
|
|
1820
|
-
|
|
1834
|
+
******************
|
|
1821
1835
|
|
|
1822
1836
|
Bug fixes:
|
|
1823
1837
|
|
|
1824
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.
|
|
1825
1839
|
|
|
1826
1840
|
2.1.2 (2015-10-14)
|
|
1827
|
-
|
|
1841
|
+
******************
|
|
1828
1842
|
|
|
1829
1843
|
Bug fixes:
|
|
1830
1844
|
|
|
@@ -1832,14 +1846,14 @@ Bug fixes:
|
|
|
1832
1846
|
- Fix usage of ``@validates`` with a nested field when ``many=True`` (:issue:`298`). Thanks :user:`nelfin` for the catch and patch.
|
|
1833
1847
|
|
|
1834
1848
|
2.1.1 (2015-10-07)
|
|
1835
|
-
|
|
1849
|
+
******************
|
|
1836
1850
|
|
|
1837
1851
|
Bug fixes:
|
|
1838
1852
|
|
|
1839
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.
|
|
1840
1854
|
|
|
1841
1855
|
2.1.0 (2015-09-30)
|
|
1842
|
-
|
|
1856
|
+
******************
|
|
1843
1857
|
|
|
1844
1858
|
Features:
|
|
1845
1859
|
|
|
@@ -1861,7 +1875,7 @@ Other changes:
|
|
|
1861
1875
|
- A ``List's`` inner field will have the list field set as its parent. Use ``root`` to access the ``Schema``.
|
|
1862
1876
|
|
|
1863
1877
|
2.0.0 (2015-09-25)
|
|
1864
|
-
|
|
1878
|
+
******************
|
|
1865
1879
|
|
|
1866
1880
|
Features:
|
|
1867
1881
|
|
|
@@ -1890,7 +1904,7 @@ Changes from 2.0.0rc2:
|
|
|
1890
1904
|
- Bug fix: Prevent infinite loop when validating a required, self-nested field. Thanks :user:`Bachmann1234` for the fix.
|
|
1891
1905
|
|
|
1892
1906
|
2.0.0rc2 (2015-09-16)
|
|
1893
|
-
|
|
1907
|
+
*********************
|
|
1894
1908
|
|
|
1895
1909
|
Deprecation/Removals:
|
|
1896
1910
|
|
|
@@ -1908,7 +1922,7 @@ Changes from 2.0.0rc1:
|
|
|
1908
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.
|
|
1909
1923
|
|
|
1910
1924
|
2.0.0rc1 (2015-09-13)
|
|
1911
|
-
|
|
1925
|
+
*********************
|
|
1912
1926
|
|
|
1913
1927
|
Features:
|
|
1914
1928
|
|
|
@@ -1936,7 +1950,7 @@ Support:
|
|
|
1936
1950
|
- Test against Python 3.5.
|
|
1937
1951
|
|
|
1938
1952
|
2.0.0b5 (2015-08-23)
|
|
1939
|
-
|
|
1953
|
+
********************
|
|
1940
1954
|
|
|
1941
1955
|
Features:
|
|
1942
1956
|
|
|
@@ -1957,7 +1971,7 @@ Other changes:
|
|
|
1957
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.
|
|
1958
1972
|
|
|
1959
1973
|
2.0.0b4 (2015-07-07)
|
|
1960
|
-
|
|
1974
|
+
********************
|
|
1961
1975
|
|
|
1962
1976
|
Features:
|
|
1963
1977
|
|
|
@@ -1977,7 +1991,7 @@ Changes from 2.0.0b3:
|
|
|
1977
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`.
|
|
1978
1992
|
|
|
1979
1993
|
2.0.0b3 (2015-06-14)
|
|
1980
|
-
|
|
1994
|
+
*********************
|
|
1981
1995
|
|
|
1982
1996
|
Features:
|
|
1983
1997
|
|
|
@@ -2014,7 +2028,7 @@ Changes from 2.0.0b2:
|
|
|
2014
2028
|
- Implicit passing of original, raw data to Schema validators is removed. Use ``@marshmallow.validates_schema(pass_original=True)`` instead.
|
|
2015
2029
|
|
|
2016
2030
|
2.0.0b2 (2015-05-03)
|
|
2017
|
-
|
|
2031
|
+
********************
|
|
2018
2032
|
|
|
2019
2033
|
Features:
|
|
2020
2034
|
|
|
@@ -2028,7 +2042,7 @@ Changes from 2.0.0b1:
|
|
|
2028
2042
|
Includes bug fixes from 1.2.6.
|
|
2029
2043
|
|
|
2030
2044
|
2.0.0b1 (2015-04-26)
|
|
2031
|
-
|
|
2045
|
+
********************
|
|
2032
2046
|
|
|
2033
2047
|
Features:
|
|
2034
2048
|
|
|
@@ -2045,7 +2059,7 @@ Changes from 2.0.0a1:
|
|
|
2045
2059
|
- Fix serialization of `None` for ``fields.Email``.
|
|
2046
2060
|
|
|
2047
2061
|
2.0.0a1 (2015-04-25)
|
|
2048
|
-
|
|
2062
|
+
********************
|
|
2049
2063
|
|
|
2050
2064
|
Features:
|
|
2051
2065
|
|
|
@@ -2084,7 +2098,7 @@ Other changes:
|
|
|
2084
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.
|
|
2085
2099
|
|
|
2086
2100
|
1.2.6 (2015-05-03)
|
|
2087
|
-
|
|
2101
|
+
******************
|
|
2088
2102
|
|
|
2089
2103
|
Bug fixes:
|
|
2090
2104
|
|
|
@@ -2092,7 +2106,7 @@ Bug fixes:
|
|
|
2092
2106
|
- Allow error message for ``fields.Boolean`` to be customized with the ``error`` parameter (like other fields).
|
|
2093
2107
|
|
|
2094
2108
|
1.2.5 (2015-04-25)
|
|
2095
|
-
|
|
2109
|
+
******************
|
|
2096
2110
|
|
|
2097
2111
|
Bug fixes:
|
|
2098
2112
|
|
|
@@ -2103,7 +2117,7 @@ Support:
|
|
|
2103
2117
|
- Fix pep8 dev dependency for flake8. Thanks :user:`taion`.
|
|
2104
2118
|
|
|
2105
2119
|
1.2.4 (2015-03-22)
|
|
2106
|
-
|
|
2120
|
+
******************
|
|
2107
2121
|
|
|
2108
2122
|
Bug fixes:
|
|
2109
2123
|
|
|
@@ -2118,14 +2132,14 @@ Support:
|
|
|
2118
2132
|
- Correction to ``_postprocess`` method in docs. Thanks again :user:`taion`.
|
|
2119
2133
|
|
|
2120
2134
|
1.2.3 (2015-03-15)
|
|
2121
|
-
|
|
2135
|
+
******************
|
|
2122
2136
|
|
|
2123
2137
|
Bug fixes:
|
|
2124
2138
|
|
|
2125
2139
|
- Fix inheritance of ``ordered`` class Meta option (:issue:`162`). Thanks :user:`stephenfin` for reporting.
|
|
2126
2140
|
|
|
2127
2141
|
1.2.2 (2015-02-23)
|
|
2128
|
-
|
|
2142
|
+
******************
|
|
2129
2143
|
|
|
2130
2144
|
Bug fixes:
|
|
2131
2145
|
|
|
@@ -2133,7 +2147,7 @@ Bug fixes:
|
|
|
2133
2147
|
- Fix bug that could cause an ``AttributeError`` when nesting schemas with schema-level validators (:issue:`144`). Thanks :user:`vovanbo` for reporting.
|
|
2134
2148
|
|
|
2135
2149
|
1.2.1 (2015-01-11)
|
|
2136
|
-
|
|
2150
|
+
******************
|
|
2137
2151
|
|
|
2138
2152
|
Bug fixes:
|
|
2139
2153
|
|
|
@@ -2141,7 +2155,7 @@ Bug fixes:
|
|
|
2141
2155
|
- Deserializing `None` returns `None` rather than raising an ``AttributeError`` (:issue:`123`). Thanks :user:`RealSalmon` for the catch and patch.
|
|
2142
2156
|
|
|
2143
2157
|
1.2.0 (2014-12-22)
|
|
2144
|
-
|
|
2158
|
+
******************
|
|
2145
2159
|
|
|
2146
2160
|
Features:
|
|
2147
2161
|
|
|
@@ -2176,7 +2190,7 @@ Support:
|
|
|
2176
2190
|
|
|
2177
2191
|
|
|
2178
2192
|
1.1.0 (2014-12-02)
|
|
2179
|
-
|
|
2193
|
+
******************
|
|
2180
2194
|
|
|
2181
2195
|
Features:
|
|
2182
2196
|
|
|
@@ -2198,14 +2212,14 @@ Support:
|
|
|
2198
2212
|
- Update Flask and Peewee examples.
|
|
2199
2213
|
|
|
2200
2214
|
1.0.1 (2014-11-18)
|
|
2201
|
-
|
|
2215
|
+
******************
|
|
2202
2216
|
|
|
2203
2217
|
Hotfix release.
|
|
2204
2218
|
|
|
2205
2219
|
- Ensure that errors dictionary is correctly cleared on each call to ``Schema.dump`` and ``Schema.load``.
|
|
2206
2220
|
|
|
2207
2221
|
1.0.0 (2014-11-16)
|
|
2208
|
-
|
|
2222
|
+
******************
|
|
2209
2223
|
|
|
2210
2224
|
Adds new features, speed improvements, better error handling, and updated documentation.
|
|
2211
2225
|
|
|
@@ -2224,7 +2238,7 @@ Adds new features, speed improvements, better error handling, and updated docume
|
|
|
2224
2238
|
- Updated docs.
|
|
2225
2239
|
|
|
2226
2240
|
1.0.0-a (2014-10-19)
|
|
2227
|
-
|
|
2241
|
+
********************
|
|
2228
2242
|
|
|
2229
2243
|
Major reworking and simplification of the public API, centered around support for deserialization, improved validation, and a less stateful ``Schema`` class.
|
|
2230
2244
|
|
|
@@ -2254,7 +2268,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2254
2268
|
* Add ``Str``, ``Bool``, and ``Int`` field class aliases.
|
|
2255
2269
|
|
|
2256
2270
|
0.7.0 (2014-06-22)
|
|
2257
|
-
|
|
2271
|
+
******************
|
|
2258
2272
|
|
|
2259
2273
|
* Add ``Serializer.error_handler`` decorator that registers a custom error handler.
|
|
2260
2274
|
* Add ``Serializer.data_handler`` decorator that registers data post-processing callbacks.
|
|
@@ -2265,14 +2279,14 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2265
2279
|
* ``validated`` decorator should only wrap a ``Field`` class's ``output`` method.
|
|
2266
2280
|
|
|
2267
2281
|
0.6.0 (2014-06-03)
|
|
2268
|
-
|
|
2282
|
+
******************
|
|
2269
2283
|
|
|
2270
2284
|
* Fix bug in serializing keyed tuple types, e.g. ``namedtuple`` and ``KeyedTuple``.
|
|
2271
2285
|
* Nested field can load a serializer by its class name as a string. This makes it easier to implement 2-way nesting.
|
|
2272
2286
|
* Make ``Serializer.data`` override-able.
|
|
2273
2287
|
|
|
2274
2288
|
0.5.5 (2014-05-02)
|
|
2275
|
-
|
|
2289
|
+
******************
|
|
2276
2290
|
|
|
2277
2291
|
* Add ``Serializer.factory`` for creating a factory function that returns a Serializer instance.
|
|
2278
2292
|
* ``MarshallingError`` stores its underlying exception as an instance variable. This is useful for inspecting errors.
|
|
@@ -2282,14 +2296,14 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2282
2296
|
* Add ``Serializer.process_data`` hook that allows subclasses to manipulate the final output data.
|
|
2283
2297
|
|
|
2284
2298
|
0.5.4 (2014-04-17)
|
|
2285
|
-
|
|
2299
|
+
******************
|
|
2286
2300
|
|
|
2287
2301
|
* Add ``json_module`` class Meta option.
|
|
2288
2302
|
* Add ``required`` option to fields . Thanks :user:`DeaconDesperado`.
|
|
2289
2303
|
* Tested on Python 3.4 and PyPy.
|
|
2290
2304
|
|
|
2291
2305
|
0.5.3 (2014-03-02)
|
|
2292
|
-
|
|
2306
|
+
******************
|
|
2293
2307
|
|
|
2294
2308
|
* Fix ``Integer`` field default. It is now ``0`` instead of ``0.0``. Thanks :user:`kalasjocke`.
|
|
2295
2309
|
* Add ``context`` param to ``Serializer``. Allows accessing arbitrary objects in ``Function`` and ``Method`` fields.
|
|
@@ -2297,19 +2311,19 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2297
2311
|
|
|
2298
2312
|
|
|
2299
2313
|
0.5.2 (2014-02-10)
|
|
2300
|
-
|
|
2314
|
+
******************
|
|
2301
2315
|
|
|
2302
2316
|
* Enable custom field validation via the ``validate`` parameter.
|
|
2303
2317
|
* Add ``utils.from_rfc`` for parsing RFC datestring to Python datetime object.
|
|
2304
2318
|
|
|
2305
2319
|
0.5.1 (2014-02-02)
|
|
2306
|
-
|
|
2320
|
+
******************
|
|
2307
2321
|
|
|
2308
2322
|
* Avoid unnecessary attribute access in ``utils.to_marshallable_type`` for improved performance.
|
|
2309
2323
|
* Fix RFC822 formatting for localized datetimes.
|
|
2310
2324
|
|
|
2311
2325
|
0.5.0 (2013-12-29)
|
|
2312
|
-
|
|
2326
|
+
******************
|
|
2313
2327
|
|
|
2314
2328
|
* Can customize validation error messages by passing the ``error`` parameter to a field.
|
|
2315
2329
|
* *Backwards-incompatible*: Rename ``fields.NumberField`` -> ``fields.Number``.
|
|
@@ -2320,7 +2334,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2320
2334
|
* Improved performance and stability.
|
|
2321
2335
|
|
|
2322
2336
|
0.4.1 (2013-12-01)
|
|
2323
|
-
|
|
2337
|
+
******************
|
|
2324
2338
|
|
|
2325
2339
|
* An object's ``__marshallable__`` method, if defined, takes precedence over ``__getitem__``.
|
|
2326
2340
|
* Generator expressions can be passed to a serializer.
|
|
@@ -2328,7 +2342,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2328
2342
|
* Other minor bugfixes.
|
|
2329
2343
|
|
|
2330
2344
|
0.4.0 (2013-11-24)
|
|
2331
|
-
|
|
2345
|
+
******************
|
|
2332
2346
|
|
|
2333
2347
|
* Add ``additional`` `class Meta` option.
|
|
2334
2348
|
* Add ``dateformat`` `class Meta` option.
|
|
@@ -2344,7 +2358,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2344
2358
|
* Fix bug with passing ``None`` to a serializer.
|
|
2345
2359
|
|
|
2346
2360
|
0.3.1 (2013-11-16)
|
|
2347
|
-
|
|
2361
|
+
******************
|
|
2348
2362
|
|
|
2349
2363
|
* Fix bug with serializing dictionaries.
|
|
2350
2364
|
* Fix error raised when serializing empty list.
|
|
@@ -2353,7 +2367,7 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2353
2367
|
* Updated Flask + SQLA example in docs.
|
|
2354
2368
|
|
|
2355
2369
|
0.3.0 (2013-11-14)
|
|
2356
|
-
|
|
2370
|
+
******************
|
|
2357
2371
|
|
|
2358
2372
|
* Declaring Serializers just got easier. The ``class Meta`` paradigm allows you to specify fields more concisely. Can specify ``fields`` and ``exclude`` options.
|
|
2359
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.
|
|
@@ -2362,14 +2376,14 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2362
2376
|
* Rename ``marshmallow.core`` -> ``marshmallow.serializer``.
|
|
2363
2377
|
|
|
2364
2378
|
0.2.1 (2013-11-12)
|
|
2365
|
-
|
|
2379
|
+
******************
|
|
2366
2380
|
|
|
2367
2381
|
* Allow prefixing field names.
|
|
2368
2382
|
* Fix storing errors on Nested Serializers.
|
|
2369
2383
|
* Python 2.6 support.
|
|
2370
2384
|
|
|
2371
2385
|
0.2.0 (2013-11-11)
|
|
2372
|
-
|
|
2386
|
+
******************
|
|
2373
2387
|
|
|
2374
2388
|
* Field-level validation.
|
|
2375
2389
|
* Add ``fields.Method``.
|
|
@@ -2378,6 +2392,6 @@ Major reworking and simplification of the public API, centered around support fo
|
|
|
2378
2392
|
* Add ``relative`` parameter to ``fields.Url`` that allows for relative URLs.
|
|
2379
2393
|
|
|
2380
2394
|
0.1.0 (2013-11-10)
|
|
2381
|
-
|
|
2395
|
+
******************
|
|
2382
2396
|
|
|
2383
2397
|
* First release.
|