Skip to content

Releases: lucas34/SwiftQueue

6.0.2

Choose a tag to compare

@lucas34 lucas34 released this 27 Nov 11:31
2757fe4

Improvement

  • Add support of BackgroundTasks for TvOS and MacOs Catalyst (#423) (#429)

Thanks, @grighakobian for the contribution 🎉

6.0.1

Choose a tag to compare

@lucas34 lucas34 released this 30 Sep 09:51
79e6447

Improvement

  • Allow instantiation and override of DefaultConstraintMaker to deserialize constraints (#414) (#416)

Chore

  • Update Swift to 5.7.0 (#419)
  • Update Xcode Version in Github Actions (#420)
  • Update Actions dependencies (#421)
  • Update Bundle (#418)
  • Lint correct (#417)

6.0.0

Choose a tag to compare

@lucas34 lucas34 released this 29 Jun 06:28
c904ca8

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 with NWPathMonitor
  • WatchOS can now use NetworkConstraint

Thanks, @GianniCarlo for the contribution 🎉

Core

  • Remove empty files (#408)
  • Update copyright (#410)
  • Add test for network listener (#411)

5.1.0

Choose a tag to compare

@lucas34 lucas34 released this 05 May 17:21
39edd52

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 has onJobScheduled 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

Choose a tag to compare

@lucas34 lucas34 released this 20 Dec 05:36
e2ea739

Bug Fix

  • Important Fix for deserialise tasks (#363)

Thanks @arthurdapaz your contribution

5.0.1

Choose a tag to compare

@lucas34 lucas34 released this 05 Dec 14:16
0c681c3

Bug Fix

  • Important Fix for deserialise tasks (#363)

Chore

5.0.0

Choose a tag to compare

@lucas34 lucas34 released this 18 Oct 03:21
d6b37fd

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

  • Dynamic constraint feature (#310)
  • Add custom constraint (#343)

Breaking Changes

  • Rename NoSerialiser to NoPersister (#341)

Chore

  • Bump Reachability (#354)

Internal changes

4.3.0

Choose a tag to compare

@lucas34 lucas34 released this 09 Jun 18:41
bc4bc7c

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

Build

  • Auto archive carthage build artifacts (#303) (#308)
  • Update dependencies (#301) (#307)

4.2.0

Choose a tag to compare

@lucas34 lucas34 released this 08 May 13:51
4a75f0a

New features

Make backgroundTask available for MacOS 10.15 (#299)

Chore

Update to Swift 5.1 (#280)

Internal changes

Refactor constraints (#282)
Refactor encoding (#283)

4.1.0

Choose a tag to compare

@lucas34 lucas34 released this 04 Nov 03:31
f447f12

Chore

Update Reachability to 5.0.0 (#273)

New features

Add Method to query all jobs (#277)
Add method to remove all task (#275)

Fix

Fix Perf: Can only have 1 unique uuid per Queue

Internal changes

Remove timeout from tests (#274)
Update Copyright (#270)