Skip to content

Commit c2c9e1b

Browse files
committed
Chore: Bump dependencies to enable usage on channels beta and master.
1 parent fc0fe09 commit c2c9e1b

File tree

6 files changed

+36
-24
lines changed

6 files changed

+36
-24
lines changed

.github/workflows/deploy.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
name: Deploy Web
2222
on:
2323
push:
24-
branches: [master]
24+
branches: [none]
2525
paths-ignore:
2626
- "**.md"
2727
pull_request:
@@ -30,8 +30,7 @@ on:
3030
- "**.md"
3131
release:
3232
types: [publish]
33-
paths-ignore:
34-
- "**.md"
33+
3534
jobs:
3635
flutter_tests:
3736
name: "Analyze and test package, then build and deploy 5 web apps"

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All changes to the **FlexColorScheme** (FCS) package are documented here.
44

5+
## 7.0.2
6+
7+
**Apr 16, 2023**
8+
9+
- **Chore:** Changed to using `flex_seed_scheme: ^1.2.4` that depends on `material_color_utilities` with version constraint set to `>=0.2.0 <0.4.0` from `^0.2.0`.
10+
- This change enables the package to be used on current Flutter **stable** 3.7 versions, as well as the latest 3.10.x versions on channels **beta** and **master**. It will also work with the next stable Flutter release after 3.7.
11+
512
## 7.0.1
613

714
**Apr 6, 2023**

example/pubspec.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ packages:
127127
path: ".."
128128
relative: true
129129
source: path
130-
version: "7.0.1"
130+
version: "7.0.2"
131131
flex_seed_scheme:
132132
dependency: "direct main"
133133
description:
134134
name: flex_seed_scheme
135-
sha256: "7058288ef97d348657ac95cea25d65a9aac181ca08387ede891fd7230ad7600f"
135+
sha256: b3678d82403c13dec2ee2721e078b26f14577712411b6aa981b0f4269df3fabb
136136
url: "https://pub.dev"
137137
source: hosted
138-
version: "1.2.3"
138+
version: "1.2.4"
139139
flutter:
140140
dependency: "direct main"
141141
description: flutter

example/pubspec.yaml

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flex_color_scheme_example
22
description: Examples that demonstrate how to use the FlexColorScheme package.
3-
version: 7.0.1
3+
version: 7.0.2
44
publish_to: 'none'
55
environment:
66
sdk: '>=2.19.0 <4.0.0'
@@ -40,7 +40,7 @@ dependencies:
4040
# FlexSeedScheme package, by Mike Rydstrom, rydmike.com (@rydmike).
4141
# Used by the playground app to compute and display tonal palettes.
4242
# https://pub.dev/packages/flex_seed_scheme
43-
flex_seed_scheme: ^1.2.3
43+
flex_seed_scheme: ^1.2.4
4444

4545
# The Flutter SDK, by Google flutter.dev.
4646
flutter:
@@ -68,12 +68,15 @@ dependencies:
6868
# Color utilities by Google (material.io).
6969
#
7070
# Used in Playground by CodeTheme to harmonize colors against main theme colors.
71+
# Flutter SDK from 2.10.0 stable also depends on this package.
7172
#
72-
# Flutter SDK from 2.10.0 stable also uses and depends on this package.
73-
# Version 0.3.0 contains many new features, but Flutter stable and master are
74-
# locked to version 0.2.0, so we cannot use it, also 0-ver does not
75-
# upgrade from version ^0.2.0 to 0.3.x, only to 0.2.x.
76-
material_color_utilities: ^0.2.0
73+
# Flutter stable 3.7 uses 0.2.0, and Flutter beta 3.10.x and master are
74+
# locked to version 0.3.0. Since it is using 0-ver, it does not upgrade with
75+
# constraint ^0.2.0 to 0.3.x, only to 0.2.x. We must use this deviant constraint
76+
# to be able to use it with Flutter stable, beta and master. It works well because
77+
# version 0.3.0 is actually not breaking any 0.2.0 APIs, it only contains new
78+
# features and fixes.
79+
material_color_utilities: '>=0.2.0 <0.4.0'
7780

7881
# Commonly used directories on host platform file systems, by Google (flutter.dev).
7982
# Used to get a working storage path for Hive on Windows.

pubspec.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ packages:
109109
dependency: "direct main"
110110
description:
111111
name: flex_seed_scheme
112-
sha256: "7058288ef97d348657ac95cea25d65a9aac181ca08387ede891fd7230ad7600f"
112+
sha256: b3678d82403c13dec2ee2721e078b26f14577712411b6aa981b0f4269df3fabb
113113
url: "https://pub.dev"
114114
source: hosted
115-
version: "1.2.3"
115+
version: "1.2.4"
116116
flutter:
117117
dependency: "direct main"
118118
description: flutter
@@ -404,10 +404,10 @@ packages:
404404
dependency: transitive
405405
description:
406406
name: web_socket_channel
407-
sha256: ca49c0bc209c687b887f30527fb6a9d80040b072cc2990f34b9bec3e7663101b
407+
sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b
408408
url: "https://pub.dev"
409409
source: hosted
410-
version: "2.3.0"
410+
version: "2.4.0"
411411
webkit_inspection_protocol:
412412
dependency: transitive
413413
description:

pubspec.yaml

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flex_color_scheme
22
description: A Flutter package to use and make beautiful Material design based themes.
3-
version: 7.0.1
3+
version: 7.0.2
44
homepage: https://docs.flexcolorscheme.com
55
repository: https://github.com/rydmike/flex_color_scheme
66
issue_tracker: https://github.com/rydmike/flex_color_scheme/issues
@@ -34,7 +34,7 @@ environment:
3434
dependencies:
3535
# FlexSeedScheme package, by Mike Rydstrom, rydmike.com (@rydmike).
3636
# https://pub.dev/packages/flex_seed_scheme
37-
flex_seed_scheme: ^1.2.3
37+
flex_seed_scheme: ^1.2.4
3838

3939
flutter:
4040
sdk: flutter
@@ -53,11 +53,14 @@ dev_dependencies:
5353
# Color utilities by Google (material.io).
5454
#
5555
# Used to compute and create Tonal Palette theme colors.
56+
# Flutter SDK from 2.10.0 stable also depends on this package.
5657
#
57-
# Flutter SDK from 2.10.0 stable also uses and depends on this package.
58-
# Version 0.3.0 contains many new features, but Flutter stable and master are
59-
# locked to version 0.2.0, so we cannot use it, also 0-ver does not
60-
# upgrade from version ^0.2.0 to 0.3.x, only to 0.2.x.
61-
material_color_utilities: ^0.2.0
58+
# Flutter stable 3.7 uses 0.2.0, and Flutter beta 3.10.x and master are
59+
# locked to version 0.3.0. Since it is using 0-ver, it does not upgrade with
60+
# constraint ^0.2.0 to 0.3.x, only to 0.2.x. We must use this deviant constraint
61+
# to be able to use it with Flutter stable, beta and master. It works well because
62+
# version 0.3.0 is actually not breaking any 0.2.0 APIs, it only contains new
63+
# features and fixes.
64+
material_color_utilities: '>=0.2.0 <0.4.0'
6265

6366
test:

0 commit comments

Comments
 (0)