Skip to content

chore(legacy-naming-strategies): bump to 1.0.0 - #12518

Merged
michaelbromley merged 1 commit into
masterfrom
release/legacy-naming-strategies-v1.0.0
May 19, 2026
Merged

michaelbromley merged 1 commit into
masterfrom
release/legacy-naming-strategies-v1.0.0

Conversation

@michaelbromley

Copy link
Copy Markdown
Member

Summary

Bumps @typeorm/legacy-naming-strategies to its first stable release, v1.0.0, following the publication of [email protected].

  • version: 1.0.0-beta.3 → 1.0.0
  • devDependencies.typeorm: 1.0.0-beta.3 → 1.0.0
  • peerDependencies.typeorm: ^1.0.0-beta.3 → ^1.0.0
  • Inner pnpm-lock.yaml regenerated

Test plan

  • pnpm run build in packages/legacy-naming-strategies — clean
  • pnpm run test in packages/legacy-naming-strategies — 4/4 passing
  • After merge: npm publish from packages/legacy-naming-strategies (manual publish — no automated workflow for this package)
  • pnpm view @typeorm/legacy-naming-strategies@latest version → 1.0.0

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'typeorm-legacy-naming-strategies'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

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

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0)

Grey Divider


Action required

1. Node engine mismatch 🐞 Bug ☼ Reliability
Description
@typeorm/legacy-naming-strategies now pins/peers typeorm@^1.0.0, but still declares "engines.node":
">=20" even though TypeORM 1.0.0 requires Node ^20.19.0 (or newer majors). This can cause
engine-strict installs to fail on Node 20.0–20.18 despite the package claiming support.
Code

packages/legacy-naming-strategies/package.json[R50-58]

+    "typeorm": "1.0.0",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.59.2"
  },
  "peerDependencies": {
-    "typeorm": "^1.0.0-beta.3"
+    "typeorm": "^1.0.0"
  },
  "engines": {
    "node": ">=20"
Evidence
The legacy package declares Node ">=20" while both the repo's TypeORM package and the legacy
package's lockfile show TypeORM 1.0.0 requires Node ^20.19.0 (or newer majors), so the published
engines field is looser than the actual supported runtime for its peer dependency.

packages/legacy-naming-strategies/package.json[50-59]
packages/legacy-naming-strategies/pnpm-lock.yaml[821-824]
package.json[225-227]

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

### Issue description
`packages/legacy-naming-strategies` declares `engines.node: ">=20"`, but it now depends on/peers with `typeorm@^1.0.0`, which itself requires Node `^20.19.0 || ^22.13.0 || >=24.11.0`. This mismatch can break installs for users on Node 20.0–20.18 under engine-strict and is misleading for consumers.

### Issue Context
TypeORM 1.0.0 declares a stricter Node engine requirement than `>=20`.

### Fix Focus Areas
- packages/legacy-naming-strategies/package.json[57-59]

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


Grey Divider

  • Author self-review: I have reviewed the code review findings, and addressed the relevant ones.

Qodo Logo

@michaelbromley
michaelbromley merged commit b046a84 into master May 19, 2026
16 checks passed
@michaelbromley
michaelbromley deleted the release/legacy-naming-strategies-v1.0.0 branch May 19, 2026 11:36
@github-actions github-actions Bot added this to the 1.0 milestone May 19, 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.

1 participant