Skip to content

Commit 3044dc7

Browse files
enedclaude
andcommitted
docs: update changelogs for hook-based debug system release
- Add new features: NotificationDebugHandler, LoggingDebugHandler, TaskStatus enums - Document breaking changes for isInDebugMode deprecation - Include bug fixes for retry detection and periodic task frequency - Focus on user-facing changes and benefits 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4d1cf58 commit 3044dc7

4 files changed

Lines changed: 26 additions & 1 deletion

File tree

workmanager/CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,23 @@
33
## Breaking Changes
44
* **BREAKING**: `isInDebugMode` parameter in `initialize()` is deprecated
55
* Parameter still accepted but will be removed in future version
6-
* Replace with hook-based debug system - see migration guide
6+
* Replace with hook-based debug system using `WorkmanagerDebug.setCurrent()`
77
* **BREAKING**: iOS minimum deployment target increased to 14.0
88
* Update your iOS project's deployment target to 14.0+
99
* **BREAKING**: `registerPeriodicTask` now uses `ExistingPeriodicWorkPolicy`
1010
* Replace `ExistingWorkPolicy` parameter with `ExistingPeriodicWorkPolicy`
1111

12+
## New Features
13+
* Add optional hook-based debug system with configurable handlers
14+
* `NotificationDebugHandler` - shows task status as notifications
15+
* `LoggingDebugHandler` - writes task events to system log
16+
* Eliminates risk of debug notifications appearing in production apps
17+
* Add `TaskStatus.SCHEDULED` and `TaskStatus.RESCHEDULED` for better task lifecycle visibility
18+
1219
## Bug Fixes
1320
* Fix periodic tasks running at wrong frequency when re-registered (#622)
1421
* Fix crash when inputData contains null values (thanks @Dr-wgy)
22+
* Fix Android retry detection to properly identify retrying tasks
1523

1624
# 0.8.0
1725

workmanager_android/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@
77
* **BREAKING**: `registerPeriodicTask` now uses `ExistingPeriodicWorkPolicy`
88
* Replace `ExistingWorkPolicy` parameter with `ExistingPeriodicWorkPolicy`
99

10+
### New Features
11+
* Add `NotificationDebugHandler` for debug notifications with configurable channels
12+
* Add `LoggingDebugHandler` for system log-based debugging
13+
* Add `TaskStatus.SCHEDULED` and `TaskStatus.RESCHEDULED` for better task lifecycle tracking
14+
1015
### Bug Fixes
1116
* Fix periodic tasks running at wrong frequency when re-registered (#622)
1217
* Changed default policy from `KEEP` to `UPDATE`
1318
* `UPDATE` ensures new task configurations replace existing ones
1419
* Fix crash when background task callback is null (thanks @jonathanduke, @Muneeza-PT)
20+
* Fix retry detection using `runAttemptCount` to properly identify retrying tasks
1521

1622
## 0.8.0
1723

workmanager_apple/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@
33
### Breaking Changes
44
* **BREAKING**: iOS minimum deployment target increased to 14.0
55
* Update your iOS project's deployment target to 14.0+
6+
* Required for notification debug handlers (iOS 14+ notification permissions)
67
* **BREAKING**: `registerPeriodicTask` now uses `ExistingPeriodicWorkPolicy`
78
* Replace `ExistingWorkPolicy` parameter with `ExistingPeriodicWorkPolicy`
89

10+
### New Features
11+
* Add `NotificationDebugHandler` for debug notifications with configurable grouping
12+
* Requires iOS 14+ and notification permissions
13+
* Add `LoggingDebugHandler` for system log-based debugging
14+
* Add `TaskStatus.SCHEDULED` and `TaskStatus.RESCHEDULED` for better task lifecycle tracking
15+
916
## 0.8.0
1017

1118
### Initial Release

workmanager_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
* **BREAKING**: Separate `ExistingWorkPolicy` and `ExistingPeriodicWorkPolicy` enums
55
* Use `ExistingPeriodicWorkPolicy` for periodic tasks: `keep`, `replace`, `update`
66

7+
### New Features
8+
* Add `TaskStatus.SCHEDULED` and `TaskStatus.RESCHEDULED` enums for enhanced task lifecycle tracking
9+
* Add debug handler interface and implementations for optional task monitoring
10+
711
## 0.8.0
812

913
### Initial Release

0 commit comments

Comments
 (0)