Changelog for @signaldb/angular
[3.0.0] - 2026-12-02
BREAKING CHANGES
- Dropped support for Angular 16.
@angular/core17 or newer is now required, because the scope check relies onassertNotInReactiveContext, which Angular 16 does not have. Angular 16 projects stay on@signaldb/angular2.0.0.
Added
- The adapter now implements
isInScope. A query run outside an Angular reactive context (aneffect, acomputedor a template) is no longer reactive, so it no longer leaves behind a dependency that nothing ever cleans up, and you no longer have to pass{ reactive: false }to it. Read such a query with{ async: true }, since a synchronous read outside a reactive context now logs theCursor.depend()warning. - New
effectexport, a drop-in replacement for Angular'seffect()that cleans up the queries run in it automatically, before the effect runs again and when it is destroyed. Import it from@signaldb/angularinstead of@angular/coreand drop the manualcursor.cleanup()calls. ItsonCleanupcan be called any number of times on every supported Angular version, while Angular 17 and 18 keep only the last function registered with their ownonCleanup. Queries run in Angular's owneffect(), in acomputed()or in a template still needcursor.cleanup().
[2.0.0] - 2026-10-27
Added
- Accepts
@signaldb/corev2 as a peer dependency, in addition to 1.x.
[1.0.6] - 2026-04-10
Added
- Added support for Angular 21.
[1.0.5] - 2025-07-17
Added
- Added support for Angular 20.