From 894c192199ed11b620d17814d2b8ced836e3641c Mon Sep 17 00:00:00 2001 From: Leo Farias Date: Tue, 23 Apr 2024 14:12:57 -0400 Subject: [PATCH] Version bump --- CHANGELOG.md | 6 +++++ lib/src/api/models/json_response.mapper.dart | 26 +++++++------------ .../cache_flutter_version_model.mapper.dart | 8 +++--- lib/src/models/config_model.mapper.dart | 26 +++++++------------ .../models/flutter_version_model.mapper.dart | 8 +++--- lib/src/models/project_model.mapper.dart | 8 +++--- .../models/channels_model.mapper.dart | 2 +- .../models/flutter_releases_model.mapper.dart | 8 +++--- .../models/version_model.mapper.dart | 14 ++++------ lib/src/utils/context.mapper.dart | 8 +++--- lib/src/version.dart | 2 +- pubspec.lock | 12 ++++----- pubspec.yaml | 7 +++-- 13 files changed, 55 insertions(+), 80 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bf8442b..842cd3ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.1.4 + +* Disable git cache on CI environment by @leoafarias +* Add force flag to global command by @Rexios80 +* Adds trailing space to version prompt by @pastrefvm/pull/705 + ## 3.1.3 * Fixed: Version weight handles custom versions properly by @quyenvsp diff --git a/lib/src/api/models/json_response.mapper.dart b/lib/src/api/models/json_response.mapper.dart index ce13712f..36d2518c 100644 --- a/lib/src/api/models/json_response.mapper.dart +++ b/lib/src/api/models/json_response.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'json_response.dart'; @@ -127,10 +127,8 @@ mixin GetCacheVersionsResponseMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - GetCacheVersionsResponseMapper.ensureInitialized() - .isValueEqual(this as GetCacheVersionsResponse, other)); + return GetCacheVersionsResponseMapper.ensureInitialized() + .equalsValue(this as GetCacheVersionsResponse, other); } @override @@ -266,10 +264,8 @@ mixin GetReleasesResponseMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - GetReleasesResponseMapper.ensureInitialized() - .isValueEqual(this as GetReleasesResponse, other)); + return GetReleasesResponseMapper.ensureInitialized() + .equalsValue(this as GetReleasesResponse, other); } @override @@ -395,10 +391,8 @@ mixin GetProjectResponseMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - GetProjectResponseMapper.ensureInitialized() - .isValueEqual(this as GetProjectResponse, other)); + return GetProjectResponseMapper.ensureInitialized() + .equalsValue(this as GetProjectResponse, other); } @override @@ -512,10 +506,8 @@ mixin GetContextResponseMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - GetContextResponseMapper.ensureInitialized() - .isValueEqual(this as GetContextResponse, other)); + return GetContextResponseMapper.ensureInitialized() + .equalsValue(this as GetContextResponse, other); } @override diff --git a/lib/src/models/cache_flutter_version_model.mapper.dart b/lib/src/models/cache_flutter_version_model.mapper.dart index 3e7dbd00..0a02be32 100644 --- a/lib/src/models/cache_flutter_version_model.mapper.dart +++ b/lib/src/models/cache_flutter_version_model.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'cache_flutter_version_model.dart'; @@ -119,10 +119,8 @@ mixin CacheFlutterVersionMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - CacheFlutterVersionMapper.ensureInitialized() - .isValueEqual(this as CacheFlutterVersion, other)); + return CacheFlutterVersionMapper.ensureInitialized() + .equalsValue(this as CacheFlutterVersion, other); } @override diff --git a/lib/src/models/config_model.mapper.dart b/lib/src/models/config_model.mapper.dart index 9079f84b..5dbe57ef 100644 --- a/lib/src/models/config_model.mapper.dart +++ b/lib/src/models/config_model.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'config_model.dart'; @@ -214,10 +214,8 @@ mixin EnvConfigMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - EnvConfigMapper.ensureInitialized() - .isValueEqual(this as EnvConfig, other)); + return EnvConfigMapper.ensureInitialized() + .equalsValue(this as EnvConfig, other); } @override @@ -376,10 +374,8 @@ mixin FileConfigMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - FileConfigMapper.ensureInitialized() - .isValueEqual(this as FileConfig, other)); + return FileConfigMapper.ensureInitialized() + .equalsValue(this as FileConfig, other); } @override @@ -568,10 +564,8 @@ mixin AppConfigMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - AppConfigMapper.ensureInitialized() - .isValueEqual(this as AppConfig, other)); + return AppConfigMapper.ensureInitialized() + .equalsValue(this as AppConfig, other); } @override @@ -772,10 +766,8 @@ mixin ProjectConfigMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - ProjectConfigMapper.ensureInitialized() - .isValueEqual(this as ProjectConfig, other)); + return ProjectConfigMapper.ensureInitialized() + .equalsValue(this as ProjectConfig, other); } @override diff --git a/lib/src/models/flutter_version_model.mapper.dart b/lib/src/models/flutter_version_model.mapper.dart index 190c661f..5f16d121 100644 --- a/lib/src/models/flutter_version_model.mapper.dart +++ b/lib/src/models/flutter_version_model.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'flutter_version_model.dart'; @@ -131,10 +131,8 @@ mixin FlutterVersionMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - FlutterVersionMapper.ensureInitialized() - .isValueEqual(this as FlutterVersion, other)); + return FlutterVersionMapper.ensureInitialized() + .equalsValue(this as FlutterVersion, other); } @override diff --git a/lib/src/models/project_model.mapper.dart b/lib/src/models/project_model.mapper.dart index ac0da9ab..62d19313 100644 --- a/lib/src/models/project_model.mapper.dart +++ b/lib/src/models/project_model.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'project_model.dart'; @@ -141,10 +141,8 @@ mixin ProjectMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - ProjectMapper.ensureInitialized() - .isValueEqual(this as Project, other)); + return ProjectMapper.ensureInitialized() + .equalsValue(this as Project, other); } @override diff --git a/lib/src/services/releases_service/models/channels_model.mapper.dart b/lib/src/services/releases_service/models/channels_model.mapper.dart index 5b4a1f0a..3b3d7875 100644 --- a/lib/src/services/releases_service/models/channels_model.mapper.dart +++ b/lib/src/services/releases_service/models/channels_model.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'channels_model.dart'; diff --git a/lib/src/services/releases_service/models/flutter_releases_model.mapper.dart b/lib/src/services/releases_service/models/flutter_releases_model.mapper.dart index 95f093b4..3baabf34 100644 --- a/lib/src/services/releases_service/models/flutter_releases_model.mapper.dart +++ b/lib/src/services/releases_service/models/flutter_releases_model.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'flutter_releases_model.dart'; @@ -92,10 +92,8 @@ mixin FlutterReleasesResponseMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - FlutterReleasesResponseMapper.ensureInitialized() - .isValueEqual(this as FlutterReleasesResponse, other)); + return FlutterReleasesResponseMapper.ensureInitialized() + .equalsValue(this as FlutterReleasesResponse, other); } @override diff --git a/lib/src/services/releases_service/models/version_model.mapper.dart b/lib/src/services/releases_service/models/version_model.mapper.dart index 2be79001..0b4341ff 100644 --- a/lib/src/services/releases_service/models/version_model.mapper.dart +++ b/lib/src/services/releases_service/models/version_model.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'version_model.dart'; @@ -118,10 +118,8 @@ mixin FlutterSdkReleaseMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - FlutterSdkReleaseMapper.ensureInitialized() - .isValueEqual(this as FlutterSdkRelease, other)); + return FlutterSdkReleaseMapper.ensureInitialized() + .equalsValue(this as FlutterSdkRelease, other); } @override @@ -272,10 +270,8 @@ mixin ChannelsMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - ChannelsMapper.ensureInitialized() - .isValueEqual(this as Channels, other)); + return ChannelsMapper.ensureInitialized() + .equalsValue(this as Channels, other); } @override diff --git a/lib/src/utils/context.mapper.dart b/lib/src/utils/context.mapper.dart index 282ed086..03bd64b1 100644 --- a/lib/src/utils/context.mapper.dart +++ b/lib/src/utils/context.mapper.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, unnecessary_cast +// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member // ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter part of 'context.dart'; @@ -153,10 +153,8 @@ mixin FVMContextMappable { @override bool operator ==(Object other) { - return identical(this, other) || - (runtimeType == other.runtimeType && - FVMContextMapper.ensureInitialized() - .isValueEqual(this as FVMContext, other)); + return FVMContextMapper.ensureInitialized() + .equalsValue(this as FVMContext, other); } @override diff --git a/lib/src/version.dart b/lib/src/version.dart index b84a8822..267e8b53 100644 --- a/lib/src/version.dart +++ b/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '3.1.3'; +const packageVersion = '3.1.4'; diff --git a/pubspec.lock b/pubspec.lock index 12b1f39a..de798172 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -253,18 +253,18 @@ packages: dependency: "direct main" description: name: dart_mappable - sha256: f9f272f2af6c11adf4abc22574eb946df110251052a0d00c03519ecf2442defc + sha256: "47269caf2060533c29b823ff7fa9706502355ffcb61e7f2a374e3a0fb2f2c3f0" url: "https://pub.dev" source: hosted - version: "4.2.1" + version: "4.2.2" dart_mappable_builder: dependency: "direct dev" description: name: dart_mappable_builder - sha256: dd42e99b7e605ad6cf4a5c241a777c0f4f76a9769f27c439795355c444283074 + sha256: ab5cf9086862d3fceb9773e945b5f95cc5471a28c782a4fc451bd400a4e0c64e url: "https://pub.dev" source: hosted - version: "4.2.1" + version: "4.2.3" dart_style: dependency: transitive description: @@ -757,10 +757,10 @@ packages: dependency: transitive description: name: type_plus - sha256: "2e33cfac2e129297d5874567bdf7587502ec359881e9318551e014d91b02f84a" + sha256: d5d1019471f0d38b91603adb9b5fd4ce7ab903c879d2fbf1a3f80a630a03fcc9 url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 37ba9cbb..7b2cc22b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fvm description: A simple cli to manage Flutter SDK versions per project. Support channels, releases, and local cache for fast switching between versions. -version: 3.1.3 +version: 3.1.4 homepage: https://github.com/leoafarias/fvm environment: @@ -28,10 +28,9 @@ dependencies: stack_trace: ^1.11.1 pubspec: ^2.3.0 jsonc: ^0.0.3 - dart_mappable: ^4.2.0 + dart_mappable: ^4.2.2 cli_completion: ^0.5.0 - dev_dependencies: cli_pkg: 2.5.0 grinder: ^0.9.5 @@ -41,7 +40,7 @@ dev_dependencies: http: ^1.1.0 dart_code_metrics_presets: ^2.9.0 build_runner: ^2.4.8 - dart_mappable_builder: ^4.2.0 + dart_mappable_builder: ^4.2.3 build_verify: ^3.1.0 build_version: ^2.1.1