chore: update @redocly/ajv dependency and temporary pin it#2722
chore: update @redocly/ajv dependency and temporary pin it#2722AlbinaBlazhko17 wants to merge 2 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: e5b19b6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Coverage Report
File CoverageNo changed files found. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e5b19b6. Configure here.
| "license": "MIT", | ||
| "dependencies": { | ||
| "@redocly/ajv": "^8.18.0", | ||
| "@redocly/ajv": "8.18.1", |
There was a problem hiding this comment.
CLI package ajv dependency not updated to 8.18.1
Medium Severity
The @redocly/cli package still has "ajv": "npm:@redocly/ajv@8.18.0" while packages/core and packages/respect-core were both updated to npm:@redocly/ajv@8.18.1. This creates a version inconsistency across the monorepo — the cli package resolves its own ajv to 8.18.0 (confirmed in the lockfile) while its transitive dependencies openapi-core and respect-core use 8.18.1. This was likely an oversight when applying the version update and pin.
Reviewed by Cursor Bugbot for commit e5b19b6. Configure here.


What/Why/How?
Hotfix:
v8.18.2the smoke tests started to failReference
Testing
Screenshots (optional)
Check yourself
Security
Note
Low Risk
Low risk dependency maintenance change, but it affects schema validation behavior by locking both
@redocly/ajvand theajvalias to a specific patch version.Overview
Updates
@redocly/openapi-coreand@redocly/respect-coreto pin@redocly/ajv(and theajvnpm alias) to8.18.1instead of allowing^8.18.0ranges, and updates the lockfile accordingly.Adds a changeset to publish patch releases for both packages reflecting this temporary dependency pin.
Reviewed by Cursor Bugbot for commit e5b19b6. Bugbot is set up for automated code reviews on this repo. Configure here.