Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 9354f38

Browse files
authored
Require Dart 3.4, test wasm on 3.4, prepare release (#349)
1 parent c90b19f commit 9354f38

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
matrix:
4747
# Add macos-latest and/or windows-latest if relevant for this package.
4848
os: [ubuntu-latest]
49-
sdk: [3.1.0, dev]
49+
sdk: [3.4, dev]
5050
steps:
5151
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
5252
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
@@ -63,4 +63,4 @@ jobs:
6363
if: always() && steps.install.outcome == 'success'
6464
- name: Run Chrome tests - wasm
6565
run: dart test --platform chrome --compiler dart2wasm
66-
if: always() && steps.install.outcome == 'success' && matrix.sdk == 'dev'
66+
if: always() && steps.install.outcome == 'success'

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 1.19.0-wip
1+
## 1.19.0
22

33
- Adds `shuffled` to `IterableExtension`.
44
- Shuffle `IterableExtension.sample` results.
@@ -13,7 +13,7 @@
1313
- Deprecate `whereNotNull()` from `IterableNullableExtension`. Use `nonNulls`
1414
instead - this is an equivalent extension available in Dart core since
1515
version 3.0.
16-
- Require Dart `^3.1.0`
16+
- Require Dart `^3.4.0`
1717

1818
## 1.18.0
1919

lib/src/canonicalized_map.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class CanonicalizedMap<C, K, V> implements Map<K, V> {
187187
String toString() => MapBase.mapToString(this);
188188

189189
bool _isValidKey(Object? key) =>
190-
(key is K) && (_isValidKeyFn == null || _isValidKeyFn!(key));
190+
(key is K) && (_isValidKeyFn == null || _isValidKeyFn(key));
191191

192192
/// Creates a `Map<K,V>` (with the original key values).
193193
/// See [toMapOfCanonicalKeys].

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: collection
2-
version: 1.19.0-wip
2+
version: 1.19.0
33
description: >-
44
Collections and utilities functions and classes related to collections.
55
repository: https://github.com/dart-lang/collection
@@ -9,7 +9,7 @@ topics:
99
- collections
1010

1111
environment:
12-
sdk: ^3.1.0
12+
sdk: ^3.4.0
1313

1414
dev_dependencies:
1515
dart_flutter_team_lints: ^3.0.0

0 commit comments

Comments
 (0)