Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ipa-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Comment on lines +43 to +45
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed a bug here, tested on the branch that the current version fetch works


create-tag:
runs-on: ubuntu-latest
Expand Down
17 changes: 17 additions & 0 deletions tools/spectral/ipa/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

<!-- auto-changelog-above -->

#### ipa-validation-ruleset-v0.0.1

> 8 August 2025
First release of IPA Validation Ruleset package.
2 changes: 1 addition & 1 deletion tools/spectral/ipa/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion tools/spectral/ipa/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -42,6 +42,7 @@
"hideCredit": true,
"tagPattern": "ipa-validation-ruleset-v\\d+\\.\\d+\\.\\d+",
"tagPrefix": "ipa-validation-ruleset-v",
"ignoreCommitPattern": "^ci.*$",
Comment on lines 43 to +45
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this to ignore ci commits, and specifically the merge commit of this PR

"hideEmptyReleases" : true,
"contributors": false
}
Expand Down
Loading