Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restash

A maintained fork of the stash caching and storage abstraction for Dart and Flutter.

stash is an excellent key-value store abstraction with plain and cache-driven semantics, but its packages have not been published since 2024-04 and pin older constraints (e.g. flutter_secure_storage ^9) that block dependency upgrades in downstream apps. restash is a drop-in fork that tracks upstream and relaxes those constraints so it can be used with current Flutter SDKs.

Packages

Package Description
restash Core key-value store abstraction (cache + vault semantics).
restash_memory In-memory storage backend.
restash_objectbox ObjectBox persistent storage backend.
restash_secure_storage flutter_secure_storage-backed store (uses flutter_secure_storage 10).
restash_test Shared conformance test harness for backends.

Relationship to stash

restash is API-compatible with stash 5.2.0. Migrating is a package-name swap:

// before
import 'package:stash/stash_api.dart';
import 'package:stash_secure_storage/stash_secure_storage.dart';

// after
import 'package:restash/restash_api.dart';
import 'package:restash_secure_storage/restash_secure_storage.dart';

Changes from upstream 5.2.0:

  • restash_secure_storage: flutter_secure_storage ^9^10.
  • Cross-package constraints re-pinned to the restash family at ^1.0.0.

Development

This is a pub workspace managed with Melos.

flutter pub get          # resolves the whole workspace
melos run analyze
melos run test

Credits & license

Originally authored by Ivo Leitão as the stash family of packages. restash preserves the original MIT license and copyright; see LICENSE.

About

A Fork of Stash

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages