Skip to content

Commit 267b620

Browse files
authored
chore: release v4.1.0 (#152)
1 parent 6c6675a commit 267b620

File tree

8 files changed

+54
-23
lines changed

8 files changed

+54
-23
lines changed

CHANGELOG.md

Lines changed: 44 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,51 @@
11
## 4.0.1
22

3-
Bug fix
3+
**Feature**
4+
- [#138](https://github.com/FlutterGen/flutter_gen/pull/138) Generate dartdoc as follows.
5+
```dart
6+
/// File path: pictures/chip5.jpg
7+
AssetGenImage get chip5 => const AssetGenImage('pictures/chip5.jpg');
8+
/// Color: #979797
9+
static const Color gray410 = Color(0xFF979797);
10+
```
11+
- [#143](https://github.com/FlutterGen/flutter_gen/pull/143) Support [Rive](https://rive.app/) files type.
12+
```yaml
13+
flutter_gen:
14+
integrations:
15+
rive: true
16+
```
17+
- [#150](https://github.com/FlutterGen/flutter_gen/pull/150) Added the --version option for command-line.
18+
```shell
19+
% fluttergen --version
20+
FlutterGen v4.1.0
21+
```
22+
**Bug fix**
23+
- [#134](https://github.com/FlutterGen/flutter_gen/pull/134) Added the ability to support the at symbol (@) in file names.
24+
```dart
25+
SvgGenImage get logo2x => const SvgGenImage('assets/images/[email protected]');
26+
```
27+
**Development**
28+
- Update to Dart 2.14.4.
29+
- Update to Flutter 2.5.3.
30+
- Replace to renovate.
31+
32+
## 4.0.1
33+
34+
**Bug fix**
435
- [#134](https://github.com/FlutterGen/flutter_gen/issues/134) Support the at symbol (@) in file names.
536
- [#139](https://github.com/FlutterGen/flutter_gen/issues/139) Error: Method not found: '$checkedCreate
637

7-
Development
38+
**Development**
839
- Replace to flutter_lints.
940

1041
## 4.0.0
1142

12-
Features
43+
**Features**
1344
- [BREAKING] Ended support for Non null safety codes.
1445
- Use for `line_length` instead of `lineLength`.
1546

1647

17-
Development
48+
**Development**
1849
- Replace to [Melos](https://pub.dev/packages/melos).
1950
- Add VSCode setting.
2051

@@ -31,12 +62,12 @@ Development
3162
3263
## 3.1.1
3364
34-
New Feature & Bug fix
65+
**Features** & **Bug fix**
3566
- [#103](https://github.com/FlutterGen/flutter_gen/pull/103) Add option packageParameterEnabled to control whether to generate package parameter for assets or not.
3667
3768
## 3.1.0
3869
39-
New Feature
70+
**Features**
4071
- [#98](https://github.com/FlutterGen/flutter_gen/pull/98) Support for adding assets from a package
4172
4273
@@ -81,12 +112,12 @@ New Feature
81112
```
82113

83114

84-
Bug fix
115+
**Bug fix**
85116
- [#75](https://github.com/FlutterGen/flutter_gen/issues/75) Null safety support for generated files
86117

87118
## 1.3.1
88119

89-
Bug fix
120+
**Bug fix**
90121
- [#60](https://github.com/FlutterGen/flutter_gen/issues/60) Set files like .DS_Store to the ignore list.
91122

92123
## 1.3.0
@@ -97,12 +128,12 @@ New Feature
97128

98129
## 1.2.2
99130

100-
Bug fix
131+
**Bug fix**
101132
- [#51](https://github.com/FlutterGen/flutter_gen/pull/51) Added support for Key parameter in image() and svg().
102133

103134
## 1.2.1
104135

105-
Bug fix
136+
**Bug fix**
106137
- [#42](https://github.com/FlutterGen/flutter_gen/pull/42) Generated output folder name not being respected
107138

108139
## 1.2.0
@@ -120,17 +151,17 @@ New Feature
120151

121152
## 1.0.3
122153

123-
Bug fix
154+
**Bug fix**
124155
- Insufficient params of flutter_svg [#32](https://github.com/FlutterGen/flutter_gen/pull/34)
125156
## 1.0.2
126157

127-
Bug fix
158+
**Bug fix**
128159
- Generate sorted statements [#27](https://github.com/FlutterGen/flutter_gen/pull/27)
129160
- Make Windows work properly [#28](https://github.com/FlutterGen/flutter_gen/pull/28)
130161

131162
## 1.0.1
132163

133-
Bug fix
164+
**Bug fix**
134165
- Issue [#21](https://github.com/FlutterGen/flutter_gen/issues/21)
135166

136167
## 1.0.0

example/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,14 @@ packages:
215215
path: "../packages/core"
216216
relative: true
217217
source: path
218-
version: "4.0.1"
218+
version: "4.1.0"
219219
flutter_gen_runner:
220220
dependency: "direct dev"
221221
description:
222222
path: "../packages/runner"
223223
relative: true
224224
source: path
225-
version: "4.0.1"
225+
version: "4.1.0"
226226
flutter_lints:
227227
dependency: "direct dev"
228228
description:

packages/command/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ packages:
105105
path: "../core"
106106
relative: true
107107
source: path
108-
version: "4.0.1"
108+
version: "4.1.0"
109109
flutter_lints:
110110
dependency: "direct dev"
111111
description:

packages/command/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_gen
22

33
description: The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
4-
version: 4.0.1
4+
version: 4.1.0
55
homepage: https://github.com/FlutterGen/flutter_gen
66
repository: https://github.com/FlutterGen/flutter_gen
77
documentation: https://github.com/FlutterGen/flutter_gen
@@ -14,7 +14,7 @@ executables:
1414
fluttergen: flutter_gen_command
1515

1616
dependencies:
17-
flutter_gen_core: ^4.0.1
17+
flutter_gen_core: ^4.1.0
1818
args: '>=2.0.0 <3.0.0'
1919

2020
dev_dependencies:

packages/core/lib/version.gen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/// DO NOT MODIFY BY HAND, Generated by version_gen
2-
String packageVersion = '4.0.1';
2+
String packageVersion = '4.1.0';

packages/core/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_gen_core
22

33
description: The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
4-
version: 4.0.1
4+
version: 4.1.0
55
homepage: https://github.com/FlutterGen/flutter_gen
66
repository: https://github.com/FlutterGen/flutter_gen
77
documentation: https://github.com/FlutterGen/flutter_gen

packages/runner/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ packages:
161161
path: "../core"
162162
relative: true
163163
source: path
164-
version: "4.0.1"
164+
version: "4.1.0"
165165
flutter_lints:
166166
dependency: "direct dev"
167167
description:

packages/runner/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_gen_runner
22

33
description: The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
4-
version: 4.0.1
4+
version: 4.1.0
55
homepage: https://github.com/FlutterGen/flutter_gen
66
repository: https://github.com/FlutterGen/flutter_gen
77
documentation: https://github.com/FlutterGen/flutter_gen
@@ -11,7 +11,7 @@ environment:
1111
sdk: '>=2.12.0 <3.0.0'
1212

1313
dependencies:
14-
flutter_gen_core: ^4.0.1
14+
flutter_gen_core: ^4.1.0
1515
build: '>=2.0.0 <3.0.0'
1616

1717
dev_dependencies:

0 commit comments

Comments
 (0)