diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 46a19f91..30059d48 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -23,7 +23,7 @@ jobs: node-version: lts/* - uses: jossef/action-set-json-field@v1 - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true' }} + if: ${{ github.event_name == 'workflow_dispatch' && (github.event.inputs.release == 'true' || github.ref == 'refs/heads/main') }} with: file: ./package.json field: aiKey @@ -32,7 +32,7 @@ jobs: - name: Build visx run: | npm install - npx @vscode/vsce package --no-dependencies + npx @vscode/vsce package --no-dependencies --githubBranch ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} - uses: actions/upload-artifact@v3 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 7de1d56f..e6bb8f0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.3.0 + +The 0.3.0 release of the Azure API Center extension for Visual Studio Code introduces new functionality to detect breaking changes between two OpenAPI specification documents and improves API discoverability by adding the ability to search for an API in the tree view. + +### Features + +- Search for APIs within an API Center from the tree view. +- Detect breaking changes between two OpenAPI specification documents. Breaking changes are shown in the `Problems` view and directly within the editor. + ## 0.2.0 The 0.2.0 release of the Azure API Center extension for Visual Studio Code introduces new functionality to register APIs with API Center and shift-left API design conformance checks into Visual Studio Code as you build out APIs. It also includes bug fixes for APIs imported from Azure API Management to ensure APIs titles are properly displayed and interactable using the tree view. diff --git a/README.md b/README.md index ddc7ec51..d576b433 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ Shift-left API design conformance checks into Visual Studio Code with integrated ![linting](./media/integrated-lint.png) +Ensure that new API versions don't break API consumers with breaking change detection support, powered by Optic. + +![Breaking Change Detection](./media/breaking-change.png) + ### Discover Find the right API, fast from your organization's hand-crafted API catalog with API Center. diff --git a/media/breaking-change.png b/media/breaking-change.png new file mode 100644 index 00000000..55e55af0 Binary files /dev/null and b/media/breaking-change.png differ diff --git a/package-lock.json b/package-lock.json index 3e484eb0..064bc6b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "azure-api-center", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 87c2bf06..2864ec72 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publisher": "apidev", "displayName": "Azure API Center", "description": "Build, discover, and consume APIs.", - "version": "0.2.0", + "version": "0.3.0", "icon": "media/api-center-icon.png", "license": "MIT", "engines": { @@ -259,7 +259,7 @@ }, { "command": "azure-api-center.cleanupSearchResult", - "whne": "never" + "when": "never" } ] },