Skip to content

Releases: e-oz/ngx-collection

2.1.0

04 May 16:43
Compare
Choose a tag to compare
  • Every request parameter now accepts signals! The signal will be read once, at the moment of request execution;
  • Signals are accepted also by:
    • getItemViewModel()
    • getItem()
    • getItemByField()

v2.0.0

04 May 06:45
Compare
Choose a tag to compare
  • Add support for Angular Signals;
  • This version requires Angular 16;
  • Export ViewModel and ItemViewModel types;
  • Every interface is converted to a type, so they can now be imported using import type.

v1.4.2

15 Mar 17:06
Compare
Choose a tag to compare

Bump dependencies versions

v1.4.1

23 Feb 13:57
Compare
Choose a tag to compare

Accept Angular 16 as peerDependency.

v1.4.0

17 Feb 11:22
Compare
Choose a tag to compare
  • delete() and deleteMany() now have 2 new optional fields in their params:
    • readRequest: consecutive read() request (will completely reset items);
    • decrementTotalCount: decrement totalCountFetched by count of removed items, by number, or read new value from the response object.
  • Angular and NgRx versions bump, RxJS 7 & 8 versions are supported.

v1.3.0

14 Dec 14:02
Compare
Choose a tag to compare

You can now get an observable to be notified about the mutations:

  • listenForCreate()
  • listenForRead()
  • listenForUpdate()
  • listenForDelete()
    Events will be only emitted if there are active observers.

v1.2.9

04 Dec 02:26
Compare
Choose a tag to compare
  • Comparator now accepts dot-separated paths;
  • onSuccess/onError callbacks are wrapped with try...catch now (will try to use errReporter in case of exception);
  • errReporter is wrapped with try...catch now (in case of exception raised by errReporter, will try to use console.error, if exist).

v1.2.8

29 Nov 17:22
Compare
Choose a tag to compare
  • User errReporter to report errors, and don't use console by default.
  • Comparator class (and comparatorFields parameter) now understand composite fields.
  • Update NgRx dependencies to v15 (stable).

v1.2.7

28 Nov 21:16
Compare
Choose a tag to compare

Restore global configuration feature (COLLECTION_SERVICE_OPTIONS token)

v1.2.6

28 Nov 00:30
Compare
Choose a tag to compare

Documentation improvements