Skip to content

update to v2.0.0#45

Merged
basemosama merged 5 commits into
mainfrom
qa
Apr 2, 2026
Merged

update to v2.0.0#45
basemosama merged 5 commits into
mainfrom
qa

Conversation

@basemosama

Copy link
Copy Markdown
Member

2.0.0

SDK & Dependency Updates

  • Updated SDK constraints:
    • Dart: >=3.10.0 <4.0.0
    • Flutter: >=3.38.0
  • Upgraded dependencies to their latest versions:
    • playx_core: ^1.0.0
    • playx_theme: ^2.0.0
    • playx_widget: ^0.5.0
    • playx_network: ^1.0.0
    • playx_navigation: ^1.0.0
    • playx_localization: ^0.4.0
    • sentry_flutter: ^9.16.0
    • internet_connection_checker_plus: ^2.9.1+2
    • connectivity_plus: ^7.1.0
    • get: ^4.7.3
    • async: ^2.13.1

Connection Status Enhancements

  • Restructured ConnectionStatusController to provide more robust network checking capabilities:
    • Added ConnectionCheckType enum (both, internet, device) to give explicit control over pinging URLs versus monitoring device network state.
    • Improved Web support out of the box by gracefully defaulting to ConnectionCheckType.device to prevent CORS issues.
    • Included dynamic enableChecking flag and setCheckingEnabled(bool) so developers can manually pause and resume background watchers.
    • Prevented memory leaks by mapping proper dispose() logic directly inside the ValueNotifier lifecycle.
    • Optimizations yielding faster feedback checks across different network types like Ethernet and VPNs.

Validation Enhancements

  • Replaced IsEqual validation rule with AreEqual for better naming consistency.
  • Added AreNotEqual validation rule for text fields to check if an input does not match another string.

…ection check types and improved lifecycle management
* Updated SDK constraints:
  * Dart: `>=3.10.0 <4.0.0`
  * Flutter: `>=3.38.0`
* Upgraded dependencies to their latest versions:
  * `playx_core: ^1.0.0`
  * `playx_theme: ^2.0.0`
  * `playx_widget: ^0.5.0`
  * `playx_network: ^1.0.0`
  * `playx_navigation: ^1.0.0`
  * `playx_localization: ^0.4.0`
  * `sentry_flutter: ^9.16.0`
  * `internet_connection_checker_plus: ^2.9.1+2`
  * `connectivity_plus: ^7.1.0`
  * `get: ^4.7.3`
  * `async: ^2.13.1`
@basemosama basemosama merged commit dc26267 into main Apr 2, 2026
1 check failed
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