diff options
author | Julian Berman <Julian@GrayVines.com> | 2022-08-17 17:04:24 +0300 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2022-08-17 17:07:46 +0300 |
commit | c2e86eea66fcd0991524fcd06f76e1b233b3faff (patch) | |
tree | 672cd58212249ea9b57d0c9d18f93c56f205dc7c /CHANGELOG.rst | |
parent | 0c4aaafe05e7765f7a0b018ebcb0c761747ef9a8 (diff) | |
download | jsonschema-c2e86eea66fcd0991524fcd06f76e1b233b3faff.tar.gz |
Fix calling Validator.evolve for some downstream users.v4.10.1
The broken case here was subclassing a validator class, something that
isn't really a supported use of the Validator classes, but of course one
can't blame anyone too much since doing so didn't raise an error or emit
any warning.
In the next release subclassing will warn, and at some point afterwards
will become an explicit error. If you're a downstream user of this
library looking for a way to avoid whichever inheritance is currently
needed in your library feel free to reach out and I'll try to help.
Closes: #982
Diffstat (limited to 'CHANGELOG.rst')
-rw-r--r-- | CHANGELOG.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0795665..add473f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,14 @@ +v4.10.1 +------- + +* Fix Validator.evolve (and APIs like ``iter_errors`` which call it) for cases + where the validator class has been subclassed. Doing so wasn't intended to be + public API, but given it didn't warn or raise an error it's of course + understandable. The next release however will make it warn (and a future one + will make it error). If you need help migrating usage of inheriting from a + validator class feel free to open a discussion and I'll try to give some + guidance (#982). + v4.10.0 ------- |