- Fix the ESM module imports for each individual sub-module.
- README updates.
- Added
tryWhileretry utility function. - Deprecated the
tryNoverload with requiredisRetryableargument and introduced a new overload withisRetryablebeing part ofoptions. - Deprecated the
StaticShardedDOOptions.prefixNameoption and introducedStaticShardedDOOptions.shardGroupNamewhich is clearer and more descriptive.
- Added
prefixNameto theStaticShardedDOconstructor options. This allows multiple shard groups within the same Durable Object Namespace.
- Renamed
FixedShardedDOtoStaticShardedDOto better signal the static shard number used. - Extended
StaticShardedDOwith more methodssome()to only query specific shards,tryOne()/trySome()/tryAll()for non-throwing variations of querying the shards. - Added retry utilities
tryN()andjitterBackoff(), and integrate them with theStaticShardedDOmethods as well for automatic retries. - Added Durable Objects utilities
stubByName()andisErrorRetryable().
None.
- Added
FixedShardedDOabstraction.
- Added SQL Schema migrations helpers (
SQLSchemaMigrations) for SQLite Durable Objects.