Skip to content

Latest commit

Β 

History

History
261 lines (122 loc) Β· 11.6 KB

CHANGELOG.md

File metadata and controls

261 lines (122 loc) Β· 11.6 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.1.0 (2022-04-10)

Features

  • reactive-forms: add invalid$ and valid$ (f232fa1)

Bug Fixes

4.0.4 (2022-01-12)

Bug Fixes

  • wrong usage of Control generic type in FormArray for FormBuilder and for ValuesOf (849500f)

4.0.3 (2022-01-04)

Bug Fixes

  • markAllDirty(FormGroup) not marking children (5dcab34), closes #135

4.0.2 (2021-12-02)

Bug Fixes

  • πŸ› remove redundant peer deps (e795e69), closes #130

4.0.1 (2021-11-27)

Bug Fixes

4.0.0 (2021-11-20)

⚠ BREAKING CHANGES

  • 🧨 The library now requires Angular v13

Features

  • 🎸 upgrade to Angular v13 (26dab48), closes #117

3.1.4 (2021-11-17)

Bug Fixes

  • πŸ› form array get raw value should work (565c885), closes #116

3.1.3 (2021-10-28)

Bug Fixes

  • πŸ› fix type of enable disable (67a5490), closes #115
  • πŸ› fix type of status$ property (a106a3e), closes #113

3.1.2 (2021-10-25)

Bug Fixes

  • πŸ› fix type of status$ property (a106a3e), closes #113

3.1.0 (2021-10-21)

Features

Bug Fixes

  • controlsOf: allow using optional fields (513beee), closes #111

3.0.0 (2021-10-08)

⚠ BREAKING CHANGES

  • library: refactor the entire code

I completely rewrote the library from scratch for two reasons:

  1. Provide as much support as possible without introducing bugs, breaking strict mode, or creating an inconvenient API.
  2. Reduce the library size.

Here are the changes:

  • Angular's peer dependency is now >= 12.
  • FormGroup's generic was removed in favor of the experimental ControlsOf interface.
  • Remove mergeValidators. Use addValidators in v12.
  • Remove validateOn.
  • Remove getControl in favor of get(key) or get(['nested', 'key']).
  • Remove errors typing.
  • Validators should now be imported from Angular.
  • FormBuilder doesn't support generic anymore. Due to the complexity of the builder API, we're currently couldn't create a "good" implementation of ControlsOf for the builder.
  • Remove the group.persist() from the instance to an exported function to make it tree-shakeable.

Features

1.7.5 (2021-08-09)

Bug Fixes

  • πŸ› fix merge validators (c8e524b), closes #87

1.7.4 (2021-07-28)

Bug Fixes

  • control: avoid throw of error with async validator (cf8f861), closes #91

1.7.3 (2021-05-20)

Bug Fixes

  • πŸ› fix umd bad complier for getters and setters (6bf84bf), closes #88

1.7.2 (2021-03-21)

Bug Fixes

  • πŸ› fix control types (b64da9c), closes #85

1.6.1 (2021-03-14)

Bug Fixes

  • πŸ› expose diff operator (3fc264e), closes #83

1.6.0 (2021-01-30)

Features

  • persist values of disabled controls (9dae31f)

1.5.2 (2021-01-20)

Bug Fixes

  • allow to pass options to updateValueAndValidity method (3edb8ae)

1.5.1 (2020-12-10)

Bug Fixes

1.5.0 (2020-11-29)

Features

  • 🎸 enrich abstract control type (2a018eb)

Bug Fixes

  • handle 'any' values properly in 'ControlOf' (#60) (779e083)
  • handle 'any' values properly in 'patchValue' (#59) (0ccdd2e)

1.4.4 (2020-11-18)

Bug Fixes

  • accept deep partials in patchValue and reset methods (#54) (ee41c40)

1.4.3 (2020-10-27)

Bug Fixes

  • πŸ› resolve control type when no generic given (#57) (8eb1fa4)

1.4.2 (2020-10-22)

Bug Fixes

  • πŸ› add ControlsOf type to public API (8423c5a)

1.4.1 (2020-10-22)

Bug Fixes

  • πŸ› add ControlOf type to public API (6c44f38)

1.4.0 (2020-10-22)

Features

  • support exact control types in FormGroup and FormArray (#35) (0734d55)

1.3.1 (2020-09-16)

Bug Fixes

  • make sure errors$ is nexted when setErrors is called manually (ce820fc)

1.3.0 (2020-08-27)

Features

  • add a helper to remove error by key (64cabc6)
  • provide a mergeErrors helper method (e6c9a82)

Bug Fixes

  • better mergeErrors(null) support (9925e49)

1.2.0 (2020-08-24)

Features

  • form-array: implement remove helpers (0011944)

Tests

  • form-array: write spec for remove helpers (419c8c2)

1.1.0 (2020-08-02)

Features

  • doc: documentation for persist form (eae2ba7), closes #24
  • storage: add persist form to storage (2ca8e6e), closes #24
  • storage: add support for async storage types (6cd39d8), closes #24

1.0.0 (2020-07-06)