diff --git a/CHANGELOG.md b/CHANGELOG.md index aa7d9fda3..440a3c883 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [4.3.5] +- Fix GetConnect timeout (@jasonlaw) +- Improve Vietnamese docs (@hp1909) +- Refactor placeholder name route to unnamed routes (@roipeker). +- Fix: Navigate to a page identical to Get.offNamed. +- Fix: Wrong nameRoute after a route is removed +- Added assert to prevent the user from starting a route name without slash. + ## [4.3.4] - Improve docs diff --git a/lib/get_instance/src/extension_instance.dart b/lib/get_instance/src/extension_instance.dart index 705b1e35a..e0cf9f5ca 100644 --- a/lib/get_instance/src/extension_instance.dart +++ b/lib/get_instance/src/extension_instance.dart @@ -92,8 +92,8 @@ extension Inst on GetInterface { /// Clears all registered instances (and/or tags). /// Even the persistent ones. /// - /// - [clearFactory] clears the callbacks registered by `Get.lazyPut()` - /// - [clearRouteBindings] clears Instances associated with Routes when using + /// - `clearFactory` clears the callbacks registered by `Get.lazyPut()` + /// - `clearRouteBindings` clears Instances associated with Routes when using /// [GetMaterialApp]. // bool reset( // {@deprecated bool clearFactory = true, @@ -145,7 +145,7 @@ extension Inst on GetInterface { } /// Replaces a parent instance with a new Instance

lazily from the - /// [

builder()] callback. + /// `

builder()` callback. /// - [tag] optional, if you use a [tag] to register the Instance. /// - [fenix] optional /// diff --git a/lib/get_instance/src/get_instance.dart b/lib/get_instance/src/get_instance.dart index 52cb6614d..ad5ad879b 100644 --- a/lib/get_instance/src/get_instance.dart +++ b/lib/get_instance/src/get_instance.dart @@ -316,8 +316,8 @@ class GetInstance { /// Even the persistent ones. /// This should be used at the end or tearDown of unit tests. /// - /// [clearFactory] clears the callbacks registered by [lazyPut] - /// [clearRouteBindings] clears Instances associated with routes. + /// `clearFactory` clears the callbacks registered by [lazyPut] + /// `clearRouteBindings` clears Instances associated with routes. /// bool resetInstance( {@deprecated bool clearFactory = true, bool clearRouteBindings = true}) { diff --git a/lib/get_navigation/src/extension_navigation.dart b/lib/get_navigation/src/extension_navigation.dart index a0783599c..bbcef6041 100644 --- a/lib/get_navigation/src/extension_navigation.dart +++ b/lib/get_navigation/src/extension_navigation.dart @@ -1016,6 +1016,7 @@ you can only use widgets and widget functions here'''; /// `() => MyHomeScreenView` becomes `/my-home-screen-view`. String _cleanRouteName(String name) { name = name.replaceAll('() => ', ''); + /// uncommonent for URL styling. // name = name.paramCase!; if (!name.startsWith('/')) { diff --git a/lib/get_utils/src/get_utils/get_utils.dart b/lib/get_utils/src/get_utils/get_utils.dart index b1498c247..4275e3364 100644 --- a/lib/get_utils/src/get_utils/get_utils.dart +++ b/lib/get_utils/src/get_utils/get_utils.dart @@ -583,7 +583,8 @@ class GetUtils { return null; } return _groupIntoWords(text!) - .map((word) => word.toLowerCase()).join(separator); + .map((word) => word.toLowerCase()) + .join(separator); } /// param-case diff --git a/pubspec.yaml b/pubspec.yaml index a1ba67b84..3d0df6f6f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: get description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX. -version: 4.3.4 +version: 4.3.5 homepage: https://github.com/jonataslaw/getx environment: