Skip to content

Latest commit

 

History

History
214 lines (175 loc) · 9.16 KB

RELEASE.md

File metadata and controls

214 lines (175 loc) · 9.16 KB

Releases

Release 1.0.18 (2014-07-01)

  1. Fixed bug in raxRolesMask where illegal step IDs were generated in the case where a role name contained a non-alphanumeric character.
  2. Fixed bug where a malformed URI resulted in a 500 error code instead of
  3. Fixed a potential bug where an NPE would result in the rare but plausible case where a container does not provide access to an HTTP header.
  4. Fixed bug where single mismatch method and URI errors contain the same priority as multiple mismatch errors.
  5. HTTP servlet request mocks now handle HTTP headers in a case insensitive manner.
  6. Licensed code under Apache License version 2.0.

Release 1.0.17 (2014-05-25)

  1. New strategy when deciding error message that involves longest path from Start and a priority value based on step type.
  2. Fixed bug in xpath join optimization where WELL_XML steps were not always correctly handled.
  3. Better logging using slf4j.
  4. Fixed bug where Saxon 9.3 was added as a dependency in addition to Saxon 9.4.
  5. Transition from maven-assembly-plugin to maven-shade-plugin when creating single jar cli utils.
  6. Updated wadl-tools: 1.0.22 → 1.0.25.

Release 1.0.16 (2014-02-10)

  1. Added raxRolesMask. Normally api-checker will return 403s when authorization is denied. When the raxRolesMask feature is enabled, 404s or 405s will be returned instead to hide the fact that failure is due to lack of privileges.
  2. The removeDups optimization can now correctly handle METHOD_FAIL and URL_FAIL steps with no match.
  3. Fixed bug where the instrumented handler was not counting steps correctly.
  4. Fixed a potential bug where METHOD_FAIL and URL_FAIL messages could be confused with one another in the removeDups optimization.
  5. Fixed a bug where the next attribute is not taken into account in the header join optimization.
  6. Fixed a bug in the prune step transform where checker elements may not be copied correctly.
  7. Updated wadl-tools: 1.0.21 → 1.0.22

Release 1.0.15 (2014-01-14)

  1. Added preserveRequestBody. Normally api-checker will simply stream the request body through the state machine for validation. This works fine for a single validator, but if multiple validators are used this will cause unexpected errors. preserveRequestBody will add an extra step in the state machine to 'save' the request body in a buffer so as validators further down the line can read it. Turning this feature on will add an extra step in the state machine to capture the request body.
  2. Updated XPath join optimization to be able to join adjacent mergable XSLs.
  3. Updated wadl-tools: 1.0.20 → 1.0.21
  4. Fixed issue: rax:roles in method references were not handled correctly.
  5. Enable implicit conversions in core tests. Removes warnings during compilation.

Release 1.0.14 (2013-12-12)

  1. Fixed URI decoding and handling of '+' in URL path segment
  2. Better handling of exceptions in validator and checker-builder
  3. Ensure JSON schema errors are concise
  4. Fixed and enhanced printing paths for multifail results
  5. Addressed Compilation Warnings on Scala 2.10

Release 1.0.13 (2013-11-11)

  1. Updated Dependencies
    1. scala: 2.9.3 → 2.10.3
    2. scala-test: 1.9.1 → 2.0
    3. wadl-tools: 1.0.15 → 1.0.20
    4. argot: 0.3.5 → 1.0.1

Release 1.0.12 (2013-10-23)

  1. Added support for rax:roles extension. rax:roles extension can be configured on a WADL as an attribute at the resource or method level. A request is checked for authorization if the the rax roles check is enabled. If enabled, and the requested resource or method has a rax:roles defined, the request must have a header value of X-Roles with a header value that matches one of the defined values in rax:roles.

Release 1.0.11 (2013-10-14)

  1. Added utility class for headers. Modified request wrapper to not split headers on commas by default.
  2. Updated Dependencies
    1. jackson-databind: 2.1.5 → 2.2.3
    2. json-schema-validator: 2.1.6 → 2.1.7

Release 1.0.10 (2013-08-16)

  1. Initial support for JSON Schema. Currently a single JSON schema can be associated with the WADL. Validation is applied to all JSON media type requests unless a resource or representation is marked with rax:ignoreJSONSchema="true"
  2. Fixed a bug where a representation without a mediatype was being processed as if it were an XML media type
  3. WADL-Tools updated to 1.0.15 which addresses some issues when handling namespaces in X-PATHs

Release 1.0.9 (2013-07-08)

  1. Configuration has new XSD-Engine setting which makes clear which XSD validator should be used
  2. JSON is now processed with Jackson processor
  3. WADL-Tools updated to 1.0.14 which reduces noise on console when processing a WADL

Release 1.0.8 (2013-04-29)

  1. Updated Dependecies
    1. scala: 2.9.1 → 2.9.3
    2. scala-test: 1.6.1 → 1.9.1
    3. scala maven plugin: 2.15.1 → 3.1.3
    4. xerces: 2.12.0-rax → 2.12.1-rax
    5. wadl-tools: 1.0.12 → 1.0.13
    6. jetty: 6.1.22 → 8.1.1.20120215
  2. There is now a priority when interpreting multi-fail results
  3. Resolved bug where NPE is possible if XSD types are specifed in a WADL without a grammar

Release 1.0.7 (2013-03-20)

  1. Updated WADL Tools to 1.0.12 to fix issue where some resource types were dropped during WADL normalization
  2. Added destroy method in validator to do general cleanup
  3. rax:message and rax:code extensions can now apply to Headers

Release 1.0.6 (2013-03-14)

  1. Allow header is now set on 405 error as required by HTTP RFC
  2. Resolved bug where error states were not always handled correctly by removed dups optimization
  3. Resolved bug where results were not converted correctly to strings

Release 1.0.5 (2013-02-27)

  1. Updated Saxon 9.4.0.4 -> 9.4.0.6
  2. All RAX extensions are now enabled by default
  3. Test framework is now exported as a jar, so you can use api-checker in JUnit tests
  4. Resolved Bug here XPath pool was not taking namespace context into account
  5. Resolved Bug where HREFs in a WADL artifacts (XSDs, XSLs) were not handled correctly when using relative paths
  6. Resolved Bug where preprocess extension was forcing a well-formness check
  7. Resolved Bug where preprocess extension was losing data when the join dups optimization was enabled
  8. Extend join-dups optimization to work with headers with a fixed value
  9. Plain parameters can now have a customizable error response code set
  10. Increased the amount of memory needed to compile core

Release 1.0.4 (2013-01-28)

  1. Resolved a number of bugs dealing with the joinDups optimization
  2. Cleaned up all optimizations, it is now possible to share code between optimization stages
  3. Added rax:message extension which allows for friendlier error messages when validation for WADL plain parameters fails
  4. Added friendly error messages to checker XSD assertions

Release 1.0.3 (2013-01-21)

  1. JMX Instrumentation of the Validator
  2. Provides overall stats on validator
  3. Visibility on resource pools
  4. JMX access to DOT and XML representations of the state machine
  5. Validators can now be assigned names so they can be identified via JMX
  6. JMX handler (instrumented handler) which provides additional JMX info
  7. Most frequently occurring errors
  8. Stats on each validator state
  9. Extend Header checks to support multiple header values
  10. Extend Header checks to support fixed header values
  11. Fix bug where resource with a path "/" is not correctly handled

Release 1.0.2 (2012-11-13)

  1. Integrate with WADL Tools 1.0.9
  2. Media Type ranges (for example text/* and */*) are now supported
  3. Media Type parameters (application/xml;version=2) are now ignored when validating
  4. Media Type charset parameter is now supported (application/xml; charset=UTF-16)
  5. Wadl2Checker CLI Util now supports xpath-version argument
  6. Required Header checks can now be enforced on request or representation
  7. Added support for ignore XSD extension -- to avoid performing XSD checks on request or representation
  8. Ensure that relative paths always work in CLI utilities
  9. Ensure that validation does not require a SAXON license

Release 1.0.1 (2012-07-30)

  1. Create saxon schema factory directly instead of relying on System property
  2. Killed outdated samples directory
  3. Slight optimization when checking XML well formness stop parsing as soon as first error is detected.
  4. Now support embedded XSLT in preproc extension in addition to href
  5. New optimization joinXPathChecks -- this merges XML well formness stages with multiple xpath stages
  6. Update to latest version of Saxon 9.4 (9.4.0.4)

Release 1.0.0 (2012-07-23)

  1. URI checks, including template parameters with types defined by XSD
  2. Method checks
  3. Content-Type checks
  4. Well formed checks for both JSON and XML
  5. Root element checks in XML
  6. Required plain parameter checks in XML (assertions using XPath 1.0/2.0)
  7. Full XSD 1.1 validation of content backed by Xerces or Saxon
  8. Preprocess extension: clean up/transform content before validation
  9. Correctly handle cases where versioning is not done via URI
  10. Correct error handling for missed checks (404 for URI, 405 for method etc) most checks have human readable messages: Found (server) expected (servers | images | flavors)
  11. Flexible configuration (any check can be enabled/disabled)