Skip to content

chore: dependency updates Q2 2026#27

Merged
v4ll3l1 merged 7 commits into
mainfrom
chore/dependency-updates-Q2-26
Apr 23, 2026
Merged

chore: dependency updates Q2 2026#27
v4ll3l1 merged 7 commits into
mainfrom
chore/dependency-updates-Q2-26

Conversation

@v4ll3l1
Copy link
Copy Markdown
Contributor

@v4ll3l1 v4ll3l1 commented Apr 22, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates core runtime/tooling dependencies (notably Middy and Node) to keep the monorepo’s API middleware and CI/publish pipelines aligned with newer versions.

Changes:

  • Bump @middy/* dependencies to ~7.3.1 and update ajv to ^8.18.0.
  • Update repo/CI Node version targeting (workflows to 24.x, .nvmrc to lts/krypton).
  • Add a TypeScript workaround in middyfy for @middy/validator v7 type declaration issues.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/api/src/lib/middleware/middyfy.ts Adds typing workaround for Middy v7 validator schema parameters.
package.json Updates Middy/AJV and multiple dev tooling dependencies (Nx, SWC, Node types).
.nvmrc Updates the nvm-managed Node LTS selector.
.github/workflows/npm-publish.yml Moves publish workflow to Node 24.x.
.github/workflows/checks.yml Moves CI checks workflow to Node 24.x.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/api/src/lib/middleware/middyfy.ts Outdated
Type the compiled ajv validators as `ValidateFunction | null` and cast
only once at the `validator()` call site (where @middy/validator's .d.ts
mistypes the options as `Ajv` instead of the compiled `ValidateFunction`
it actually invokes at runtime). Keeps `any` from leaking into the rest
of the middleware.

Made-with: Cursor
@sonarqubecloud
Copy link
Copy Markdown

@v4ll3l1 v4ll3l1 merged commit 86b10fe into main Apr 23, 2026
5 checks passed
@v4ll3l1 v4ll3l1 deleted the chore/dependency-updates-Q2-26 branch April 23, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants