Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Update gavel-spec to the latest version 🚀 #196

Closed
wants to merge 2 commits into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jun 17, 2019

The devDependency gavel-spec was updated from 2.0.0 to 3.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v3.0.0

3.0.0 (2019-06-17)

Bug Fixes

  • adds proper indentation for "response.feature" (8796e68)
  • includes "isValid" key in expected validation result (validators) (6a8ed7c)
  • includes relative URI in feature definition (f7ffc14)
  • removes duplicate "will (NOT) set errors on "X") criteria (bb81f9d)
  • renames "body" to "headers" in validity assertion (headers) (dcda152)
  • stores HTTP message fields under "fields" property, not "field" (7823856)
  • uses implementation-agnostic phrasing for field validity definition (808ad9e)
  • uses non-implementational behavior descriptions for body expectations (2a8475d)
  • wraps target property in quotes (da01736)

Features

  • adds "method" expectation suite (9c1f450)
  • adds "uri" validation feature (cf50d5e)
  • adds "uri" validation feature suite (f584714)
  • lists HTTP message fields under "field" key (bcd5c9e)
  • remove "isValid" from public API (ac26d1d)
  • removes "isValidatable" from public API (e84a0cf)
  • removes "severity" property from validation errors (2a364e2)
  • removes "version" from validation results (d581f81)
  • removes async API (8feb224)
  • removes references to "HttpRequest" and "HttpResponse" classes (f77a112)
  • removing "data_model" feature (8711aa1)
  • replaces "results" key with "errors" (9c91c7d)
  • sets "isValid" property on each HTTP message field result (c5663f6)
  • swaps the order of "real" and "expected" arguments of "validate" (1f2d29f)

BREAKING CHANGES

  • Gavel spec no longer has "data_model" feature describing operable HTTP messages.
  • Gavel's "validate" method now has the following call signature:
    validate(expected, real)
  • Validation errors no longer have "severity" property.
  • Validation errors of each individual HTTP message field are now listed in the "errors" key
  • Validation result now lists validated HTTP message fields under "field" key
  • Removes "isValidatable" from public API
Commits

The new version differs by 27 commits.

  • 09df9d2 Merge pull request #44 from apiaryio/remove-is-validatable
  • 8711aa1 feat: removing "data_model" feature
  • 8796e68 fix: adds proper indentation for "response.feature"
  • 8112483 chore: removes "_api" suffix from request/response validation features
  • f7ffc14 fix: includes relative URI in feature definition
  • cf50d5e feat: adds "uri" validation feature
  • a2f8357 refactor: updates README usage example
  • bb81f9d fix: removes duplicate "will (NOT) set errors on "X") criteria
  • 2a8475d fix: uses non-implementational behavior descriptions for body expectations
  • 1f2d29f feat: swaps the order of "real" and "expected" arguments of "validate"
  • 7823856 fix: stores HTTP message fields under "fields" property, not "field"
  • 2a364e2 feat: removes "severity" property from validation errors
  • 808ad9e fix: uses implementation-agnostic phrasing for field validity definition
  • bd7b258 refactor: uses es6 variables declaration in code examples
  • dcda152 fix: renames "body" to "headers" in validity assertion (headers)

There are 27 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@artem-zakharchenko
Copy link
Contributor

Updated in #178 (cbf0b5a).

@honzajavorek honzajavorek deleted the greenkeeper/gavel-spec-3.0.0 branch June 17, 2019 09:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant