Skip to content

Commit b8a8e3d

Browse files
Version 2.1.2 #528 (#537)
* fix typo in changelog * add Flutter version constraint This was done to prevent the following error when publishing to pub.dev: ``` Package validation found the following error: * pubspec.yaml allows Flutter SDK version 1.9.x, which does not support the flutter.plugin.platforms key. Please consider increasing the Flutter SDK requirement to ^1.10.0 (environment.sdk.flutter) ``` * increase Flutter SDK requirement so that no `ios/` folder is necessary
1 parent af795e4 commit b8a8e3d

File tree

6 files changed

+44
-33
lines changed

6 files changed

+44
-33
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
## [2.1.2]
22
### 🛠️ Updated 🛠️
3-
* Add Older macOS versions” section to README
3+
* Add “Older macOS versions” section to README
4+
* Add Flutter version constraints to prevent the following error:
5+
```
6+
Package validation found the following error:
7+
* pubspec.yaml allows Flutter SDK version 1.9.x, which does not support the flutter.plugin.platforms key.
8+
Please consider increasing the Flutter SDK requirement to ^1.10.0 (environment.sdk.flutter)
9+
```
410

511
## [2.1.1]
612
* Fixed a bug where `MacosPulldownMenuItem` would not show an alert dialog when tapped.

example/macos/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ SPEC CHECKSUMS:
4444

4545
PODFILE CHECKSUM: ff0a9a3ce75ee73f200ca7e2f47745698c917ef9
4646

47-
COCOAPODS: 1.14.3
47+
COCOAPODS: 1.15.2

example/macos/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ class AppDelegate: FlutterAppDelegate {
66
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
77
return true
88
}
9+
10+
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
11+
return true
12+
}
913
}

example/pubspec.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ packages:
4545
dependency: transitive
4646
description:
4747
name: collection
48-
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
48+
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
4949
url: "https://pub.dev"
5050
source: hosted
51-
version: "1.18.0"
51+
version: "1.19.0"
5252
crypto:
5353
dependency: transitive
5454
description:
@@ -148,18 +148,18 @@ packages:
148148
dependency: transitive
149149
description:
150150
name: leak_tracker
151-
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
151+
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
152152
url: "https://pub.dev"
153153
source: hosted
154-
version: "10.0.5"
154+
version: "10.0.7"
155155
leak_tracker_flutter_testing:
156156
dependency: transitive
157157
description:
158158
name: leak_tracker_flutter_testing
159-
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
159+
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
160160
url: "https://pub.dev"
161161
source: hosted
162-
version: "3.0.5"
162+
version: "3.0.8"
163163
leak_tracker_testing:
164164
dependency: transitive
165165
description:
@@ -182,7 +182,7 @@ packages:
182182
path: ".."
183183
relative: true
184184
source: path
185-
version: "2.1.0"
185+
version: "2.1.2"
186186
macos_window_utils:
187187
dependency: transitive
188188
description:
@@ -307,7 +307,7 @@ packages:
307307
dependency: transitive
308308
description: flutter
309309
source: sdk
310-
version: "0.0.99"
310+
version: "0.0.0"
311311
source_span:
312312
dependency: transitive
313313
description:
@@ -320,10 +320,10 @@ packages:
320320
dependency: transitive
321321
description:
322322
name: stack_trace
323-
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
323+
sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
324324
url: "https://pub.dev"
325325
source: hosted
326-
version: "1.11.1"
326+
version: "1.12.0"
327327
stream_channel:
328328
dependency: transitive
329329
description:
@@ -336,10 +336,10 @@ packages:
336336
dependency: transitive
337337
description:
338338
name: string_scanner
339-
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
339+
sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
340340
url: "https://pub.dev"
341341
source: hosted
342-
version: "1.2.0"
342+
version: "1.3.0"
343343
term_glyph:
344344
dependency: transitive
345345
description:
@@ -352,10 +352,10 @@ packages:
352352
dependency: transitive
353353
description:
354354
name: test_api
355-
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
355+
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
356356
url: "https://pub.dev"
357357
source: hosted
358-
version: "0.7.2"
358+
version: "0.7.3"
359359
typed_data:
360360
dependency: transitive
361361
description:
@@ -440,10 +440,10 @@ packages:
440440
dependency: transitive
441441
description:
442442
name: vm_service
443-
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
443+
sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b
444444
url: "https://pub.dev"
445445
source: hosted
446-
version: "14.2.5"
446+
version: "14.3.0"
447447
web:
448448
dependency: transitive
449449
description:

pubspec.lock

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ packages:
4545
dependency: transitive
4646
description:
4747
name: collection
48-
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
48+
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
4949
url: "https://pub.dev"
5050
source: hosted
51-
version: "1.18.0"
51+
version: "1.19.0"
5252
equatable:
5353
dependency: "direct main"
5454
description:
@@ -95,18 +95,18 @@ packages:
9595
dependency: transitive
9696
description:
9797
name: leak_tracker
98-
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
98+
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
9999
url: "https://pub.dev"
100100
source: hosted
101-
version: "10.0.5"
101+
version: "10.0.7"
102102
leak_tracker_flutter_testing:
103103
dependency: transitive
104104
description:
105105
name: leak_tracker_flutter_testing
106-
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
106+
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
107107
url: "https://pub.dev"
108108
source: hosted
109-
version: "3.0.5"
109+
version: "3.0.8"
110110
leak_tracker_testing:
111111
dependency: transitive
112112
description:
@@ -183,7 +183,7 @@ packages:
183183
dependency: transitive
184184
description: flutter
185185
source: sdk
186-
version: "0.0.99"
186+
version: "0.0.0"
187187
source_span:
188188
dependency: transitive
189189
description:
@@ -196,10 +196,10 @@ packages:
196196
dependency: transitive
197197
description:
198198
name: stack_trace
199-
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
199+
sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
200200
url: "https://pub.dev"
201201
source: hosted
202-
version: "1.11.1"
202+
version: "1.12.0"
203203
stream_channel:
204204
dependency: transitive
205205
description:
@@ -212,10 +212,10 @@ packages:
212212
dependency: transitive
213213
description:
214214
name: string_scanner
215-
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
215+
sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
216216
url: "https://pub.dev"
217217
source: hosted
218-
version: "1.2.0"
218+
version: "1.3.0"
219219
term_glyph:
220220
dependency: transitive
221221
description:
@@ -228,10 +228,10 @@ packages:
228228
dependency: transitive
229229
description:
230230
name: test_api
231-
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
231+
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
232232
url: "https://pub.dev"
233233
source: hosted
234-
version: "0.7.2"
234+
version: "0.7.3"
235235
vector_math:
236236
dependency: transitive
237237
description:
@@ -244,10 +244,10 @@ packages:
244244
dependency: transitive
245245
description:
246246
name: vm_service
247-
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
247+
sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b
248248
url: "https://pub.dev"
249249
source: hosted
250-
version: "14.2.5"
250+
version: "14.3.0"
251251
sdks:
252252
dart: ">=3.5.3 <4.0.0"
253253
flutter: ">=3.18.0-18.0.pre.54"

pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ repository: "https://github.com/GroovinChip/macos_ui"
66

77
environment:
88
sdk: ">=3.5.3 <4.0.0"
9+
flutter: ">=1.20.0"
910

1011
dependencies:
1112
flutter:

0 commit comments

Comments
 (0)