Skip to content

Commit

Permalink
ADD more notes
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Dec 8, 2024
1 parent 7a204c3 commit ceeba7d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs-src/docs/releases/16.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Data stored in the previous version `15` is be compatible with the code of the n

The [LokiJS RxStorage](https://rxdb.info/rx-storage-lokijs.html) was deprecated because LokiJS itself is no longer maintained. Therefore it will be removed completely. If you still need that, you can fork the code of it and publish it in an own package and link to it from the [third party plugins page](https://rxdb.info/third-party-plugins.html).

### rename `.destroy()` to `.close()`
### Renamed `.destroy()` to `.close()`
Destroy was adapted from PouchDB, but people often think this deletes the written data. `close` is a better name for that functionality.
- Also renamed similar functions/attributes:
- `.destroy()` to `.close()`
Expand Down Expand Up @@ -55,7 +55,8 @@ By splitting the functionalities it is easier to learn where the handlers are us
## Full rewrite of the OPFS and Filesystem-Node RxStorages

The OPFS and Filesystem-Node RxStorage had problems with storing emojis and other special characters inside of indexed fields.
I completely rewrote them and improved performance especially on initial load when a lot of data is stored already.
I completely rewrote them and improved performance especially on initial load when a lot of data is stored already and when doing many small writes/reads at the same time on in series.


## Internal Changes

Expand All @@ -70,6 +71,7 @@ I completely rewrote them and improved performance especially on initial load wh
- Having a lot of documents pulled in the replication could in some cases slow down the database initialization because `upstreamInitialSync()` did not set a checkpoint and each time checked all documents if they are equal to the master.
- If the handler of a [RxPipeline](../rx-pipeline.md) throws an error, block the whole pipeline and emit the error to the outside.
- Throw error when dexie.js RxStorage is used with optional index fields [#6643](https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082).
- Fix IndexedDB bug: Some people had problems with the IndexedDB RxStorage that opened up collections very slowly. If you had this problem, please try out this new version.

## Other

Expand Down

0 comments on commit ceeba7d

Please sign in to comment.