Changelog¶
0.4.0 (2026-04-24)¶
Added¶
Add support for Python 3.13, 3.14.
Fixed¶
jscc.testing.checks.validate_metadata_presence(): RecognizeadditionalPropertiesandpropertyNamesas keywords.jscc.testing.checks.validate_array_items(): Use the newArrayItemsWarningwarning, instead of the incorrectDeepPropertiesWarningwarning.Break cycles in recursive schemas.
Removed¶
Drop support for Python 3.9.
0.3.0 (2024-09-15)¶
Changed¶
Ignore
.venvandvendordirectories.Some arguments must be keyword arguments in:
jscc.testing.checks.test_validate_codelist_enum()
Removed¶
Drop support for Python 3.8.
0.2.4 (2024-01-29)¶
Changed¶
jscc.testing.checks.validate_ref()accepts keyword arguments to pass tojsonref.replace_refs.
Removed¶
Drop support for Python 3.7.
0.2.3 (2023-07-06)¶
Changed¶
0.2.2 (2023-06-14)¶
Removed¶
get_invalid_csv_files(), as Python’s CSV parser errors only if the CSV dialect is configured.
0.2.1 (2023-06-14)¶
Changed¶
validate_schema()no longer accepts aschemaargument.
0.2.0 (2023-06-14)¶
Changed¶
validate_schema()accepts avalidatorargument, instead of using JSON Schema Draft 4.To preserve behavior, install
jsonschema,rfc3339-validatorandrfc3986-validator, and change:validate_schema(path, data, schema)
to:
from jsonschema import FormatChecker from jsonschema.validators import Draft4Validator validator = Draft4Validator(schema, format_checker=FormatChecker()) validate_schema(path, data, validator)
0.1.1 (2023-04-19)¶
Fixed¶
jscc.testing.checks.get_empty_files()correctly returns JSON files that are whitespace only.
Removed¶
Drop support for Python 3.6.
0.1.0 (2022-10-28)¶
Changed¶
Update to jsonref 1.0’s API.
0.0.9 (2022-04-26)¶
Changed¶
Changed dependency from rfc3987 (GPL) to rfc3986-validator (MIT).
0.0.8 (2022-03-08)¶
Added¶
jscc.testing.checks.validate_array_items()warns if a field whosetypeproperty includes “array” is missing theitemsproperty.
0.0.7 (2021-11-04)¶
Changed¶
jscc.testing.checks:get_empty_files(),get_misindented_files(),get_invalid_json_files()andget_invalid_csv_files()accept keyword arguments to pass tojscc.testing.filesystem.walk()andjscc.testing.filesystem.walk_json_data().
0.0.6 (2021-07-19)¶
Fixed¶
jscc.testing.checks.validate_object_id()supports theomitWhenMergedproperty.
0.0.5 (2021-04-10)¶
Added¶
Add Python wheels distribution.
0.0.4 (2020-06-23)¶
Fixed¶
jscc.testing.checks.validate_ref()supports integers in JSON Pointers.jscc.testing.checks.validate_metadata_presence()allows missingtypeproperty if configured viaallow_missingargument.jscc.testing.filesystem.tracked()supports Windows.
0.0.3 (2020-03-17)¶
Added¶
jscc.testing.checks.validate_merge_properties()warns if merge properties are set tofalseornull.Expand docstrings for
jscc.schema.checks.validate_*methods.
Changed¶
jscc.testing.checks.validate_merge_properties()no longer warns about nullable fields, and no longer accepts anallow_nullargument.jscc.testing.checks.validate_null_type()warns if an array of objects is nullable. This check was previously performed byjscc.testing.checks.validate_merge_properties().jscc.testing.checks.validate_null_type()’sshould_be_nullableargument is renamed toexpect_null.Clarify warning messages.
0.0.2 (2020-03-16)¶
Added¶
Changed¶
jscc.schema.is_codelist()accepts a list of field names, instead of a CSV reader.jscc.testing.filesystem.walk_csv_data()returns text content, fieldnames, and rows, instead of a CSV reader.jscc.testing.schemais moved tojscc.schema.jscc.schema.is_property_missingis renamed tojscc.schema.is_missing_property().
0.0.1 (2020-03-15)¶
First release.