Version 2.0 RC 2: Bring Your Own Database
Pre-releaseIf 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 markedasync
. Method signatures of conforming types will have to be updated to addasync
, but there is be no change to functionality. TheStorageEngine
protocol has anactor
conformance so the functions would already runasync
, this change just enforces that in the function signature. -
SQLiteStorageEngine
provides two new ways of creating anSQLiteStorageEngine
, either by callingSQLiteStorageEngine.default
orSQLiteStorageEngine.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.