Skip to content

Commit

Permalink
update to version 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonataslaw committed Sep 1, 2020
1 parent 541b9e7 commit 4b61419
Show file tree
Hide file tree
Showing 119 changed files with 90 additions and 2,554 deletions.
36 changes: 34 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
## [3.6.3]
- Fix onStart called null on tests
## [3.7.0]
- Added: RxSet. Sets can now also be reactive.
- Improve GetPlatform: It is now possible to know which device the user is using if GetPlatform.isWeb is true.
context.responsiveValue used device orientation based on web and non-web applications. Now it checks if it is a desktop application (web or desktop application) to do the responsiveness calculation.
- Change: The documentation previously stated that Iterables should not access the ".value" property.
However, many users did not pay attention to this fact, and ended up generating unnecessary issues and bugs in their application.
In this version, we focus on code security. Now ".value" is protected, so it cannot be accessed externally by Lists, Maps or Sets.
- Change: Observable lists are now Dart Lists.
There is no difference in your use:
`RxList list = [].obs;`
And you use
`List list = [].obs;`
- Change: You do not need to access the ".value" property of primitives.
For Strings you need interpolation.
For num, int, double, you will have the normal operators, and use it as dart types.
This way, `.value` can be used exclusively in ModelClasses.
Example:

```dart
var name = "Jonny" .obs;
// usage:
Text ("$name");
var count = 0.obs;
// usage:
increment() => count ++;
Text("$count");
```

Thus: List, Map, Set, num, int, double and String, as of this release, will no longer use the .value property.

NOTE:
The changes were not break changes, however, you may have missed the details of the documentation, so if you faced the message: "The member 'value' can only be used within instance members of subclasses of 'rx_list.dart' "you just need to remove the" .value "property from your list, and everything will work as planned.
The same goes for Maps and Sets.

## [3.6.2]
- Fix more formatting issues
Expand Down
8 changes: 4 additions & 4 deletions README-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ import 'package:get/get.dart';

# Proyecto Counter no GetX

Vea una explicación más detallada de la administración del estado [aquí](./docs/es_ES/state_management.md). Allí verá más ejemplos y también la diferencia entre el Gestión del Estado simple y el Gestión del Estado reactivo
Vea una explicación más detallada de la administración del estado [aquí](./documentation/es_ES/state_management.md). Allí verá más ejemplos y también la diferencia entre el Gestión del Estado simple y el Gestión del Estado reactivo

El proyecto "contador" creado por defecto en un nuevo proyecto en Flutter tiene más de 100 líneas (con comentarios). Para mostrar el poder de GetX, demostraré cómo hacer un "contador" cambiando el estado con cada clic, cambiando de página y compartiendo el estado entre pantallas, todo de manera organizada, separando la vista de la lógica de negocio, SOLO 26 LÍNEAS DE CÓDIGO INCLUIDOS COMENTARIOS.

Expand Down Expand Up @@ -191,7 +191,7 @@ Obx(() => Text (controller.name));

### Más detalles sobre la gestión del estado.

**Vea una explicación más detallada de la administración del estado [aquí](./docs/es_ES/state_management.md). Allí verá más ejemplos y también la diferencia entre el Gestión del Estado simple y el Gestión del Estado reactivo**
**Vea una explicación más detallada de la administración del estado [aquí](./documentation/es_ES/state_management.md). Allí verá más ejemplos y también la diferencia entre el Gestión del Estado simple y el Gestión del Estado reactivo**

### Explicación en video sobre state management

Expand Down Expand Up @@ -233,7 +233,7 @@ var data = await Get.to(Payment());

### Más detalles sobre la gestión de rutas.

**Vea una explicación más detallada de la Gestión de Rutas [aquí](./docs/es_ES/route_management.md).**
**Vea una explicación más detallada de la Gestión de Rutas [aquí](./documentation/es_ES/route_management.md).**

### Explicación del video

Expand Down Expand Up @@ -277,7 +277,7 @@ Get.lazyPut<Service>(()=> ApiMock());

### Más detalles sobre la gestión de dependencias.

**Vea una explicación más detallada de la Gestión de dependencias [aquí](./docs/es_ES/dependency_management.md).**
**Vea una explicación más detallada de la Gestión de dependencias [aquí](./documentation/es_ES/dependency_management.md).**

# Utilidades

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ That's all. It's *that* simple.

### More details about state management

**See an more in-depth explanation of state management [here](./docs/en_US/state_management.md). There you will see more examples and also the difference between the simple stage manager and the reactive state manager**
**See an more in-depth explanation of state management [here](./documentation/en_US/state_management.md). There you will see more examples and also the difference between the simple stage manager and the reactive state manager**

### Video explanation about state management

Expand Down Expand Up @@ -240,7 +240,7 @@ Noticed that you didn't had to use context to do any of these things? That's one

### More details about route management

**Get work with named routes and also offer a lower level control over your routes! There is a in-depth documentation [here](./docs/en_US/route_management.md)**
**Get work with named routes and also offer a lower level control over your routes! There is a in-depth documentation [here](./documentation/en_US/route_management.md)**

### Video Explanation

Expand Down Expand Up @@ -281,7 +281,7 @@ Text(controller.textFromApi);

### More details about dependency management

**See a more in-depth explanation of dependency management [here](./docs/en_US/dependency_management.md)**
**See a more in-depth explanation of dependency management [here](./documentation/en_US/dependency_management.md)**

# How to contribute

Expand Down
6 changes: 3 additions & 3 deletions README.pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Obx (() => Text (controller.name));
To wszystko. *Proste*, co nie?

### Bardziej szczegółowo o menadżerze stanu
**Zobacz bardziej szczegółowe wytłumaczenie menadz=żera sranu [tutaj](./docs/en_US/state_management.md). Znajdują się tam przykłady jak o różnice między prostym menadżerem stanu oraz reaktywnym**
**Zobacz bardziej szczegółowe wytłumaczenie menadz=żera sranu [tutaj](./documentation/en_US/state_management.md). Znajdują się tam przykłady jak o różnice między prostym menadżerem stanu oraz reaktywnym**

### Video tłumaczące użycie menadżera stanu

Expand Down Expand Up @@ -237,7 +237,7 @@ Zobacz, ze do żadnej z tych operacji nie potrzebowałeś contextu. Jest to jedn

### Więcej o routach

**Get używa named routes i także oferuje niskopoziomową obsługę routów! Zobacz bardziej szczegółową dokumentacje [tutaj](./docs/en_US/route_management.md)**
**Get używa named routes i także oferuje niskopoziomową obsługę routów! Zobacz bardziej szczegółową dokumentacje [tutaj](./documentation/en_US/route_management.md)**

### Video tłumaczące użycie

Expand Down Expand Up @@ -274,7 +274,7 @@ Text(controller.textFromApi);
```
### Bardziej szczegółowo o menadżerze dependencies

**Zobzcz więcej w dokumentacji [tutaj](./docs/en_US/dependency_management.md)**
**Zobzcz więcej w dokumentacji [tutaj](./documentation/en_US/dependency_management.md)**

# Jak włożyć coś od siebie

Expand Down
6 changes: 3 additions & 3 deletions README.pt-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Só isso. É *simples assim*;

### Mais detalhes sobre gerenciamento de estado

**Veja uma explicação mais completa do gerenciamento de estado [aqui](./docs/pt_BR/state_management.md). Lá terá mais exemplos e também a diferença do simple state manager do reactive state manager**
**Veja uma explicação mais completa do gerenciamento de estado [aqui](./documentation/pt_BR/state_management.md). Lá terá mais exemplos e também a diferença do simple state manager do reactive state manager**

### Explicação em video do gerenciamento de estado

Expand Down Expand Up @@ -235,7 +235,7 @@ Notou que você não precisou usar `context` para fazer nenhuma dessas coisas? E

### Mais detalhes sobre gerenciamento de rotas

**GetX funciona com rotas nomeadas também! Veja uma explicação mais completa do gerenciamento de rotas [aqui](./docs/pt_BR/route_management.md)**
**GetX funciona com rotas nomeadas também! Veja uma explicação mais completa do gerenciamento de rotas [aqui](./documentation/pt_BR/route_management.md)**

### Explicação em video do gerenciamento de rotas

Expand Down Expand Up @@ -283,7 +283,7 @@ Get.lazyPut<Service>(()=> ApiMock());

### Mais detalhes sobre gerenciamento de dependências

**Veja uma explicação mais completa do gerenciamento de dependência [aqui](./docs/pt_BR/dependency_management.md)**
**Veja uma explicação mais completa do gerenciamento de dependência [aqui](./documentation/pt_BR/dependency_management.md)**

# Como contribuir

Expand Down
23 changes: 0 additions & 23 deletions benchmark/README.md

This file was deleted.

Binary file removed benchmark/benchmark.png
Binary file not shown.
44 changes: 0 additions & 44 deletions benchmark/state_managers/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion benchmark/state_managers/README.md

This file was deleted.

51 changes: 0 additions & 51 deletions benchmark/state_managers/android/app/build.gradle

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions benchmark/state_managers/android/app/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 4b61419

Please sign in to comment.