Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and fix lints, require Dart 3.1 #328

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: [3.0.0, dev]
sdk: [3.1, dev]

steps:
# These are the latest versions of the github actions; dependabot will
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- Fixed `Matrix3.rotationY` direction (Contributed by tlserver, moritzblume)
- Added an operator== to Quaternion so that two instances of quaternions can
be evaluated for equality.
- Require Dart 3.0
- Require Dart 3.1

## 2.1.4

Expand Down
2 changes: 1 addition & 1 deletion lib/hash.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.

@Deprecated('Use Object.hashAll instead')
library hash;
library;

///
/// Generates a hash code for multiple [objects].
Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ description: A Vector Math library for 2D and 3D applications.
repository: https://github.com/google/vector_math.dart

environment:
sdk: ^3.0.0
sdk: ^3.1.0

dev_dependencies:
benchmark_harness: ^2.0.0
build_runner: ^2.0.0
build_test: ^2.0.0
build_web_compilers: ^4.0.0
dart_flutter_team_lints: ^2.0.0
build_runner: ^2.2.1
build_test: ^2.1.2
build_web_compilers: ^4.0.3
dart_flutter_team_lints: ^3.0.0
path: ^1.8.0
test: ^1.16.0
test: ^1.21.6
Loading