- Restore exported API
getDefaultTag()
, accidentally removed in 0.8.12
- Breaking Change: Requires Node 18 or higher
- Bump
jsonpath-plus
dependency to^10.0.0
- Filter out
only
suffix tag for getSwaggerFiles function - Throw error when readme file not found
- Add rule INVALID_TYPESPEC_LOCATION to validate if TypeSpec file in 'resource-manager' or 'data-plane' folder.
- Add getSwaggerFiles for docs pipeline to get the latest swagger files and the stable swagger files.
- Make API path case insensitive in MISSING_APIS_IN_DEFAULT_TAG
- Fix
includePaths
parameter doesn't work on MISSING_README rule in DevOps.
- Clarify MISSING_APIS_IN_DEFAULT_TAG error message.
- Fix
path
variable in MISSING_APIS_IN_DEFAULT_TAG inconsistent with others.
- Add rule MULTIPLE_DEFAULT_TAGS to validate if there are multiple default tags.
- Add path in MISSING_APIS_IN_DEFAULT_TAG output.
- Add
includePaths
command line parameter.
- Ignore INCONSISTENT_API_VERSION in dev folder.
- Disable MISSING_APIS_IN_DEFAULT_TAG for data-plane apis.
- To make sure default tag contains the latest apiVersion swagger. Add two rules NOT_LATEST_API_VERSION_IN_DEFAULT_TAG and MISSING_APIS_IN_DEFAULT_TAG.
- Bug fix. avoid infinite loop. When find the nearest readme
- Fix bug. MISSING_README should be excluded by arguments.
- Fix security issue.
- fix unittest
- Support excludePaths option to ignore errors from common-type
- Fix bug. Check folder exist before run avocado
- Support folder level validation.
- Add rule INVALID_FILE_LOCATION to validate if management plane swagger in 'resource-manager' folder
- Add rule MULTIPLE_API_VERSION to validate if the default tag in readme.md contains multiple API version.
- upgrade ts-common/json-parser version
- Add detail log file report
- Use yargs for cli
- Add rule INCONSISTENT_API_VERSION to validate swagger api version must consistent with its file path.
- Add rule MISSING_README to validate each RP folder must have readme.md.
- Modify unit test.
- Support $(this-folder)
- Update
Readme.md
. - Add
package-lock.json
. restrict tslint version~5.18.0
- Add error level. Now support
Error
andWarning
level. Error
: Must be fixed, blocking CI process.Warning
:Hints. Needn't be fixed, not blocking CI process.- Circular reference is
Warning
level. Other errors areError
level.
- Distinguish between example and swagger, and ignore analyzing '$ref' in example file.
- More specific error message about UNREFERENCED_JSON_FILE, see issue 22
- Support circular reference detection for specs
- A test for circular reference
- Analyze globally. analyze references between different spec folder instead of only readme folder.
- Restructure
index.ts
move 'error' type toerrors.ts
- code format
- Simplify structuralDiff and update packages.
- Replaced jsonStructuralDiff for structuralDiff.
- Add jsonStructuralDiff to PullRequestProperties.
- Git commands should never ask for credentials.
- A test for diamond dependencies.
- CI should test Node 12 instead of Node 11.
@types/js-yaml
is a dev dependency.
- Add
prettier
back but use it together withstandard
. tslint
checks for almost all rules.- Test coverage produces HTML files.
- Fix
exec
maxBuffer bug #27.
- restore test coverage
- use Jest instead of Mocha and Nyc
- use
tslint
andtslint-config-standard
original rules instead ofprettier
git
namespace.
devOps
andcli
namespaces.
- Avocado can detect Azure Dev Ops PR validation and show only relevant errors.