Skip to content

Commit c6f94c1

Browse files
committed
Update dependencies, bump version
1 parent 0dbfafd commit c6f94c1

File tree

6 files changed

+43
-37
lines changed

6 files changed

+43
-37
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 6.4.0
2+
3+
- Update dependencies
4+
- Update minimum Dart SDK version to 3.7.0 and minimum Flutter version to
5+
3.29.0
6+
17
## 6.3.0
28

39
- Added an `onTouchedSquare` callback to `Chessboard`

example/lib/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class HomePage extends StatefulWidget {
5757
}
5858

5959
class _HomePageState extends State<HomePage> {
60-
Position<Chess> position = Chess.initial;
60+
Position position = Chess.initial;
6161
Side orientation = Side.white;
6262
String fen = kInitialBoardFEN;
6363
NormalMove? lastMove;
@@ -73,7 +73,7 @@ class _HomePageState extends State<HomePage> {
7373
bool pieceAnimation = true;
7474
bool dragMagnify = true;
7575
Mode playMode = Mode.botPlay;
76-
Position<Chess>? lastPos;
76+
Position? lastPos;
7777
ISet<Shape> shapes = ISet();
7878
bool showBorder = false;
7979

example/pubspec.lock

+27-27
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ packages:
2121
dependency: transitive
2222
description:
2323
name: characters
24-
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
24+
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
2525
url: "https://pub.dev"
2626
source: hosted
27-
version: "1.3.0"
27+
version: "1.4.0"
2828
chessground:
2929
dependency: "direct main"
3030
description:
3131
path: ".."
3232
relative: true
3333
source: path
34-
version: "6.3.0"
34+
version: "7.0.0"
3535
clock:
3636
dependency: transitive
3737
description:
@@ -44,10 +44,10 @@ packages:
4444
dependency: transitive
4545
description:
4646
name: collection
47-
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
47+
sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
4848
url: "https://pub.dev"
4949
source: hosted
50-
version: "1.19.0"
50+
version: "1.19.1"
5151
cupertino_icons:
5252
dependency: "direct main"
5353
description:
@@ -60,10 +60,10 @@ packages:
6060
dependency: "direct main"
6161
description:
6262
name: dartchess
63-
sha256: "6ddc173288cb63444edf0d766986c283bb1ae6d8ede2ac1fc9de857f0f84d051"
63+
sha256: b846ac9ddc93337f9b2cb22c8753275433f43ecf5a8ed2c7f8bea59abba96d80
6464
url: "https://pub.dev"
6565
source: hosted
66-
version: "0.9.2"
66+
version: "0.10.0"
6767
fake_async:
6868
dependency: transitive
6969
description:
@@ -76,10 +76,10 @@ packages:
7676
dependency: transitive
7777
description:
7878
name: fast_immutable_collections
79-
sha256: c3c73f4f989d3302066e4ec94e6ec73b5dc872592d02194f49f1352d64126b8c
79+
sha256: "95a69b9380483dff49ae2c12c9eb92e2b4e1aeff481a33c2a20883471771598a"
8080
url: "https://pub.dev"
8181
source: hosted
82-
version: "10.2.4"
82+
version: "11.0.3"
8383
flutter:
8484
dependency: "direct main"
8585
description: flutter
@@ -134,10 +134,10 @@ packages:
134134
dependency: transitive
135135
description:
136136
name: matcher
137-
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
137+
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
138138
url: "https://pub.dev"
139139
source: hosted
140-
version: "0.12.16+1"
140+
version: "0.12.17"
141141
material_color_utilities:
142142
dependency: transitive
143143
description:
@@ -150,10 +150,10 @@ packages:
150150
dependency: transitive
151151
description:
152152
name: meta
153-
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
153+
sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
154154
url: "https://pub.dev"
155155
source: hosted
156-
version: "1.15.0"
156+
version: "1.16.0"
157157
path:
158158
dependency: transitive
159159
description:
@@ -171,50 +171,50 @@ packages:
171171
dependency: transitive
172172
description:
173173
name: source_span
174-
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
174+
sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
175175
url: "https://pub.dev"
176176
source: hosted
177-
version: "1.10.0"
177+
version: "1.10.1"
178178
stack_trace:
179179
dependency: transitive
180180
description:
181181
name: stack_trace
182-
sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
182+
sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
183183
url: "https://pub.dev"
184184
source: hosted
185-
version: "1.12.0"
185+
version: "1.12.1"
186186
stream_channel:
187187
dependency: transitive
188188
description:
189189
name: stream_channel
190-
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
190+
sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
191191
url: "https://pub.dev"
192192
source: hosted
193-
version: "2.1.2"
193+
version: "2.1.4"
194194
string_scanner:
195195
dependency: transitive
196196
description:
197197
name: string_scanner
198-
sha256: "0bd04f5bb74fcd6ff0606a888a30e917af9bd52820b178eaa464beb11dca84b6"
198+
sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"
199199
url: "https://pub.dev"
200200
source: hosted
201-
version: "1.4.0"
201+
version: "1.4.1"
202202
term_glyph:
203203
dependency: transitive
204204
description:
205205
name: term_glyph
206-
sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
206+
sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"
207207
url: "https://pub.dev"
208208
source: hosted
209-
version: "1.2.1"
209+
version: "1.2.2"
210210
test_api:
211211
dependency: transitive
212212
description:
213213
name: test_api
214-
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
214+
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
215215
url: "https://pub.dev"
216216
source: hosted
217-
version: "0.7.3"
217+
version: "0.7.4"
218218
vector_math:
219219
dependency: transitive
220220
description:
@@ -232,5 +232,5 @@ packages:
232232
source: hosted
233233
version: "14.3.1"
234234
sdks:
235-
dart: ">=3.4.0 <4.0.0"
236-
flutter: ">=3.18.0-18.0.pre.54"
235+
dart: ">=3.7.0-323.2 <4.0.0"
236+
flutter: ">=3.29.0-0.3"

example/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies:
3636
cupertino_icons: ^1.0.2
3737
chessground:
3838
path: ../
39-
dartchess: ^0.9.0
39+
dartchess: ^0.10.0
4040

4141
dev_dependencies:
4242
flutter_test:

pubspec.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: chessground
22
description: Chess board UI developed for lichess.org. It has no chess logic inside so it can be used for chess variants.
3-
version: 6.3.0
3+
version: 7.0.0
44
repository: https://github.com/lichess-org/flutter-chessground
55
funding:
66
- https://lichess.org/patron
77

88
environment:
9-
sdk: '>=3.3.0 <4.0.0'
10-
flutter: ">=3.10.0"
9+
sdk: '>=3.7.0-323.2 <4.0.0'
10+
flutter: ">=3.29.0-0.3"
1111

1212
dependencies:
13-
dartchess: ^0.9.0
14-
fast_immutable_collections: ^10.0.0
13+
dartchess: ^0.10.0
14+
fast_immutable_collections: ^11.0.0
1515
flutter:
1616
sdk: flutter
1717

1818
dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
21-
lint: ^2.0.1
21+
lint: ^2.6.1
2222
mocktail: ^1.0.4
2323

2424
flutter:

test/widgets/board_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ class _TestAppState extends State<_TestApp> {
17541754
late PlayerSide interactiveSide;
17551755
late NormalMove? promotionMove;
17561756
late ISet<Shape> shapes;
1757-
late Position<Chess> position;
1757+
late Position position;
17581758
NormalMove? lastMove;
17591759
NormalMove? premoveData;
17601760

0 commit comments

Comments
 (0)