masterrecord 1.28.0 → 1.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +15 -0
- package/package.json +2 -2
package/CHANGES.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# MasterRecord Changelog
|
|
2
2
|
|
|
3
|
+
## v1.28.1 — the package no longer contradicts its own engine requirement
|
|
4
|
+
|
|
5
|
+
- **Fix:** `package.json` declared `engines.node: ">=20.0.0"` while depending on
|
|
6
|
+
`commander@^15`, which itself requires `>=22.12.0`. Every Node 20 consumer got an
|
|
7
|
+
`EBADENGINE` warning on install, and the promise of Node 20 support was not actually
|
|
8
|
+
backed by the dependency tree. Pinned to `commander@^14.0.3`, whose own requirement is
|
|
9
|
+
`>=20` — matching what masterrecord claims. No API changes: the CLI uses only
|
|
10
|
+
`command/option/action/alias/description/version/parse`, stable across both majors.
|
|
11
|
+
|
|
12
|
+
Also validated in this release cycle, against a live PostgreSQL 16.15 server rather than
|
|
13
|
+
SQLite: `update-database-all` (the production deploy path) applying a migration and being
|
|
14
|
+
a no-op on re-run, `migrations-status`, `update-database-down` (transactional since 1.26.0
|
|
15
|
+
— table dropped and history row removed), correct Postgres column types including
|
|
16
|
+
`boolean` and temporal columns as `TEXT`, and the history table carrying `product_version`.
|
|
17
|
+
|
|
3
18
|
## v1.28.0 — `ensureCreated()` actually works on MySQL/Postgres (found by live testing)
|
|
4
19
|
|
|
5
20
|
The first live run of the cross-engine suite, against a real PostgreSQL 16.15 server,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "masterrecord",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.1",
|
|
4
4
|
"description": "An Object-relational mapping for the Master framework. Master Record connects classes to relational database tables to establish a database with almost zero-configuration ",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./MasterRecord.js",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
],
|
|
87
87
|
"dependencies": {
|
|
88
88
|
"better-sqlite3": ">=12.6.2 <14",
|
|
89
|
-
"commander": "^
|
|
89
|
+
"commander": "^14.0.3",
|
|
90
90
|
"deep-object-diff": "^1.1.9",
|
|
91
91
|
"glob": "^13.0.6",
|
|
92
92
|
"mysql2": "^3.23.2",
|