Releases: CMSgov/price-transparency-guide-validator
v2.1.0
What's Changed
- clarifying what the validator is used for. by @shaselton-usds in #111
- Zip downloads by @shaselton-usds in #113
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
- Detect schema version by @mint-thompson in #104 -- breaking change
- Add option to auto-confirm all prompts by @mint-thompson in #106
Breaking change: schema version option
Schema version is no longer a required command-line argument. Instead, the --schema-version <version>
option is used to validate against a specific schema. If this option is not used, the version specified in the data file will be used. For details on how to use this option, consult the updated README.
Option to auto-confirm prompts
The -y
or --yes-all
flags can be provided on the command line to automatically respond "yes" to confirmation prompts that appear during validation. Thank you to @jkHCBB for the discussion regarding this feature.
Full Changelog: v1.5.2...v2.0.0
v1.5.2
v1.5.2 is a patch release that addresses an issue that could be encountered when validating a downloaded file if the initial request is redirected. Thank you to @jkHCBB for reporting this issue.
What's Changed
- Detect zip/gzip when a download request is redirected by @mint-thompson in #102
Full Changelog: v1.5.1...v1.5.2
v1.5.1
What's Changed
- Add logger support by @mint-thompson in #98
The new logger provides helpful log level prefixes before logged messages. The log level prefixes are color-coded on terminals that support this feature.
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
- Find references to other files for download and validation by @mint-thompson in #96
The new feature in this release is the ability to find and use references to other files when validating a file. As described in #96, a "table-of-contents" file may contain references to "in-network" and "allowed-amount" files. An "in-network" file may contain references to "provider-reference" files. This means that you can start at a "table-of-contents" file and validate every file reachable from it.
Full Changelog: v1.4.3...v1.5.0
v1.4.3
What's Changed
- Better file type detection when URL has query string by @mint-thompson in #94
- Add publish workflow by @mint-thompson in #95
Full Changelog: v1.4.2...v1.4.3
Validator v1.4.2
What's Changed
- Continue with zip contents by @mint-thompson in #90
- Add -O3 compiler flag by @karth295 in #91
New Contributors
Full Changelog: v1.4.1...v1.4.2
This update contains changes to the Dockerfile to improve the performance of the validator. To use these changes, make sure you have the updated version of the Dockerfile, then run docker build -t validator .
to rebuild the Docker container. For more details, consult the full installation instructions in the README.
Thank you to @karth295 for contributing to this release.
Validator v1.4.0
What's Changed
- Use file extension at end of URL if content-type is unhelpful by @mint-thompson in #88
- Show available JSON files within ZIP archive by @mint-thompson in #89
Full Changelog: v1.3.0...v1.4.0
Some file hosts provide a response content type of application/octet-stream
, which is not helpful in determining how to handle the downloaded file. In these cases, a best guess is made using the file extension at the end of the URL.
When a downloaded file is a ZIP archive containing multiple JSON files, a menu is presented showing the available files. The list is navigated with a simple keyboard interface.
Validator v1.3.0
What's Changed
- Add strict flag by @mint-thompson in #83
- Add automated test config by @mint-thompson in #85
- Validate the file retrieved from a URL by @mint-thompson in #86
- Provide progress report during download by @mint-thompson in #87
The two main features added in this release are the --strict
flag and the from-url
subcommand. Consult the updated README for instructions on how to use these features.
Full Changelog: v1.2.1...v1.3.0
First Release
v1.2.0 v1.2.0