All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Types of changes are:
- Security in case of vulnerabilities.
- Deprecated for soon-to-be removed features.
- Added for new features.
- Changed for changes in existing functionality.
- Removed for now removed features.
- Fixed for any bug fixes.
0.6.0 - 2020-04-17
- Added support for URL encoded characters in references.
RefPointer
will now attempt the pointer segment as is, and fallback to the decoded version if that fails.
0.5.3 - 2020-04-04
- Fixed further issues with immediately chained references.
0.5.2 - 2020-04-04
- Resolving a URI with an immediate reference now correctly resolves that reference.
0.5.1 - 2020-03-31
- References to lists and primitive data types now works
when traversing
RefDict
andRefList
objects. - Spaces and newlines now allowed in JSON keys.
0.5.0 - 2020-03-20
- References via keys containing / and ~ are now supported.
- Add more intelligent content negotiation to loader, which now detects mimetypes from header if present.
0.4.4 - 2020-03-19
- Fixed bug where absolute references are treated as relative
within
RefPointer
0.4.3 - 2020-03-19
- Fixed bug where absolute references are treated as relative
both within
RefDict
andRefPointer
.
0.4.2 - 2020-03-08
- Fixed bug when parsing JSON containing tabs with
pyyaml
installed.
0.4.1 - 2020-03-08
- Fixed issue where pure address references with no pointers are rejected.
- Fixed issue with relative remote references independent of a base absolute URI.
0.4.0 - 2019-12-10
- New optional parameter to
materialize
:context_labeller
- factory for generating annotation on objects in the document from their source URI.
- Allow
'$ref'
key to be passed as a non-reference if not a string.
0.3.0 - 2019-12-10
- Three new optional parameters to
materialize
:include_keys
- set of keys to include in the materialized document.exclude_keys
- set of keys to exclude from the materialized document.value_map
- operation to apply to items of the document.
0.2.1 - 2019-12-06
- Fixed
long_description_content_type
insetup.py
0.2.0 - 2019-12-06
- Regular expression in release tool.
materialize
function for resolving all references in a single step.
0.1.0 - 2019-12-06
- Project started :)
- Added
RefDict
class for loading related schemas by URI. - Added File-system loading support.
- Added
RefPointer
. Subclassesjsonpointer.JsonPointer
and traverses references. - Added general document loading by URI (deferring to
urllib.request.urlopen
).
Nothing here.