-----
- Added the ``--default-filetype`` flag, which sets a default of JSON or YAML
loading to use when ``identify`` does not detect the filetype of an instance
file. Defaults to failure on extensionless files.
- Schemafiles are now passed through ``os.path.expanduser``, meaning that a
schema path of ``~/myschema.json`` will be expanded by check-jsonschema
itself (:issue:`9`)
- Performance enhancement for testing many files: only load the schema once
- Added ``--no-cache`` option to disable schema caching
- Change the default schema download cache directory from
``jsonschema_validate`` to ``check_jsonschema/downloads``.
e.g. ``~/.cache/jsonschema_validate`` is now
``~/.cache/check_jsonschema/downloads``.
Caches will now be in the following locations for different platforms
and environments:
- ``$XDG_CACHE_HOME/check_jsonschema/downloads`` (Linux/other, XDG cache dir)
- ``~/.cache/check_jsonschema/downloads`` (Linux/other, no XDG cache dir set)
- ``~/Library/Caches/check_jsonschema/downloads`` (macOS)
- ``%LOCALAPPDATA%\check_jsonschema\downloads`` (Windows, local app data set)
- ``%APPDATA%\check_jsonschema\downloads`` (Windows, no local app data set, but appdata set)