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.
- support API coverage. (#297)
- add request to validation error. (#295)
- Improve deprecation messages (#291)
4.2.1 - 2020-11-07
- Hold original exception only openapi3. (#281)
- Make check for complex JSON types more strict. (#287)
- Put deprecation warning together in one line. (#288)
4.2.0 - 2020-08-26
- Dose not suppress application error. (#279)
4.1.0 - 2020-06-27
- Parse response body as JSON only when applicable. (#273)
4.0.0 - 2020-05-14
- Support Ruby 2.7.x. (#254)
- Support OpenAPI 3 remote $ref. (#266)
- Drop Ruby 2.3.x.
3.3.0 - 2019-11-16
- Add a filter for request validation. (#249)
- Add ignore_error option to Committee::Middleware::RequestValidation. (#248)
3.2.1 - 2019-10-13
- Use openapi_parser 0.6.1 (#246)
- Validate request parameter for POST, PUT, PATCH operations. (#244)
3.2.0 - 2019-09-28
- Add ignore_error option. (#218)
3.1.1 - 2019-09-05
- OS3 request validator skip if link does not exist. (#240)
3.1.0 - 2019-08-07
- Add error handler option to Committee::Middleware::RequestValidation. (#230)
- Support request validations by assert_schema_conform. (#227)
- Ensure we catch all OpenAPIParser::OpenAPIError classes when coercing path parameters for OpenAPI 3. (#228)
3.0.3 - 2019-06-17
- Catch OpenAPIParser::NotExistRequiredKey with RequestValidation. (#225)
3.0.2 - 2019-05-15
- Support OpenAPI 3 patch version. (#223)
3.0.1 - 2019-03-18
- Correct use of
filepath
toschema_path
. (#216)
3.0.0 - 2019-01-31
- Allow GET request body data. (#211)
3.0.0.beta3 - 2019-01-25
- OpenAPI 3 merge request body to request parameter in GET request. (#210)
3.0.0.beta2 - 2019-01-23
- Merge 2.4.0 feature (rename
filepath
option toschema_path
(#191)).
3.0.0.beta - 2019-01-19
- Support full committee options in OpenAPI3.
- Support check_content_type option for OpenAPI3. (#174)
- Fix bug when non defined link with form content type and coerce option. (#173)
3.0.0.alpha - 2018-12-26
- OpenAPI 3.0 support. (#164)
- Drops support for old versions of Ruby. (#146)
2.5.1 - 2019-01-22
- Fix bug in the handling of
pattern
attribute on OpenAPI 2 parameters. (#209)
2.5.0 - 2019-01-22
- Support more parameter validations for OpenAPI 2. (#207)
2.4.0 - 2019-01-20
- Add
error_handler
option. (#152) - Add
schema_path
option. (#191) - Add
request_object
andresponse_data
toCommittee::Test::Methods
. (#195) - Add
validate_success_only
option. (#199)
- Prefer path with fewest slugs when a request may route to resolve to multiple. (#160)
- Deprecate many methods in
Committee::Test::Methods
. (#157) - Deprecated
validate_errors
option in favor ofvalidate_success_only
. (#187)
- Fix bug when using
coerce_recursive
in request parameters. (#162)
2.3.0 - 2018-11-15
- Update minimum Rack dependencies to mitigate CVE-2018-16471. (#155)
- Deprecate use of
JsonSchema::Schema
object. (#147)
2.2.1 - 2018-09-20
- Add numeric response status support for openapi 2. (#141)
2.2.0 - 2018-09-06
- Add support for
multipart/form-data
when processing requests. (#127)
2.1.1 - 2018-08-04
- Fix the
committee-stub
bin so that it runs if installed as a gem. (#127)
2.1.0 - 2017-03-26
- Support validating header schemas in OpenAPI 2. (#122)
2.0.1 - 2017-02-27
- Support either a string or an integer for status code responses. (#125)
2.0.0 - 2017-09-05
- Add support for OpenAPI 2.0.
- Add support for coercing types in form bodies (default on for OpenAPI 2.0).
- Add
committee.response_schema
env key. - Add sample generators for schemas that are arrays or have enums.
- Add
coerce_date_times
option to turn strings into time objects. - Add
coerce_recursive
option to disable recursive coercion.
- Required that a driver name be passed to
committee-stub
executable. - Recurse into arrays and objects by default when coercing parameters.
- Raise
Committee::NotFound
with more meaningful error message.
1.15.0 - 2016-09-13
- Add the
coerce_query_params
option to allow queries with basic types to be checked against a schema/