Skip to content

Version 2.0 RC 2: Bring Your Own Database

Pre-release
Pre-release
Compare
Choose a tag to compare
@mergesort mergesort released this 16 Aug 18:59
· 51 commits to main since this release

If you'd like to see all of the v2 changes please consult the v2 RC 1 release notes.

RC 2 Changes

  • Bodega is now fully documented, available at build.ms/bodega/docs

  • StorageEngine functions have now been marked async. Method signatures of conforming types will have to be updated to add async, but there is be no change to functionality. The StorageEngine protocol has an actor conformance so the functions would already run async, this change just enforces that in the function signature.

  • SQLiteStorageEngine provides two new ways of creating an SQLiteStorageEngine, either by calling SQLiteStorageEngine.default or SQLiteStorageEngine.default(appendingPath: "Red Panda Store").

  • Adding retry logic to SQLiteStorage. This wouldn't be an issue in an app, but would crop up as an issue when running tests.