Skip to content

Commit 9c9f714

Browse files
committed
update to 4.2.0
1 parent 34af865 commit 9c9f714

File tree

4 files changed

+97
-5
lines changed

4 files changed

+97
-5
lines changed

CHANGELOG.md

+92
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,95 @@
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+
193
## [4.1.4]
294
- Adjust operator + and - to RxInt (@eduardoflorence)
395
- Fix dark theme (@eduardoflorence)

example_nav2/lib/app/modules/root/views/root_view.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class RootView extends GetView<RootController> {
99
@override
1010
Widget build(BuildContext context) {
1111
return GetRouterOutlet.builder(
12-
builder: (context, rDelegate, currentRoute) {
13-
final title = currentRoute?.location;
12+
builder: (context, delegate, current) {
13+
final title = current?.location;
1414
return Scaffold(
1515
drawer: DrawerWidget(),
1616
appBar: AppBar(

lib/get_navigation/src/routes/observers/route_observer.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'package:flutter/widgets.dart';
2-
import 'package:get/instance_manager.dart';
2+
33
import '../../../../get_core/get_core.dart';
4+
import '../../../../instance_manager.dart';
45
import '../../../get_navigation.dart';
56
import '../../dialog/dialog_route.dart';
67
import '../../snackbar/snack_route.dart';

pubspec.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: get
22
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
44
homepage: https://github.com/jonataslaw/getx
55

66
environment:
@@ -13,7 +13,6 @@ dependencies:
1313
dev_dependencies:
1414
flutter_test:
1515
sdk: flutter
16-
effective_dart: ^1.3.1
1716

1817

1918
# For information on the generic Dart part of this file, see the

0 commit comments

Comments
 (0)