|
1 | 1 | # @noormdev/cli |
2 | 2 |
|
| 3 | +## 1.0.0-alpha.13 |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- 6753ebd: **BREAKING:** Reorganize flat `NoormOps` into domain-aligned sub-namespaces |
| 8 | + |
| 9 | + The flat `ctx.noorm.*` API has been replaced with sub-namespaces that mirror the TUI home screen: |
| 10 | + |
| 11 | + - `ctx.noorm.changes.*` — scaffold, discover, validate, apply, revert, ff, status, pending, history |
| 12 | + - `ctx.noorm.run.*` — discover, preview, file, files, dir, build |
| 13 | + - `ctx.noorm.db.*` — listTables, describeTable, overview, previewTeardown, truncate, teardown, reset |
| 14 | + - `ctx.noorm.lock.*` — acquire, release, status, withLock, forceRelease |
| 15 | + - `ctx.noorm.vault.*` — init, status, set, get, getAll, list, delete, exists, propagate, copy |
| 16 | + - `ctx.noorm.secrets.*` — get |
| 17 | + - `ctx.noorm.templates.*` — render |
| 18 | + - `ctx.noorm.transfer.*` — to, plan |
| 19 | + - `ctx.noorm.dt.*` — exportTable, importFile |
| 20 | + - `ctx.noorm.utils.*` — checksum, testConnection |
| 21 | + |
| 22 | + **Migration examples:** |
| 23 | + |
| 24 | + | Before | After | |
| 25 | + | ----------------------------- | ------------------------------- | |
| 26 | + | `ctx.noorm.build()` | `ctx.noorm.run.build()` | |
| 27 | + | `ctx.noorm.fastForward()` | `ctx.noorm.changes.ff()` | |
| 28 | + | `ctx.noorm.applyChange(name)` | `ctx.noorm.changes.apply(name)` | |
| 29 | + | `ctx.noorm.listTables()` | `ctx.noorm.db.listTables()` | |
| 30 | + | `ctx.noorm.acquireLock()` | `ctx.noorm.lock.acquire()` | |
| 31 | + | `ctx.noorm.truncate()` | `ctx.noorm.db.truncate()` | |
| 32 | + | `ctx.noorm.runFile(f)` | `ctx.noorm.run.file(f)` | |
| 33 | + | `ctx.noorm.transferTo(c)` | `ctx.noorm.transfer.to(c)` | |
| 34 | + |
| 35 | + **New capabilities:** change authoring/scaffolding, dry-run previews, file discovery, vault operations, teardown preview |
| 36 | + |
| 37 | +### Minor Changes |
| 38 | + |
| 39 | +- 6753ebd: Add graceful shutdown screen with phase progress display on exit. Migrate test runner from vitest to bun test. Extract shared CLI hooks and utilities to reduce duplication across screens. |
| 40 | +- 6753ebd: Add curl|sh installer and npm binary wrapper for streamlined installation. The published npm package now acts as a thin shim that downloads and executes the platform-specific compiled binary. |
| 41 | + |
| 42 | +### Patch Changes |
| 43 | + |
| 44 | +- 8797eb4: ### Fixed |
| 45 | + |
| 46 | + - `fix(settings):` NOORM\_\* environment variables now override any settings.yml field (e.g. `NOORM_PATHS_SQL` overrides `paths.sql`) |
| 47 | + |
| 48 | +- 6753ebd: Fix display of created-at timestamps and file sizes in the change list and change run screens. |
| 49 | + |
3 | 50 | ## 1.0.0-alpha.12 |
4 | 51 |
|
5 | 52 | ### Patch Changes |
|
0 commit comments