Skip to content

Latest commit

 

History

History
432 lines (228 loc) · 23.1 KB

CHANGELOG.md

File metadata and controls

432 lines (228 loc) · 23.1 KB

Changelog

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)

Features

  • update to Angular 16 and Nx 16 (e0cc05f)

2.3.3 (2022-11-25)

Bug Fixes

  • disable updateBuildableProjectDepsInPackageJson in angular lib (4a9cf40)

2.3.2 (2022-11-25)

Bug Fixes

2.3.1 (2022-11-25)

Bug Fixes

  • added support work in angular 15 and >=12 (#213) (15c2f02)

2.3.0 (2022-11-25)

Features

  • update deps, angular from 13 to 15, nx from 13 to 15 (e682987)

2.2.2 (2022-06-26)

Bug Fixes

2.2.1 (2022-02-19)

Bug Fixes

  • 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)

Features

Bug Fixes

  • add childFormGroup for work with nested FormArrays (#192) (c3bd0e2)

2.1.0 (2022-01-30)

Features

  • 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)

Bug Fixes

2.0.0 (2022-01-23)

⚠ BREAKING CHANGES

  • 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

Features

1.12.0 (2021-01-16)

Features

1.11.0 (2020-09-21)

Bug Fixes

  • chnage priority of validator options on run validate (2105da5)
  • update dependencies (6518784)
  • update detect logic object property value in ExposeNested (63b6445)

Features

  • 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)

Bug Fixes

  • remove ignoreDecorators from transform objects (d8cbeda)

1.10.0 (2020-09-16)

Features

  • 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)

Bug Fixes

  • add cloneDeep for argumentValidatorOptions on receive (86723c4)

1.9.0 (2020-09-13)

Features

  • rename customValidatorOptions to classValidatorOptions, add support change messages and titles on run time with set validatorOptions (aaf9c78)

1.8.0 (2020-09-11)

Bug Fixes

  • add support set nested object to undefined, update deps (6c7fa3c)

Features

  • add support translate title of properties in validation errors (dbba241)

1.7.0 (2020-09-09)

Features

  • 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)

Bug Fixes

  • docs: update version of Angular (08d704a)

1.6.0 (2020-08-14)

Features

  • update deps (Angular 10) (090b85b)

1.5.4 (2020-05-20)

Bug Fixes

  • 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)

Bug Fixes

  • add check not exists control (90437e3)

1.5.2 (2020-05-18)

Bug Fixes

  • change validators to "synchorical" type and small optimizations for GC (54308fc)

1.5.1 (2020-05-04)

Bug Fixes

  • add ignore error on try get value from not exists control (39a0773)

1.5.0 (2020-05-04)

Bug Fixes

  • remove class-transformer and class-validator from production dependencies (445b3bc)

Features

  • update dependencies (920fc2d)
  • update for correct work new version of class-validator (f7da8dd)

1.4.0 (2020-04-14)

Bug Fixes

  • add support for conditional validations (9c738a9)
  • update for correct support conditional validations (1c0e744)

Features

  • update dependencies and fix sources for it (6daff8e)

1.3.0 (2020-03-19)

Bug Fixes

  • add unsubscribe from subscribe to form group changes, change transform class validator to usage async angular validator (59270ba)

Features

  • add control name to DynamicFormControl (a033091)

1.2.0 (2020-03-12)

Features

1.1.0 (2020-02-11)

Features

  • update for new tslint and tsconfig rules (3de5c31)
  • update versions of deps (3ab7069)

1.0.0 (2019-05-04)

Bug Fixes

  • Change private transformValidationErrors to public (f80e6e9)

Features

  • 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)

Bug Fixes

  • Add use standalone lodash.clonedeep and lodash.mergewith in lib (d38198d)

0.10.0 (2019-05-03)

Bug Fixes

Features

  • Add support classLevelValidator with native angular validators and update sample for it (#106, #107) (26ee044)

0.9.0 (2019-01-21)

Bug Fixes

  • Ivalidate formGroup if founded any castomValidationErrors (26a26ec)

Features

  • Add objectChange event on update with set object (62e05d8)

0.8.1 (2019-01-12)

Bug Fixes

  • dynamic-form-group: Refactor isValid detect in createCustomValidation (49871c5)
  • Set value from control on createNestedValidate if it (6dc9c1c)

0.8.0 (2019-01-12)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • Change externalErrors and validatorOptions with getter and setter to functions: setExternalErrorsAsync, setExternalErrors, clearExternalErrorsAsync, clearExternalErrors and setValidatorOptionsAsync, setValidatorOptions (e256c0f)

0.6.1 (2018-12-21)

Bug Fixes

  • Update transformValidationErrors for correct output errors for array (e526426)

0.6.0 (2018-12-21)

Bug Fixes

  • Wrong work with exists nested exeperimental sample (#74) (407b9de)

Features

  • Add support bind class validator to array controls and array form groups (#74, #75) (90f8c3e)

0.5.1 (2018-12-10)

Bug Fixes

0.5.0 (2018-11-17)

Features

  • deps: Update dependencies (65913d1)

0.4.4 (2018-09-16)

Bug Fixes

  • deps: Update dependencies (5833025)

0.4.3 (2018-06-18)

Bug Fixes

  • 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)

Bug Fixes

  • Add whitelistedNonPeerDependencies in ng-package.json (06fdac7)

0.4.1 (2018-06-05)

Bug Fixes

  • Add needed deps to devDependencies (540e775)

0.4.0 (2018-06-03)

Bug Fixes

  • sw: Update path for ngsw-worker.js (0491271)

Features

  • Update to Angular 6 and Rx 6 (f600e3c)

0.3.2 (2018-03-23)

Bug Fixes

  • dynamic-form-group: Change code for correct work with externalErrors (renamed from otherErrors) (087772b)

0.3.1 (2018-03-09)

Bug Fixes

  • dynamic-form-builder: Add ValidatorOptions for nested objects validations (95b4dfd)

0.3.0 (2018-03-09)

Features

  • dynamic-form-builder: Add support use ValidatorOptions (57ac15a)

0.2.1 (2018-03-01)

Bug Fixes

  • dynamic-form-group: Change return object type for nested object if it type is DynamicFormGroup (8bb303e)

0.2.0 (2018-02-28)

Bug Fixes

  • dynamic-form-group: Remove hard dependencies of class-transformer, for use alternative class mapper using the decorators (8aff1c4)

Features

  • dynamic-form-group: Added method classToClass and plainToClass to override and customize transformation algorithm (734f9ea)

0.1.0 (2018-02-28)

Bug Fixes

  • 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)

Features

  • dynamic-form-group: controlsConfig set to optional in method "group" (811b824)