diff --git a/CHANGELOG.md b/CHANGELOG.md index cc66522c..9b71158f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 16.17.10 +- Upgrade injector dependency + ## 16.17.9 - Gradient descent example corrected diff --git a/lib/src/classifier/logistic_regressor/logistic_regressor.dart b/lib/src/classifier/logistic_regressor/logistic_regressor.dart index ec7978d5..ed5f4c61 100644 --- a/lib/src/classifier/logistic_regressor/logistic_regressor.dart +++ b/lib/src/classifier/logistic_regressor/logistic_regressor.dart @@ -1,3 +1,4 @@ +// ignore_for_file: non_constant_identifier_names import 'package:ml_algo/src/classifier/linear_classifier.dart'; import 'package:ml_algo/src/classifier/logistic_regressor/_init_module.dart'; import 'package:ml_algo/src/classifier/logistic_regressor/logistic_regressor_factory.dart'; diff --git a/lib/src/extensions/injector.dart b/lib/src/extensions/injector.dart index e815d57e..7dbaff30 100644 --- a/lib/src/extensions/injector.dart +++ b/lib/src/extensions/injector.dart @@ -3,7 +3,7 @@ import 'package:injector/injector.dart'; extension InjectorExtension on Injector { /// Registers a dependency only if it doesn't exist void registerSingletonIf( - Builder builder, { + DependencyBuilder builder, { bool override = false, String dependencyName = '', }) { diff --git a/pubspec.yaml b/pubspec.yaml index 58066e22..b668a2a0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: ml_algo description: Machine learning algorithms, Machine learning models performance evaluation functionality -version: 16.17.9 +version: 16.17.10 homepage: https://github.com/gyrdym/ml_algo environment: @@ -8,7 +8,7 @@ environment: dependencies: collection: ^1.16.0 - injector: ^2.0.0 + injector: ^3.0.0 json_annotation: ^4.0.0 ml_dataframe: ^1.6.0 ml_linalg: ^13.11.15