Skip to content

chore(deps): update dependencies to latest minor versions - #12017

Merged
alumni merged 2 commits into
typeorm:masterfrom
alumni:chore/update-dependencies
Feb 21, 2026
Merged

alumni merged 2 commits into
typeorm:masterfrom
alumni:chore/update-dependencies

Conversation

@alumni

@alumni alumni commented Feb 20, 2026

Copy link
Copy Markdown
Collaborator

Description of change

Updates all dependencies in this repo to their latest minor version. Silences some security warnings that are not really applicable to us anyway.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

User description

Description of change

Updates all dependencies in this repo to their latest minor version. Silences some security warnings that are not really applicable to us anyway.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

PR Type

Enhancement


Description

  • Update all dependencies to latest minor versions

  • Improve JSDoc comments with parameter documentation

  • Format code examples in comments with backticks

  • Update pnpm package manager to version 10.30.1


Diagram Walkthrough

flowchart LR
  A["Dependencies"] -->|"Update to latest minor"| B["package.json"]
  C["JSDoc Comments"] -->|"Add @param documentation"| D["RelationJoinColumnBuilder.ts"]
  E["Code Examples"] -->|"Format with backticks"| D
  B -->|"Update pnpm"| F["packageManager config"]
Loading

File Walkthrough

Relevant files
Dependencies
package.json
Dependency updates and pnpm upgrade                                           

package.json

  • Update 30+ dependencies to latest minor versions (dedent, dotenv,
    @eslint/js, @google-cloud/spanner, @sap/hana-client,
    @stryker-mutator/*, @types/node, better-sqlite3, chai, eslint,
    eslint-plugin-jsdoc, globals, mysql2, pg, pg-query-stream, pkg-pr-new,
    redis, sinon, sort-package-json, sql.js, typescript-eslint)
  • Upgrade pnpm package manager from 10.26.2 to 10.30.1
  • Remove minimumReleaseAge configuration from renovate settings
  • Update peerDependencies redis constraint from ^5.0.14 to ^5.0.0
+27/-28 
Documentation
RelationJoinColumnBuilder.ts
Improve JSDoc documentation and formatting                             

src/metadata-builder/RelationJoinColumnBuilder.ts

  • Format code examples in JSDoc comments with backticks for better
    readability
  • Add missing @param documentation for joinColumns and relation
    parameters in build() method
  • Add missing @param documentation for joinColumns and relation
    parameters in collectReferencedColumns() method
  • Add missing @param documentation for joinColumns, relation, and
    referencedColumns parameters in collectColumns() method
+13/-6   

@pkg-pr-new

pkg-pr-new Bot commented Feb 20, 2026 •

Copy link
Copy Markdown
  • typeorm-sql-js-example

    npm i https://pkg.pr.new/typeorm/typeorm@12017
    

commit: f291994

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Feb 20, 2026 •

Copy link
Copy Markdown

PR Code Suggestions ✨

Latest suggestions up to 564c4f7

CategorySuggestion                                                                                                                                    Impact
Possible issue
Restore dependency update safety gate

Restore the taze.minimumReleaseAge setting in package.json. This avoids
automatically upgrading to very new releases, reducing the risk of breakage from
unstable dependencies.

package.json [258-262]

 "taze": {
   "exclude": [
     "libpq",
     "oracledb",
     "protobufjs"
-  ]
+  ],
+  "minimumReleaseAge": 1440
 },

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why: The suggestion correctly identifies the removal of minimumReleaseAge from the taze configuration, which is a valid risk management concern for dependency updates, and restoring it would improve the stability of the update process.

Low
  • More

Previous suggestions

Suggestions up to commit cce8316
CategorySuggestion                                                                                                                                    Impact
Possible issue
Verify Node.js version for AWS-SDK

The updated @aws-sdk/* packages now require Node.js v20.0.0 or higher, up from
v18.0.0. Verify that your environments meet this new requirement to prevent
runtime failures.

pnpm-lock.yaml [269-280]

-+  '@aws-sdk/[email protected]':
-+    resolution: {integrity: sha512-eEEniDlV6CC2/nHAgt7VwKz/9PL6bDmr+AqijOdcSptX/kpFmAah3lUkYGIAajMIKJqaJBIDJGV1cY0eDNEQCw==}
-+    engines: {node: '>=20.0.0'}
-...
-+  '@aws-sdk/[email protected]':
-+    resolution: {integrity: sha512-VLUN+wIeNX24fg12SCbzTUBnBENlL014yMKZvRhPkcn4wHR6LKgNrjsG3fZ03Xs0XoKaGtNFi1VVrq666sGBoQ==}
-+    engines: {node: '>=20.0.0'}
-...
-+  '@aws-sdk/[email protected]':
-+    resolution: {integrity: sha512-wdQ8vrvHkKIV7yNUKXyjPWKCdYEUrZTHJ8Ojd5uJxXp9vqPCkUR1dpi1NtOLcrDgueJH7MUH5lQZxshjFPSbDA==}
-+    engines: {node: '>=20.0.0'}
+# This is a configuration file, not code.
+# The suggestion is to verify the Node.js environment or revert the change.
+# Example of reverting for one package:
+-  '@aws-sdk/[email protected]':
+-    resolution: {integrity: sha512-VrIUNF+wMn6tDH82f+UmYCfHm959OCiVSdppEw/f1MbDaLKyOjoPOpIetKZC9mioZjNmB1YU7SSX7651+9NNQQ==}
+-    engines: {node: '>=18.0.0'}
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies a potentially breaking change in the required Node.js version for @aws-sdk/* packages and advises the user to verify their environment, which is a valid and important concern.

Medium
Review major version bumps for @actions

The @actions/* packages have been updated to new major versions (e.g., v1 to
v3), which may introduce breaking changes like requiring Node.js 20. Review the
changelogs and update your GitHub Actions workflows.

pnpm-lock.yaml [240-247]

+# This is a configuration file, not code.
+# The suggestion is to verify the GitHub Actions environment or revert the change.
+# Example of reverting for one package:
 -  '@actions/[email protected]':
 -    resolution: {integrity: sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==}
 
--  '@actions/[email protected]':
--    resolution: {integrity: sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==}
-
--  '@actions/[email protected]':
--    resolution: {integrity: sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==}
-
-+  '@actions/[email protected]':
-+    resolution: {integrity: sha512-zYt6cz+ivnTmiT/ksRVriMBOiuoUpDCJJlZ5KPl2/FRdvwU3f7MPh9qftvbkXJThragzUZieit2nyHUyw53Seg==}
-
-+  '@actions/[email protected]':
-+    resolution: {integrity: sha512-6xH/puSoNBXb72VPlZVm7vQ+svQpFyA96qdDBvhB8eNZOE8LtPf9L4oAsfzK/crCL8YZ+19fKYVnM63Sl+Xzlw==}
-
-+  '@actions/[email protected]':
-+    resolution: {integrity: sha512-QuwPsgVMsD6qaPD57GLZi9sqzAZCtiJT8kVBCDpLtxhL5MydQ4gS+DrejtZZPdIYyB1e95uCK9Luyds7ybHI3g==}
-
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly points out major version bumps for @actions/* packages and the associated risk of breaking changes, such as new Node.js version requirements, which is an important consideration for CI/CD workflows.

Medium
Verify Node.js version for jsdoccomment

The @es-joy/jsdoccomment update changes the required Node.js version from
>=20.11.0 to a more restrictive range. Ensure your environment is compatible to
avoid issues.

pnpm-lock.yaml [642-644]

+# This is a configuration file, not code.
+# The suggestion is to verify the Node.js environment or revert the change.
+# Example of reverting:
 -  '@es-joy/[email protected]':
 -    resolution: {integrity: sha512-g+RihtzFgGTx2WYCuTHbdOXJeAlGnROws0TeALx9ow/ZmOROOZkVg5wp/B44n0WJgI4SQFP1eWM2iRPlU2Y14w==}
 -    engines: {node: '>=20.11.0'}
 
-+  '@es-joy/[email protected]':
-+    resolution: {integrity: sha512-0xew1CxOam0gV5OMjh2KjFQZsKL2bByX1+q4j3E73MpYIdyUxcZb/xQct9ccUb+ve5KGUYbCUxyPnYB7RbuP+w==}
-+    engines: {node: ^20.19.0 || ^22.13.0 || >=24}
-
Suggestion importance[1-10]: 7

__

Why: The suggestion accurately identifies a change in the Node.js engine requirement for @es-joy/jsdoccomment that drops support for some patch versions of Node.js 20, which is a valid and helpful warning.

Medium
Align redis peer dependency range

Align the redis version in peerDependencies with the version in devDependencies
(^5.11.0) to prevent potential version conflicts for consumers.

package.json [171-186]

 "peerDependencies": {
-  "@google-cloud/spanner": "^8.0.0",
+  "@google-cloud-spanner": "^8.0.0",
   "pg": "^8.5.1",
   "pg-native": "^3.0.0",
   "pg-query-stream": "^4.0.0",
-  "redis": "^5.0.0",
+  "redis": "^5.11.0",
   "sql.js": "^1.4.0",
   "sqlite3": "^5.0.3",
   "ts-node": "^10.9.2"
 }
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly points out a potential version mismatch between peerDependencies and devDependencies for redis, which could cause issues for consumers of the package.

Medium
General
Restore safety buffer for dependency updates

Consider restoring the minimumReleaseAge field in the Renovate configuration.
This provides a safety buffer by delaying dependency updates, reducing the risk
of adopting unstable or malicious packages.

package.json [261-262]

+"minimumReleaseAge": 1440
 
-
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies the removal of the minimumReleaseAge field and accurately explains its purpose as a safety measure, which is a valid and important concern for dependency management.

Medium

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (1) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. @PARAM tags lack descriptions 📘 Rule violation ✓ Correctness
Description
New JSDoc @param entries were added without any description, which reads as low-signal/comment
noise. This conflicts with the requirement to avoid AI-generated slop and unnecessary comments.
Code

src/metadata-builder/RelationJoinColumnBuilder.ts[R54-55]

+     * @param joinColumns
+     * @param relation
Evidence
The compliance checklist forbids introducing AI-like comment noise; the PR adds bare @param tags
(no descriptions) to multiple docblocks (example shown at lines 54-55).

Rule 4: Remove AI-generated noise
src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
New JSDoc `@param` tags were added without descriptions (e.g., `@param joinColumns`), which is effectively comment noise and can be interpreted as AI-generated slop.

## Issue Context
This PR is primarily dependency updates; the only source change adds low-signal JSDoc tags in `RelationJoinColumnBuilder`.

## Fix Focus Areas
- src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
- src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
- src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Docs pnpm version drift 🐞 Bug ⛯ Reliability
Description
Root package.json pins pnpm 10.30.1, but docs/package.json still pins pnpm 10.26.2, so developers
using corepack may get different pnpm versions depending on working directory. This can lead to
inconsistent installs and unnecessary lockfile rewrites/conflicts when switching between root and
docs.
Code

package.json[R239-246]

+  "packageManager": "[email protected]",
  "engines": {
    "node": "^20.19.0 || ^22.12.0 || >=24.11.0"
  },
  "devEngines": {
    "packageManager": {
      "name": "pnpm",
-      "version": "^10.26.2",
+      "version": "^10.30.1",
Evidence
The PR updates the repo root to require pnpm 10.30.1, while the docs subproject continues to declare
pnpm 10.26.2, creating a split-brain toolchain requirement within the same repo.

package.json[239-247]
docs/package.json[46-49]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
The repo root now pins pnpm to `10.30.1`, but `docs/package.json` still pins `[email protected]`. This can cause contributors using corepack to run different pnpm versions depending on whether they are in the repo root or `./docs`, leading to inconsistent install behavior and lockfile churn.

### Issue Context
- Root toolchain pin is updated.
- Docs subproject still has an older toolchain pin.

### Fix Focus Areas
- docs/package.json[46-56]

### Suggested change
- Update `docs/package.json` `packageManager` to `[email protected]` (and keep it in sync going forward), OR remove the `packageManager` field from `docs/package.json` to rely on the root pin (if that’s your intended workflow).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@coveralls

coveralls commented Feb 20, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 81.267% (-0.02%) from 81.291%
when pulling f291994 on alumni:chore/update-dependencies
into 0b6ce64 on typeorm:master.

@alumni
alumni force-pushed the chore/update-dependencies branch from cce8316 to 564c4f7 Compare February 20, 2026 21:31
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (3) 📘 Rule violations (1) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Untested peer minimums 🐞 Bug ⛯ Reliability ⭐ New
Description
This PR updates DB/cache driver devDependencies (used by CI/tests) while peerDependencies still
allow older minimum versions, so regressions affecting the lower end of the supported range could
ship unnoticed. Consider either adding CI coverage for lowest-supported versions or bumping
peerDependency minimums to match what’s tested.
Code

package.json[R151-160]

+    "mysql2": "^3.17.4",
    "oracledb": "^6.10.0",
-    "pg": "^8.16.3",
-    "pg-query-stream": "^4.10.3",
-    "pkg-pr-new": "^0.0.62",
+    "pg": "^8.18.0",
+    "pg-query-stream": "^4.12.0",
+    "pkg-pr-new": "^0.0.63",
    "prettier": "^3.8.1",
    "prettier-plugin-packagejson": "^3.0.0",
    "prettier-plugin-toml": "^2.0.6",
-    "redis": "^5.10.0",
-    "sinon": "^21.0.0",
+    "redis": "^5.11.0",
+    "sinon": "^21.0.1",
Evidence
DevDependencies were bumped (these are what the repo’s tests will exercise), but peerDependencies
still declare older minimums that external consumers may install. These packages are actually loaded
at runtime via PlatformTools, so incompatibilities would manifest as runtime issues for consumers
rather than build-time failures in this repo.

package.json[148-160]
package.json[171-187]
src/platform/PlatformTools.ts[79-113]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Driver devDependencies were bumped (versions CI/tests will run), but peerDependencies still advertise older minimum supported versions. This can let breaking changes for the lower end of the supported range slip through.

## Issue Context
TypeORM dynamically loads optional drivers at runtime (e.g., mysql2/pg/redis). Consumers may install versions at the low end of the peer range that are not exercised by CI.

## Fix Focus Areas
- package.json[148-187]
- .github/workflows/tests.yml[48-100]
- src/platform/PlatformTools.ts[79-113]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. @PARAM tags lack descriptions 📘 Rule violation ✓ Correctness
Description
New JSDoc @param entries were added without any description, which reads as low-signal/comment
noise. This conflicts with the requirement to avoid AI-generated slop and unnecessary comments.
Code

src/metadata-builder/RelationJoinColumnBuilder.ts[R54-55]

+     * @param joinColumns
+     * @param relation
Evidence
The compliance checklist forbids introducing AI-like comment noise; the PR adds bare @param tags
(no descriptions) to multiple docblocks (example shown at lines 54-55).

Rule 4: Remove AI-generated noise
src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
New JSDoc `@param` tags were added without descriptions (e.g., `@param joinColumns`), which is effectively comment noise and can be interpreted as AI-generated slop.
## Issue Context
This PR is primarily dependency updates; the only source change adds low-signal JSDoc tags in `RelationJoinColumnBuilder`.
## Fix Focus Areas
- src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
- src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
- src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Docs pnpm version drift 🐞 Bug ⛯ Reliability
Description
Root package.json pins pnpm 10.30.1, but docs/package.json still pins pnpm 10.26.2, so developers
using corepack may get different pnpm versions depending on working directory. This can lead to
inconsistent installs and unnecessary lockfile rewrites/conflicts when switching between root and
docs.
Code

package.json[R239-246]

+  "packageManager": "[email protected]",
 "engines": {
   "node": "^20.19.0 || ^22.12.0 || >=24.11.0"
 },
 "devEngines": {
   "packageManager": {
     "name": "pnpm",
-      "version": "^10.26.2",
+      "version": "^10.30.1",
Evidence
The PR updates the repo root to require pnpm 10.30.1, while the docs subproject continues to declare
pnpm 10.26.2, creating a split-brain toolchain requirement within the same repo.

package.json[239-247]
docs/package.json[46-49]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The repo root now pins pnpm to `10.30.1`, but `docs/package.json` still pins `[email protected]`. This can cause contributors using corepack to run different pnpm versions depending on whether they are in the repo root or `./docs`, leading to inconsistent install behavior and lockfile churn.
### Issue Context
- Root toolchain pin is updated.
- Docs subproject still has an older toolchain pin.
### Fix Focus Areas
- docs/package.json[46-56]
### Suggested change
- Update `docs/package.json` `packageManager` to `[email protected]` (and keep it in sync going forward), OR remove the `packageManager` field from `docs/package.json` to rely on the root pin (if that’s your intended workflow).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Advisory comments

4. Redis peer range widened 🐞 Bug ⛯ Reliability ⭐ New
Description
The redis peerDependency was widened to allow older 5.0.x versions, expanding the supported range
without any explicit compatibility coverage. Since the Redis cache implementation contains
client-version-sensitive logic, consider keeping the higher minimum or adding a test job that pins
the lower bound.
Code

package.json[183]

+    "redis": "^5.0.0",
Evidence
The repo’s cache layer contains logic that branches based on redis client capabilities/versions
(connect()/legacyMode and promise vs callback quit/get flows). Widening the supported peer range
increases the chance of hitting an untested behavior variation in user environments.

package.json[171-185]
src/cache/RedisQueryResultCache.ts[55-91]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The redis peerDependency range was widened (lower minimum), which expands the advertised support surface. Given RedisQueryResultCache’s version-sensitive behavior, it’s safer to either keep a known-good minimum or validate the lower bound in CI.

## Issue Context
TypeORM’s Redis cache adapts behavior based on redis client capabilities/versions (connect/legacyMode and promise vs callback flows).

## Fix Focus Areas
- package.json[171-185]
- src/cache/RedisQueryResultCache.ts[55-150]
- .github/workflows/tests.yml[48-100]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (5) 📘 Rule violations (2) 📎 Requirement gaps (0)

Grey Divider


Remediation recommended

1. Unpinned pnpm in CI 🐞 Bug ⛯ Reliability ⭐ New
Description
The repo now pins [email protected] in package.json, but GitHub workflows install pnpm via
pnpm/action-setup without an explicit version, which can cause CI/local pnpm version drift and
lockfile/install inconsistencies over time.
Code

package.json[R239-246]

+  "packageManager": "[email protected]",
  "engines": {
    "node": "^20.19.0 || ^22.12.0 || >=24.11.0"
  },
  "devEngines": {
    "packageManager": {
      "name": "pnpm",
-      "version": "^10.26.2",
+      "version": "^10.30.1",
Evidence
package.json declares a specific pnpm version (and enforces it for dev via devEngines), but CI
workflows invoke pnpm/action-setup without a version input, leaving the actual pnpm version used in
CI subject to action defaults rather than the repo’s declared version.

package.json[239-248]
.github/workflows/tests.yml[52-60]
pr_files_diffs/package_json.patch[113-129]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
CI installs pnpm using `pnpm/action-setup@v4` without specifying a pnpm version. Since the repo now declares `"packageManager": "[email protected]"`, CI should consistently use that version to avoid drift and lockfile/install inconsistencies.

### Issue Context
- The repo pins pnpm in `package.json`.
- Multiple workflows call `pnpm/action-setup@v4` without a `with: version:`.

### Fix Focus Areas
- package.json[239-248]
- .github/workflows/tests.yml[52-60]
- .github/workflows/tests-linux.yml[23-29]
- .github/workflows/tests-windows.yml[13-20]
- .github/workflows/preview.yml[17-27]
- .github/workflows/publish-package.yml[78-89]
- .github/workflows/mutation-test.yml[45-52]
- .github/workflows/deploy-docs-cloudflare-pages.yml[23-35]

### Suggested change
For each `pnpm/action-setup@v4` step, add:
```yaml
- uses: pnpm/action-setup@v4
 with:
   version: 10.30.1
```
Alternatively, enable corepack and ensure pnpm resolves from `packageManager`, but do so explicitly and consistently across workflows.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. @PARAM tags lack descriptions 📘 Rule violation ✓ Correctness
Description
New JSDoc @param entries were added without any description, which reads as low-signal/comment
noise. This conflicts with the requirement to avoid AI-generated slop and unnecessary comments.
Code

src/metadata-builder/RelationJoinColumnBuilder.ts[R54-55]

+     * @param joinColumns
+     * @param relation
Evidence
The compliance checklist forbids introducing AI-like comment noise; the PR adds bare @param tags
(no descriptions) to multiple docblocks (example shown at lines 54-55).

Rule 4: Remove AI-generated noise
src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
New JSDoc `@param` tags were added without descriptions (e.g., `@param joinColumns`), which is effectively comment noise and can be interpreted as AI-generated slop.
## Issue Context
This PR is primarily dependency updates; the only source change adds low-signal JSDoc tags in `RelationJoinColumnBuilder`.
## Fix Focus Areas
- src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
- src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
- src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Docs pnpm version drift 🐞 Bug ⛯ Reliability
Description
Root package.json pins pnpm 10.30.1, but docs/package.json still pins pnpm 10.26.2, so developers
using corepack may get different pnpm versions depending on working directory. This can lead to
inconsistent installs and unnecessary lockfile rewrites/conflicts when switching between root and
docs.
Code

package.json[R239-246]

+  "packageManager": "[email protected]",
 "engines": {
   "node": "^20.19.0 || ^22.12.0 || >=24.11.0"
 },
 "devEngines": {
   "packageManager": {
     "name": "pnpm",
-      "version": "^10.26.2",
+      "version": "^10.30.1",
Evidence
The PR updates the repo root to require pnpm 10.30.1, while the docs subproject continues to declare
pnpm 10.26.2, creating a split-brain toolchain requirement within the same repo.

package.json[239-247]
docs/package.json[46-49]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The repo root now pins pnpm to `10.30.1`, but `docs/package.json` still pins `[email protected]`. This can cause contributors using corepack to run different pnpm versions depending on whether they are in the repo root or `./docs`, leading to inconsistent install behavior and lockfile churn.
### Issue Context
- Root toolchain pin is updated.
- Docs subproject still has an older toolchain pin.
### Fix Focus Areas
- docs/package.json[46-56]
### Suggested change
- Update `docs/package.json` `packageManager` to `[email protected]` (and keep it in sync going forward), OR remove the `packageManager` field from `docs/package.json` to rely on the root pin (if that’s your intended workflow).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


View more (3)
4. Untested peer minimums 🐞 Bug ⛯ Reliability
Description
This PR updates DB/cache driver devDependencies (used by CI/tests) while peerDependencies still
allow older minimum versions, so regressions affecting the lower end of the supported range could
ship unnoticed. Consider either adding CI coverage for lowest-supported versions or bumping
peerDependency minimums to match what’s tested.
Code

package.json[R151-160]

+    "mysql2": "^3.17.4",
   "oracledb": "^6.10.0",
-    "pg": "^8.16.3",
-    "pg-query-stream": "^4.10.3",
-    "pkg-pr-new": "^0.0.62",
+    "pg": "^8.18.0",
+    "pg-query-stream": "^4.12.0",
+    "pkg-pr-new": "^0.0.63",
   "prettier": "^3.8.1",
   "prettier-plugin-packagejson": "^3.0.0",
   "prettier-plugin-toml": "^2.0.6",
-    "redis": "^5.10.0",
-    "sinon": "^21.0.0",
+    "redis": "^5.11.0",
+    "sinon": "^21.0.1",
Evidence
DevDependencies were bumped (these are what the repo’s tests will exercise), but peerDependencies
still declare older minimums that external consumers may install. These packages are actually loaded
at runtime via PlatformTools, so incompatibilities would manifest as runtime issues for consumers
rather than build-time failures in this repo.

package.json[148-160]
package.json[171-187]
src/platform/PlatformTools.ts[79-113]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Driver devDependencies were bumped (versions CI/tests will run), but peerDependencies still advertise older minimum supported versions. This can let breaking changes for the lower end of the supported range slip through.
## Issue Context
TypeORM dynamically loads optional drivers at runtime (e.g., mysql2/pg/redis). Consumers may install versions at the low end of the peer range that are not exercised by CI.
## Fix Focus Areas
- package.json[148-187]
- .github/workflows/tests.yml[48-100]
- src/platform/PlatformTools.ts[79-113]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


5. @PARAM tags lack descriptions 📘 Rule violation ✓ Correctness
Description
New JSDoc @param entries were added without any description, which reads as low-signal/comment
noise. This conflicts with the requirement to avoid AI-generated slop and unnecessary comments.
Code

src/metadata-builder/RelationJoinColumnBuilder.ts[R54-55]

+     * @param joinColumns
+     * @param relation
Evidence
The compliance checklist forbids introducing AI-like comment noise; the PR adds bare @param tags
(no descriptions) to multiple docblocks (example shown at lines 54-55).

Rule 4: Remove AI-generated noise
src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
New JSDoc `@param` tags were added without descriptions (e.g., `@param joinColumns`), which is effectively comment noise and can be interpreted as AI-generated slop.
## Issue Context
This PR is primarily dependency updates; the only source change adds low-signal JSDoc tags in `RelationJoinColumnBuilder`.
## Fix Focus Areas
- src/metadata-builder/RelationJoinColumnBuilder.ts[52-56]
- src/metadata-builder/RelationJoinColumnBuilder.ts[123-127]
- src/metadata-builder/RelationJoinColumnBuilder.ts[165-170]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


6. Docs pnpm version drift 🐞 Bug ⛯ Reliability
Description
Root package.json pins pnpm 10.30.1, but docs/package.json still pins pnpm 10.26.2, so developers
using corepack may get different pnpm versions depending on working directory. This can lead to
inconsistent installs and unnecessary lockfile rewrites/conflicts when switching between root and
docs.
Code

package.json[R239-246]

+  "packageManager": "[email protected]",
"engines": {
  "node": "^20.19.0 || ^22.12.0 || >=24.11.0"
},
"devEngines": {
  "packageManager": {
    "name": "pnpm",
-      "version": "^10.26.2",
+      "version": "^10.30.1",
Evidence
The PR updates the repo root to require pnpm 10.30.1, while the docs subproject continues to declare
pnpm 10.26.2, creating a split-brain toolchain requirement within the same repo.

package.json[239-247]
docs/package.json[46-49]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The repo root now pins pnpm to `10.30.1`, but `docs/package.json` still pins `[email protected]`. This can cause contributors using corepack to run different pnpm versions depending on whether they are in the repo root or `./docs`, leading to inconsistent install behavior and lockfile churn.
### Issue Context
- Root toolchain pin is updated.
- Docs subproject still has an older toolchain pin.
### Fix Focus Areas
- docs/package.json[46-56]
### Suggested change
- Update `docs/package.json` `packageManager` to `[email protected]` (and keep it in sync going forward), OR remove the `packageManager` field from `docs/package.json` to rely on the root pin (if that’s your intended workflow).

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Advisory comments

7. Redis peer range widened 🐞 Bug ⛯ Reliability
Description
The redis peerDependency was widened to allow older 5.0.x versions, expanding the supported range
without any explicit compatibility coverage. Since the Redis cache implementation contains
client-version-sensitive logic, consider keeping the higher minimum or adding a test job that pins
the lower bound.
Code

package.json[183]

+    "redis": "^5.0.0",
Evidence
The repo’s cache layer contains logic that branches based on redis client capabilities/versions
(connect()/legacyMode and promise vs callback quit/get flows). Widening the supported peer range
increases the chance of hitting an untested behavior variation in user environments.

package.json[171-185]
src/cache/RedisQueryResultCache.ts[55-91]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The redis peerDependency range was widened (lower minimum), which expands the advertised support surface. Given RedisQueryResultCache’s version-sensitive behavior, it’s safer to either keep a known-good minimum or validate the lower bound in CI.
## Issue Context
TypeORM’s Redis cache adapts behavior based on redis client capabilities/versions (connect/legacyMode and promise vs callback flows).
## Fix Focus Areas
- package.json[171-185]
- src/cache/RedisQueryResultCache.ts[55-150]
- .github/workflows/tests.yml[48-100]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@alumni
alumni merged commit a66c664 into typeorm:master Feb 21, 2026
38 checks passed
@pkuczynski pkuczynski added this to the 1.0 milestone Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants