v1.0.0#44
Merged
Merged
Conversation
- Add support for wasm support for web. - Update flutter_secure_storage: to v10.0.0-beta.2 which includes some breaking changes. Signed-off-by: Basem Osama <engbasemosama@gmail.com>
Signed-off-by: Basem Osama <engbasemosama@gmail.com>
Signed-off-by: Basem Osama <engbasemosama@gmail.com>
# Conflicts: # CHANGELOG.md # example/pubspec.lock # lib/src/utils/safe_json_convert.dart # pubspec.yaml
Signed-off-by: Basem Osama <engbasemosama@gmail.com>
Signed-off-by: Basem Osama <engbasemosama@gmail.com>
# Conflicts: # CHANGELOG.md # pubspec.yaml
Signed-off-by: Basem Osama <engbasemosama@gmail.com>
# Conflicts: # .flutter-plugins # .flutter-plugins-dependencies # CHANGELOG.md # example/pubspec.lock # pubspec.yaml
(cherry picked from commit 65fded1)
## 1.0.0 - Added support for nested JSON keys using dot notation (e.g., `'data.user.name'`) in all `safe_json_convert` functions. - Introduced `toEnum`/`asEnum` and `toUri`/`asUri` safe conversion functions. - Improved generic list parsing in `toListOrNull` by adding a fallback to `List<T>.from(value)` for safer runtime casting. - Optimized `TalkerPlayxLogger` to strictly respect the `enabled` configuration, utilize `debugPrint`, and automatically disable colored output in Web environments to avoid unformatted ANSI codes. - Refactored `PlayxColorExtensions` to eliminate deprecated `dart:ui` getters, transitioning to Flutter 3.24 wide-gamut compatibility (`a`, `r`, `g`, `b`). Added `fromHex`, `lighten`, `darken`, and `isDark` helper methods. - Expanded core extension libraries (`String`, `Iterable`, `DateTime`, `Duration`, `bool`, `BuildContext`) to include new highly-requested utilities: - **String**: Added helpers like `toIntOrNull()`, `isNumeric`, `isValidEmail`, `toSlug()`, and `NullableStringExtensions` on `String?` (e.g., `isNullOrEmpty`). - **Iterable**: Added functional utilities `chunked`, `groupBy`, `sortedBy`, and numeric aggregates (`sum`, `average`). - **DateTime**: Added boundary generators like `startOfDay`, `endOfMonth`, and `startOfWeek`. - **Context**: Mapped the complete Material 3 `ColorScheme` properties (e.g., `onPrimary`, `surfaceContainer`) directly to `BuildContext` for agile theming.
# Conflicts: # CHANGELOG.md # example/pubspec.lock # lib/src/logger/playx_logger.dart # lib/src/logger/playx_logger_settings.dart # pubspec.lock # pubspec.yaml
V1.0.0 beta.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.0.0
'data.user.name') in allsafe_json_convertfunctions.toEnum/asEnumandtoUri/asUrisafe conversion functions.toListOrNullby adding a fallback toList<T>.from(value)for safer runtime casting.TalkerPlayxLoggerto strictly respect theenabledconfiguration, utilizedebugPrint, and automatically disable colored output in Web environments to avoid unformatted ANSI codes.PlayxColorExtensionsto eliminate deprecateddart:uigetters, transitioning to Flutter 3.24 wide-gamut compatibility (a,r,g,b). AddedfromHex,lighten,darken, andisDarkhelper methods.String,Iterable,DateTime,Duration,bool,BuildContext) to include new highly-requested utilities:toIntOrNull(),isNumeric,isValidEmail,toSlug(), andNullableStringExtensionsonString?(e.g.,isNullOrEmpty).chunked,groupBy,sortedBy, and numeric aggregates (sum,average).startOfDay,endOfMonth, andstartOfWeek.ColorSchemeproperties (e.g.,onPrimary,surfaceContainer) directly toBuildContextfor agile theming.