@crvouga/mockingbird-service-postgres 3.0.1 → 3.1.0
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/CHANGELOG.md +12 -0
- package/DISCOVERY.md +2 -2
- package/README.md +3 -3
- package/dist/admin.js +1 -1
- package/dist/admin.js.map +1 -1
- package/dist/server.js +48 -3
- package/dist/server.js.map +2 -2
- package/dist/wire/cli.js +51 -6
- package/dist/wire/cli.js.map +2 -2
- package/dist/wire/connection.d.ts +6 -3
- package/dist/wire/index.js +48 -3
- package/dist/wire/index.js.map +2 -2
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-postgres
|
|
2
2
|
|
|
3
|
+
## 3.1.0 (2026-10-08)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- redesign emulator experience ([d6038c2](https://github.com/crvouga/mockingbird/commit/d6038c27eebbaa1751f02bc9305002a5b1304779))
|
|
8
|
+
|
|
9
|
+
## 3.0.2 (2026-10-07)
|
|
10
|
+
|
|
11
|
+
### Fixes and improvements
|
|
12
|
+
|
|
13
|
+
- describe RETURNING columns before the row ([349dd3a](https://github.com/crvouga/mockingbird/commit/349dd3ad1b31941b4c0483e2110516f73bc3af96))
|
|
14
|
+
|
|
3
15
|
## 3.0.1 (2026-10-07)
|
|
4
16
|
|
|
5
17
|
### Fixes and improvements
|
package/DISCOVERY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @crvouga/mockingbird-service-postgres discovery
|
|
2
2
|
|
|
3
3
|
This is the installed-package index for coding agents and tooling. All relative links resolve
|
|
4
|
-
inside `node_modules/@crvouga/mockingbird-service-postgres/`; no repository checkout is needed to discover the
|
|
4
|
+
inside `node_modules/@crvouga/mockingbird-service-postgres/`; no repository checkout is needed to discover the emulator's
|
|
5
5
|
supported surface or documented behavior.
|
|
6
6
|
|
|
7
7
|
## Capability and behavior sources
|
|
@@ -41,7 +41,7 @@ designed for assertions and diagnosis by consuming test suites.
|
|
|
41
41
|
## Report a mismatch or missing capability
|
|
42
42
|
|
|
43
43
|
Follow the [agent reporting contract](https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md). Include package version,
|
|
44
|
-
operation/command, a minimal redacted request, actual
|
|
44
|
+
operation/command, a minimal redacted request, actual emulator result, expected oracle result or vendor
|
|
45
45
|
documentation, and whether the mismatch appears in the matrix. Never include keys, tokens,
|
|
46
46
|
customer data, prompts, PHI, card data, or unredacted recordings.
|
|
47
47
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @crvouga/mockingbird-service-postgres
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Local emulators. Real API contracts. Part of [Mockingbird](https://github.com/crvouga/mockingbird).
|
|
4
4
|
|
|
5
5
|
Pure TypeScript, completely in-memory PostgreSQL engine aiming for **PostgreSQL 18 SQL dialect
|
|
6
6
|
parity** (same statements, same results). Use it in tests (or the browser) wherever you want real
|
|
@@ -21,7 +21,7 @@ isolation.
|
|
|
21
21
|
- Intentional differences: deterministic `random()` / `now()` by default, and a custom snapshot
|
|
22
22
|
format (not `pg_dump`)
|
|
23
23
|
|
|
24
|
-
It is not a Mockingbird HTTP
|
|
24
|
+
It is not a Mockingbird HTTP emulator and is not the storage engine Mockingbird's HTTP emulators use (they
|
|
25
25
|
use the SQLite-dialect [`@crvouga/mockingbird-service-sqlite`](https://github.com/crvouga/mockingbird/tree/main/packages/service/sqlite#readme)
|
|
26
26
|
through the `SqliteClient` port). Use this package as the database for your own code under test.
|
|
27
27
|
|
|
@@ -190,7 +190,7 @@ mockingbird-postgres serve postgres://postgres:secret@0.0.0.0:55432/app --log
|
|
|
190
190
|
`serve({ database })` shares an existing `Database`, and `serve({ database: snapshot })` boots every
|
|
191
191
|
server from one frozen template, so a seeded stack starts from the same bytes each time.
|
|
192
192
|
`createAdmin` from `@crvouga/mockingbird-service-postgres/admin` serves the same `/__admin`
|
|
193
|
-
surface as every other
|
|
193
|
+
surface as every other emulator, including the table explorer (`GET /sql/tables`, `POST /sql/query`).
|
|
194
194
|
The wire server does not speak that HTTP API.
|
|
195
195
|
|
|
196
196
|
`mockingbird-postgres serve --config mockingbird.json` also supervises a mixed HTTP/Postgres/Redis
|