Skip to content
Newer
Older
100644 150 lines (95 sloc) 4.1 KB
35fb6f5 @mcdonc Add partial work towards schema / validation / serialization / deseri…
mcdonc authored Mar 11, 2010
1 Changes
2 =======
3
4eefbb5 @mcdonc - The default ``encoding`` parameter value to the ``colander.String``
mcdonc authored May 8, 2010
4 Next release
5 ------------
6
7 - The default ``encoding`` parameter value to the ``colander.String``
8 type is still ``None``, however its meaning has changed. An
9 encoding of ``None`` now means that no special encoding and decoding
10 of Unicode values is done by the String type. This differs from the
11 previous behavior, where ``None`` implied that the encoding was
12 ``utf-8``. Pass the encoding as ``utf-8`` specifically to get the
13 older behavior back.
14
f61417d @mcdonc Prep for 0.6.1.
mcdonc authored May 4, 2010
15 0.6.1 (2010-05-04)
16 ------------------
44adcc5 @mcdonc - Add a Decimal type (decimal floating point).
mcdonc authored May 4, 2010
17
f61417d @mcdonc Prep for 0.6.1.
mcdonc authored May 4, 2010
18 - Add a Decimal type (number type which uses ``decimal.Decimal`` as a
19 deserialization target).
44adcc5 @mcdonc - Add a Decimal type (decimal floating point).
mcdonc authored May 4, 2010
20
d3bb804 @mcdonc - Add minimal documentation about the composition of a
mcdonc authored May 2, 2010
21 0.6.0 (2010-05-02)
22 ------------------
257b3b7 @mcdonc
mcdonc authored Apr 26, 2010
23
605f148 @mcdonc - (Hopefully) fix intermittent datetime-granularity-related test
mcdonc authored Apr 26, 2010
24 - (Hopefully) fix intermittent datetime-granularity-related test
25 failures.
26
257b3b7 @mcdonc
mcdonc authored Apr 26, 2010
27 - Internationalized error messages. This required some changes to
28 error message formatting, which may impact you if you were feeding
29 colander an error message template.
30
57cdb85 @mcdonc tweak
mcdonc authored May 2, 2010
31 - New project dependency: ``translationstring`` package for
32 internationalization.
d3bb804 @mcdonc - Add minimal documentation about the composition of a
mcdonc authored May 2, 2010
33
7ac04ee @mcdonc - New argument to ``colander.String`` constructor: ``allow_empty``.
mcdonc authored May 2, 2010
34 - New argument to ``colander.String`` constructor: ``allow_empty``.
35 This is a boolean representing whether an empty string is a valid
36 value during deserialization, defaulting to ``False``.
37
d3bb804 @mcdonc - Add minimal documentation about the composition of a
mcdonc authored May 2, 2010
38 - Add minimal documentation about the composition of a
39 colander.Invalid exception to the narrative docs.
40
41 - Add (existing, but previously non-API) colander.Invalid attributes
42 to its interface within the API documentation.
43
54aadac @mcdonc Prep for 0.5.2.
mcdonc authored Apr 9, 2010
44 0.5.2 (2010-04-09)
45 ------------------
782d899 @mcdonc - Fix bug in serialization of non-Unicode values in the ``String`` cl…
mcdonc authored Apr 2, 2010
46
40432fb @tseaver Typo.
tseaver authored Apr 5, 2010
47 - Add Email and Regex validators (courtesy Steve Howe).
68d4926 @mcdonc - Add Email and Regex validators.
mcdonc authored Apr 5, 2010
48
cb8b9d0 @mcdonc - Raise a ``colander.Invalid`` error if a ``colander.SequenceSchema``
mcdonc authored Apr 4, 2010
49 - Raise a ``colander.Invalid`` error if a ``colander.SequenceSchema``
50 is created with more than one member.
51
d4c62f4 @mcdonc - Add ``Function`` validator.
mcdonc authored Apr 4, 2010
52 - Add ``Function`` validator.
53
782d899 @mcdonc - Fix bug in serialization of non-Unicode values in the ``String`` cl…
mcdonc authored Apr 2, 2010
54 - Fix bug in serialization of non-Unicode values in the ``String`` class.
55
62f6252 @mcdonc - Get rid of ``pserialize`` in favor of making ``serialize`` always
mcdonc authored Apr 3, 2010
56 - Get rid of ``pserialize`` in favor of making ``serialize`` always
57 partially serialize.
58
59 - Get rid of ``pdeserialize``: it existed only for symmetry. We'll
60 add something like it back later if we need it.
61
2686ec7 @mcdonc Prep for 0.5.1.
mcdonc authored Apr 2, 2010
62 0.5.1 (2010-04-02)
63 ------------------
6b8c500 @mcdonc - The constructor arguments to a the ``colander.Schema`` class are now
mcdonc authored Apr 1, 2010
64
65 - The constructor arguments to a the ``colander.Schema`` class are now
66 sent to the constructed SchemaNode rather than to the type it represents.
67
6653b21 @mcdonc - Allow ``colander.Date`` and ``colander.DateTime`` invalid error
mcdonc authored Apr 1, 2010
68 - Allow ``colander.Date`` and ``colander.DateTime`` invalid error
69 messages to be customized.
70
507ac4b @mcdonc - Add a ``pos`` argument to the ``colander.Invalid.add`` method.
mcdonc authored Apr 1, 2010
71 - Add a ``pos`` argument to the ``colander.Invalid.add`` method.
72
73 - Add a ``__setitem__`` method to the ``colander.Invalid`` class.
74
e82bc8d @mcdonc Fix bug where pserialize was not serializing default properly.
mcdonc authored Apr 2, 2010
75 - The ``colander.Mapping`` constructor keyword argument
76 ``unknown_keys`` has been renamed to ``unknown``.
b97ef0f @mcdonc - New interface methods required by types and schema nodes:
mcdonc authored Apr 2, 2010
77
9275184 @mcdonc - Allow ``colander.Mapping`` type to accept a new constructor
mcdonc authored Apr 2, 2010
78 - Allow ``colander.Mapping`` type to accept a new constructor
b97ef0f @mcdonc - New interface methods required by types and schema nodes:
mcdonc authored Apr 2, 2010
79 argument: ``partial``.
9275184 @mcdonc - Allow ``colander.Mapping`` type to accept a new constructor
mcdonc authored Apr 2, 2010
80
b97ef0f @mcdonc - New interface methods required by types and schema nodes:
mcdonc authored Apr 2, 2010
81 - New interface methods required by types and schema nodes:
82 ``pserialize`` and ``pdeserialize``. These partially serialize or
83 partially deserialize a value (the definition of "partial" is up to
84 the type).
9275184 @mcdonc - Allow ``colander.Mapping`` type to accept a new constructor
mcdonc authored Apr 2, 2010
85
036a108 @mcdonc Prep for 0.5.
mcdonc authored Mar 31, 2010
86 0.5 (2010-03-31)
87 ----------------
88
89 - 0.4 was mispackaged (CHANGES.txt missing); no code changes from 0.4
90 however.
91
2f8c3e2 @mcdonc Prep for 0.4.
mcdonc authored Mar 31, 2010
92 0.4 (2010-03-30)
93 ----------------
27b12a1 @mcdonc - Add ``colander.DateTime`` and ``colander.Date`` data types.
mcdonc authored Mar 30, 2010
94
95 - Add ``colander.DateTime`` and ``colander.Date`` data types.
96
97 - Depend on the ``iso8601`` package for date support.
98
1754051 @mcdonc Prep for 0.3.
mcdonc authored Mar 29, 2010
99 0.3 (2010-03-29)
100 ----------------
de70340 @mcdonc - Add ``colander.Length`` validator class.
mcdonc authored Mar 24, 2010
101
cf3f90a @mcdonc - Subnodes of a schema node are now kept in the ``children`` attribute
mcdonc authored Mar 26, 2010
102 - Subnodes of a schema node are now kept in the ``children`` attribute
103 rather than the ``nodes`` attribute.
104
a9d94df @mcdonc - Add an ``sdefault`` property to ``colander.SchemaNode`` objects.
mcdonc authored Mar 26, 2010
105 - Add an ``sdefault`` property to ``colander.SchemaNode`` objects.
106
c326bb5 @mcdonc - Add a ``clone`` method to ``colander.SchemaNode`` objects.
mcdonc authored Mar 26, 2010
107 - Add a ``clone`` method to ``colander.SchemaNode`` objects.
108
a2a8b5a @mcdonc - Add a ``__str__`` method to the ``colander.Invalid`` exception that
mcdonc authored Mar 26, 2010
109 - Add a ``__str__`` method to the ``colander.Invalid`` exception that
110 prints an error summary.
111
822cbd1 @mcdonc - Various error message improvements.
mcdonc authored Mar 26, 2010
112 - Various error message improvements.
113
de70340 @mcdonc - Add ``colander.Length`` validator class.
mcdonc authored Mar 24, 2010
114 - Add ``colander.Length`` validator class.
115
380a88a @mcdonc Prep for 0.2
mcdonc authored Mar 23, 2010
116 0.2 (2010-03-23)
117 ----------------
118
119 - Make nodetype overrideable.
120
121 - Add __getitem__ to SchemaNode.
122
123 - Fix OneOf message.
124
125 - Capitalize node titles.
126
127 - Deal with empty strings in String, Boolean, and Float types.
128
129 - Introduce description; make title the same as name.
130
131 - Remove copy method from schemanode.
132
133 - Allow schema nodes to have titles.
134
135 - The term "structure" is too overloaded to use for schema purposes:
136 structure -> schema node.
137
138 - Make Sequence more like Tuple and Mapping (it uses a substructure
139 rather than a structure parameter to denote its type).
140
141 - Add __repr__ and copy methods to structure.
142
143 - Add accept_scalar flag to Sequence.
144
145
aecc474 @mcdonc Prep for 0.1.
mcdonc authored Mar 14, 2010
146 0.1 (2010-03-14)
35fb6f5 @mcdonc Add partial work towards schema / validation / serialization / deseri…
mcdonc authored Mar 11, 2010
147 ----------------
148
149 - Initial release.
Something went wrong with that request. Please try again.