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 | v1.1.0 | ||||||
| ------ | ------ | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										19
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								README.rst
									
									
									
									
									
								
							| @@ -49,20 +49,15 @@ Features | |||||||
| Release Notes | Release Notes | ||||||
| ------------- | ------------- | ||||||
|  |  | ||||||
| ``v1.2.0`` adds a number of new attributes to provide information that is | ``v1.3.0`` adds better, more verbose tracebacks for validation errors that give | ||||||
| useful for programmatially inspecting draft4's ``anyOf``, ``oneOf`` and | some actual possibility of seeing what went wrong, particularly for the new  | ||||||
| ``allOf`` validators. | ``anyOf``, ``oneOf`` and ``allOf`` validators in draft 4. | ||||||
|  |  | ||||||
| See https://python-jsonschema.readthedocs.org/en/latest/errors.html for | The other notable change is that ``ErrorTree``\s now raise exceptions for keys | ||||||
| examples. | that aren't in the instance, to prevent typos. | ||||||
|  |  | ||||||
| ``ValidatorMixin`` also gained a ``descend`` method which is useful for | ``__cause__`` is also implemented on Py3 for format errors, if that floats your | ||||||
| implementing validation methods that recurse into an instance while maintaining | boat. | ||||||
| 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. |  | ||||||
|  |  | ||||||
|  |  | ||||||
| Running the Test Suite | Running the Test Suite | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ try: | |||||||
| except ImportError: | except ImportError: | ||||||
|     requests = None |     requests = None | ||||||
|  |  | ||||||
| __version__ = "1.3.0-dev" | __version__ = "1.3.0" | ||||||
|  |  | ||||||
| PY3 = sys.version_info[0] >= 3 | PY3 = sys.version_info[0] >= 3 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Julian Berman
					Julian Berman