Skip to content

chore(release): prepare v1.1.0 - #12697

Merged
alumni merged 1 commit into
masterfrom
release-1.1.0
Jul 13, 2026
Merged

alumni merged 1 commit into
masterfrom
release-1.1.0

Conversation

@alumni

@alumni alumni commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Description of change

Release 1.1.0. See CHANGELOG.md.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links a relevant issue using a closing keyword:
    Fixes #NNNN, Closes #NNNN, or Resolves #NNNN N/A
  • There are new or updated tests validating the change (tests/**.test.ts) N/A
  • Documentation has been updated to reflect this change (docs/docs/**.md) N/A

@alumni alumni added the skip-issue-check Skip issue‑link check for this PR label Jul 13, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jul 13, 2026

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

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

commit: 33001b3

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

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (0) 📜 Skill insights (0)

Grey Divider


Action required

1. Codemod publish lacks versioning 🐞 Bug ☼ Reliability
Description
On release events, publish-package.yml always publishes @typeorm/codemod, but the workflow
only auto-bumps the codemod version for nightlies (not releases). If packages/codemod/package.json
wasn’t manually bumped since the last codemod publish, the release workflow will fail at `pnpm
publish` and block the release.
Code

.github/workflows/publish-package.yml[R171-191]

      - name: Install @typeorm/codemod dependencies
-        if: steps.publishable.outputs.should_publish == 'true' && matrix.ref != 'v0.3'
+        if: steps.publishable.outputs.should_publish == 'true' && matrix.ref != 'v0'
        run: pnpm install --frozen-lockfile
        working-directory: packages/codemod

      - name: Build @typeorm/codemod
-        if: steps.publishable.outputs.should_publish == 'true' && matrix.ref != 'v0.3'
+        if: steps.publishable.outputs.should_publish == 'true' && matrix.ref != 'v0'
        run: pnpm run build
        working-directory: packages/codemod

      - name: Set codemod nightly version
-        if: steps.publishable.outputs.should_publish == 'true' && matrix.target != 'release' && matrix.ref != 'v0.3'
+        if: steps.publishable.outputs.should_publish == 'true' && matrix.target != 'release' && matrix.ref != 'v0'
        run: |
          BASE=$(node -p "require('./package.json').version.replace(/-.*/, '')")
          pnpm version "${BASE}-nightly.$(date -u +%Y%m%d)" --no-git-tag-version --allow-same-version
        working-directory: packages/codemod

      - name: Publish @typeorm/codemod
-        if: steps.publishable.outputs.should_publish == 'true' && matrix.ref != 'v0.3'
+        if: steps.publishable.outputs.should_publish == 'true' && matrix.ref != 'v0'
        run: pnpm publish --provenance --access public --no-git-checks --tag "${{ steps.publishable.outputs.tag }}"
        working-directory: packages/codemod
Evidence
The workflow forces should_publish=true on release runs, but only bumps codemod versions for
non-release (nightly) runs; nevertheless it always runs pnpm publish for codemod when not on v0,
so releases depend on a manual codemod version bump to avoid publishing an already-existing version.

.github/workflows/publish-package.yml[102-110]
.github/workflows/publish-package.yml[181-186]
.github/workflows/publish-package.yml[188-191]
packages/codemod/package.json[1-4]

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 release workflow publishes `@typeorm/codemod` on every release run, but does not set/bump its version for release runs (only for nightlies). This can cause release runs to fail when the codemod version hasn’t been incremented.

### Issue Context
- `should_publish` is forced to true for release runs.
- Codemod version bump step is skipped on release runs.
- Codemod publish step still runs on release runs.

### Fix Focus Areas
- .github/workflows/publish-package.yml[102-125]
- .github/workflows/publish-package.yml[171-191]

### What to change
Implement one of:
1) **Skip codemod publish on releases unless explicitly requested** (e.g., add a `publish_codemod` input or check for changed files).
2) **Preflight check**: before publishing, query npm for `@typeorm/codemod@$(node -p "require('./package.json').version")` and skip if it already exists.
3) **Align versions**: bump `packages/codemod/package.json` as part of the release process (and enforce it in workflow by failing early if unchanged).

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



Informational

2. Stale v0.3 workflow docs 🐞 Bug ⚙ Maintainability
Description
The publish workflow’s header comment still documents the legacy branch/target as v0.3, but the
actual workflow dispatch options and scheduled matrix now use v0. This mismatch can mislead
maintainers when triggering or editing the workflow.
Code

.github/workflows/publish-package.yml[R39-43]

        options:
          - release
          - master
-          - v0.3
+          - v0
Evidence
The workflow dispatch input options now include v0, but the same file’s header comment still lists
manual/schedule for v0.3, so the documentation is out of sync with the behavior.

.github/workflows/publish-package.yml[1-14]
.github/workflows/publish-package.yml[33-43]
.github/workflows/publish-package.yml[58-65]

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

### Issue description
After renaming the legacy branch/target from `v0.3` to `v0`, the workflow’s header comment table is now inaccurate.

### Issue Context
The executable configuration uses `v0`, but the comment still describes `v0.3` for schedule/manual rows.

### Fix Focus Areas
- .github/workflows/publish-package.yml[1-15]
- .github/workflows/publish-package.yml[34-43]

### What to change
Update the header comment table rows to replace `v0.3` with `v0` (and adjust any examples) so the documentation matches the actual workflow inputs/matrix.

ⓘ 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

@sonarqubecloud

Copy link
Copy Markdown

@alumni
alumni merged commit 8748b1b into master Jul 13, 2026
49 checks passed
@alumni
alumni deleted the release-1.1.0 branch July 13, 2026 18:47
@github-actions github-actions Bot added this to the 1.0 milestone Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-issue-check Skip issue‑link check for this PR

Development

Successfully merging this pull request may close these issues.

3 participants