forked from pool/python-pykwalify
Accepting request 895898 from home:pgajdos:python
- version update to 1.8.0 General changes: - Dropped support for python 3.5 and below, including 2.7 - ruamel.yaml is now the default and preffered yaml parser - Dropped support for pyyaml parser - Update minimum version of ruamel.yaml to 0.16.0 - Update minimum version of python-dateutil to 2.8.0 CLI changes: - Added new cli argument "--encoding ENCODING" that specifies what encoding to open data and schema files with Changed behaviour: - Enum error strings now output all possible values for easier debugging - Removed deprecated imp module. Dynamic imports imght be affected New features: - Implement new type email that uses a relative simple regex to validate email addresses according to RFC 5322 Official Standard - Implement new type `url` that uses a relative simple regex to validate url:s according to RFC 1808 - Add new argument "schema_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation. - Add new argument "data_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation. Bug/issues fixed: - Fixed a regression from 1.6.1 where ruamel.yaml safe_load would break for all built-in custom python tags. All normal python tags should now be possible to use again. - Fixed an issue with regex values that was not converted to str() before regex mapping was attempted. OBS-URL: https://build.opensuse.org/request/show/895898 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pykwalify?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 07:20:34 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.8.0
|
||||
General changes:
|
||||
|
||||
- Dropped support for python 3.5 and below, including 2.7
|
||||
- ruamel.yaml is now the default and preffered yaml parser
|
||||
- Dropped support for pyyaml parser
|
||||
- Update minimum version of ruamel.yaml to 0.16.0
|
||||
- Update minimum version of python-dateutil to 2.8.0
|
||||
|
||||
CLI changes:
|
||||
|
||||
- Added new cli argument "--encoding ENCODING" that specifies what encoding to open data and schema files with
|
||||
|
||||
Changed behaviour:
|
||||
|
||||
- Enum error strings now output all possible values for easier debugging
|
||||
- Removed deprecated imp module. Dynamic imports imght be affected
|
||||
|
||||
New features:
|
||||
|
||||
- Implement new type email that uses a relative simple regex to validate email addresses according to RFC 5322 Official Standard
|
||||
- Implement new type `url` that uses a relative simple regex to validate url:s according to RFC 1808
|
||||
- Add new argument "schema_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation.
|
||||
- Add new argument "data_file_obj" to Core class. Allows to pass in StringIO or similar interfaced objects to use for validation.
|
||||
|
||||
Bug/issues fixed:
|
||||
|
||||
- Fixed a regression from 1.6.1 where ruamel.yaml safe_load would break for all built-in custom python tags.
|
||||
All normal python tags should now be possible to use again.
|
||||
- Fixed an issue with regex values that was not converted to str() before regex mapping was attempted.
|
||||
This should validate things like integers and objects that support str() conversion better.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 20 07:26:32 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
Reference in New Issue
Block a user