Releases: nylo-core/support
Releases · nylo-core/support
v7.11.2
Fixed
- Response data unavailable in
handleSuccess/handleFailurecallbacks - WhenskipMorphwas true (a callback was provided),morphedDatawas left null, sonyResponse.datawas inaccessible inside the callback. The raw response data is now passed through tomorphedDatawhen the type matches, allowing callbacks to accessnyResponse.data
v7.11.1
[7.11.1] - 2026-03-12
Fixed
toast-oopscalling wrong toast method - Thetoast-oopsstate action was incorrectly callingshowToastInfo()instead ofshowToastOops(), causing oops-style toasts to display as info-style toastsField.password()not respectingviewableparameter - Theviewableparameter was not being passed through toFieldStyleTextField.password(), so the password visibility toggle setting was ignored when constructing password fields
Changed
NyPage.initState()state name resolution - The state name forNyStatefulWidgetis now resolved unconditionally ininitState(), rather than only whenstateManagedis true. The event bus subscription logic is now a singlestateManaged && allowStateUpdatescheck with reduced nesting- Updated dependency constraints:
flutter_local_notifications^21.0.0,timezone^0.11.0,patrol^4.3.0
v7.11.0
What's Changed
Added
action()method onStateActions— New convenience method to callstateAction()directly from anyStateActionsinstance, accepting an action name and optional data parameter
Fixed
- Controller not initialized before
init()inNyPageandNyState— The controller is now eagerly constructed with the currentcontextif it hasn't been initialized yet, and the widget's state name is propagated to the controller before use. This fixes issues where the controller was not ready during early lifecycle methods
v7.10.0
What's New
Added
enableInteractiveSelectionforInputFieldandFieldStyleTextField- New parameter to control whether text selection handles and toolbar are shown. Available onInputField,InputField.compact,InputField.password,InputField.email,InputField.fromFieldStyleText, andFieldStyleTextField
Fixed
FieldStyleTextField.copyWithlosing existing values - Parameters liketextCapitalization,maxLengthEnforcement,onAppPrivateCommand,inputFormatters,cursorWidth,dragStartBehavior, andclipBehaviornow correctly fall back tothis.xxxinstead of overriding with hardcoded defaults
v7.9.1
Fixed
- Form submit button not calling
onSubmit- FixedButtonStatepassingNyFormData.stateName(already prefixed withform_) toNyFormWidget.submit(), which added the prefix again resulting inform_form_FormName. Now correctly passesNyFormData.nameso the state name resolves properly
v7.9.0
[7.9.0] - 2026-03-05
Added
- Data-aware toast notification styles - Toast styles can now receive dynamic data at call time via a new
ToastStyleDataFactorytypedef. Register data-aware styles withregisterWithData()or pass both static and data-aware factories toregisterAll()andaddToastNotifications() dataparameter for toast helpers - Added optionaldataparameter toshowToastNotification(),NyBaseState.showToast(),NyBaseState.showToastCustom(),NyController.showToastCustom(), andStateAction.showToastCustom()to pass custom key-value pairs to data-aware toast stylesToastNotificationRegistry.resolve()- New method that resolves a toast style by ID and passes data to data-aware factories, replacing directget()calls internallyenablePullDownparameter forCollectionView- AddedenablePullDownoption to allCollectionViewconstructors (.list,.separated,.grid,.pullable,.pullableSeparated,.pullableGrid) to control whether pull-to-refresh is enabled
Changed
- Renamed API pagination parameters -
queryParamPagerenamed toparamPageandqueryParamPerPage/queryNamePerPagerenamed toparamPerPageinnyApi()andapi()helpers for consistency NyFormWidgetstate methods usestateAction()- RefactoredstateSetValue(),stateSetOptions(),clearField(), andsubmit()to usestateAction()instead ofupdateState()for correct form state dispatch
v7.8.1
v7.8.0
What's New
Added
NavigationHubStateActions.refreshTab()- Refresh a specific tab by index, forcing it to rebuild with a newUniqueKeyNavigationHubStateActions.refresh()- Refresh all tabs in the navigation hub, forcing them all to rebuildrootNavigatorparameter forpop()- AddedrootNavigatoroption toNyBaseState.pop(),NyController.pop(),StateAction.pop(), andBuildContext.pop()to support popping from the root navigator when using nested navigation
v7.7.1
[7.7.1] - 2026-03-02
Fixed
ArgumentsWrapperJSON serialization crash - Route arguments containing non-serializable objects (e.g. model instances, enums) would throw aJsonUnsupportedObjectErrorwhen Flutter'sNavigatorStatecalledjsonEncodeduring state restoration or post-navigation logging. A new_safeEncode()helper now recursively converts non-primitive values to safe representations before encoding- Missing
toJson()onArgumentsWrapper- AddedtoJson()method required by Flutter'sNavigatorStatefor JSON encoding route arguments
v7.6.0
What's New in 7.6.0
Added
Backpack.read<T>()now auto-deserializes rawMap<String, dynamic>values into typed models and caches the resultLanguageSwitcherlist items show aCircularProgressIndicatorwhile the language switch processes
Fixed
CollectionViewupdated from deprecatedfindChildIndexCallbacktofindItemIndexCallbackfor Flutter SDK compatibilityLanguageSwitchermodal now closes immediately on selection instead of waiting for async operations
Changed
- Type checking in
BackpackandNyStoragerefactored from_isType<T, U>()/T.toString()to directT == Typecomparisons _LanguageListItem.onTapchanged fromVoidCallbacktoFuture<void> Function()for async support
Tests
- 4 new tests for Backpack Map deserialization
- 3 new tests for NyStorage model deserialization