WatermelonDB v0.11.0 Release Notes
Release Date: 2019-03-12 // about 5 years ago-
๐ฅ Breaking
- โ ๏ธ Potentially BREAKING fix: a
@date
field now returns a Jan 1, 1970 date instead ofnull
if the field's raw value is0
. This is considered a bug fix, since it's unexpected to receive anull
from a getter of a field whose column schema doesn't sayisOptional: true
. However, if you relied on this behavior, this might be a breaking change. - โ ๏ธ BREAKING:
Database.unsafeResetDatabase()
now requires that you run it inside an Action
๐ Bug fixes
- ๐ [Sync] Fixed an issue where synchronization would continue running despite
unsafeResetDatabase
being called - [Android] fix compile error for kotlin 1.3+
Other changes
- Actions are now aborted when
unsafeResetDatabase()
is called, making reseting database a little bit safer - โก๏ธ Updated demo dependencies
- ๐ LokiJS is now a dependency of WatermelonDB (although it's only required for use on the web)
- ๐ [Android] removed unused test class
- โก๏ธ [Android] updated ktlint to
0.30.0
- โ ๏ธ Potentially BREAKING fix: a