Skip to content

chore(release): version packages#784

Merged
mk3008 merged 1 commit intomainfrom
changeset-release/main
Apr 21, 2026
Merged

chore(release): version packages#784
mk3008 merged 1 commit intomainfrom
changeset-release/main

Conversation

@mk3008
Copy link
Copy Markdown
Owner

@mk3008 mk3008 commented Apr 21, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

rawsql-ts@0.20.0

Minor Changes

  • #773 e9e425f Thanks @mk3008! - Improve SSSQL refresh so correlated EXISTS / NOT EXISTS branches can be safely re-anchored after query structure changes.

    rawsql-ts now relocates correlated optional branches by inferring a single anchor from outer references, rebases aliases when moving branches across query scopes, and fails fast when anchor inference is missing or ambiguous.

    @rawsql-ts/ztd-cli adds regression coverage for correlated refresh round-trips and remove --all interoperability so SQL-first optional branch maintenance stays deterministic after scaffolding.

  • #765 6a1cb41 Thanks @mk3008! - Expand SSSQL authoring and inspection across the core library and ztd-cli.

    ztd query sssql now supports list, remove, remove --all, richer scalar operators, and structured EXISTS / NOT EXISTS scaffold input with preview-friendly rewrite flows. The CLI also fails fast when a rewrite would drop existing SQL comments.

    rawsql-ts now exposes the branch metadata and removal helpers needed to inspect, remove, and bulk-remove recognized SSSQL branches while keeping runtime pruning explicit through optionalConditionParameters.

@rawsql-ts/ztd-cli@0.26.0

Minor Changes

  • #773 e9e425f Thanks @mk3008! - Improve SSSQL refresh so correlated EXISTS / NOT EXISTS branches can be safely re-anchored after query structure changes.

    rawsql-ts now relocates correlated optional branches by inferring a single anchor from outer references, rebases aliases when moving branches across query scopes, and fails fast when anchor inference is missing or ambiguous.

    @rawsql-ts/ztd-cli adds regression coverage for correlated refresh round-trips and remove --all interoperability so SQL-first optional branch maintenance stays deterministic after scaffolding.

  • #772 595f86c Thanks @mk3008! - Add --test-kind ztd|traditional to ztd feature tests scaffold and keep ztd as the default.

    This update enables side-by-side lane scaffolding for query tests without breaking existing ZTD-only workflows:

    • ztd lane keeps generating the current files (<query>.boundary.ztd.test.ts, generated/TEST_PLAN.md, generated/analysis.json).
    • traditional lane generates lane-specific scaffold files (<query>.boundary.traditional.test.ts, boundary-traditional-types.ts, generated/TEST_PLAN.traditional.md, generated/analysis.traditional.json, and cases/basic.traditional.case.ts).

    The new lane scaffold is intentionally thin and keeps mode execution responsibility in the library layer.

  • #777 9ee5744 Thanks @mk3008! - Align the starter scaffold and guidance with the canonical directory taxonomy.

    Starter projects now treat src/features, src/adapters, and src/libraries as the app-code roots, keep db/ for DDL and migration assets, keep shared verification support under tests/support/*, and keep .ztd/* tool-managed.

    The scaffolded SqlClient and telemetry seams now follow that layout, and the generated README, AGENTS guidance, and tutorial docs describe the same ownership model.

  • #765 6a1cb41 Thanks @mk3008! - Expand SSSQL authoring and inspection across the core library and ztd-cli.

    ztd query sssql now supports list, remove, remove --all, richer scalar operators, and structured EXISTS / NOT EXISTS scaffold input with preview-friendly rewrite flows. The CLI also fails fast when a rewrite would drop existing SQL comments.

    rawsql-ts now exposes the branch metadata and removal helpers needed to inspect, remove, and bulk-remove recognized SSSQL branches while keeping runtime pruning explicit through optionalConditionParameters.

Patch Changes

  • #770 5eeb927 Thanks @mk3008! - Make the starter ZTD helper a thin adapter over library mode execution and return machine-checkable run evidence.

    The generated ZTD harness now asserts mode=ztd and physicalSetupUsed=false, supports opt-in SQL trace output, and is covered by starter acceptance that runs vitest before schema setup in generated-project verification.

  • #780 3f9cab6 Thanks @mk3008! - Align generated project root aliases across package.json, tsconfig.json, and vitest.config.ts so scaffolded code can use #features/*, #libraries/*, #adapters/*, and #tests/* consistently.

    Starter and scaffold templates now use root aliases for imports that cross canonical roots instead of deep relative paths, which makes generated projects easier to move and reorganize without rewriting import depth.

  • Updated dependencies [e9e425f, 6a1cb41]:

    • rawsql-ts@0.20.0
    • @rawsql-ts/adapter-node-pg@0.15.8
    • @rawsql-ts/sql-grep-core@0.1.9

@rawsql-ts/adapter-node-pg@0.15.8

Patch Changes

  • Updated dependencies [e9e425f, 6a1cb41]:
    • rawsql-ts@0.20.0
    • @rawsql-ts/testkit-core@0.16.5
    • @rawsql-ts/testkit-postgres@0.15.7

@rawsql-ts/ddl-docs-cli@0.2.7

Patch Changes

@rawsql-ts/sql-grep-core@0.1.9

Patch Changes

@rawsql-ts/testkit-core@0.16.5

Patch Changes

@rawsql-ts/testkit-postgres@0.15.7

Patch Changes

  • Updated dependencies [e9e425f, 6a1cb41]:
    • rawsql-ts@0.20.0
    • @rawsql-ts/testkit-core@0.16.5

@rawsql-ts/testkit-sqlite@1.0.5

Patch Changes

  • Updated dependencies [e9e425f, 6a1cb41]:
    • rawsql-ts@0.20.0
    • @rawsql-ts/testkit-core@0.16.5

Summary by CodeRabbit

  • New Features

    • Enhanced SSSQL refresh functionality with improved handling of correlated optional branches and automatic anchor inference.
    • Added --test-kind option for test scaffolding with support for multiple test modes.
    • Expanded SSSQL query capabilities including new removal and inspection commands.
    • Exposed branch metadata and removal utilities for advanced SQL inspection.
  • Chores

    • Updated package versions and dependencies across the ecosystem.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a99a507d-f0c0-4edd-9213-f3e656af8f9b

📥 Commits

Reviewing files that changed from the base of the PR and between 824ccac and eccef41.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (22)
  • .changeset/correlated-refresh-exists-relocation.md
  • .changeset/fair-apes-tie.md
  • .changeset/green-apples-drum.md
  • .changeset/sssql-cli-reference-and-remove-all.md
  • .changeset/strong-cheetahs-approve.md
  • .changeset/ten-soft-camels-jump.md
  • packages/adapters/adapter-node-pg/CHANGELOG.md
  • packages/adapters/adapter-node-pg/package.json
  • packages/core/CHANGELOG.md
  • packages/core/package.json
  • packages/ddl-docs-cli/CHANGELOG.md
  • packages/ddl-docs-cli/package.json
  • packages/sql-grep-core/CHANGELOG.md
  • packages/sql-grep-core/package.json
  • packages/testkit-core/CHANGELOG.md
  • packages/testkit-core/package.json
  • packages/testkit-postgres/CHANGELOG.md
  • packages/testkit-postgres/package.json
  • packages/testkit-sqlite/CHANGELOG.md
  • packages/testkit-sqlite/package.json
  • packages/ztd-cli/CHANGELOG.md
  • packages/ztd-cli/package.json
💤 Files with no reviewable changes (6)
  • .changeset/green-apples-drum.md
  • .changeset/strong-cheetahs-approve.md
  • .changeset/fair-apes-tie.md
  • .changeset/correlated-refresh-exists-relocation.md
  • .changeset/ten-soft-camels-jump.md
  • .changeset/sssql-cli-reference-and-remove-all.md

📝 Walkthrough

Walkthrough

This PR removes processed changeset files and publishes version bumps across the monorepo. Multiple packages receive new versions: rawsql-ts core to 0.20.0 (minor), ztd-cli to 0.26.0 (minor), and supporting packages to patch versions. Changelog entries document SSSQL enhancements, correlated branch handling, and CLI improvements.

Changes

Cohort / File(s) Summary
Removed Changesets
.changeset/correlated-refresh-exists-relocation.md, .changeset/fair-apes-tie.md, .changeset/green-apples-drum.md, .changeset/sssql-cli-reference-and-remove-all.md, .changeset/strong-cheetahs-approve.md, .changeset/ten-soft-camels-jump.md
Six changeset entries removed documenting SSSQL refresh enhancements, CLI test scaffolding options, starter scaffold alignment, query command expansion, ZTD helper updates, and root alias standardization.
Core Library Release
packages/core/CHANGELOG.md, packages/core/package.json
Version bumped from 0.19.0 to 0.20.0 (minor). Changelog documents enhanced correlated EXISTS/NOT EXISTS refresh handling with anchor inference and alias rebasing, plus expanded SSSQL authoring capabilities in branch metadata/removal support.
Testkit & Support Patches
packages/testkit-core/, packages/testkit-postgres/, packages/testkit-sqlite/, packages/sql-grep-core/, packages/ddl-docs-cli/
Patch version updates (testkit-core 0.16.4→0.16.5, testkit-postgres 0.15.6→0.15.7, testkit-sqlite 1.0.4→1.0.5, sql-grep-core 0.1.8→0.1.9, ddl-docs-cli 0.2.6→0.2.7) with updated rawsql-ts dependency to ^0.20.0 and changelog entries.
Adapter Patch
packages/adapters/adapter-node-pg/CHANGELOG.md, packages/adapters/adapter-node-pg/package.json
Version bumped from 0.15.7 to 0.15.8 (patch). Updated rawsql-ts@0.20.0, @rawsql-ts/testkit-core@0.16.5, and @rawsql-ts/testkit-postgres@0.15.7 dependencies with changelog entry.
CLI Minor Release
packages/ztd-cli/CHANGELOG.md, packages/ztd-cli/package.json
Version bumped from 0.25.0 to 0.26.0 (minor). Comprehensive changelog entry documents correlated refresh improvements, --test-kind scaffold option, canonical directory taxonomy alignment, expanded ztd query sssql commands, branch metadata exports, and root import alias standardization. Dependencies updated across rawsql-ts, adapters, and testkit packages.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • #765: Implements the SSSQL list/remove/scaffold/refresh features and SSSQLFilterBuilder enhancements documented in this release's changelog entries.
  • #780: Addresses ztd-cli generated project root-alias changes (#features/, #libraries/, #adapters/, #tests/) mentioned in the changelog.
  • #671: Implements ztd-cli runtime fixture manifest and testkit-postgres fast-path fixture resolution corresponding to the version bumps.

Poem

🐰 Changesets retired with a hop and a bound,
Versions ascend—new features abound!
SSSQL dances, aliases aligned,
Core and CLI, perfectly aligned,
Patches flow down like carrots so fine! 🥕

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is auto-generated by Changesets action and contains comprehensive release notes with version bumps and detailed changelog entries, but does not follow the repository's description template structure with required sections (Summary, Verification, Merge Readiness, etc.). Either fill out the required template sections (Summary, Verification, Merge Readiness, CLI Surface Migration, Scaffold Contract Proof) or document why the template is not applicable for automated release PRs.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: a version bump and release of packages using Changesets.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch changeset-release/main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mk3008 mk3008 merged commit 419fb1f into main Apr 21, 2026
11 checks passed
@mk3008 mk3008 deleted the changeset-release/main branch April 21, 2026 12:47
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.

1 participant