Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4532e9a

Browse files
committed
Release 1.0.2: downgrade generator's analyzer version to be compatible with current Flutter deps
1 parent 36ba535 commit 4532e9a

File tree

6 files changed

+27
-14
lines changed

6 files changed

+27
-14
lines changed

Samples/ServerTimeStamp/clientsample/pubspec.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
datetime_picker_formfield: ^2.0.0 # https://pub.dev/packages/datetime_picker_formfield
3333
flutter_simple_treeview: ^3.0.0-nullsafety.1 # https://pub.dev/packages/flutter_simple_treeview/versions/3.0.0-nullsafety.1
3434
universal_platform: ^1.0.0+1 # https://pub.dev/packages/universal_platform
35-
netcoresync_moor: any
35+
netcoresync_moor: ^1.0.2
3636

3737
# The following adds the Cupertino Icons font to your application.
3838
# Use with the CupertinoIcons class for iOS style icons.
@@ -43,13 +43,14 @@ dev_dependencies:
4343
sdk: flutter
4444
moor_generator: ^4.4.1 # https://pub.dev/packages/moor_generator
4545
build_runner: ^2.1.1 # https://pub.dev/packages/build_runner
46-
netcoresync_moor_generator: any
46+
netcoresync_moor_generator: ^1.0.2
4747

48-
dependency_overrides:
49-
netcoresync_moor:
50-
path: ../../../netcoresync_moor
51-
netcoresync_moor_generator:
52-
path: ../../../netcoresync_moor_generator
48+
# For local debugging only
49+
# dependency_overrides:
50+
# netcoresync_moor:
51+
# path: ../../../netcoresync_moor
52+
# netcoresync_moor_generator:
53+
# path: ../../../netcoresync_moor_generator
5354

5455
# For information on the generic Dart part of this file, see the
5556
# following page: https://dart.dev/tools/pub/pubspec

netcoresync_moor/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## DRAFT
2+
3+
* Corrected `indeterminate` explanation in the Synchronization Progress Event section in README.
4+
5+
## 1.0.2
6+
7+
* Updated with latest `netcoresync_moor_generator` release.
8+
19
## 1.0.1
210

311
* Provide example and shorten `pubspec.yaml` description to increase pub points.

netcoresync_moor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,8 @@ The `netCoreSyncSynchronize()` method is the method to initiate synchronization
630630
631631
The `SyncEvent` class provides information that can be used to display visual indicators for the synchronization progress:
632632
- `eventMessage` is a default text message provided by the framework of each stages that happens in the synchronization.
633-
- `indeterminate` is a `bool` value that indicates whether the stage can determine a progress value or not. If it is `true`, then the `value` parameter will contain a progress value, and a non-deterministic visual indicator such as `CircleProgressIndicator` can be used. If it is `false`, then a visual indicator such as `LinearProgressIndicator` can be presented with the `value` parameter as its current progression value.
634-
- `value` is a `double` value that indicates the current stage progression. The `value` parameter is always ranged from `0.0` to `1.0`, so it is already compatible to be used directly with common visual indicators. In the case of non-deterministic (`indeterminate` is false), this value will always be zero.
633+
- `indeterminate` is a `bool` value that indicates whether the stage can determine a progress value or not. If it is `true` (means it is non-deterministic), then the `value` parameter will always be zero, and a non-deterministic visual indicator such as `CircleProgressIndicator` can be used. If it is `false`, then a visual indicator such as `LinearProgressIndicator` can be presented with the `value` parameter as its current progression value.
634+
- `value` is a `double` value that indicates the current stage progression. The `value` parameter is always ranged from `0.0` to `1.0`, so it is already compatible to be used directly with common visual indicators. In the case of non-deterministic (`indeterminate` is `true`), this value will always be zero.
635635
- To know the exact details of what the `eventMessage` will be, read the [Synchronization Logs](#synchronization-logs) section.
636636
637637
#### Synchronization Result Explanation

netcoresync_moor/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: netcoresync_moor
22
description: A database synchronization framework where each client's local offline database can be synchronized on-demand via network into a single centralized database hosted on a server.
3-
version: 1.0.1
3+
version: 1.0.2
44
repository: https://github.com/aldycool/NETCoreSync/tree/master/netcoresync_moor
55
homepage: https://github.com/aldycool/NETCoreSync/tree/master/netcoresync_moor
66
issue_tracker: https://github.com/aldycool/NETCoreSync/issues
@@ -21,7 +21,7 @@ dev_dependencies:
2121
lints: ^1.0.1 # https://pub.dev/packages/lints
2222
test: ^1.17.11 # https://pub.dev/packages/test
2323
build_runner: ^2.1.1 # https://pub.dev/packages/build_runner
24-
netcoresync_moor_generator: ^1.0.1 # https://pub.dev/packages/netcoresync_moor_generator
24+
netcoresync_moor_generator: ^1.0.2 # https://pub.dev/packages/netcoresync_moor_generator
2525
# For test only:
2626
path: ^1.8.0 # https://pub.dev/packages/path
2727
sqlite3: ^1.0.0 # https://pub.dev/packages/sqlite3

netcoresync_moor_generator/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.2
2+
3+
* Downgrade `analyzer` from 2.0.0 to 1.7.0 because flutter still depends on `meta` 1.3.0.
4+
15
## 1.0.1
26

37
* Fix generator to support multiple database classes code generation in a single project.

netcoresync_moor_generator/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: netcoresync_moor_generator
22
description: The code generation tool (as `dev_dependencies`) for the `netcoresync_moor` package.
3-
version: 1.0.1
3+
version: 1.0.2
44
repository: https://github.com/aldycool/NETCoreSync/tree/master/netcoresync_moor_generator
55
homepage: https://github.com/aldycool/NETCoreSync/tree/master/netcoresync_moor_generator
66
issue_tracker: https://github.com/aldycool/NETCoreSync/issues
@@ -11,13 +11,13 @@ environment:
1111
dependencies:
1212
moor: ^4.4.1 # https://pub.dev/packages/moor
1313
source_gen: ^1.0.3 # https://pub.dev/packages/source_gen
14-
analyzer: ^2.0.0 # https://pub.dev/packages/analyzer
14+
analyzer: ^1.7.0 # https://pub.dev/packages/analyzer
1515
build: ^2.0.0 # https://pub.dev/packages/build
1616
build_config: ^1.0.0 # https://pub.dev/packages/build_config
1717
collection: ^1.15.0 # https://pub.dev/packages/collection
1818
glob: ^2.0.1 # https://pub.dev/packages/glob
1919
recase: ^4.0.0 # https://pub.dev/packages/recase
20-
netcoresync_moor: ^1.0.1 # https://pub.dev/packages/netcoresync_moor
20+
netcoresync_moor: ^1.0.2 # https://pub.dev/packages/netcoresync_moor
2121

2222
dev_dependencies:
2323
lints: ^1.0.1 # https://pub.dev/packages/lints

0 commit comments

Comments
 (0)