Skip to content

Releases: e-oz/ngx-collection

3.3.1

26 Sep 09:31
Compare
Choose a tag to compare

Allow getItem() to accept undefined as input (return type has not been changed).

3.3.0

18 Sep 12:11
Compare
Choose a tag to compare

Workaround for Angular Signals issue #51812.

3.2.2

02 Sep 10:57
Compare
Choose a tag to compare

The second parameter in getItemByPartial() is optional now.

3.2.1

27 Aug 15:43
Compare
Choose a tag to compare

Support Angular v17.

3.2.0

06 Aug 19:02
Compare
Choose a tag to compare
  • New state field: $isBeforeFirstRead: Signal<boolean>.
    Initialized with 'true', will be set to false after the first execution of read(), readOne(), or readMany().
    It is designed to be used with 'No entries found' placeholders.
  • effect() helper was renamed to createEffect() to don't conflict with Angular's effect() function.
    createEffect() is still exported as effect() for backwards compatibility, and as sideEffect() to don't conflict with NgRx.Store's createEffect().

3.1.7

19 Jul 17:31
Compare
Choose a tag to compare

effect() helper will now resubscribe on errors, so if you forgot to catch an error - it's not an issue anymore.
Also, if a value, passed to the effect, is an Observable, and this observable throws an error, the observable will be resubscribed automatically.

3.1.6

18 Jul 05:45
Compare
Choose a tag to compare

getItem() and getItemByField() now accept equalFn parameter - you can set your own equality check function or set undefined to use the default one.

3.1.5

13 Jul 06:59
Compare
Choose a tag to compare
  • Specialized equality check functions will be used in getItem() and getItemByField().
  • Better documentation and more tests for equality check functions.

3.1.4

12 Jul 14:14
Compare
Choose a tag to compare
  • Only update status$ signals when needed.
  • signalEqual object is exposed as public API - here you can find functions to use for custom equality checks.

3.1.1

12 Jul 12:13
Compare
Choose a tag to compare

Better equality functions for signals.