You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- NEW: `withObservables` - `@nozbe/with-observables` as a separate package is deprecated, and is now bundled with WatermelonDB
60
60
- NEW: HOC helpers: `compose`, `withHooks`
61
-
- NEW: `<WithObservables />` component, a component version of `withObservables` HOC. Useful when a value being observed is localized to a small part of a larger component, because you can effortlessly narrow down which parts of the component are re-rendered when the value changes without having to extract a new component.
61
+
- NEW: `<WithObservables />` component, a component version of `withObservables` HOC. Useful when a value being observed is localized to a small part of a larger component, because you can effortlessly narrow down which parts of the component are re-rendered when the value changes without having to extract a new component.
62
62
63
63
Imports from previous `@nozbe/watermelondb/DatabaseProvider` and `@nozbe/watermelondb/hooks` folders are deprecated and will be removed in a future version.
64
64
@@ -76,7 +76,7 @@ All debug/dev/diagnostics tools for Watermelon are now available from a new `@no
76
76
77
77
Changes unlikely to cause issues:
78
78
79
-
-[iOS] If `import WatermelonDB` is used in your Swift app (for Turbo sync), remove it and replace with `#import <WatermelonDB/WatermelonDB.h>` in the bridging header
79
+
-[iOS] If `import WatermelonDB` is used in your Swift app (for Turbo sync), remove it and replace with `#import <WatermelonDB/WatermelonDB.h>` in the bridging header
80
80
-[iOS] If you use `_watermelonDBLoggingHook`, remove it. No replacement is provided at this time, feel free to contribute if you need this
81
81
-[iOS] If you use `-DENABLE_JSLOCK_PERFORMANCE_HACK`, remove it. JSLockPerfHack has been non-functional for some time already, and has now been removed. Please file an issue if you relied on it.
82
82
@@ -257,7 +257,7 @@ help to do this! See: https://github.com/Nozbe/WatermelonDB/issues/1481
257
257
### Fixes
258
258
259
259
-[TypeScript] Improve typings: add unsafeExecute method, localStorage property to Database
260
-
-[android] Fixed compilation on some setups due to a missing `<cassert>` import
260
+
-[android] Fixed compilation on some setups due to a missing `<cassert>` import
261
261
-[sync] Fixed marking changes as synced for users that don't keep globally unique (only per-table unique) IDs
262
262
- Fix `Model.experimentalMarkAsDeleted/experimentalDestroyPermanently()` throwing an error in some cases
263
263
- Fixes included in updated `withObservables`
@@ -414,7 +414,7 @@ Please don't get scared off the long list of breaking changes - they are all eit
414
414
-[adapters]`onSetUpError: Error => void` option is added to both `SQLiteAdapter` and `LokiJSAdapter`. Supply this option to catch initialization errors and offer the user to reload or log out
415
415
-[LokiJS] new `extraLokiOptions` and `extraIncrementalIDBOptions` options
416
416
-[Android] Autolinking is now supported.
417
-
- If You upgrade to `<= v0.21.0`**AND** are on a version of React Native which supports Autolinking, you will need to remove the config manually linking WatermelonDB.
417
+
- If You upgrade to `<= v0.21.0`**AND** are on a version of React Native which supports Autolinking, you will need to remove the config manually linking WatermelonDB.
418
418
- You can resolve this issue by **REMOVING** the lines of config from your project which are _added_ in the `Manual Install ONLY` section of the [Android Install docs](https://nozbe.github.io/WatermelonDB/Installation.html#android-react-native).
419
419
420
420
### Performance
@@ -733,7 +733,7 @@ This is a **massive** new update to WatermelonDB! 🍉
733
733
- [withObservables] Improved performance and debuggability (update withObservables package separately)
734
734
- Improved debuggability of Watermelon -- shortened Rx stacks and added function names to aid in understanding
735
735
call stacks and profiles
736
-
- [adapters] The adapters interface has changed. `query()` and `count()` methods now receive a `SerializedQuery`, and `batch()` now takes `TableName<any>` and `RawRecord` or `RecordId` instead of `Model`.
736
+
- [adapters] The adapters interface has changed. `query()` and `count()` methods now receive a `SerializedQuery`, and `batch()` now takes `TableName<any>` and `RawRecord` or `RecordId` instead of `Model`.
737
737
- [Typescript] Typing improvements
738
738
- Added 3 missing properties `collections`, `database` and `asModel` in Model type definition.
739
739
- Removed optional flag on `actionsEnabled` in the Database constructor options since its mandatory since 0.13.0.
@@ -890,13 +890,13 @@ Hotfix for rambdax crash
890
890
### Changes
891
891
892
892
-[Android] Changed `compile` to `implementation` in Library Gradle file
893
-
- ⚠️ might break build if you are using Android Gradle Plugin <3.X
893
+
- ⚠️ might break build if you are using Android Gradle Plugin <3.X
894
894
- Updated `peerDependency``react-native` to `0.57.0`
Copy file name to clipboardExpand all lines: docs-website/docs/docs/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ Watermelon fixes it **by being lazy**. Nothing is loaded until it's requested. A
57
57
But unlike using SQLite directly, Watermelon is **fully observable**. So whenever you change a record, all UI that depends on it will automatically re-render. For example, completing a task in a to-do app will re-render the task component, the list (to reorder), and all relevant task counters. [**Learn more**](https://www.youtube.com/watch?v=UlZ1QnFF4Cw).
0 commit comments