Release v1.3.0
This commit is contained in:
		| @@ -1,3 +1,17 @@ | ||||
| v1.3.0 | ||||
| ------ | ||||
|  | ||||
| * Better error tracebacks (#83) | ||||
| * Raise exceptions in ``ErrorTree``\s for keys not in the instance (#92) | ||||
| * __cause__ (#93) | ||||
|  | ||||
| v1.2.0 | ||||
| ------ | ||||
|  | ||||
| * More attributes for ValidationError (#86) | ||||
| * Added ``ValidatorMixin.descend`` | ||||
| * Fixed bad ``RefResolutionError`` message (#82) | ||||
|  | ||||
| v1.1.0 | ||||
| ------ | ||||
|  | ||||
|   | ||||
							
								
								
									
										19
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								README.rst
									
									
									
									
									
								
							| @@ -49,20 +49,15 @@ Features | ||||
| Release Notes | ||||
| ------------- | ||||
|  | ||||
| ``v1.2.0`` adds a number of new attributes to provide information that is | ||||
| useful for programmatially inspecting draft4's ``anyOf``, ``oneOf`` and | ||||
| ``allOf`` validators. | ||||
| ``v1.3.0`` adds better, more verbose tracebacks for validation errors that give | ||||
| some actual possibility of seeing what went wrong, particularly for the new  | ||||
| ``anyOf``, ``oneOf`` and ``allOf`` validators in draft 4. | ||||
|  | ||||
| See https://python-jsonschema.readthedocs.org/en/latest/errors.html for | ||||
| examples. | ||||
| The other notable change is that ``ErrorTree``\s now raise exceptions for keys | ||||
| that aren't in the instance, to prevent typos. | ||||
|  | ||||
| ``ValidatorMixin`` also gained a ``descend`` method which is useful for | ||||
| implementing validation methods that recurse into an instance while maintaining | ||||
| the paths within the instance and schema. It isn't documented yet though | ||||
| (patches welcome.) | ||||
|  | ||||
| There's also a fix for a minor issue where failing ref resolutions had poor | ||||
| error messages. | ||||
| ``__cause__`` is also implemented on Py3 for format errors, if that floats your | ||||
| boat. | ||||
|  | ||||
|  | ||||
| Running the Test Suite | ||||
|   | ||||
| @@ -34,7 +34,7 @@ try: | ||||
| except ImportError: | ||||
|     requests = None | ||||
|  | ||||
| __version__ = "1.3.0-dev" | ||||
| __version__ = "1.3.0" | ||||
|  | ||||
| PY3 = sys.version_info[0] >= 3 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Julian Berman
					Julian Berman