Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/sql-contract@0.2.0
Minor Changes
#426
47f9e41Thanks @mk3008! - Add reader validation hooks and scalar query helpers to support runtime DTO validation and single-value results.#433
06ec7eaThanks @mk3008! - Add a new publictimestampFromDriver(value, fieldName?)helper in@rawsql-ts/sql-contractfor fail-fastDate | stringnormalization of driver-returned timestamps.Update
@rawsql-ts/ztd-clitemplates to normalize runtime timestamp fields through the shared sql-contract helper (via runtime coercion wiring), add strict guardrails against local timestamp re-implementation, and expand scaffold smoke validation tests for valid and invalid timestamp strings.Patch Changes
#431
eadb311Thanks @mk3008! - Corrected the catalog executor test expectations so the cached SQL loader matches the returned rows and keeps the rewrite/binder pipeline aligned.#430
0b34920Thanks @mk3008! - Describe how composite and derived key normalization now exposes deterministic internals and tests can assert separator/tag/order invariants.#426
c0486d6Thanks @mk3008! - - split the Postgres validator demo into five short README-ready test files that share a pg-test helper and keep the API story tidy.decimalStringToNumberUnsafefor the Zod demo without importingsql-contract-zod, preserving a dependency-free core surface.#432
5e01f8eThanks @mk3008! - - tighten catalog executor contracts, addContractViolationError, and improve observability/error classification.@rawsql-ts/ztd-cli@0.17.0
Minor Changes
#433
36fd789Thanks @mk3008! - Adopt SQL-first scaffolding with named-parameter SQL layout in the ZTD template, and compile named parameters to indexed placeholders in the pg adapter.#433
83e870aThanks @mk3008! - Redesignztd initto produce a deterministic minimal scaffold with per-folder AGENTS.md guidance and option-specific DDL seeding only (pg_dump, empty, or demo DDL).#433
bf588fdThanks @mk3008! - Add the new default ZTD scaffold layout with view SQL under "src/sql/views", job SQL under "src/sql/jobs", and repositories split between "src/repositories/views" and "src/repositories/tables". The init command now supports "--yes" to overwrite existing scaffold files without prompts for non-interactive runs.Patch Changes
#433
06ec7eaThanks @mk3008! - Add a new publictimestampFromDriver(value, fieldName?)helper in@rawsql-ts/sql-contractfor fail-fastDate | stringnormalization of driver-returned timestamps.Update
@rawsql-ts/ztd-clitemplates to normalize runtime timestamp fields through the shared sql-contract helper (via runtime coercion wiring), add strict guardrails against local timestamp re-implementation, and expand scaffold smoke validation tests for valid and invalid timestamp strings.#435
345a4a1Thanks @mk3008! - Fix optional adapter resolution during SQL lint execution so workspace and test environments no longer require prebuilt dist artifacts.Updated dependencies [
36fd789]:@rawsql-ts/adapter-node-pg@0.15.2
Patch Changes
36fd789Thanks @mk3008! - Adopt SQL-first scaffolding with named-parameter SQL layout in the ZTD template, and compile named parameters to indexed placeholders in the pg adapter.@rawsql-ts/sql-contract-zod@0.1.1
Patch Changes
#425
3e6e493Thanks @mk3008! - - addreader.scalarso single-column queries can be validated with Zod without DTO mapping and document the helper#426
c0486d6Thanks @mk3008! - - split the Postgres validator demo into five short README-ready test files that share a pg-test helper and keep the API story tidy.decimalStringToNumberUnsafefor the Zod demo without importingsql-contract-zod, preserving a dependency-free core surface.Updated dependencies [
47f9e41,06ec7ea,eadb311,0b34920,c0486d6,5e01f8e]: