Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (22)
💤 Files with no reviewable changes (6)
📝 WalkthroughWalkthroughThis 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
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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
e9e425fThanks @mk3008! - Improve SSSQLrefreshso correlatedEXISTS/NOT EXISTSbranches can be safely re-anchored after query structure changes.rawsql-tsnow 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-cliadds regression coverage for correlatedrefreshround-trips andremove --allinteroperability so SQL-first optional branch maintenance stays deterministic after scaffolding.#765
6a1cb41Thanks @mk3008! - Expand SSSQL authoring and inspection across the core library andztd-cli.ztd query sssqlnow supportslist,remove,remove --all, richer scalar operators, and structuredEXISTS/NOT EXISTSscaffold input with preview-friendly rewrite flows. The CLI also fails fast when a rewrite would drop existing SQL comments.rawsql-tsnow exposes the branch metadata and removal helpers needed to inspect, remove, and bulk-remove recognized SSSQL branches while keeping runtime pruning explicit throughoptionalConditionParameters.@rawsql-ts/ztd-cli@0.26.0
Minor Changes
#773
e9e425fThanks @mk3008! - Improve SSSQLrefreshso correlatedEXISTS/NOT EXISTSbranches can be safely re-anchored after query structure changes.rawsql-tsnow 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-cliadds regression coverage for correlatedrefreshround-trips andremove --allinteroperability so SQL-first optional branch maintenance stays deterministic after scaffolding.#772
595f86cThanks @mk3008! - Add--test-kind ztd|traditionaltoztd feature tests scaffoldand keepztdas the default.This update enables side-by-side lane scaffolding for query tests without breaking existing ZTD-only workflows:
ztdlane keeps generating the current files (<query>.boundary.ztd.test.ts,generated/TEST_PLAN.md,generated/analysis.json).traditionallane generates lane-specific scaffold files (<query>.boundary.traditional.test.ts,boundary-traditional-types.ts,generated/TEST_PLAN.traditional.md,generated/analysis.traditional.json, andcases/basic.traditional.case.ts).The new lane scaffold is intentionally thin and keeps mode execution responsibility in the library layer.
#777
9ee5744Thanks @mk3008! - Align the starter scaffold and guidance with the canonical directory taxonomy.Starter projects now treat
src/features,src/adapters, andsrc/librariesas the app-code roots, keepdb/for DDL and migration assets, keep shared verification support undertests/support/*, and keep.ztd/*tool-managed.The scaffolded
SqlClientand telemetry seams now follow that layout, and the generated README, AGENTS guidance, and tutorial docs describe the same ownership model.#765
6a1cb41Thanks @mk3008! - Expand SSSQL authoring and inspection across the core library andztd-cli.ztd query sssqlnow supportslist,remove,remove --all, richer scalar operators, and structuredEXISTS/NOT EXISTSscaffold input with preview-friendly rewrite flows. The CLI also fails fast when a rewrite would drop existing SQL comments.rawsql-tsnow exposes the branch metadata and removal helpers needed to inspect, remove, and bulk-remove recognized SSSQL branches while keeping runtime pruning explicit throughoptionalConditionParameters.Patch Changes
#770
5eeb927Thanks @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=ztdandphysicalSetupUsed=false, supports opt-in SQL trace output, and is covered by starter acceptance that runsvitestbefore schema setup in generated-project verification.#780
3f9cab6Thanks @mk3008! - Align generated project root aliases acrosspackage.json,tsconfig.json, andvitest.config.tsso 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/adapter-node-pg@0.15.8
Patch Changes
e9e425f,6a1cb41]:@rawsql-ts/ddl-docs-cli@0.2.7
Patch Changes
e9e425f,6a1cb41]:@rawsql-ts/sql-grep-core@0.1.9
Patch Changes
e9e425f,6a1cb41]:@rawsql-ts/testkit-core@0.16.5
Patch Changes
e9e425f,6a1cb41]:@rawsql-ts/testkit-postgres@0.15.7
Patch Changes
e9e425f,6a1cb41]:@rawsql-ts/testkit-sqlite@1.0.5
Patch Changes
e9e425f,6a1cb41]:Summary by CodeRabbit
New Features
refreshfunctionality with improved handling of correlated optional branches and automatic anchor inference.--test-kindoption for test scaffolding with support for multiple test modes.Chores