Skip to content

Commit eb84d2e

Browse files
committed
[release] v0.18.0
1 parent bd49533 commit eb84d2e

2 files changed

Lines changed: 37 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,45 @@
1+
# 0.18.0
2+
3+
- fix(flashbars): use the correct BuildContext for accessing the theme to prevent "Looking up a deactivated widget's ancestor is unsafe" on navigation
4+
- refactor(flashbars): replace usage of deprecated `Theme.of(context).dialogBackgroundColor` with `DialogTheme.of(context).backgroundColor`
5+
- chore: upgrade dependencies and remove deprecated lint rules
6+
17
# 0.17.0
8+
29
- update intl to `^0.19.0` in order to support Flutter 3.22
310
- update flutter_lints to `^4.0.0`
411

512
# 0.16.0
13+
614
- breaking: remove `context.mediaQuery` (use the other helpers or the specific `...Of` methods instead)
715
- refactor size and orientation `BuildContext` extensions to use the specific `...Of` methods to reduce rebuilds.
816
- add `context.screenSize` and `context.screenOrientation` extensions
917
- chore: update dependencies
1018

1119
# 0.15.1
20+
1221
- replace deprecated lint rules
1322

1423
# 0.15.0
24+
1525
- remove [dart_code_metrics](https://pub.dev/packages/dart_code_metrics) because it's paid now
1626
- migrate to [flash](https://pub.dev/packages/flash) v3
1727
- update dependencies
1828
- update sdk version
1929

2030
# 0.14.2
31+
2132
- feat: add [use-setstate-synchronously](https://dcm.dev/docs/individuals/rules/flutter/use-setstate-synchronously) DCM rule
2233
- fix(flashbar): change deprecated `bodyText2` to `bodyMedium`
2334
- fix: exclude analysis for injectable generated file
2435
- chore: bump dependencies
2536

2637
# 0.14.1
38+
2739
- chore: bump `dart_code_metrics` version to ^4.16.0 [#9](https://github.com/devj3ns/fleasy/pull/9)
2840

2941
# 0.14.0
42+
3043
- Bump dart-sdk to `>=2.17.1`
3144
- Bump dart_code_metrics to `^4.15.2`
3245
- Bump flutter_lints to `^2.0.1`
@@ -47,16 +60,20 @@
4760
- [use_to_and_as_if_applicable](https://dart-lang.github.io/linter/lints/use_to_and_as_if_applicable.html)
4861

4962
# 0.13.0
63+
5064
- Disable analysis/metrics in generated files [#8](https://github.com/devj3ns/fleasy/pull/8)
5165

5266
# 0.12.1
67+
5368
- Update dependencies
5469
- Make ScreenWidthBreakpoints constants
5570

5671
# 0.12.0
72+
5773
- **Add** more [dart_code_metrics](https://pub.dev/packages/dart_code_metrics) rules
5874

5975
# 0.11.0
76+
6077
- **Add** `Gap.w32()` and `Gap.h32()`
6178
- **Remove** `DeviceType` class (Use [universal_platform](https://pub.dev/packages/universal_platform) instead)
6279
- **Revise** adaptive helpers:
@@ -67,60 +84,71 @@
6784
- Rename `FormFactorBreakpoints` to `ScreenWidthBreakpoints`
6885

6986
# 0.10.0
87+
7088
- **Add** `Gap` widget
7189

7290
# 0.9.0
91+
7392
- **Improve** navigation helpers
7493
- **Remove:** `prefer-extracting-callbacks` lint rule
7594

7695
# 0.8.0
96+
7797
- **Add:** shadow to flasbars
7898

7999
# 0.7.1
100+
80101
- **Fix:** Add `prefer_relative_imports` lint rule
81102

82103
# 0.7.0
104+
83105
- **Add** theme helpers/extensions on `BuildContext`
84106
- **Add** `prefer_relative_imports` lint rule
85107
- **Breaking:** remove extensions on `List<DateTime>`
86108

87109
# 0.6.0
110+
88111
- Make flashbars more customizable (via theme)
89112
- Add more dart code metric rules
90113

91114
# 0.5.0
115+
92116
- **`EasyStreamBuilder` & `EasyFutureBuilder`:**
93117
- When the snapshot's data is `null` (and `T` is nullable), it will now show the widget returned by the `dataBuilder`. Before, it showed the `isEmptyText` and `isEmptyIcon`.
94118
- When the snapshot has an error in debug mode, it will now `throw` the error to give more insights. Before, it just displayed the error as a text.
95119

96120
# 0.4.1
121+
97122
- **Fix:** `isEmail` is now case insensitive
98123
- **Improve** README and doc comments
99124

100125
# 0.4.0
126+
101127
- **Add** `byFormFactor<T>` to extensions on `BuildContext` (see [docs](https://pub.dev/documentation/fleasy/latest/fleasy/AdpativeContextExtensions/byFormFactor.html))
102128
- **Add** helper getters to `context.formFactor` & `context.screenSize` enums
103129

104130
# 0.3.2
131+
105132
- **Add** logo
106133
- **Add** GitHub workflow for automatically publishing new versions to pub.dev on a new release
107134

108135
# 0.3.1
136+
109137
- **Improve** analysis options
110138
- **Add** key to widget constructors
111139
- **Export** `analysis_options.yaml` (see [new section in README](https://pub.dev/packages/fleasy#analysis-options))
112140

113141
# 0.3.0
114142

115143
- **Add** Flashbar extensions to `BuildContext`
116-
- `showSuccessFlashbar(...)`
117-
- `showInfoFlashbar(...)`
118-
- `showErrorFlashbar(...)`
119-
- `showNoConnectionFlashbar(...)`
144+
- `showSuccessFlashbar(...)`
145+
- `showInfoFlashbar(...)`
146+
- `showErrorFlashbar(...)`
147+
- `showNoConnectionFlashbar(...)`
120148
- **Add** `addHtpps` to string extensions
121149
- **BREAKING:** Refactor `EasyFutureBuilder` & `EasyStreamBuilder`:
122-
- `errorIcon` & `isEmptyIcon` now take `IconData` instead of `FaIcon`
123-
- new attributes: `textStyle` & `iconStyle`
150+
- `errorIcon` & `isEmptyIcon` now take `IconData` instead of `FaIcon`
151+
- new attributes: `textStyle` & `iconStyle`
124152
- **BREAKING:** Remove `shortestScreenSide` & `longestScreenSide`
125153
- **Improve** README
126154

@@ -150,4 +178,4 @@
150178

151179
# 0.1.0
152180

153-
- Initial release
181+
- Initial release

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fleasy
22
description: Useful and easy to use extensions, helper classes and widgets to create Flutter apps easier.
3-
version: 0.17.0
3+
version: 0.18.0
44
repository: https://github.com/devj3ns/fleasy
55
issue_tracker: https://github.com/devj3ns/fleasy/issues
66

@@ -17,4 +17,4 @@ dependencies:
1717
flutter_lints: ^5.0.0
1818

1919
dev_dependencies:
20-
test: ^1.25.15
20+
test: ^1.25.15

0 commit comments

Comments
 (0)