@crvouga/mockingbird-service-customerio 3.18.0 → 3.19.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-customerio
2
2
 
3
- ## 3.18.0 (2026-11-17)
3
+ ## 3.19.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
+ ## 3.19.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
+ ## 3.18.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
  ## 3.17.1 (2026-11-16)
14
27
 
15
28
  Dependency updates only.
@@ -28,7 +28,7 @@ __export(service_exports, {
28
28
  __reExport(service_exports, service_star);
29
29
  import * as service_star from "@crvouga/mockingbird-runtime/service";
30
30
  import { PACKAGE_VERSION as SHARED_VERSION, createRuntime as sharedRuntime } from "@crvouga/mockingbird-runtime/service";
31
- var PACKAGE_VERSION = true ? "3.18.0" : SHARED_VERSION;
31
+ var PACKAGE_VERSION = true ? "3.19.1" : SHARED_VERSION;
32
32
  var ADMIN_BRAND = typeof define_MOCKINGBIRD_ADMIN_BRAND_default === "object" ? define_MOCKINGBIRD_ADMIN_BRAND_default : void 0;
33
33
  var createRuntime = (options) => sharedRuntime({
34
34
  ...options,
package/dist/index.d.ts CHANGED
@@ -486,6 +486,11 @@ type MockControls = NamespaceControls & {
486
486
  credentials?: Record<string, string>;
487
487
  /** Overrides for named namespaces. A key given here replaces the shared value. */
488
488
  namespaces?: Record<string, NamespaceControls>;
489
+ /**
490
+ * Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
491
+ * `checkpointMutations` option wins over this.
492
+ */
493
+ checkpointMutations?: boolean;
489
494
  };
490
495
  /** A latency rule in milliseconds. */
491
496
  type LatencyRule = {
@@ -769,6 +774,8 @@ declare class Collection<T> {
769
774
  namespace: string,
770
775
  /** Table name inside the namespace. Stable across resets of the rows themselves. */
771
776
  collectionName: string);
777
+ /** Note the record's current row in every open rollback journal that has not seen it yet. */
778
+ private journalRecord;
772
779
  private bumpCollectionSeq;
773
780
  nextSequence(): number;
774
781
  get(id: string): T | undefined;
package/dist/server.d.ts CHANGED
@@ -465,6 +465,11 @@ type MockControls = NamespaceControls & {
465
465
  credentials?: Record<string, string>;
466
466
  /** Overrides for named namespaces. A key given here replaces the shared value. */
467
467
  namespaces?: Record<string, NamespaceControls>;
468
+ /**
469
+ * Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
470
+ * `checkpointMutations` option wins over this.
471
+ */
472
+ checkpointMutations?: boolean;
468
473
  };
469
474
  /** A latency rule in milliseconds. */
470
475
  type LatencyRule = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-customerio",
3
- "version": "3.18.0",
3
+ "version": "3.19.1",
4
4
  "description": "Stateful emulator of Customer.io: Segment-compatible CDP (identify/track/batch, SDK drop-in), App API transactional email/SMS/inbox sends with an outbox, message catalog, link-click tracking, and signed reporting webhooks.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -99,7 +99,7 @@
99
99
  "pack:check": "bun ../../../scripts/pack-check.ts"
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
  "hono": "4.13.11"
105
105
  },