Releases: lucas34/SwiftQueue
Releases · lucas34/SwiftQueue
6.0.2
6.0.1
6.0.0
Breaking Changes
Replace Reachability framework with NWPathMonitor (#406)
Minimum version required has been updated
platforms: [
.macOS(.v10_14),
.iOS(.v12),
.macCatalyst(.v13),
.tvOS(.v12),
.watchOS(.v5),
]
- Dependency over
Reachability
has been removed and replaced withNWPathMonitor
- WatchOS can now use
NetworkConstraint
Thanks, @GianniCarlo for the contribution 🎉
Core
5.1.0
Bug fix
Allow user to specify enqueue DispatchQueue to fix multi-thread enqueue crash (#403)
SwiftQueueManagerBuilder(creator: creator)
.set(enqueueDispatcher: .main)
Breaking Changes
JobListener
now hasonJobScheduled
callback (#384)
New features
- Add Lambda Job (#382)
For simple job, instead of creating your own implementation of Job
, you can use LambdaJob {}
Chore
- Update Swift (#397)
5.0.2
5.0.1
5.0.0
Warning: This version is incompatible with 4.X
If you are using serialised task. After updating, the library will not be able to deserialised the task saved with version 4.X
New features
You can now add your own constraint dynamically
Breaking Changes
- Rename NoSerialiser to NoPersister (#341)
Chore
- Bump Reachability (#354)
Internal changes
4.3.0
Breaking Changes
- JobBuilder method requireCharging(value: Bool) was renamed .requireCharging() (#311)
- JobBuilder method .persist(required: true) was renamed .persist() (#312)
- JobBuilder method .internet(atLeast: .any) is forbidden. It's already default behaviour (#329)
- Internet constraint cannot be used if Operation is running in main thread (#329)
- Logger jobId parameter function can be nil (#318)
- Remove V1 serialiser (#320)
- Remove JobCount() method that is relying on a deprecated method (#337) (#336)
New features
- Add JobBuilder.copy() (#304)
Chore
- Update to Swift 5.2 (#306)
Internal changes
- Cleanup (#302) (#313) (#319) (#321) (#322) (#327) (#330)
- Constrains refactoring (#326) (#328) (#331) (#332) (#333) (#335)