Skip to content

v5.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Nov 21:46
· 64 commits to master since this release

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