Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vegu committed Feb 21, 2024
1 parent 82b92a2 commit 0f198eb
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 114 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@

## Unreleased
### 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
Expand Down
229 changes: 115 additions & 114 deletions CHANGELOG.yaml
Original file line number Diff line number Diff line change
@@ -1,65 +1,78 @@
0.3.0:
Unreleased:
added:
- py2.7 support
- DirectoryAttribute
- generator.generate shortcut
- add `SettingsManager.set_list()`
- add `SettingsManager.try_include()`
- Python 3.10 support (#64)
- Python 3.11 support
- Python 3.12 support
changed:
- renamed `UnicodeAttribute` to `StringAttribute` that is now looking for either
string or unicode types during validation
- documentation moved to github pages
removed:
- Python 3.6 support
- Python 3.7 support
1.8.0:
added:
- inet type `IpNetwork`
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)'
0.4.0:
- collections.abc deprecation warning
1.7.1:
fixed:
- mkdocs no longer a requirement for a normal installation of the package
1.7.0:
added:
- '`ProxySchema`'
- '`apply_defaults` to apply schema defaults to a config dict'
- '`Config` object'
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`
- '`confu.util.SettingsManager`: scoped settings management with environment variable
override support'
1.6.1:
fixed:
- '`Schema.walk` now triggers the callback before entering subschemas'
0.5.0:
- version in pyproject.toml
1.6.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
- 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:
- 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.5.1:
fixed:
- '`apply_defaults` now properly works with nested items'
0.5.2:
- 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:
- recursive directory creation for Directory Attribute if `create` is specified
0.6.0:
- added missing docs files
1.4.0:
added:
- '`blank` argument for `Str` attribute - specifies whether value can be blank or
not, defaults to `False`'
- '`argparse_options`: `attributes` keyword argument added (#24)'
- '`click_options`: `attributes` keyword argument added (#24)'
changed:
- '`Directory` attribute will forfeit validation if `blank` is `True` and value
is `""`'
- use pymdgen for automatic api docs (#22)
1.3.0:
added:
- '`Attribute`: `cli` argument can now be a function (#21)'
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
0.7.0: {}
1.0.0: {}
- '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)
Expand All @@ -69,77 +82,65 @@
- code cleanup
- test coverage to 91%
- updated outdated requirements to prepare for 1.0.0 release
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.3:
fixed:
- Fixed issue where `List` holding `Schema` type items would lose items to validation
warnings (#18)
1.2.0:
added:
- '`defaults` parameter for argparse_options and click_options (#20)'
fixed:
- '`List` still requires name attribute on init (#17)'
1.3.0:
1.0.0: {}
0.7.0: {}
0.6.0:
added:
- '`Attribute`: `cli` argument can now be a function (#21)'
- '`blank` argument for `Str` attribute - specifies whether value can be blank or
not, defaults to `False`'
fixed:
- 'fix #23: better error handling in apply_defaults'
1.4.0:
added:
- '`argparse_options`: `attributes` keyword argument added (#24)'
- '`click_options`: `attributes` keyword argument added (#24)'
- 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:
- use pymdgen for automatic api docs (#22)
1.4.1:
- '`Directory` attribute will forfeit validation if `blank` is `True` and value
is `""`'
0.5.2:
fixed:
- added missing docs files
1.5.0:
- 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:
- Python 3.7 support (#29)
- '`Directory Attribute`: `require_exist` argument (#28)'
- '`File Attribute`: `require_exist` argument (#25)'
- '`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:
- 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.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.6.1:
fixed:
- version in pyproject.toml
1.7.0:
- 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:
- '`confu.util.SettingsManager`: scoped settings management with environment variable
override support'
1.7.1:
- '`ProxySchema`'
- '`apply_defaults` to apply schema defaults to a config dict'
- '`Config` object'
fixed:
- mkdocs no longer a requirement for a normal installation of the package
1.8.0:
- '`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:
- inet type `IpNetwork`
- py2.7 support
- DirectoryAttribute
- generator.generate shortcut
fixed:
- collections.abc deprecation warning
Unreleased:
added:
- add `SettingsManager.try_include()`
- Python 3.10 support (#64)
- '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:
- documentation moved to github pages
deprecated: []
fixed: []
removed:
- Python 3.6 support
security: []
- renamed `UnicodeAttribute` to `StringAttribute` that is now looking for either
string or unicode types during validation

0 comments on commit 0f198eb

Please sign in to comment.