-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCHANGELOG.yaml
153 lines (153 loc) · 4.75 KB
/
CHANGELOG.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
Unreleased:
added: []
fixed: []
changed: []
deprecated: []
removed: []
security: []
1.9.0:
added:
- add `SettingsManager.set_list()`
- add `SettingsManager.try_include()`
- Python 3.10 support (#64)
- Python 3.11 support
- Python 3.12 support
changed:
- documentation moved to github pages
removed:
- Python 3.6 support
- Python 3.7 support
1.8.0:
added:
- inet type `IpNetwork`
fixed:
- collections.abc deprecation warning
1.7.1:
fixed:
- mkdocs no longer a requirement for a normal installation of the package
1.7.0:
added:
- '`confu.util.SettingsManager`: scoped settings management with environment variable
override support'
1.6.1:
fixed:
- version in pyproject.toml
1.6.0:
added:
- Python 3.8 support (#33)
- Python 3.9 support (#41)
- '`apply_argparse`: helper function to update Config object with output from parser
(#31)'
- '`argparse_options`: `default_from_schema` keyword argument added (#31)'
- Poetry added for dependency management (#39)
removed:
- Python 3.5 support (#32)
- Python 3.4 support
- Python 2.7 support
1.5.0:
added:
- Python 3.7 support (#29)
- '`Directory Attribute`: `require_exist` argument (#28)'
- '`File Attribute`: `require_exist` argument (#25)'
changed:
- PyPI package renamed to `confu`
- '`Directory Attribute`: expand user and make path absolute during validation (#27)'
- '`File Attribute`: expand user and make path absolute during validation (#26)'
1.4.1:
fixed:
- added missing docs files
1.4.0:
added:
- '`argparse_options`: `attributes` keyword argument added (#24)'
- '`click_options`: `attributes` keyword argument added (#24)'
changed:
- use pymdgen for automatic api docs (#22)
1.3.0:
added:
- '`Attribute`: `cli` argument can now be a function (#21)'
fixed:
- 'fix #23: better error handling in apply_defaults'
1.2.0:
added:
- '`defaults` parameter for argparse_options and click_options (#20)'
fixed:
- '`List` still requires name attribute on init (#17)'
1.1.3:
fixed:
- Fixed issue where `List` holding `Schema` type items would lose items to validation
warnings (#18)
1.1.2:
fixed:
- some attribute validators still have issues with a None default (#16)
- For string attributes a blank default value should infer blank=True (#15)
1.1.0:
fixed:
- IPAddress field validation issue with blank=True (#13)
- Allow None as a default value (#14)
- Auto set attribute name if not specified (#12)
- added `valid` property to Config that will be true if config was validated without
- code cleanup
- test coverage to 91%
- updated outdated requirements to prepare for 1.0.0 release
1.0.0: {}
0.7.0: {}
0.6.0:
added:
- '`blank` argument for `Str` attribute - specifies whether value can be blank or
not, defaults to `False`'
fixed:
- proxy schema needs to be able to apply defaults (#10)
- issue where list validation would sometimes lead to duplicate items added to the
list
changed:
- '`Directory` attribute will forfeit validation if `blank` is `True` and value
is `""`'
0.5.2:
fixed:
- recursive directory creation for Directory Attribute if `create` is specified
0.5.1:
fixed:
- '`apply_defaults` now properly works with nested items'
0.5.0:
added:
- '`File` attribute'
- '`Email` attribute'
- '`Url` attribute'
- '`IpAddress` attribute'
- '`Schema` attribute now has an optional `item` argument that if set allows for
validation of dicts with arbitrary keys.'
- Support for ConfigParser instances in validate
changed:
- schema moved to directory so it's easier to group and add new attributes going
forward, imports remain unaffected.
- '`validate` will now pass **kwargs on to `Schema.validate`'
- Facsimile to Ctl
0.4.0:
added:
- '`ProxySchema`'
- '`apply_defaults` to apply schema defaults to a config dict'
- '`Config` object'
fixed:
- '`Schema.walk` now triggers the callback before entering subschemas'
changed:
- Schema now extends Attribute and is now working on instances rather than classmethod
based
- Attribute name is now optional when attribute is member of list
- renamed `ListAttribute` to `List`
- renamed `StringAttribute` to `Str`
- renamed `IntAttribute` to `Int`
- renamed `FloatAttribute` to `Float`
- renamed `BooleanAttribute` to `Bool`
- renamed `DirectoryAttribute` to `Directory`
0.3.0:
added:
- py2.7 support
- DirectoryAttribute
- generator.generate shortcut
fixed:
- 'validation: schema validation returning None value'
- 'validation: warnings raised with the wrong exception type'
- 'exceptions: can now have integers in config path (from list index for example)'
changed:
- renamed `UnicodeAttribute` to `StringAttribute` that is now looking for either
string or unicode types during validation