Permalink
Newer
Older
100644 139 lines (86 sloc) 3.65 KB
May 4, 2010
4
0.6.1 (2010-05-04)
5
------------------
May 4, 2010
7
- Add a Decimal type (number type which uses ``decimal.Decimal`` as a
8
deserialization target).
10
0.6.0 (2010-05-02)
11
------------------
Apr 26, 2010
12
13
- (Hopefully) fix intermittent datetime-granularity-related test
14
failures.
15
Apr 26, 2010
16
- Internationalized error messages. This required some changes to
17
error message formatting, which may impact you if you were feeding
18
colander an error message template.
19
May 2, 2010
20
- New project dependency: ``translationstring`` package for
21
internationalization.
23
- New argument to ``colander.String`` constructor: ``allow_empty``.
24
This is a boolean representing whether an empty string is a valid
25
value during deserialization, defaulting to ``False``.
26
27
- Add minimal documentation about the composition of a
28
colander.Invalid exception to the narrative docs.
29
30
- Add (existing, but previously non-API) colander.Invalid attributes
31
to its interface within the API documentation.
32
Apr 9, 2010
33
0.5.2 (2010-04-09)
34
------------------
Apr 5, 2010
36
- Add Email and Regex validators (courtesy Steve Howe).
38
- Raise a ``colander.Invalid`` error if a ``colander.SequenceSchema``
39
is created with more than one member.
40
41
- Add ``Function`` validator.
42
43
- Fix bug in serialization of non-Unicode values in the ``String`` class.
44
45
- Get rid of ``pserialize`` in favor of making ``serialize`` always
46
partially serialize.
47
48
- Get rid of ``pdeserialize``: it existed only for symmetry. We'll
49
add something like it back later if we need it.
50
Apr 2, 2010
51
0.5.1 (2010-04-02)
52
------------------
53
54
- The constructor arguments to a the ``colander.Schema`` class are now
55
sent to the constructed SchemaNode rather than to the type it represents.
56
57
- Allow ``colander.Date`` and ``colander.DateTime`` invalid error
58
messages to be customized.
59
60
- Add a ``pos`` argument to the ``colander.Invalid.add`` method.
61
62
- Add a ``__setitem__`` method to the ``colander.Invalid`` class.
63
64
- The ``colander.Mapping`` constructor keyword argument
65
``unknown_keys`` has been renamed to ``unknown``.
67
- Allow ``colander.Mapping`` type to accept a new constructor
70
- New interface methods required by types and schema nodes:
71
``pserialize`` and ``pdeserialize``. These partially serialize or
72
partially deserialize a value (the definition of "partial" is up to
73
the type).
Mar 31, 2010
75
0.5 (2010-03-31)
76
----------------
77
78
- 0.4 was mispackaged (CHANGES.txt missing); no code changes from 0.4
79
however.
80
Mar 31, 2010
81
0.4 (2010-03-30)
82
----------------
83
84
- Add ``colander.DateTime`` and ``colander.Date`` data types.
85
86
- Depend on the ``iso8601`` package for date support.
87
Mar 29, 2010
88
0.3 (2010-03-29)
89
----------------
91
- Subnodes of a schema node are now kept in the ``children`` attribute
92
rather than the ``nodes`` attribute.
93
94
- Add an ``sdefault`` property to ``colander.SchemaNode`` objects.
95
96
- Add a ``clone`` method to ``colander.SchemaNode`` objects.
97
98
- Add a ``__str__`` method to the ``colander.Invalid`` exception that
99
prints an error summary.
100
101
- Various error message improvements.
102
103
- Add ``colander.Length`` validator class.
104
Mar 23, 2010
105
0.2 (2010-03-23)
106
----------------
107
108
- Make nodetype overrideable.
109
110
- Add __getitem__ to SchemaNode.
111
112
- Fix OneOf message.
113
114
- Capitalize node titles.
115
116
- Deal with empty strings in String, Boolean, and Float types.
117
118
- Introduce description; make title the same as name.
119
120
- Remove copy method from schemanode.
121
122
- Allow schema nodes to have titles.
123
124
- The term "structure" is too overloaded to use for schema purposes:
125
structure -> schema node.
126
127
- Make Sequence more like Tuple and Mapping (it uses a substructure
128
rather than a structure parameter to denote its type).
129
130
- Add __repr__ and copy methods to structure.
131
132
- Add accept_scalar flag to Sequence.
133
134
Mar 14, 2010
135
0.1 (2010-03-14)
136
----------------
137
138
- Initial release.