marcglasberg / async_redux

Flutter Package: A Redux version tailored for Flutter, which is easy to learn, to use, to test, and has no boilerplate. Allows for both sync and async reducers.
Other
234 stars 40 forks source link

Migrating to null safety #95

Closed SunlightBro closed 3 years ago

SunlightBro commented 3 years ago

I opened this issue to keep track of all dependencies, so that async_redux can migrate to null-safety.

Computing null safety support...
Package Name                Current  Upgradable  Resolvable  Latest

direct dependencies:
fast_immutable_collections  ✗1.0.28  ✗1.0.28     ✗1.0.28     ✗1.0.28
weak_map                    ✗1.3.1   ✗1.3.1      ✗1.3.1      ✗1.3.1

dev_dependencies: all support null safety.

Overall this would be the dependencies in the pubspec.yaml:

environment:
  sdk: ">=2.12.0-0 <3.0.0"

dependencies:
  logging: ^1.0.0
  path: ^1.8.0
  path_provider: ^2.0.0-nullsafety
  file: ^6.0.0
  weak_map: ^1.3.1 # => ^1.4.0-nullsafety
  fast_immutable_collections: ^1.0.28 # => ^1.1.0-nullsafety
  meta: ^1.3.0
  flutter:
    sdk: flutter

dev_dependencies:
  test: ^1.16.2
  async: ^2.5.0
  flutter_test:
    sdk: flutter
SunlightBro commented 3 years ago

I updated this issue above, the only to missing packages for nnbd are weak_map and fast_immutable_collections

marcglasberg commented 3 years ago

I have published weak_map.

marcglasberg commented 3 years ago

I am trying to migrate fast_immutable_collections, but the migrate tool is having problems: https://github.com/dart-lang/sdk/issues/45027

In any case, its migration is underway, and should be finished soon.

marcglasberg commented 3 years ago

I have published fast_immutable_collections. Async Redux migration is underway.

marcglasberg commented 3 years ago

AsyncRedux version 9.0.0-nullsafety.1 published.