Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Changelog

## 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.

### Internal Fixes
* Fixed lint warnings in `playx.dart` by hiding internal Sentry classes and methods (`SemanticAttributesConstants`, `InstrumentationSpan`, etc.) that were updated or restricted in Sentry Core `9.16.0`.
## 1.6.0
- Update dependencies

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Welcome to Playx, where simplicity meets functionality! Playx is an ecosystem de
To integrate Playx into your project, add the following line to your `pubspec.yaml` file:

```yaml
playx: ^1.4.0
playx: ^2.0.0
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions example/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import FlutterMacOS
import Foundation

import connectivity_plus
import flutter_secure_storage_macos
import flutter_secure_storage_darwin
import package_info_plus
import path_provider_foundation
import sentry_flutter
Expand All @@ -15,7 +15,7 @@ import sqflite

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
FlutterSecureStorageDarwinPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageDarwinPlugin"))
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SentryFlutterPlugin.register(with: registry.registrar(forPlugin: "SentryFlutterPlugin"))
Expand Down
Loading
Loading