NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #127 most downloaded on pub.dev
Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
Last release 2 days ago
05 Oct 2026
Release timing varies
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
92 releases · first in 2017
[shared_preferences] Document return values of set and remove methods…
[shared_preferences] Document return values of set and remove methods…
Fixes dartdoc comments that accidentally used HTML.
One column per quarter.
Updates dependencies for the shared_preferences_tool DevTools extension and fixes related deprecations.
shared_preferences_tool DevTools extension and fixes related deprecations.Fixes a bug in the example app.
Fixes setState returning Future on example/main.dart error in example code.
setState returning Future on example/main.dart error in example code.Exposes SharedPreferencesOptions.
SharedPreferencesOptions.Adds shared preferences devtools extension.
Adds migration tool to move from legacy SharedPreferences to SharedPreferencesAsync.
SharedPreferences to SharedPreferencesAsync.allowList handling with an updated prefix.Adds information about Android SharedPreferences support.
Security update, requires shared_preferences_android to be 2.3.4.
Clarifies scope of prefix handling in README.
Removes outdated testing information from README.
Fixes getStringList bug with List cast exception.
getStringList bug with List<Object?> cast exception.Adds SharedPreferencesAsync and SharedPreferencesWithCache APIs.
SharedPreferencesAsync and SharedPreferencesWithCache APIs.Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
Updates documentation for containsKey.
containsKey.Deletes deprecated splash screen meta-data element.
Adds allowList option to setPrefix.
allowList option to setPrefix.Fixes singleton initialization race condition introduced during NNBD transition.
Updates iOS minimum version in README.
* Adds setPrefix method.
setPrefix method.Adds README discussion of reload().
reload().Updates links for the merge of flutter/plugins into flutter/packages.
Updates code for stricter lint checks.
Switches to the new shared_preferences_foundation implementation package for iOS and macOS.
shared_preferences_foundation implementation package
for iOS and macOS.no_leading_underscores_for_local_identifiers lint.Minor fixes for new analysis options.
Adds OS version support information to README.
Updates documentation on README.md.
* Removes dependency on meta.
meta.Corrects example for mocking in readme.
Removes obsolete manual registration of Windows and Linux implementations.
Fixes newly enabled analyzer options.
Update minimum Flutter SDK to 2.5 and iOS deployment target to 9.0.
Fix string clash with double entries on Android
Migrate maven repository from jcenter to mavenCentral.
Fix missing declaration of windows' default_package
Fix a regression with simultaneous writes on Android.
Android: don't create additional Handler when method channel is called.
Don't create additional thread pools when method channel is called.
Removed deprecated AsyncTask was deprecated in API level 30
Setters no longer accept null to mean removing values. If you were previously using set*(key, null) for removing, use remove(key) instead.
Breaking changes:
set*(key, null) for removing, use remove(key) instead.Nothing published for this version
Nothing published for this version
Keep handling deprecated Android v1 classes for backward compatibility.
Update android compileSdkVersion to 29.
* Remove unused test dependency.
test dependency.* Support Windows by default.
Update package:e2e -> package:integration_test
* Support Linux by default.
Remove Android dependencies fallback.
Declare API stability and compatibility with 1.0.0 (more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).
1.0.0 (more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).Update lower bound of dart dependency to 2.1.0.
Post-v2 Android embedding cleanup.
Require Flutter SDK 1.12.13+hotfix.4 or greater.
web by default.* Updated README
Make the pedantic dev_dependency explicit.
Fix deprecated API usage warning.
* Support macos by default.
Support the v2 Android embedding.
Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries.
Your coding agent can read these notes before it upgrades. Set up the MCP server →