Never Feel Empty Using Bodega Again
This release includes a small fix to the SQLiteStorageEngine
.
Previously this code would throw an error.
let noItems = [] // You can imagine some computation that ends up with an empty array rather than setting [] directly
storageEngine.write(noItems)
Now it will not throw an error, instead the write
function will return early and act as a no-op, more accurately matching a user's expectations.