Skip to content

Conversation

@Ligament
Copy link

Summary

Updated chatwoot_sdk to support riverpod 3.x, resolving dependency conflicts with modern Flutter projects using riverpod_annotation ^3.0.0-dev.17 and later versions.

Changes Made

Dependencies

  • Updated riverpod from ^2.6.1 to ^3.0.0 (pubspec.yaml:20)
  • Version bump from 0.0.9 to 0.0.10 (pubspec.yaml:3)

Code Updates

  • Fixed test compatibility with riverpod 3.x API (test/chatwoot_client_test.dart:44-48)
    • Replaced deprecated overrideWithProvider() with overrideWith()
    • Updated provider override syntax to use callback functions instead of provider instances
  • Regenerated all build_runner outputs (.g.dart files)

Documentation

  • Added Requirements section to README (README.md:21-27)
    • Documents Flutter SDK ^3.5.3 requirement
    • Lists riverpod ^3.0.0 dependency
    • Notes usage of Hive and riverpod for transparency
  • Updated CHANGELOG with version 0.0.10 release notes (CHANGELOG.md:42-46)

- Updated riverpod dependency to ^3.0.0 for compatibility with latest Flutter projects
- Fixed test compatibility with riverpod 3.x API changes
- Regenerated build_runner outputs
- Added flutter_lldb_helper.py and flutter_lldbinit for LLDB integration
- Updated README with package requirements
- Updated CHANGELOG for version 0.0.10
- Updated pubspec.lock and pubspec.yaml for dependency updates
@Ligament Ligament marked this pull request as draft November 10, 2025 08:08
@Ligament Ligament marked this pull request as ready for review November 10, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant