From 94cece67eb0e83e8235356b13ac3b8f48e574921 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Wed, 3 Jun 2026 16:10:02 -0400 Subject: [PATCH] [vector_math] Release 2.4.0 At the time of import from https://github.com/google/vector_math.dart, which doesn't use our continuous release model, a 2.4.0 release had been prepped, but never actually finalized. This updates the version to do the first release from the new location. Although the removal of the long-deprecated API is technically a breaking change, it is being done as a minor version change for the reasons discussed in https://github.com/google/vector_math.dart/issues/269. Since the plan was to release as 2.4.0 when it was in the old location, this carries out that plan as intended. --- packages/vector_math/CHANGELOG.md | 16 +++++++++++----- packages/vector_math/pubspec.yaml | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/vector_math/CHANGELOG.md b/packages/vector_math/CHANGELOG.md index ca4649d..af83323 100644 --- a/packages/vector_math/CHANGELOG.md +++ b/packages/vector_math/CHANGELOG.md @@ -1,8 +1,14 @@ -## 2.4.0-wip - -- Remove the deprecated `SimplexNoise` class. -- Optimized the `identity` constructors on the `Matrix` classes. -- Require Dart 3.10.0 or greater. +## 2.4.0 + +- Removes the deprecated `SimplexNoise` class. +- Optimizes the `identity` constructors on the `Matrix` classes. +- Updates metadata to reflect the move from + [google/vector_math.dart](https://github.com/google/vector_math.dart) + to [flutter/core-packages](https://github.com/flutter/core-packages), + which is the new source of truth for this package. +- Updates source and metadata to follow Flutter team package conventions and + analysis options. +- Updates minimum supported SDK version to Dart 3.10. ## 2.3.0 diff --git a/packages/vector_math/pubspec.yaml b/packages/vector_math/pubspec.yaml index ecc75e2..a727be1 100644 --- a/packages/vector_math/pubspec.yaml +++ b/packages/vector_math/pubspec.yaml @@ -5,7 +5,7 @@ name: vector_math description: A vector math library for 2D and 3D applications, supporting 2D, 3D, and 4D matrices. repository: https://github.com/flutter/core-packages/tree/main/packages/vector_math issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+vector_math%22 -version: 2.4.0-wip +version: 2.4.0 environment: sdk: ^3.10.0