Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
⚠ BREAKING CHANGES
- swing-store: Remove unsafe hostStorage.setExportCallback method
Features
- Add consensus-independent vat snapshot archiving configuration to AG_COSMOS_INIT (ffc594f), closes #10036
- Add consensus-independent vat transcript archiving configuration to AG_COSMOS_INIT (d2d5803), closes #10036
- add exporter.getHostKV() API (eb564f9), closes #8523
- cosmic-swingset: Allow
launch
to accept an already-open swingStore (c65e5b1)
- cosmic-swingset: Introduce inquisitor.mjs (e6d75db)
- internal: Generalize single-level
pick
utility to recursive attenuate
(6b36d1e)
- swing-store: Add options for opening swing-stores (036053c)
- swing-store: budget-limited deletion of snapshot and transcripts (c43bf63), closes #8928
- swing-store: faster import of swing-store (0170568)
- swing-store: Limit item deletion to the previously-current transcript span (766c1bb), closes #9387
- swing-store: prevent SwingSet usage of imported swing-store (6a833eb)
- swingstore: add repairMetadata() (33b5c1c), closes #8025 #8025
- tool for auditing dangling kindID references (eeadc46), closes #7655
Bug Fixes
- misc runtime robustness found by typecheck (a033f26)
- performance.now() binding (4a3b59b)
- rewrite importSwingStore to preserve metadata properly (38c9efc), closes #8025
- swing-store: accept budget=Infinity to allow unlimited deletions (c22b656)
- swing-store: add 'replay' artifactMode, make export more strict (9939ea6), closes #8105
- swing-store: Create archive files with .tmp suffixes in their final directory (1413af2), closes #10239
- swing-store: Delete transcript spans in stopUsingTranscript as in rollover (2d1e478), closes #10054
- swing-store: ensure crank savepoint is wrapped in transaction (9d2dd3f)
- swing-store: explicitly harden prototypes (86c128a)
- swing-store: no completeness check when creating exporter (d4df073)
- swing-store: Remove unsafe hostStorage.setExportCallback method (c24e990), closes #10062
- swing-store: Update archiveTranscript to wait for write stream conclusion (#11294) (fbea810), closes #11293 #11293
- types: template syntax (279b903)
- update for
[@jessie](https://github.com/jessie).js/safe-await-separator
(94c6b3c)
0.9.1 (2023-06-02)
Note: Version bump only for package @agoric/swing-store
0.9.0 (2023-05-19)
⚠ BREAKING CHANGES
- xsnap: start xsnap takes snapshot stream
- xsnap: makeSnapshot yields snapshot data
Features
- swing-store: enforce snapStore consistency (b1343b7)
- SwingSet: force reload from snapshot (86de218)
- swingset-tools: add tool to extract bundles (0144ec1)
- swingstore: add support for b0- bundles (4a3b320), closes #7190
- xsnap: makeSnapshot yields snapshot data (348bbd2)
- xsnap: start xsnap takes snapshot stream (ed87de1)
- Add incarnation number to the transcript store records (5d64be7), closes #7482
- convert swing-store from LMDB to Sqlite (579a6c7)
- eliminate ephemeralSwingStore in favor of Sqlite :memory: database (0283233)
- implement bundleStore (34db767), closes #7089
- implement swingStore data export/import in support of state sync (268e62f), closes #6773
- Integrate kernel with bundleStore (338556a), closes #7197
- move snapstore into SQLite database with the rest of the swingstore (5578834), closes #6742
- refactor SwingStore APIs to cleanly distinguish kernel facet from host facet (7126822)
- relocate snapshot metadata from kvStore to snapStore (4e0f679), closes #6742
- use Sqlite save points for crank commit, integrate activity hash into swing-store (6613d7e)
Bug Fixes
- swing-store: add isCurrent SQLite CHECK (90bd76c)
- swing-store: noteExport span init (5ba0d31)
- swing-store: remove explicit wal_checkpoint (efe6b7e), closes #7069
- swing-store: replace getAllState/etc with a debug facet (886528c)
- swing-store: replace kvStore.getKeys() with getNextKey() (4b2c29b), closes #6468
- swing-store: switch to internal line transform (f4b964a)
- swingset-tools: extract vat transcript (edbac04)
- CI failures in other packages (071bf89)
- eliminate snapStore
root
parameter (f06a171)
- incorporate review feedback (24896ee)
0.8.1 (2022-10-05)
Note: Version bump only for package @agoric/swing-store
0.8.0 (2022-09-20)
Features
- swing-store: Update snapshot telemetry to differentiate new-file vs. existing-file (73550f3)
- add env to keep old snapshots on disk (96e1077)
- Report size and timing data of SnapStore save operations (f0a6026)
- Write makeSnapshot telemetry to slog (4cdd2f8), closes #6164
- swing-store: Switch to lmdb-js (89adc87)
- swingstore: switch to async fs for snapstore (13d443c)
Bug Fixes
- swing-store: Depend on better-sqlite3 types (ef8a90f)
- swing-store: Infer directory to guarantee file rename atomicity (40bc322)
- swing-store: Narrow JSDoc templating (4ee3e32)
- swing-store: Narrow the signature of measureSeconds to require an async argument (eaf0a68)
- record XS snapshots and file sizes to slog and console (5116ebb), closes #5419
- Report new metrics in seconds, and do so accurately (c22309f)
- Use new
||
assert style, but when TS confused use if
instead (#6174) (94625d3)
- swing-store: disable useWritemap (691a4bd)
- swing-store: fix tests to use proper temp dbs (e899f5c)
- swing-store: IterableIterator types (48836dd)
- swing-store: use sqlite transactions for streamStore operations (33ebe2c), closes #6056
- swingset: don't delete heap snapshot if it didn't change (2cbe3a8), closes #5901
- swingstore: avoid conditional await on commit (67d846d)
- tests use debug settings (#5567) (83d751f)
Performance Improvements
- swing-store: Improve the efficiency of writing snapshots (ef78e7d), closes #6225
0.7.0 (2022-05-28)
Features
- Accept path for swingStore trace (63a209c)
- swingset: Add swing store trace option (25c7e79)
Bug Fixes
0.6.6 (2022-04-18)
Note: Version bump only for package @agoric/swing-store
0.6.5 (2022-02-24)
Note: Version bump only for package @agoric/swing-store
0.6.4 (2022-02-21)
Features
- swing-store: enable
LMDB_MAP_SIZE
and SOLO_LMDB_MAP_SIZE
(77f67a8)
0.6.3 (2021-12-02)
Note: Version bump only for package @agoric/swing-store
0.6.2 (2021-10-13)
Note: Version bump only for package @agoric/swing-store
0.6.1 (2021-09-23)
Note: Version bump only for package @agoric/swing-store
0.6.0 (2021-09-15)
⚠ BREAKING CHANGES
- clean up organization of swing-store
Bug Fixes
- swing-store: be resilient to Node.js 16.x fs.rmSync (990f909)
Code Refactoring
- clean up organization of swing-store (3c7e57b)
0.5.11 (2021-08-18)
Note: Version bump only for package @agoric/swing-store-lmdb
0.5.10 (2021-08-17)
Note: Version bump only for package @agoric/swing-store-lmdb
0.5.9 (2021-08-15)
Bug Fixes
0.26.10 (2021-07-28)
0.5.8 (2021-08-14)
Bug Fixes
0.26.10 (2021-07-28)
0.5.7 (2021-07-28)
Note: Version bump only for package @agoric/swing-store-lmdb
0.5.6 (2021-07-01)
Bug Fixes
- repair stream store self-interference problem (948d837), closes #3437
0.5.5 (2021-06-28)
Note: Version bump only for package @agoric/swing-store-lmdb
0.5.4 (2021-06-25)
Note: Version bump only for package @agoric/swing-store-lmdb
0.5.3 (2021-06-24)
Features
0.5.2 (2021-06-23)
Note: Version bump only for package @agoric/swing-store-lmdb
0.5.1 (2021-06-16)
Note: Version bump only for package @agoric/swing-store-lmdb
0.5.0 (2021-06-15)
⚠ BREAKING CHANGES
- swing-store-lmdb: This includes a renaming of the constructors to acknowledge
that the different SwingStore constructors are not polymorphic.
Features
- swing-store-lmdb: enable configuration of LMDB database size limit (6f7cefa)
- greater paranoia about concurrent access (e67c4ef)
- move transcripts out of key-value store and into stream stores (a128e93)
- overhaul stream store API to better fit actual use in kernel (c5cc00a)
- provide streamStore implementations (e094914)
- remove .jsonlines hack from simple swing store (ef87997)
Bug Fixes
- Pin ESM to forked version (54dbb55)
- tweaks and cleanup based on review feedback (ba95e34)
0.4.12 (2021-05-10)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.11 (2021-05-05)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.10 (2021-05-05)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.9 (2021-04-22)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.8 (2021-04-18)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.7 (2021-04-16)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.6 (2021-04-07)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.5 (2021-04-06)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.4 (2021-03-24)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.3 (2021-03-16)
Bug Fixes
- make separate 'test:xs' target, remove XS from 'test' target (b9c1a69), closes #2647
0.4.2 (2021-02-22)
Note: Version bump only for package @agoric/swing-store-lmdb
0.4.1 (2021-02-16)
Bug Fixes
- review comments (17d7df6)
- use assert rather than FooError constructors (f860c5b)
0.4.0 (2020-12-10)
Features
- import-bundle: Preliminary support Endo zip hex bundle format (#1983) (983681b)
0.3.7 (2020-11-07)
Note: Version bump only for package @agoric/swing-store-lmdb
Note: Version bump only for package @agoric/swing-store-lmdb
0.3.6 (2020-10-11)
Note: Version bump only for package @agoric/swing-store-lmdb
Note: Version bump only for package @agoric/swing-store-lmdb
Note: Version bump only for package @agoric/swing-store-lmdb
Note: Version bump only for package @agoric/swing-store-lmdb
0.3.5 (2020-09-16)
Note: Version bump only for package @agoric/swing-store-lmdb
0.3.4 (2020-08-31)
Bug Fixes
- reduce inconsistency among our linting rules (#1492) (b6b675e)
0.3.3 (2020-06-30)
Performance Improvements
- Don't use the useWritemap option if we know we don't need it (c272e43)
0.3.2 (2020-05-17)
Note: Version bump only for package @agoric/swing-store-lmdb
0.3.1 (2020-05-10)
Note: Version bump only for package @agoric/swing-store-lmdb
0.3.0 (2020-05-04)
Bug Fixes
- stop LMDB from crashing in the WLS environment (89fb788)
Features
- swing-store-lmdb: add isSwingStore() query (fce7168), closes #953
0.2.2 (2020-04-13)
Note: Version bump only for package @agoric/swing-store-lmdb
Note: Version bump only for package @agoric/swing-store-lmdb
0.2.1 (2020-04-02)
Note: Version bump only for package @agoric/swing-store-lmdb
Note: Version bump only for package @agoric/swing-store-lmdb
0.2.0 (2020-03-26)
Features
- Log (and graph) database disk usage (9f9f5af)