@crvouga/mockingbird-service-aws 0.15.0 → 0.16.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/CHANGELOG.md CHANGED
@@ -1,15 +1,28 @@
1
1
  # Changelog — @crvouga/mockingbird-service-aws
2
2
 
3
- ## 0.15.0 (2026-11-17)
3
+ ## 0.16.1 (2026-11-18)
4
4
 
5
- ### Features
5
+ ### Fixes and improvements
6
6
 
7
- - let a runtime skip the checkpoint it records after every write ([40a7387](https://github.com/crvouga/mockingbird/commit/40a7387208ec5f1fc0108859eded818efc3e3b5e))
7
+ - roll back only the rows a scope wrote instead of copying the namespace ([4b5bf7c](https://github.com/crvouga/mockingbird/commit/4b5bf7ca9902946df6164f0a247ddc8708198b5e))
8
8
 
9
9
  ### Dependencies
10
10
 
11
11
  - `@crvouga/mockingbird-runtime`
12
12
 
13
+ ## 0.16.0 (2026-11-16)
14
+
15
+ ### Features
16
+
17
+ - allow checkpointMutations in a fleet entry's adminControls ([f318660](https://github.com/crvouga/mockingbird/commit/f318660116d4237b520dee31e9c3c730aa66eae2))
18
+ - accept checkpointMutations as a boot admin control ([1825da5](https://github.com/crvouga/mockingbird/commit/1825da537184b111df3e7f1081c79cf605fb4d50))
19
+
20
+ ## 0.15.0 (2026-11-16)
21
+
22
+ ### Features
23
+
24
+ - let a runtime skip the checkpoint it records after every write ([40a7387](https://github.com/crvouga/mockingbird/commit/40a7387208ec5f1fc0108859eded818efc3e3b5e))
25
+
13
26
  ## 0.14.1 (2026-11-16)
14
27
 
15
28
  Dependency updates only.
@@ -40,7 +40,7 @@ __export(service_exports, {
40
40
  __reExport(service_exports, service_star);
41
41
  import * as service_star from "@crvouga/mockingbird-runtime/service";
42
42
  import { PACKAGE_VERSION as SHARED_VERSION, createRuntime as sharedRuntime } from "@crvouga/mockingbird-runtime/service";
43
- var PACKAGE_VERSION = true ? "0.15.0" : SHARED_VERSION;
43
+ var PACKAGE_VERSION = true ? "0.16.1" : SHARED_VERSION;
44
44
  var ADMIN_BRAND = typeof define_MOCKINGBIRD_ADMIN_BRAND_default === "object" ? define_MOCKINGBIRD_ADMIN_BRAND_default : void 0;
45
45
  var createRuntime = (options) => sharedRuntime({
46
46
  ...options,
package/dist/index.d.ts CHANGED
@@ -164,6 +164,8 @@ declare class Collection$1<T> {
164
164
  namespace: string,
165
165
  /** Table name inside the namespace. Stable across resets of the rows themselves. */
166
166
  collectionName: string);
167
+ /** Note the record's current row in every open rollback journal that has not seen it yet. */
168
+ private journalRecord;
167
169
  private bumpCollectionSeq;
168
170
  nextSequence(): number;
169
171
  get(id: string): T | undefined;
@@ -1118,6 +1120,11 @@ type MockControls = NamespaceControls & {
1118
1120
  credentials?: Record<string, string>;
1119
1121
  /** Overrides for named namespaces. A key given here replaces the shared value. */
1120
1122
  namespaces?: Record<string, NamespaceControls>;
1123
+ /**
1124
+ * Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
1125
+ * `checkpointMutations` option wins over this.
1126
+ */
1127
+ checkpointMutations?: boolean;
1121
1128
  };
1122
1129
  /** A latency rule in milliseconds. */
1123
1130
  type LatencyRule = {
@@ -1848,7 +1855,8 @@ type RuntimeOptions<T extends ServiceInstance> = {
1848
1855
  * Record a time-travel checkpoint after every accepted mutation and stamp its id in
1849
1856
  * `x-mockingbird-checkpoint`. Default true. Each checkpoint reads the whole namespace, so a
1850
1857
  * long-running mock that never travels back can turn this off to keep a write's cost its own;
1851
- * `checkpoint`, `snapshot`, `branch` and `checkout` still capture when called.
1858
+ * `checkpoint`, `snapshot`, `branch` and `checkout` still capture when called. Wins over
1859
+ * `adminControls.checkpointMutations`, which a fleet entry can set for any service.
1852
1860
  */
1853
1861
  checkpointMutations?: boolean;
1854
1862
  /** Injectable process IO used for observability and delays; logical service time uses `clock`. */
package/dist/server.d.ts CHANGED
@@ -464,6 +464,11 @@ type MockControls = NamespaceControls & {
464
464
  credentials?: Record<string, string>;
465
465
  /** Overrides for named namespaces. A key given here replaces the shared value. */
466
466
  namespaces?: Record<string, NamespaceControls>;
467
+ /**
468
+ * Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
469
+ * `checkpointMutations` option wins over this.
470
+ */
471
+ checkpointMutations?: boolean;
467
472
  };
468
473
  /** A latency rule in milliseconds. */
469
474
  type LatencyRule = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-aws",
3
- "version": "0.15.0",
3
+ "version": "0.16.1",
4
4
  "description": "Combined S3, SQS, IAM and STS provider endpoint emulator with native controls.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -99,7 +99,7 @@
99
99
  "openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate"
100
100
  },
101
101
  "dependencies": {
102
- "@crvouga/mockingbird-runtime": "0.1.0",
102
+ "@crvouga/mockingbird-runtime": "0.2.1",
103
103
  "@crvouga/mockingbird-service-sqlite": "3.5.1",
104
104
  "buffer": "6.0.3",
105
105
  "@noble/hashes": "2.4.0",