All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.4.1 (2023-05-25)
2.4.0 (2023-05-25)
- update to Angular 16 and Nx 16 (e0cc05f)
2.3.3 (2022-11-25)
- disable updateBuildableProjectDepsInPackageJson in angular lib (4a9cf40)
2.3.2 (2022-11-25)
2.3.1 (2022-11-25)
2.3.0 (2022-11-25)
- update deps, angular from 13 to 15, nx from 13 to 15 (e682987)
2.2.2 (2022-06-26)
- lock versions of deps (f61029b)
2.2.1 (2022-02-19)
- add check type of array, check for DynamicFormArray (6e115a5)
- setObject -- inconsistent behavior on FormArrays (#195) (767f540)
- the initial value of formArrayLength is unused, since it is always overwritten (569726f)
2.2.0 (2022-02-09)
- update deps (e9da929)
2.1.0 (2022-01-30)
- add support native Angular validators (#183), support correct work with isOptional (#188), add excludeGroups for fix recursive errors and unexpected creation of submodels (#185) (d9d8c77)
2.0.1 (2022-01-23)
- update readme (f7f9ca3)
- Version above 2 has a completely rewritten code, partially backwards compatible
Now @Expose
and @Exclude
decorators are used to define model fields, the new version is rigidly dependent on class-transform
Dependencies are not used original, but forks with additional necessary properties, when using this library, you need to replace all original imports with forks with modifications
Fork class-validator-multi-lang - adds translation capability for errors (PR:typestack/class-validator#743)
Fork class-transformer-global-storage - adds the ability to get meta information about all used classes (PR:typestack/class-transformer#929)
For correct parse metadata, need remove compilerOptions.downlevelIteration
and append compilerOptions.emitDecoratorMetadata: true
in tsconfig.json
- rewrite all project (b5c4831)
1.12.0 (2021-01-16)
1.11.0 (2020-09-21)
- chnage priority of validator options on run validate (2105da5)
- update dependencies (6518784)
- update detect logic object property value in ExposeNested (63b6445)
- add classTransformToPlainOptions for custom logic in convert to object to class, add decorator ExposeNested (bce8fb8)
- change all private methods and fields to protected for extends and customization (bf81463)
1.10.1 (2020-09-17)
- remove ignoreDecorators from transform objects (d8cbeda)
1.10.0 (2020-09-16)
- add factoryFormBuilder for customizations, add classValidatorOptions and classTransformOptions to DynamicFormBuilderOptions for set base options for all groups (5b2dd39)
- add options on constructor in DynamicFormBuilder for use custom dynamic form group (5befeab)
- add serialize from/to json (0ca3a22)
- add validateAllFormFields for builder and form group options for force run validate after create form group (08ba24a)
- improved performance by disabling unnecessary class transformations (e61c39e)
1.9.1 (2020-09-14)
- add cloneDeep for argumentValidatorOptions on receive (86723c4)
1.9.0 (2020-09-13)
- rename customValidatorOptions to classValidatorOptions, add support change messages and titles on run time with set validatorOptions (aaf9c78)
1.8.0 (2020-09-11)
- add support set nested object to undefined, update deps (6c7fa3c)
- add support translate title of properties in validation errors (dbba241)
1.7.0 (2020-09-09)
- change class-validator to class-validator-multi-lang for support i18n (df0eab4)
- support errors messages switching between languages, in runtime (ca623c4)
1.6.1 (2020-08-14)
- docs: update version of Angular (08d704a)
1.6.0 (2020-08-14)
- update deps (Angular 10) (090b85b)
1.5.4 (2020-05-20)
- add hash function for calculate hache add validation (7fb2be3)
- speed up on work with short version of model (892ba43)
1.5.3 (2020-05-18)
- add check not exists control (90437e3)
1.5.2 (2020-05-18)
- change validators to "synchorical" type and small optimizations for GC (54308fc)
1.5.1 (2020-05-04)
- add ignore error on try get value from not exists control (39a0773)
1.5.0 (2020-05-04)
- remove class-transformer and class-validator from production dependencies (445b3bc)
1.4.0 (2020-04-14)
- add support for conditional validations (9c738a9)
- update for correct support conditional validations (1c0e744)
- update dependencies and fix sources for it (6daff8e)
1.3.0 (2020-03-19)
- add unsubscribe from subscribe to form group changes, change transform class validator to usage async angular validator (59270ba)
- add control name to DynamicFormControl (a033091)
1.2.0 (2020-03-12)
1.1.0 (2020-02-11)
1.0.0 (2019-05-04)
- Change private transformValidationErrors to public (f80e6e9)
- Add method resetValidateAllFormFields to reset all errors (8642886)
- Add support use native angular validations, create sample for it - combo (fd48f90)
0.10.1 (2019-05-04)
- Add use standalone lodash.clonedeep and lodash.mergewith in lib (d38198d)
0.10.0 (2019-05-03)
- Update dependencies (3c88ce1)
- Add support classLevelValidator with native angular validators and update sample for it (#106, #107) (26ee044)
0.9.0 (2019-01-21)
- Ivalidate formGroup if founded any castomValidationErrors (26a26ec)
- Add objectChange event on update with set object (62e05d8)
0.8.1 (2019-01-12)
- dynamic-form-group: Refactor isValid detect in createCustomValidation (49871c5)
- Set value from control on createNestedValidate if it (6dc9c1c)
0.8.0 (2019-01-12)
- Revert to original getClassValidators for correct validate arrays and refactor code more readable (bf296c3)
- dynamic-form-group: Fix test error due to recursive types (87bfee8)
- dynamic-form-control: Add validation definitions to form controls (8cbb9a2)
- dynamic-form-group: Group type safety (f183e49)
- dynamic-form-group: Implement a non-observable error API (ac713c8)
0.7.0 (2018-12-30)
- Change externalErrors and validatorOptions with getter and setter to functions: setExternalErrorsAsync, setExternalErrors, clearExternalErrorsAsync, clearExternalErrors and setValidatorOptionsAsync, setValidatorOptions (e256c0f)
0.6.1 (2018-12-21)
- Update transformValidationErrors for correct output errors for array (e526426)
0.6.0 (2018-12-21)
0.5.1 (2018-12-10)
- Update dependencies (db8c595)
0.5.0 (2018-11-17)
- deps: Update dependencies (65913d1)
0.4.4 (2018-09-16)
- deps: Update dependencies (5833025)
0.4.3 (2018-06-18)
- dynamic-form-group: Fix validators that expect more than one argument and fix work with conditional validations #36 (30a0a6c)
0.4.2 (2018-06-06)
- Add whitelistedNonPeerDependencies in ng-package.json (06fdac7)
0.4.1 (2018-06-05)
- Add needed deps to devDependencies (540e775)
0.4.0 (2018-06-03)
- sw: Update path for ngsw-worker.js (0491271)
- Update to Angular 6 and Rx 6 (f600e3c)
0.3.2 (2018-03-23)
- dynamic-form-group: Change code for correct work with externalErrors (renamed from otherErrors) (087772b)
0.3.1 (2018-03-09)
- dynamic-form-builder: Add ValidatorOptions for nested objects validations (95b4dfd)
0.3.0 (2018-03-09)
- dynamic-form-builder: Add support use ValidatorOptions (57ac15a)
0.2.1 (2018-03-01)
- dynamic-form-group: Change return object type for nested object if it type is DynamicFormGroup (8bb303e)
0.2.0 (2018-02-28)
- dynamic-form-group: Remove hard dependencies of class-transformer, for use alternative class mapper using the decorators (8aff1c4)
- dynamic-form-group: Added method classToClass and plainToClass to override and customize transformation algorithm (734f9ea)
- Change form.object update method (417a533)
- dynamic-form-builder: Divided the old method and the experimental by the optional controlsConfig attr (928a908)
- scripts: Update for correct build (30f53b5)
- dynamic-form-group: controlsConfig set to optional in method "group" (811b824)