Skip to content

Commit 3ad1276

Browse files
committed
release 2.0
1 parent f63369d commit 3ad1276

File tree

8 files changed

+270
-310
lines changed

8 files changed

+270
-310
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
## Persistent reactive models in Flutter with zero boilerplate
1111

12-
### NOTE: 2.0 is unstable, use 1.6.0 for now
13-
1412
Flutter Data is a [local-first](https://www.inkandswitch.com/local-first/) data framework with a customizable REST client and powerful model relationships, built on Riverpod.
1513

1614
<small>Inspired by [Ember Data](https://github.com/emberjs/data) and [ActiveRecord](https://guides.rubyonrails.org/active_record_basics.html).</small>
@@ -22,7 +20,6 @@ Flutter Data is a [local-first](https://www.inkandswitch.com/local-first/) data
2220
- [StateNotifier](https://pub.dev/packages/state_notifier) watcher APIs
2321
- **Built for offline-first** 🔌
2422
- [SQLite3](https://pub.dev/packages/sqlite3)-based local storage at its core, with adapters for many other engines: Objectbox, Isar, etc (coming soon)
25-
- Failure handling & retry API
2623
- **Intuitive APIs, effortless setup** 💙
2724
- Truly configurable and composable via Dart mixins and codegen
2825
- Built-in [Riverpod](https://riverpod.dev/) providers for all models
@@ -140,7 +137,7 @@ Fully compatible with the tools we know and love:
140137
</tr>
141138
<tr class="bg-yellow-50">
142139
<td class="font-bold px-4 py-2"><strong>Flutter Web</strong></td>
143-
<td class="px-4 py-2"></td>
140+
<td class="px-4 py-2">-</td>
144141
<td class="px-4 py-2 text-sm">TBD</td>
145142
</tr>
146143
</tbody>
@@ -152,10 +149,15 @@ Fully compatible with the tools we know and love:
152149

153150
- [Drexbible](https://snapcraft.io/drexbible)
154151

152+
## Integrations
153+
154+
- [Appwrite Offline](https://pub.dev/packages/appwrite_offline). A Flutter Data adapter for Appwrite that provides offline support, real-time updates, and seamless integration with Flutter Data's powerful features.
155+
155156
## 🚨 BREAKING CHANGES IN 2.0
156157

157158
- All methods are now directly on `Adapter`, there is no `Repository`, `RemoteAdapter` or `LocalAdapter`. Any method you are looking for is probably on `Adapter`, for example, `findAll` from `LocalAdapter` is now called `findAllLocal`
158159
- For initialization we no longer call the `configure...` method on the Riverpod overrides, we just do `localStorageProvider.overrideWithValue` and pass a `LocalStorage` instance; the actual initialization is done via `initializeFlutterData` which needs an adapter map. An `adapterProvidersMap` is conveniently code-generated and available on `main.data.dart`
160+
- Offline operations are still supported, but retries are not, it is up to clients to implement them
159161

160162
## 📚 Public API
161163

@@ -193,7 +195,7 @@ return Scaffold(
193195

194196
### Adapters
195197

196-
WIP. Method names should be self explanatory. All of these methods have a reasonable default implementation.
198+
Method names should be self explanatory. All of these methods have a reasonable default implementation.
197199

198200
#### Local storage
199201

analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ analyzer:
55
invalid_use_of_protected_member: error
66
always_declare_return_types: error
77
library_private_types_in_public_api: ignore
8+
must_be_immutable: ignore
89
linter:
910
rules:
1011
- avoid_function_literals_in_foreach_calls

0 commit comments

Comments
 (0)