---
url: /changelog/electron.md
---
# Changelog for [`@signaldb/electron`](https://www.npmjs.com/package/@signaldb/electron)

### Added

* Initial release, based on the work of [@poeck](https://github.com/poeck) in [#2657](https://github.com/maxnowack/signaldb/pull/2657). The Electron main process runs the data layer on a storage adapter of your choice (`createElectronHost`), and every window gets a data adapter connected to it through a `MessagePort` of its own (`createElectronDataAdapter`, with `setupElectronPreload` in the preload script). Collections in the main process use the same data through `host.dataAdapter`. A write from any window or from the main process reaches the live queries of all others, writes are shown optimistically, and only what changed in a query's result crosses the process boundary. Requires `@signaldb/core` 2.1.0 or later.
