diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d28a29..31f8b40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.1.1 + +* Support newer Dart and `http` versions. + ## 2.1.0 * All DTOs can now be encoded to JSON, i.e. a `toJson` method was added to all of them. diff --git a/README.md b/README.md index cd0b9a3..7bef254 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add to ``pubspec.yaml``: ```yaml dependencies: - openmensa: ^2.0.0 + openmensa: ^2.1.1 ``` **See [here](https://github.com/ThexXTURBOXx/dart-openmensa/blob/main/example/openmensa_example.dart) for a more detailed example!** diff --git a/analysis_options.yaml b/analysis_options.yaml index 36ca09b..e9ac6ac 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -10,9 +10,6 @@ include: package:flutter_lints/flutter.yaml analyzer: - strong-mode: - implicit-casts: false - implicit-dynamic: true errors: # treat missing required parameters as a warning (not a hint) missing_required_param: warning @@ -122,7 +119,7 @@ linter: - flutter_style_todos - hash_and_equals - implementation_imports - - invariant_booleans + # - invariant_booleans - iterable_contains_unrelated_type - join_return_with_assignment - leading_newlines_in_multiline_strings @@ -164,7 +161,7 @@ linter: - prefer_constructors_over_static_methods - prefer_contains # - prefer_double_quotes - - prefer_equal_for_default_values + # - prefer_equal_for_default_values - prefer_expression_function_bodies - prefer_final_fields - prefer_final_in_for_each diff --git a/pubspec.yaml b/pubspec.yaml index 18287fa..2a4174e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,16 +1,16 @@ name: openmensa description: A library which provides simple access to OpenMensa's API services for Dart. -version: 2.1.0 +version: 2.1.1 homepage: https://github.com/ThexXTURBOXx/dart-openmensa repository: https://github.com/ThexXTURBOXx/dart-openmensa issue_tracker: https://github.com/ThexXTURBOXx/dart-openmensa/issues environment: - sdk: '>=2.17.0 <3.0.0' + sdk: '>=2.17.0 <4.0.0' dependencies: equatable: ^2.0.3 - http: ^0.13.3 + http: '>=0.13.3 <2.0.0' dev_dependencies: flutter_lints: ^2.0.1