Skip to content

Commit 9a435dd

Browse files
authored
[shared_preferences] Increase minimum android endorsed version (#8318)
**Bump shared preferences android version that is endorsed so that more devs pick up the security change** ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] page, which explains my responsibilities. - [x] I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use `dart format`.) - [x] I signed the [CLA]. - [x] The title of the PR starts with the name of the package surrounded by square brackets, e.g. `[shared_preferences]` - [ ] I [linked to at least one issue that this PR fixes] in the description above. - [x] I updated `pubspec.yaml` with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes]. - [x] I updated `CHANGELOG.md` to add a description of the change, [following repository CHANGELOG style], or this PR is [exempt from CHANGELOG changes]. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] All existing and new tests are passing.
1 parent 7632d2c commit 9a435dd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

packages/shared_preferences/shared_preferences/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.3.4
2+
3+
* Security update, requires shared_preferences_android to be 2.3.4.
4+
15
## 2.3.3
26

37
* Clarifies scope of prefix handling in README.

packages/shared_preferences/shared_preferences/pubspec.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Flutter plugin for reading and writing simple key-value pairs.
33
Wraps NSUserDefaults on iOS and SharedPreferences on Android.
44
repository: https://github.com./flutter/packages/tree/main/packages/shared_preferences/shared_preferences
55
issue_tracker: https://github.com./flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
6-
version: 2.3.3
6+
version: 2.3.4
77

88
environment:
9-
sdk: ^3.4.0
10-
flutter: ">=3.22.0"
9+
sdk: ^3.5.0
10+
flutter: ">=3.24.0"
1111

1212
flutter:
1313
plugin:
@@ -28,7 +28,7 @@ flutter:
2828
dependencies:
2929
flutter:
3030
sdk: flutter
31-
shared_preferences_android: ^2.3.0
31+
shared_preferences_android: ^2.3.4
3232
shared_preferences_foundation: ^2.5.0
3333
shared_preferences_linux: ^2.4.0
3434
shared_preferences_platform_interface: ^2.4.0

0 commit comments

Comments
 (0)