Skip to content

Commit

Permalink
update to 4.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jonataslaw committed Aug 9, 2021
1 parent 2ca4670 commit aea0665
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions lib/get_instance/src/extension_instance.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -145,7 +145,7 @@ extension Inst on GetInterface {
}

/// Replaces a parent instance with a new Instance<P> lazily from the
/// [<P>builder()] callback.
/// `<P>builder()` callback.
/// - [tag] optional, if you use a [tag] to register the Instance.
/// - [fenix] optional
///
Expand Down
4 changes: 2 additions & 2 deletions lib/get_instance/src/get_instance.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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}) {
Expand Down
1 change: 1 addition & 0 deletions lib/get_navigation/src/extension_navigation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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('/')) {
Expand Down
3 changes: 2 additions & 1 deletion lib/get_utils/src/get_utils/get_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit aea0665

Please sign in to comment.