Releases: stoplightio/spectral
Releases · stoplightio/spectral
v6.6.0
What's Changed
- fix(ruleset-migrator): http/https uris not followed correctly by @P0lip in #2247
- perf(core): bump jsonpath-plus to 7.1.0 by @FredericKayser in #2259
- feat(rulesets): add rule to check if the AsyncAPI document is using the latest version by @magicmatatjahu in #2282
- chore(core): drop runner runtime by @P0lip in #2302
- fix(core): async functions have undefined paths by @P0lip in #2304
- fix(rulesets): handle empty payload and headers in AsyncAPI message's examples validation by @magicmatatjahu in #2284
- refactor(rulesets): remove unused rules style param by @philsturgeon in #2306
- feat(ruleset-migrator): relax validation by @P0lip in #2307
- chore(core): tweak StringifiedRuleset and StringifiedRule by @P0lip in #2309
- feat(core): include error codes in RulesetValidationError by @P0lip in #2308
- fix(ruleset-bundler): virtualFs plugin not recognizing files by @P0lip in #2271
- fix(core): support utf8 surrogates by @P0lip in #2267
- feat(cli): use Content-Type header to detect ruleset format by @P0lip in #2272
- fix(cli): peer dependency incorrectly met by @P0lip in #2268
New Contributors
- @ObjectIsAdvantag made their first contribution in #2258
- @FredericKayser made their first contribution in #2259
Full Changelog: v6.5.1...v6.6.0
v6.5.1
What's Changed
- fix(rulesets): __importDefault undefined by @P0lip in #2243
- fix(functions): bump stoplight/better-ajv-errors by @P0lip in #2250
- feat(rulesets): check uniqueness of AsyncAPI messages by @magicmatatjahu in #2224
- fix(cli): missing line break by @nmoreaud in #2251
New Contributors
Full Changelog: v6.5.0...v6.5.1
v6.5.0
v6.4.2
What's Changed
- feat(rulesets): add rule to validate message's examples by @magicmatatjahu in #2126
- chore(core): bump minimatch from 3.0.4 to 3.1.2 by @P0lip in #2171
- fix(core): bump nimma from 0.2.1 to 0.2.2 by @P0lip in #2173
- feat(ruleset-bundler): add fullOutput option to bundleRuleset by @P0lip in #2194
- feat(rulesets): validate channel servers, server securities and operation securities by @magicmatatjahu in #2122
- fix(core): fix 'resolved vs unresolved' json path mapping by @padamstx in #2202
New Contributors
Full Changelog: v6.4.1...v6.4.2
v6.4.1
What's Changed
- fix(core): bump nimma from 0.2.0 to 0.2.1 by @P0lip in #2157
- feat(rulesets): add rules for validation of server variables and channel parameters by @magicmatatjahu in #2101
- feat(rulesets): add rules for validation uniqueness of tag names by @magicmatatjahu in #2104
- feat(rulesets): add rule to check uniqueness operationId of AsyncAPI operations by @magicmatatjahu in #2121
- fix(cli): do not show 'or higher' if severity equals error by @P0lip in #2172
New Contributors
Full Changelog: v6.4.0...v6.4.1
v6.4.0
What's Changed
- fix(functions): reset RegExp.lastIndex to zero when using cached RegExp objects by @pavelkornev in #2079
- fix(ruleset-migrator): validate aliases correctly by @P0lip in #2085
- fix(core): bump nimma from 0.1.8 to 0.2.0 by @P0lip in #2088
- feat(rulesets): add unused components server rule by @jonaslagoni in #2097
- feat(rulesets): support AsyncAPI 2.4 by @jonaslagoni in 7364b2d
- feat(core): support JSON ruleset validation by @P0lip in #2062
- docs(repo): explain $refs caveat with overrides by @P0lip in #2127
- fix(core): redeclared rules should always be re-enabled by @P0lip in #2138
- chore(core): improve ruleset typings by @P0lip in #2132
- feat(cli): sort linting results alphabetically by @P0lip in #2147
New Contributors
- @pavelkornev made their first contribution in #2079
Full Changelog: v6.3.0...v6.4.0
v6.3.0
What's Changed
- build(repo): missing latest tag for Docker by @P0lip in #2056
- fix(rulesets): simplify schema used in duplicated-entry-in-enum by @P0lip in #2055
- fix(core): consider
message
when de-duplicating results by @dpopp07 in #2052 - fix(core): bump nimma from 0.1.7 to 0.1.8 by @P0lip in #2058
- feat(ruleset-bundler): a number of minor enhancements by @P0lip in #2048
- feat(rulesets): validate API security in oas-operation-security-defined by @mkistler in #2046
- feat(cli): improve error logging by @P0lip in #2071
New Contributors
Full Changelog: v6.2.1...v6.3.0
v6.2.1
What's Changed
- fix(runtime): update node-fetch from ^2.6.1 to ^2.6.7 by @crudo in #2041
- fix(rulesets): add scopes to required in oauth2 security schemes by @mkistler in #2035
- chore(repo): install.sh should work in POSIX envs by @jurek7 in #2045
- fix(rulesets): operation-tags should fail on empty array by @eazy-g in #2050
- fix(cli): output to stdout not working with multiple output formatters by @P0lip in #2044
New Contributors
- @crudo made their first contribution in #2041
- @jurek7 made their first contribution in #2045
- @eazy-g made their first contribution in #2050
Full Changelog: v6.2.0...v6.2.1
v6.2.0
What's Changed
- fix(ruleset-migrator): resolve npm packages correctly by @P0lip in #2022
- feat(core): aliases take only array-ish given by @P0lip in #2033
- docs(repo): clarify how to version pin rulesets by @jamietanna in #2039
- feat(cli): support multiple formats and outputs at once by @P0lip in #2037
Full Changelog: v6.1.1...v6.2.0
v6.1.1
What's Changed
- feat(core): support scoped aliases by @P0lip in #1840
- feat(functions): export functionOptions by @wmhilton in #1904
- fix(rulesets): support matrix parameter style for openapi3 by @lintaba in #1864
- feat(functions): revamp Ajv integration by @P0lip in #1845
- chore(deps): bump vm2 from 3.9.3 to 3.9.5 by @dependabot in #1906
- fix(rulesets): exclusiveMinimum must be a number thrown for OAS 3.0 by @P0lip in #1913
- fix(ruleset-migrator): order contains duplicate keys by @P0lip in #1912
- fix(rulesets): variable not supported in server url within OAS 3.1 by @P0lip in #1914
- build(repo): validate commit messages by @P0lip in #1731
- feat(rulesets): add validation rule for oas2 discriminator by @mkistler in #1921
- docs(repo): improve guides by @P0lip in #1927
- fix(core): fixed jsonpath exprs may occasionally yield incorect results by @P0lip in #1917
- fix(ruleset-migrator): nested local dependencies not resolved correctly by @P0lip in #1940
- chore(repo): bump @stoplight/better-ajv-errors from 0.2.0 to 1.0.1 by @P0lip in #1952
- docs(repo): make shell command in README actually work by @wbolster in #1960
- build(repo): use yarn v3 by @P0lip in #1951
- chore(functions): annotate options by @P0lip in #1962
- chore(repo): remove Dependabot by @P0lip in #1987
- feat(core): expose x-internal to annotate internal opts by @P0lip in #1993
- build(repo): on-demand releases & improve caching by @P0lip in #1994
- fix(ruleset-bundler): improve package import heuristics by @P0lip in #1985
- chore(core): export schema definition by @mallachari in #1998
- feat(core): include 'description' for ruleset by @jgreen44 in #2000
- feat(ruleset-bundler): add ruleset loader by @P0lip in #1988
- perf(rulesets): simplify JSONPath expressions by @P0lip in #1986
- fix(core): update nimma & json-schema by @P0lip in #2012
- fix(repo): missing tslib dependency by @P0lip in #2013
- docs(repo): fix example for operation-id-kebab-case by @jamietanna in #2004
- feat(ruleset-migrator): cleaner output by @P0lip in #2015
- fix(ruleset-migrator): order of functions property should not matter by @P0lip in #2014
- fix(rulesets): update dependencies by @P0lip in #2020
- chore(repo): enable esModuleInterop by @P0lip in #2001
- feat(core): support multiple JSONPath expressions for aliases by @P0lip in #2016
- fix(cli): correctly handle special characters in JUnit failure details by @fgreinacher in #2028
- docs(repo): update schema markdown formatting and available dialects by @jeremyfiel in #2024
New Contributors
- @lintaba made their first contribution in #1864
- @wbolster made their first contribution in #1960
- @jgreen44 made their first contribution in #2000
- @jeremyfiel made their first contribution in #2024
Full Changelog: v6.1.0...v6.1.1