Releases: e-oz/ngx-collection
Releases · e-oz/ngx-collection
2.1.0
- Every
request
parameter now accepts signals! The signal will be read once, at the moment of request execution;
- Signals are accepted also by:
-
-
-
v2.0.0
- 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
Bump dependencies versions
v1.4.1
Accept Angular 16 as peerDependency.
v1.4.0
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
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
- 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
- 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
Restore global configuration feature (COLLECTION_SERVICE_OPTIONS
token)
v1.2.6
Documentation improvements