Jonny Borges

update to 4.2.0

  1 +## [4.2.0] - Big update
  2 +
  3 +This update fixes important bugs as well as integrates with Navigator 2. It also adds GetRouterOutlet, similar to angular RouterOutlet thanks to @ahmednfwela. Also, the documentation translation for Vietnamese (@khangahs) has been added, making the GetX documentation available for 11 different languages, which is just fantastic for any opensource project. GetX has achieved more than 5.4k likes from the pub, and more than 4k stars on github, has videos about it with 48k on youtube, and has communities in the 4 hemispheres of the earth, besides having a large list of contributors as you see bellow. We're all happy to facilitate development with dart and flutter, and that making programming hassle-free has been taken around the world.
  4 +
  5 +Changes in this version:
  6 +
  7 +- Fix: Navigating to the same page with Get.offNamed does not delete the controller from that page using Get.lazyPut.
  8 +
  9 +- Fix Readme GetMiddleware typos
  10 +by @nivisi
  11 +
  12 +- Fix url replace error
  13 +by @KevinZhang19870314
  14 +
  15 +- Changed response default encoding from latin1 to utf8
  16 +by @heftekharm
  17 +
  18 +- Add Duration in ExtensionBottomSheet
  19 +by @chanonpingpong
  20 +
  21 +- Added compatibility with dart-lang/mockito
  22 +by @lifez
  23 +
  24 +- Added extensions methods to convert value in percent value
  25 +by @kauemurakami
  26 +
  27 +- Set darkTheme equal theme when darkTheme is null
  28 +by @eduardoFlorence
  29 +
  30 +- Add padding to 'defaultDialog'
  31 +by @KevinZhang19870314
  32 +
  33 +- GraphQLResponse inherit Response info
  34 +by @jasonlaw
  35 +
  36 +- Fix Redundant concatenating base url
  37 +by @jasonlaw
  38 +
  39 +- Add content type and length into the headers when the content type is 'application/x-www-form-urlencoded'
  40 +by @calvingit
  41 +
  42 +- Make withCredentials configurable
  43 +by @jasonlaw
  44 +
  45 +- Fix flutter 2.0 error
  46 +by @yunchiri
  47 +
  48 +- Allow deleting all registered instances
  49 +by @lemps
  50 +
  51 +- Refactor/rx interface notify children
  52 +@by kranfix
  53 +
  54 +- Fixed parameter parsing and middleware sorting
  55 +by @ahmednfwela
  56 +
  57 +- Improvements to router outlet
  58 +by @ahmednfwela
  59 +
  60 +- Minor improvements and bug fixes
  61 +by @ahmednfwela
  62 +
  63 +- Adding route guards and improving navigation
  64 +by @ahmednfwela
  65 +
  66 +- Fix RxInterface.proxy losing its previous value on exception
  67 +by @WillowWisp
  68 +
  69 +- Added dispose() for bottomSheet.
  70 +by @furkankurt
  71 +
  72 +- Added Pull request template
  73 +by @unacorbatanegra
  74 +
  75 +- Fix and update documentation:
  76 +@Farid566,
  77 +@galaxykhh,
  78 +@arslee07,
  79 +@GoStaRoff,
  80 +@BondarenkoArtur,
  81 +@denisrudnei,
  82 +@Charly6596,
  83 +@nateshmbhat,
  84 +@hrithikrtiwari,
  85 +@Undeadlol1,
  86 +@rws08,
  87 +@inuyashaaa,
  88 +@broccolism,
  89 +@aadarshadhakalg,
  90 +@ZeroMinJeon
  91 +
  92 +
1 ## [4.1.4] 93 ## [4.1.4]
2 - Adjust operator + and - to RxInt (@eduardoflorence) 94 - Adjust operator + and - to RxInt (@eduardoflorence)
3 - Fix dark theme (@eduardoflorence) 95 - Fix dark theme (@eduardoflorence)
@@ -9,8 +9,8 @@ class RootView extends GetView<RootController> { @@ -9,8 +9,8 @@ class RootView extends GetView<RootController> {
9 @override 9 @override
10 Widget build(BuildContext context) { 10 Widget build(BuildContext context) {
11 return GetRouterOutlet.builder( 11 return GetRouterOutlet.builder(
12 - builder: (context, rDelegate, currentRoute) {  
13 - final title = currentRoute?.location; 12 + builder: (context, delegate, current) {
  13 + final title = current?.location;
14 return Scaffold( 14 return Scaffold(
15 drawer: DrawerWidget(), 15 drawer: DrawerWidget(),
16 appBar: AppBar( 16 appBar: AppBar(
1 import 'package:flutter/widgets.dart'; 1 import 'package:flutter/widgets.dart';
2 -import 'package:get/instance_manager.dart'; 2 +
3 import '../../../../get_core/get_core.dart'; 3 import '../../../../get_core/get_core.dart';
  4 +import '../../../../instance_manager.dart';
4 import '../../../get_navigation.dart'; 5 import '../../../get_navigation.dart';
5 import '../../dialog/dialog_route.dart'; 6 import '../../dialog/dialog_route.dart';
6 import '../../snackbar/snack_route.dart'; 7 import '../../snackbar/snack_route.dart';
1 name: get 1 name: get
2 description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX. 2 description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
3 -version: 4.1.4 3 +version: 4.2.0
4 homepage: https://github.com/jonataslaw/getx 4 homepage: https://github.com/jonataslaw/getx
5 5
6 environment: 6 environment:
@@ -13,7 +13,6 @@ dependencies: @@ -13,7 +13,6 @@ dependencies:
13 dev_dependencies: 13 dev_dependencies:
14 flutter_test: 14 flutter_test:
15 sdk: flutter 15 sdk: flutter
16 - effective_dart: ^1.3.1  
17 16
18 17
19 # For information on the generic Dart part of this file, see the 18 # For information on the generic Dart part of this file, see the