Releases: nylo-core/support
Releases · nylo-core/support
v7.19.0
Changed (BREAKING)
Connectivewidget redesigned - Flipped semantics from "show when connected" to "show when missing". RemovedonWifi,onMobile,onEthernet,onVpn,onBluetooth,onSatellite,onOther,onNoneparameters in favour of a singlenoInternetparameter that displays a fallback when the device has no internet (wifi, mobile, or ethernet). Migration: replaceonNone: widgetwithnoInternet: widget. UseConnective.builder()for any custom connectivity handling- Removed
showLoadingOnInitandloadingWidgetfromConnective- the initial connectivity check is near-instant, making a loading state unnecessary OfflineBannernow checks for internet absence (wifi/mobile/ethernet) rather thanNyConnectivityState.none, correctly showing the banner when the device only has non-internet connections
Added
- New
NyConnectivity.hasInternet()helper - Checks specifically for wifi, mobile, or ethernet connectivity. Stricter thanisOnline()which passes for any non-none result
Fixed
CollectionView.refreshDatastate action - Re-fetches data explicitly for both pullable and regular modes instead of relying onreboot(), resetting pagination, loading state, and footer state correctly
v7.18.1
Fixed
- CollectionView not updating when parent rebuilds with new data - Sync data callbacks (e.g.
data: () => _filteredList) were only read once due to_syncDataInitializedflag introduced in v7.16.0, breaking filtering/search patterns. AddeddidUpdateWidgetoverride to reset the flag on parent rebuilds while preservingstateActionsbehavior
Added
- CollectionView test coverage - Added 29 tests covering
CollectionItemhelpers, sync/async data, empty states, headers, spacing, transform/sort, separated/grid layouts, parent-driven data updates, and configuration options
v7.18.0
[7.18.0] - 2026-04-11
Added
- New
actingAsGuest()test helper - Semantic alias forlogout()that reads better in test setup - New
expectApiCalledWith()test helper - Assert that an API endpoint was called with specific request data, checking both endpoint and request body via deep equality - New
expectWidgetCount()test helper - Assert that a widget of a given type appears exactly N times - New
expectTextVisible()/expectTextNotVisible()test helpers - Assert text presence or absence in the widget tree - New
expectVisible()/expectNotVisible()test helpers - Assert widget presence or absence using any Finder - New
assertOnRoute()test helper - Assert the current route matches a given route without implying navigation just occurred - New
navigateBack()test helper - Pop the current route and settle, simulating the back button - New
tapText()test helper - Find a widget by text, tap it, and settle in one call - New
fillField()test helper - Tap a form field, enter text, and settle in one call - New
scrollTo()test helper - Scroll until a widget is visible in the nearest Scrollable
v7.17.0
[7.17.0] - 2026-04-11
Added
- New
visit()test helper - Pump a route with full Nylo navigation support, setting upMaterialAppwith the NyRouter's route generator, navigator key, and route history observer so thatrouteTonavigation works correctly in tests - New
assertNavigatedTo()test helper - Assert that the app navigated to a given route by checkingNylo.getCurrentRouteName()matches the expected route path - New
settle()test helper - A readable alias forpumpAndSettlethat waits for all animations, frame callbacks, and pending UI updates to complete
v7.15.0
Added
- Environment variable interpolation in
NyEnvRegistry- String env values now support${VAR_NAME}syntax to reference other env keys. For example,APP_URL=https://${APP_DOMAIN}will resolve by looking upAPP_DOMAIN. Supports chained references, non-string value conversion, and circular reference protection
v7.14.1
Fixed
bottomToTopandtopToBottompage transitions animating the previous route - AddedcanTransitionFromoverride toPageTransitionthat returnsfalseforbottomToTopandtopToBottomtransition types, preventing the outgoing page from sliding away during modal-style transitions
v7.14.0
Added
isDismissibleandenableDragparameters forNyBaseModal.show()- New optional parameters to control whether the modal can be dismissed by tapping the barrier (isDismissible, defaults totrue) and whether the modal supports drag-to-dismiss gestures (enableDrag, defaults totrue). Both are passed through to the underlyingshowModalBottomSheet
v7.13.0
What's New
Added
- Satellite connectivity support for
Connectivewidget andNyConnectivityState- Addedsatellitevalue to theNyConnectivityStateenum with mapping fromConnectivityResult.satellite, and addedonSatellitewidget parameter toConnectivefor rendering satellite-specific UI - Wildcard
*key forStyledText.templatestyles and onTap - When no exact or pipe-delimited key matches a placeholder, the styles/onTap map now falls back to a*wildcard key, allowing a single style or tap handler to apply to all placeholders
Changed
- Updated dependency constraint:
connectivity_plus^7.1.0
v7.12.0
[7.12.0] - 2026-03-29
Added
creationPathsupport for Metro scaffolding commands - Provider, route guard, form, and event scaffolding commands now supportcreationPathusingcreatePathForDartFileandcreateDirectoriesFromCreationPathfor consistent nested directory path handlingsetStatecallback parameter forNyFieldBuilder- TheNyFieldBuildertypedef now includes asetStatecallback parameter. ANyFieldBuilderLegacytypedef is available for backward compatibility.Field.builderaccepts both signatures
Changed
- Updated dependency constraints:
flutter_timezone^5.0.2,patrol^4.5.0
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