diff --git a/.github/workflows/ipa-release.yml b/.github/workflows/ipa-release.yml index 1176f03057..e3263827ed 100644 --- a/.github/workflows/ipa-release.yml +++ b/.github/workflows/ipa-release.yml @@ -40,7 +40,9 @@ jobs: version_changed=$(./.github/scripts/ipa_version_check.sh) echo "Version changed? ${version_changed}" echo "version_changed=${version_changed}" >> "${GITHUB_OUTPUT}" - echo "current_version=${jq -r '.version' tools/spectral/ipa/package.json}" >> "${GITHUB_OUTPUT}" + current_version=$(jq -r '.version' tools/spectral/ipa/package.json) + echo "Current version: ${current_version}" + echo "current_version=${current_version}" >> "${GITHUB_OUTPUT}" create-tag: runs-on: ubuntu-latest diff --git a/tools/spectral/ipa/CHANGELOG.md b/tools/spectral/ipa/CHANGELOG.md index f12fcce303..4641ccf51c 100644 --- a/tools/spectral/ipa/CHANGELOG.md +++ b/tools/spectral/ipa/CHANGELOG.md @@ -1,3 +1,20 @@ ### Changelog All notable changes to this project will be documented in this file. Dates are displayed in UTC. + +#### [1.0.0](https://github.com/mongodb/openapi/compare/ipa-validation-ruleset-v0.0.1...1.0.0) + +- fix(ipa): Validate both inline and reusable enums [`#890`](https://github.com/mongodb/openapi/pull/890) +- feat(ipa): error on unneeded exceptions IPA 117-126 [`#881`](https://github.com/mongodb/openapi/pull/881) +- feat(ipa): error on unneeded exceptions IPA 108-114 [`#880`](https://github.com/mongodb/openapi/pull/880) +- feat(ipa): error on unneeded exceptions IPA 105-107 [`#878`](https://github.com/mongodb/openapi/pull/878) +- feat(ipa): error on unneeded exceptions IPA 005-104 [`#877`](https://github.com/mongodb/openapi/pull/877) +- docs(ipa): update ipa readme [`#876`](https://github.com/mongodb/openapi/pull/876) + + + +#### ipa-validation-ruleset-v0.0.1 + +> 8 August 2025 + +First release of IPA Validation Ruleset package. diff --git a/tools/spectral/ipa/CONTRIBUTING.md b/tools/spectral/ipa/CONTRIBUTING.md index c83db9bdcb..3c9c2df596 100644 --- a/tools/spectral/ipa/CONTRIBUTING.md +++ b/tools/spectral/ipa/CONTRIBUTING.md @@ -81,7 +81,7 @@ A new version of the IPA package will be released when the version in the packag - patch (0.0.X) - Backwards-compatible bug fixes - [ ] Update the version number in package.json - [ ] Run `npm run gen-ipa-changelog` and commit the changes. The changelog must be updated alongside a new release. -- [ ] Open a PR and ensure the title is conventional and scoped to IPA (ie: `ci(ipa): release new version`) +- [ ] Open a PR and ensure the title is conventional and scoped to IPA (ie: `ci(ipa): release new version x.x.x`) When your PR is approved and merged to main, the package will be automatically published to the NPM registry. diff --git a/tools/spectral/ipa/package.json b/tools/spectral/ipa/package.json index bbf8029a3b..9967158307 100644 --- a/tools/spectral/ipa/package.json +++ b/tools/spectral/ipa/package.json @@ -1,6 +1,6 @@ { "name": "@mongodb-js/ipa-validation-ruleset", - "version": "0.0.1", + "version": "1.0.0", "description": "Custom validation rules for MongoDB API Standards (IPA).", "keywords": [ "mongodb", @@ -42,6 +42,7 @@ "hideCredit": true, "tagPattern": "ipa-validation-ruleset-v\\d+\\.\\d+\\.\\d+", "tagPrefix": "ipa-validation-ruleset-v", + "ignoreCommitPattern": "^ci.*$", "hideEmptyReleases" : true, "contributors": false }