Skip to content

Releases: cloudnc/ngx-sub-form

v6.0.4-fix-272.1

22 Sep 15:57
Compare
Choose a tag to compare
v6.0.4-fix-272.1 Pre-release
Pre-release

6.0.4-fix-272.1 (2022-09-22)

Bug Fixes

  • inject ChangeDetectorRef and call markForCheck in sideEffects (e76f270)
  • remove private ɵmarkDirty reference which was removed in angular 14.2. (eec042a)

v6.0.3

02 Aug 15:30
1f915b1
Compare
Choose a tag to compare

6.0.3 (2022-08-02)

Bug Fixes

v6.0.2

27 Jun 07:26
ca50754
Compare
Choose a tag to compare

6.0.2 (2022-06-27)

Bug Fixes

  • rename file to avoid broken export (e42fe2d)

v6.0.1

21 Jun 09:20
8bb3229
Compare
Choose a tag to compare

6.0.1 (2022-06-21)

Bug Fixes

  • update dependencies to fix an issue where createForm couldn't be imported from ngx-sub-form (a35e5e3)

v6.0.0

13 Jun 04:15
Compare
Choose a tag to compare

6.0.0 (2022-06-13)

Features

BREAKING CHANGES

  • requires angular 14

v5.3.2

08 Feb 09:06
Compare
Choose a tag to compare

5.3.2 (2022-02-08)

Bug Fixes

  • peer dependencies for angular and fast-deep-equal (cd8cc94)

v5.3.1

07 Feb 20:30
Compare
Choose a tag to compare

5.3.1 (2022-02-07)

Bug Fixes

  • peer dependencies for tsdef and ngx-observable-lifecycle (335ae02)

v5.3.0

04 Jan 16:01
Compare
Choose a tag to compare

5.3.0 (2022-01-04)

Bug Fixes

  • FormArray: Fix disabling of form array not propagating to child elements on creation (2b18b75)

Features

  • Dependencies: Upgrade all angular deps plus ngx-observable-lifecycle to latest, enable ivy compilation of lib (4ba0abb)

v5.2.0

21 Nov 21:46
Compare
Choose a tag to compare

5.2.0 (2021-11-21)

Bug Fixes

  • build of library failing (ec1fe2c)
  • CI: Add explicit waiter (78e4ac0)
  • CI: Fix readme and licence copying (f5a61a9)
  • CI: Refactor to use github actions (8122faa)
  • Disabled: Apply the markDirty for disabled in the same side effect so it delays for the init phase. (6586dcf)
  • Disabled: Disabled must emit in fallback option (01630e6)
  • Disabled: Mark form as dirty when disabling to ensure the disabled view is propagated with OnPush strategy (7d60d42)
  • FormArray validation: Ensure FormArray level validator errors are propagated to the parent subform (dd08be9)
  • lib: Cannot read property 'nodeIndex' of null thrown when component is being marked as dirty (with markDirty before the view is initialised (819ac0f)
  • rewrite: custom change detection with OnPush (21c61e3)
  • Root form emission: Fix mistaken missed negation in previous refactor. Refactor to make the clever one liner actually readable so this kind of mistake can't happen again (9162538)
  • Root form emission: It is required to double check validation of forms during sub form population phase (0bef549)
  • Update: prevent events emitting when data is populated, and when forms are (en|dis)abled (1fbfd4a)
  • Validation: Fix validation errors not propagating immediately (300800b)
  • Value emission: Fix invalid values being published that were valid in the previous tick (d60b29b)
  • add ngx-observable-lifecycle to package dependencies (738b36b)
  • do not use angular internal function markDirty as it may not been useful yet and causes issues (908e4b7)
  • expose shared utils/types through ngx-sub-form/new path so that we can import only from that one when migrating (a348cd4)
  • move ngx-observable-lifecycle and fast-deep-equal to peer deps (04339c6)
  • relax isRemap check as we can implement fromFormGroup and/or toFormGroup on a non remap component (it's optional but possible) (048996e)
  • Update to patched version of ngx-observable-lifecycle (5fc0fff)
  • use startWith on the writeValue$ hook otherwise root form component which are not bind to their input will never be able to emit updates (20b5dea)

Features

v6.0.0-feat-rewrite.17

18 Nov 21:33
bcf1d75
Compare
Choose a tag to compare
Pre-release

6.0.0-feat-rewrite.17 (2021-11-18)

Bug Fixes

  • build of library failing (7a87fbc)

Features

  • upgrade to Angular 13 and Ivy only compilation (982d493)

BREAKING CHANGES

  • By upgrading to Angular 13, ngx-sub-form will now stop publishing view engine compatible bundle.
    If you're still running a pre Angular 13 version and want to use ngx-sub-form from here it should still be safe to do so thanks to ngcc.
    If you're on Angular 13 already then when you install the dependencies by running npm install or yarn you shouldn't see ngx-sub-form in the list of libraries being compiled by ngcc anymore.