You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: resolve issue #622 - periodic tasks running at incorrect frequencies
BREAKING CHANGE: Separate ExistingWorkPolicy and ExistingPeriodicWorkPolicy enums
- registerPeriodicTask now requires ExistingPeriodicWorkPolicy instead of ExistingWorkPolicy
- This mirrors Android's native WorkManager API design for better type safety
Changes:
- Change default periodic work policy from KEEP to UPDATE
- UPDATE policy ensures new task configurations replace existing ones
- Add comprehensive documentation with upstream Android links
- Update example app with periodic task demo using UPDATE policy
- Update all packages to use the new separated policy types
Fixes#622
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: resolve mock generation issues and update dependencies
- Add build_runner dependency to workmanager package
- Fix .mocks.dart generation with proper ExistingPeriodicWorkPolicy types
- Update generated mocks to reflect new API separation
- Clean up documentation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ci: add generated files check workflow and improve melos generate command
- Add new GitHub Actions workflow to ensure generated files are up-to-date
- Create parent 'generate' command that runs both pigeon and dart generation
- Update generate:pigeon to use --depends-on filter for consistency
- Workflow fails PR builds if generated files are not committed
This ensures the repository always contains current generated files.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: update pubspec versions after dependency changes
- Update example and platform interface pubspec files
- Ensure version consistency across packages
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: remove unnecessary build.yaml file
The build.yaml file is not needed as mockito automatically discovers
test files with @GenerateMocks annotations.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: correct ExistingWorkPolicy type in integration test
- Fix type error in workmanager_integration_test.dart
- Use ExistingPeriodicWorkPolicy instead of ExistingWorkPolicy for periodic tasks
- Add 'dart analyze' to pre-commit checklist to catch code errors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments