Build offline first Android mobile apps. Remove loading screens, perform tasks instantly.
For the use case of your users logging out of your app and you want to delete all of the data associated with them, .clear()
has been added to Wendy!
Full changelog below:
PendingTask
instances to perform tasks such as API calls and working with a database.No breaking changes in this release. Good ol bug fixes release.
Wendy.resolveError(taskId)
is called for a PendingTask that belongs to a group, Wendy will grab all of the similar PendingTasks of that group (same tag, dataId, groupId), iterate them all in order by createdAt property, then resolve the first error that Wendy comes upon. This is to help the developer not need to handle 2+ different PendingTask taskIds for groups.I have been doing a lot of work on Wendy-iOS lately and while I was working on it, I found some bugs with Wendy-Android. I have gone through and fixed those in this release.
Note: There are indeed a couple minor breaking changes here.
rescheduled
parameter in the Wendy listeners when a task is complete. It is always rescheduled if it fails so no need for the paramter.Wendy.runAllTasks()
now takes an object for filtering instead of a string for groupId
.This 0.1.1-alpha
release is a bug fix release with some breaking changes (don't you love alpha software 😉?).
strict
mode to help developer during development of Wendy.0.1.0-alpha
. This was done because 0.1.0-alpha
is not used in production by any apps (to my knowledge) and the change would have taken a bit of work to do. This was the easier solution for the situation.PendingTasksFactory.getTask()
returns nullable PendingTask
.taskId
property nullable in PendingTask
as it is null until it is added to Wendy.PendingTasks
file to Wendy
.BIG refactor.
I have learned a lot in the past year while building this library on how it should work. This release is going in the right direction. I am excited to see where it goes from here.
More stable. Better API. Slimmed down.
You may use this version in your apps if you wish. I am using them in my production apps. However, I am not guaranteeing that the library API will not change.
I am marking this release as alpha. Usable, but may be buggy and API may change. Use it and report issues 😄.