Skip to content

Version Packages (alpha)#15

Open
github-actions[bot] wants to merge 1 commit intomasterfrom
changeset-release/master
Open

Version Packages (alpha)#15
github-actions[bot] wants to merge 1 commit intomasterfrom
changeset-release/master

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 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 the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

master is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on master.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@noormdev/cli@1.0.0-alpha.20

Minor Changes

  • 88b33ce: ## Added

    • feat(dt): DT file modifier — drop, add, or rename columns and filter rows from exported .dt/.dtz/.dtzx files without re-exporting from the source database
    • feat(cli): "Modify .dt file" option in the Data Transfer screen with interactive recipe builder, schema preview, and streaming output
  • 2955758: ### Added

    • feat(headless): Add run inspect command — inspect template context (data files, helpers, builtins, config, secrets) without executing, with --json support
    • feat(headless): Add run preview command — render .sql.tmpl files and output raw SQL to stdout, pipeable to files or other tools

    Fixed

    • fix(errors): Propagate SQL Server TDS diagnostic info (line numbers, error codes, procedure names, severity) through to TUI — errors now show e.g. [Line 42, Err 207] Invalid column name instead of just the message text
    • fix(errors): Propagate PostgreSQL and MySQL diagnostic info (error codes, SQLSTATE, severity) through to TUI
    • fix(errors): Handle Kysely-unpacked AggregateError arrays from TDS with multi-line display
    • fix(template): Eta autoTrim left-trim was eating newlines after interpolation tags, joining SQL lines (e.g. ENDAS, ENDIF NOT EXISTS) — disabled autoTrim and implemented directive-line stripping for -- {% %} convention
    • fix(db): Disconnect shared TUI connection before DROP DATABASE to prevent ECONNRESET errors
    • fix(db): Show friendly "Not Created" notice instead of aggressive ERROR badge when database does not exist
    • fix(tui): Show full multi-line SQL errors in all run/change screens instead of truncating to 60 characters

Patch Changes

  • 2328fa2: ### Fixed

    • fix(headless): Produce structured JSON error output ({ success, error }) when --json is set — previously errors were only logged as text, leaving CI pipelines with no parseable output on failure
    • fix(headless): Enrich SQL error messages with dialect-aware diagnostics (line numbers, error codes, procedure names, severity) via getSqlErrorMessage in all headless command error paths
    • fix(headless): Standardize run build exit code from 2 to 1 to match the 0/1 convention used by all other headless commands
    • fix(headless): Replace stale .sql.eta file extension references with .sql.tmpl across CLI argument parsing, help text, and documentation

    Added

    • feat(headless): Add sql command to the home help commands list
    • feat(headless): Document .sql.tmpl template file support in run help text
  • 3ab86b8: ### Fixed

    • fix(template): Resolve $helpers loading in compiled binaries — bare specifier resolution now uses Bun.build() to bundle helper files with all dependencies, fixing Cannot find package errors in pnpm projects
    • fix(inspect): Show $helpers exports in Inspect Template screen — categorization now uses source-based tracking instead of type-guessing, and load errors are surfaced instead of silently swallowed

    Added

    • feat(cli): Add dev/test-helpers diagnostic command for verifying $helpers loading from any execution context

@noormdev/sdk@1.0.0-alpha.20

Minor Changes

  • 1dc22b3: ## Added

    • feat(sdk): Per-request user impersonation via ctx.impersonate() — borrow a dedicated pool connection, switch database identity, and run queries as a specific principal with guaranteed revert
    • feat(sdk): Callback mode (auto-reverts on completion or throw) and explicit mode (caller-managed lifecycle for cross-boundary use cases like Hapi request hooks)
    • feat(sdk): MSSQL (EXECUTE AS USER / REVERT) and PostgreSQL (SET ROLE / RESET ROLE) dialect support with SQL injection prevention via username validation and dialect-specific quoting

Patch Changes

  • 8b20702: ### Fixed

    • fix(sdk): Bundle all runtime dependencies — resolves Cannot find package 'json5' and similar errors when importing the SDK
    • fix(sdk): Add createRequire banner for CJS packages that use require('process') in ESM bundles
    • fix(template): Resolve $helpers loading in compiled binaries via Bun.build() bundling

    Changed

    • perf(sdk): Lazy-load template data parsers (JSON5, YAML, CSV) — heavy parser libraries are now deferred until first use, reducing SDK startup time
    • perf(sdk): Replace voca dependency with inline camelCase implementation (~1500 lines removed from bundle)
    • perf(sdk): Stub ansis terminal color library — SDK consumers don't need ANSI output

@github-actions github-actions bot force-pushed the changeset-release/master branch 2 times, most recently from 46fb320 to 2710358 Compare March 24, 2026 13:48
@damusix damusix force-pushed the master branch 4 times, most recently from 2613e18 to 1dc22b3 Compare March 27, 2026 03:46
@github-actions github-actions bot force-pushed the changeset-release/master branch from 2710358 to b443a70 Compare March 27, 2026 03:48
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.

0 participants