Skip to content

Releases: noormdev/noorm

@noormdev/sdk@1.0.0-alpha.19

17 Mar 05:17

Choose a tag to compare

Pre-release

Patch Changes

  • 18e36b6: ## Fixed
    • fix(mssql): Resolve SQL Server failures in runner and change tracking operations
    • fix(mssql): Add OUTPUT inserted.id support for MSSQL insert operations
    • fix(mssql): Translate .limit() to TOP via MssqlLimitPlugin
    • fix(schema): Make v2 migration fully idempotent with partial-state recovery
    • fix(runner): Handle AggregateError and non-standard error objects from tedious driver

@noormdev/cli@1.0.0-alpha.19

17 Mar 05:17

Choose a tag to compare

Pre-release

Patch Changes

  • 18e36b6: ## Fixed
    • fix(mssql): Resolve SQL Server build failures caused by Kysely emitting unsupported LIMIT and RETURNING syntax
    • fix(mssql): Add MssqlLimitPlugin to translate .limit() to TOP for all MSSQL queries
    • fix(mssql): Use OUTPUT inserted.id instead of RETURNING for insert-and-get-id operations
    • fix(mssql): Pass dialect from connection through all run screens to runner context
    • fix(schema): Make v2 migration fully idempotent — handles partial migration states, orphaned tables, and interrupted runs
    • fix(schema): Handle interrupted v1 migrations where tables exist but version record is missing
    • fix(schema): Run ensureSchemaVersion before identity sync to prevent queries against unmigrated tables
    • fix(schema): Move waitForIdentityToLoad out of connection factory into schema migration lifecycle
    • fix(logger): Preserve Error objects in log redaction filter instead of spreading into empty {}
    • fix(logger): Surface .cause chain in error log messages for wrapped errors
    • fix(runner): Handle non-standard error objects from tedious driver including AggregateError
    • fix(runner): Propagate batch-level errors to TUI when build fails before file execution
    • fix(runner): Truncate skip_reason to prevent column overflow on MSSQL
    • fix(tui): Show relative file paths in failed files list instead of basename only
  • 431f9b9: ## Fixed
    • fix(shutdown): Force process.exit() after graceful shutdown to prevent process hanging from lingering connection pool handles
    • fix(shutdown): Remove duplicate app:exit emission that caused unmount() to fire twice
    • fix(shutdown): Clear timeout timer in connection close race to prevent 5-second event loop leak

@noormdev/sdk@1.0.0-alpha.18

15 Mar 23:19

Choose a tag to compare

Pre-release

Minor Changes

  • a18bfbe: ### Added

    • feat(worker-bridge): Worker thread infrastructure for parallel DT export/import. WorkerBridge class (ObserverRelay subclass), WorkerPool with round-robin dispatch, OrderBuffer for index-ordered reassembly.
    • feat(workers): Persistent Connection Worker (Kysely-backed DB operations) and stateless Compute Worker (serialize/deserialize) as standalone entry points.
    • feat(dt): Export and import pipelines now run through worker threads — Connection Worker handles DB queries, Compute Pool parallelizes CPU-bound serialization across N cores.
    • feat(dt): Three-tier progress events (loaded/processed/saved) for both export and import, enabling granular TUI progress display.
    • feat(connection): ConnectionManager tracks WorkerBridge instances alongside direct Kysely connections for coordinated shutdown.
    • feat(cli): noorm -H dev/test-workers diagnostic command for verifying worker thread infrastructure across execution contexts.
    • build: Worker entry points included in bun build --compile for single binary support.

@noormdev/sdk@1.0.0-alpha.17

15 Mar 05:44

Choose a tag to compare

Pre-release
@noormdev/sdk@1.0.0-alpha.17

@noormdev/cli@1.0.0-alpha.18

15 Mar 23:19

Choose a tag to compare

Pre-release

Minor Changes

  • a18bfbe: ### Added

    • feat(worker-bridge): Worker thread infrastructure for parallel DT export/import. WorkerBridge class (ObserverRelay subclass), WorkerPool with round-robin dispatch, OrderBuffer for index-ordered reassembly.
    • feat(workers): Persistent Connection Worker (Kysely-backed DB operations) and stateless Compute Worker (serialize/deserialize) as standalone entry points.
    • feat(dt): Export and import pipelines now run through worker threads — Connection Worker handles DB queries, Compute Pool parallelizes CPU-bound serialization across N cores.
    • feat(dt): Three-tier progress events (loaded/processed/saved) for both export and import, enabling granular TUI progress display.
    • feat(connection): ConnectionManager tracks WorkerBridge instances alongside direct Kysely connections for coordinated shutdown.
    • feat(cli): noorm -H dev/test-workers diagnostic command for verifying worker thread infrastructure across execution contexts.
    • build: Worker entry points included in bun build --compile for single binary support.

@noormdev/cli@1.0.0-alpha.17

15 Mar 05:44

Choose a tag to compare

Pre-release

Minor Changes

  • 2174274: ## Added
    • feat(cli): Add info command for project and database status display (noorm -H info, noorm -H --json info)
    • feat(cli): Show CLI version, schema/state/settings versions, install/upgrade dates, and DB object stats on Home screen

@noormdev/sdk@1.0.0-alpha.16

13 Mar 06:05
388cbe4

Choose a tag to compare

Pre-release
@noormdev/sdk@1.0.0-alpha.16

@noormdev/sdk@1.0.0-alpha.15

13 Mar 05:22
43ba04f

Choose a tag to compare

Pre-release
@noormdev/sdk@1.0.0-alpha.15

@noormdev/cli@1.0.0-alpha.16

13 Mar 06:05
388cbe4

Choose a tag to compare

Pre-release

Patch Changes

  • 365f437: ## Connection

    Fixed

    • fix(mssql): Connection hangs when target database does not exist — now verifies via sys.databases on master first
    • fix(mssql): ECONNRESET on MSSQL Server 2022+ due to encrypt: false — now defaults to encrypt: true
    • fix(mssql): Tarn pool silently retries failed connections — enabled propagateCreateError for fast failure
    • fix(connection): Retry logic retried non-transient errors like login failed and access denied

@noormdev/cli@1.0.0-alpha.15

13 Mar 05:22
43ba04f

Choose a tag to compare

Pre-release

Patch Changes

  • ef88aeb: ## Schema

    Fixed

    • fix(schema): MSSQL schema migration fails with auto_increment syntax error — use identity(1,1) instead
    • fix(schema): MSSQL schema migration fails when multiple timestamp columns exist — use datetime2 for MSSQL
    • fix(schema): MySQL schema migration fails on TEXT columns with default values — use varchar(2000) for error messages
    • fix(schema): MySQL and MSSQL DROP INDEX requires ON table_name — made down() dialect-aware