Skip to content

Commit

Permalink
Merge pull request #397 from fluttercommunity/release/v0.10.0
Browse files Browse the repository at this point in the history
Release/v0.10.0
  • Loading branch information
RatakondalaArun authored and MarkOSullivan94 committed Aug 7, 2022
2 parents 42fb273 + c8dc48b commit b8ad042
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 50 deletions.
28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.10.0 (2nd August 2022)

- Support for Web Icons [#374](https://github.com/fluttercommunity/flutter_launcher_icons/pull/374)
- Support for Windows Icons [#382](https://github.com/fluttercommunity/flutter_launcher_icons/pull/382)
- Added missing IOS icon sizes [#298](https://github.com/fluttercommunity/flutter_launcher_icons/pull/298)
- Added `min_sdk_android` option [#392](https://github.com/fluttercommunity/flutter_launcher_icons/pull/392)
- Added documentation for `remove_alpha_ios` [#392](https://github.com/fluttercommunity/flutter_launcher_icons/pull/392)
- Fixed issue with loading config from `pubspec.yaml` [#398](https://github.com/fluttercommunity/flutter_launcher_icons/pull/398) (thanks to [@p-mazhnik](https://github.com/p-mazhnik))

## 0.9.3 (6th June 2022)

- Fixes to make sure it works for Flutter v2.8 (thanks to @RatakondalaArun)
Expand All @@ -9,7 +18,6 @@

- Fixed issue where success message printed even when exception occured (thanks to @happy-san)


## 0.9.1 (25th July 2021)

- Upgrade args dependency to ^2.1.1 (thanks to @PiN73 and @comlaterra)
Expand Down Expand Up @@ -45,12 +53,10 @@
- Lot of refactoring and improving code quality (thanks to @connectety)
- Added correct App Store icon settings (thanks to @richgoldmd)


## 0.7.2 (25th May 2019)

- Reverted back using old interpolation method


## 0.7.1 (24th May 2019)

- Fixed issue with image dependency not working on latest version of Flutter (thanks to @sboutet06)
Expand All @@ -60,11 +66,11 @@

## 0.7.0 (22nd November 2018)

- Now ensuring that the Android file name is valid - An error will be thrown if it doesn't meet the criteria
- Fixed issue where there was a git diff when there was no change
- Fixed issue where iOS icon would be generated when it shouldn't be
- Added support for drawables to be used for adaptive icon backgrounds
- Added support for Flutter Launcher Icons to be able to run with it's own config file (no longer necessary to add to pubspec.yaml)
- Now ensuring that the Android file name is valid - An error will be thrown if it doesn't meet the criteria
- Fixed issue where there was a git diff when there was no change
- Fixed issue where iOS icon would be generated when it shouldn't be
- Added support for drawables to be used for adaptive icon backgrounds
- Added support for Flutter Launcher Icons to be able to run with it's own config file (no longer necessary to add to pubspec.yaml)

## 0.6.1 (26th August 2018)

Expand All @@ -87,27 +93,22 @@

- [Android] Support for adaptive icons added (Suggestion #23)


## 0.4.0 (9th June 2018)

- Now possible to generate icons for each platform with different image paths (one for iOS icon and a separate one for Android)


## 0.3.3 (28th May 2018)

- Upgraded dart image package dependency to 2.0.0 (issue #26)


## 0.3.2 (2nd May 2018)

- Bug fixing


## 0.3.1 (1st May 2018)

- Bug fixing


## 0.3.0 (1st May 2018)

- Fixed issue where icons produced weren't the correct size (Due to images not with a 1:1 aspect r ation)
Expand All @@ -121,7 +122,6 @@
- Fixed iOS default icon name (Thanks to PR #15 - Thank you!)
- Fixed issue #10 where creation of the icons was failing due to the target folder not existing


## 0.2.0 (18th January 2018)

- Ability to create new launcher icons without replacing the old ones added (#6)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An example is shown below. More complex examples [can be found in the example pr

```yaml
dev_dependencies:
flutter_launcher_icons: "^0.9.3"
flutter_launcher_icons: "^0.10.0"

flutter_icons:
android: "launcher_icon"
Expand Down
12 changes: 11 additions & 1 deletion example/default_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ flutter_icons:
ios: true # can specify file name here e.g. "My-Launcher-Icon"
adaptive_icon_background: "assets/images/christmas-background.png" # only available for Android 8.0 devices and above
adaptive_icon_foreground: "assets/images/icon-foreground-432x432.png" # only available for Android 8.0 devices and above
min_sdk_android: 21 # android min sdk min:16, default 21
remove_alpha_ios: true
web:
generate: true
image_path: "path/to/image.png"
background_color: "#hexcode"
theme_color: "#hexcode"
windows:
generate: true
image_path: "path/to/image.png"
icon_size: 48 # min:48, max:256, default: 48

dev_dependencies:
flutter_test:
sdk: flutter

flutter:

uses-material-design: true
2 changes: 1 addition & 1 deletion lib/src/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_launcher_icons
description: A package which simplifies the task of updating your Flutter app's launcher icon.
version: 0.9.3
version: 0.10.0
maintainer: Mark O'Sullivan (@MarkOSullivan94)
homepage: https://github.com/fluttercommunity/flutter_launcher_icons

Expand All @@ -14,11 +14,11 @@ dependencies:
yaml: ^3.1.0

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

dev_dependencies:
# Needed by build_version
build_runner: 2.1.11
build_runner: ^2.2.0
# allows us to get version number from pubspec yaml which we can pass to Sentry
# https://pub.dev/packages/build_version
build_version: ^2.1.1
Expand Down
17 changes: 5 additions & 12 deletions test/abs/icon_generator_test.mocks.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Mocks generated by Mockito 5.3.0 from annotations
// Mocks generated by Mockito 5.2.0 from annotations
// in flutter_launcher_icons/test/abs/icon_generator_test.dart.
// Do not manually edit this file.

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:flutter_launcher_icons/abs/icon_generator.dart' as _i2;
import 'package:flutter_launcher_icons/flutter_launcher_icons_config.dart'
as _i3;
Expand All @@ -17,13 +16,9 @@ import 'package:mockito/mockito.dart' as _i1;
// ignore_for_file: prefer_const_constructors
// ignore_for_file: unnecessary_parenthesis
// ignore_for_file: camel_case_types
// ignore_for_file: subtype_of_sealed_class

class _FakeIconGeneratorContext_0 extends _i1.SmartFake
implements _i2.IconGeneratorContext {
_FakeIconGeneratorContext_0(Object parent, Invocation parentInvocation)
: super(parent, parentInvocation);
}
class _FakeIconGeneratorContext_0 extends _i1.Fake
implements _i2.IconGeneratorContext {}

/// A class which mocks [FlutterLauncherIconsConfig].
///
Expand Down Expand Up @@ -78,10 +73,8 @@ class MockIconGenerator extends _i1.Mock implements _i2.IconGenerator {

@override
_i2.IconGeneratorContext get context => (super.noSuchMethod(
Invocation.getter(#context),
returnValue:
_FakeIconGeneratorContext_0(this, Invocation.getter(#context)))
as _i2.IconGeneratorContext);
Invocation.getter(#context),
returnValue: _FakeIconGeneratorContext_0()) as _i2.IconGeneratorContext);
@override
String get platformName =>
(super.noSuchMethod(Invocation.getter(#platformName), returnValue: '')
Expand Down
25 changes: 7 additions & 18 deletions test/windows/windows_icon_generator_test.mocks.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Mocks generated by Mockito 5.3.0 from annotations
// Mocks generated by Mockito 5.2.0 from annotations
// in flutter_launcher_icons/test/windows/windows_icon_generator_test.dart.
// Do not manually edit this file.

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:cli_util/cli_logging.dart' as _i2;
import 'package:flutter_launcher_icons/flutter_launcher_icons_config.dart'
as _i3;
Expand All @@ -18,17 +17,10 @@ import 'package:mockito/mockito.dart' as _i1;
// ignore_for_file: prefer_const_constructors
// ignore_for_file: unnecessary_parenthesis
// ignore_for_file: camel_case_types
// ignore_for_file: subtype_of_sealed_class

class _FakeLogger_0 extends _i1.SmartFake implements _i2.Logger {
_FakeLogger_0(Object parent, Invocation parentInvocation)
: super(parent, parentInvocation);
}
class _FakeLogger_0 extends _i1.Fake implements _i2.Logger {}

class _FakeProgress_1 extends _i1.SmartFake implements _i2.Progress {
_FakeProgress_1(Object parent, Invocation parentInvocation)
: super(parent, parentInvocation);
}
class _FakeProgress_1 extends _i1.Fake implements _i2.Progress {}

/// A class which mocks [FlutterLauncherIconsConfig].
///
Expand Down Expand Up @@ -105,8 +97,7 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
as bool);
@override
_i2.Logger get rawLogger => (super.noSuchMethod(Invocation.getter(#rawLogger),
returnValue: _FakeLogger_0(this, Invocation.getter(#rawLogger)))
as _i2.Logger);
returnValue: _FakeLogger_0()) as _i2.Logger);
@override
void error(Object? message) =>
super.noSuchMethod(Invocation.method(#error, [message]),
Expand All @@ -120,9 +111,7 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
super.noSuchMethod(Invocation.method(#info, [message]),
returnValueForMissingStub: null);
@override
_i2.Progress progress(String? message) => (super.noSuchMethod(
Invocation.method(#progress, [message]),
returnValue:
_FakeProgress_1(this, Invocation.method(#progress, [message])))
as _i2.Progress);
_i2.Progress progress(String? message) =>
(super.noSuchMethod(Invocation.method(#progress, [message]),
returnValue: _FakeProgress_1()) as _i2.Progress);
}

0 comments on commit b8ad042

Please sign in to comment.