# 3.1.0
Released at 2020-09-21T15:21:44.250Z

Breaking changes:
- In **Extended email notifications** module, in `Mail server` settings, `SSL` flag has been removed, and new option `Transport security` has been added instead.
- The internal logic of **Extended auto properties** module has changed and configured properties are no longer converted into automatic properties. They are instead regular properties that are recalculated on each object change. Before installing this application version, make sure to disable Extended auto properties module in order for all generated scripts to be removed from property definitions. Otherwise, you will have to do this manually.
-  The internal logic of **Extended document processing** module has changed in simmilar fashion to the Extended auto properties. Action scripts are are no longer added to workflow states configured in this module. They are instead executed on each object change that causes object to go into configured state. Before installing this application version, make sure to disable Extended document processing module in order for all generated scripts to be removed from workflow state definitions. Otherwise, you will have to do this manually.

Features 
- SQL Integration (#53) 
- HTTP Integration (#70)
- Scheduled rule trigger (#44) 
- Change auto properties modules to be rule based (#77) 
- Support for filter and stop conditions for automatic properties (#81) 
- Support for default value in auto properties (#102) 
- Recalculate button for automatic properties modules (#83) 
- Dashboard buttons for RunOnce rules execution (#68) 
- Advanced property expansion settings (#62) 
- Filename wildcard filter in document processing actions (#95) 
- Advanced settings in modules configurations (#67) 
- Advanced rule option: Source from triger or from vault search (#64) 
- Using placeholder editor for property referencing in validation configuration (#21)  
- Configuration schema and version stored to Named Value Storage (#104) 
- Debug logs changed level to verbose, diagnostic ones are now debug (#69) 

Bug fixes 
- Target reference property required even when hidden (#101) 
- Update module names in log message for RunOnce rules (#99) 
- Missing property not treated as empty in property calculations (#94) 
- State and class not being checked in all versions when LookIn is set to AllObjVersions (#93) 
- Incorrect comparison of lookup values in property validation (#91) 
- License information in dashboard not encoded properly (#89) 
- Error checking condition in search filter when lookup is empty or missing (#86) 
- Run once and scheduled triggers checking monitored properties (#85) 
- Scheduled rules being triggered on event (#80) 
- SSL/TLS settings improvements in E-mail notifications (#71)

# 3.0.10
Released at 2020-07-14T11:13:16.963Z

Bug fixes:
- Issue with MFidentifiers not being resolved (#76, #74)
- Object changed trigger not registred for automatic state transition (#72)
- Automatic properties changing property definitions when module is not enabled and available (#61)
- Monitored properties treating empty property in first object version as changed (#60)
- In Property operations, null reference exception in property value comparison

# 3.0.9
Released at 2020-07-08T10:23:46.821Z

Bug fixes
- In Document processing, original file not was not restored when object contained files that cannot be converted to PDF

# 3.0.8
Released at 2020-06-12T11:23:05.461Z

Changes:
- Added support for stored procedure in Property builder. (#13)
- Added support for Functions in all proeprty setters. (#40)
- Added EULA notice to dashboard. (#50)
- Added iterator to Extended object creation. (#54)
- Added MultiSelectLookupBehaviour to property setter. (#59)

Bug fixes:
- Fixed Property operations not triggered on indirect reference + Object Created trigger. (#45)
- Fixed Property operations not triggered on indirect reference + Object Entered State trigger. (#56)
- Property operations on single object now executes in event handler. (#52)
- Fixed monitored properties not being checked for first version. (#55)
- Fixed properties being copied to first target only. (#57)
- Fixed too deep recursion error when using Source search filters.(#58)

# 3.0.7
Released at 2020-05-20T12:04:44.553Z

Changes:
- Fixed signature image filename wildcard bug. (#46)
- Implemented vault search in copy properties target fetching. (#39)
- Enabled all default placeholders in configuration placeholder editors, plus self placeholder. (#43)
- Updated various configuration labels and application description.

The following config elements have been changed

| Module | Element | Change | 
| ------ | -------- | -------- | 
| Common | SearchFilters | Renamed to SearchConditions and is now an elemnt inside new SearchConditionFilters array |
| Common | VaultSearchSort | Now moved one level up: is a sibiling of VaultSearchFilters, instead of being a child. | 
| Object creation | VaultSearchSortable | Renamed to VaultSearchFilters | 

# 3.0.6
Released at 2020-05-14T10:06:55.687Z

Changes:
- Modules rename (#29)
- Users and Groups in E-mail TO, BCC, CC (#27)
- SFO template bug fix in Object creator (#41)
- Forced workflow bug fix in Object creator and Advanced templates (#19)
- Search fileters and Vault search are now lists whose elements are combined with OR (#34)
- Signature and watermark improvements (#36)
- By alias referencing bug fix in Auto properties (#38)

The following config elements have been changed and may need to be updated manually

| Module | Old name | New name | 
| ------ | -------- | -------- | 
| Common | SearchFilters | SearchConditionFilters | 
| Common | VaultSearch | VaultSearchFilters | 
| Document processing | Watermark | Watermarks | 
| Document processing | Signature | Signatures | 
| Object creation | VaultSearchSortable | VaultSearchFiltersSortable | 
| Email notifications | To | ToRecipients | 
| Email notifications | CC | CcRecipients | 
| Email notifications | BCC | BccRecipients | 

# 3.0.5
Released at 2020-05-05T12:40:37.584Z

Fixes:
- State action update through document approval configuration rule. (#30)
- Watermark removal from file that is originally in PDF format fix. (#31)
- Macro properties allow null values for dates. (#32)
- Property selector configuration editor MFIdentifier resolution fix. (#33)
- Process crashing on vault structure validation fix.
- Various dashboard improvements.

Changes:
- Allow multiple new objects for single rule.
- Filter options by various creation types (manual, from template object, from template property).
- Configurable error handling type.

The following config elements in `Object creator` module have been changed and may need to be updated manually:

| Element | Change | 
|-------- | ------ | 
| New objects | Changed from object to array and renamed from `New object` to `New objects` |
| Type | Added selection element |
| Template type | Added selection element |
| Error handling behaviour | Added selection element |

# 3.0.2
Released at 2020-04-23T13:40:17.539Z

Fix event handdlers for calculated and copy properties.

Introduced module based log `EventId`s.

Fixed date parsing in property setter editor.

Copy properties
- Added Copy Mode option (single, or separate objects) 
- Added Is additional property flag

Macro properties
- Using `<<` and `>>` as tokens.
- Properties now defined in config.
- Daily properties recalculation.
- Bug fix in parse method.

Dashboard
 - Added serial number
 - Added list of included modules
 - Added event summary and last execution time for each module

# 3.0.4
Released at 2020-04-23T13:38:22.442Z

Introduced module based log `EventId`s.

Fixed date parsing in property setter editor.

Copy properties
- Added Copy Mode option (single, or separate objects) 
- Added Is additional property flag

Macro properties
- Using `<<` and `>>` as tokens.
- Properties now defined in config.
- Daily properties recalculation.
- Bug fix in parse method.

Dashboard
 - Added serial number
 - Added list of included modules
 - Added event summary and last execution time for each module

# 3.0.0
Released at 2020-04-17T07:25:44.628Z

New features:
- Migration to VAF 2.1.
- New trigger: OnComment.
- Add Monitored properties to ObjectChanged trigger.
- Add triggers to Validation module.
- Hide query type in SQL property builder.
- Add Send Type options for e-mail notificaions.

Fixes and improvements:
- Fix digest version lookup.
- Fix Validation + License M-FIles bug.
- Fix lookups comparison in Copy Properties module.
- Dont trigger calculated properties trigger on parent change when relationship is child-to-parent.
- Don't create email objects in vault.
- Document approval config improvements.
- Fix address expansion in email notification models.
- Fix admin logout on error.

# 3.0.1
Released at 2020-04-17T07:17:41.282Z

Hide monitored properties in Validation module if trigger is not ObjectChanged.

# 2.8.4
Released at 2020-04-08T10:46:17.070Z

Fixes and improvements:
 - Update VAF Helpers package to version that doesn't use names in admin config.
 - Fix admin logout on error.
 - Hide sort in VaultSearch where it is not used.

# 2.8.3
Released at 2020-04-03T10:39:26.426Z

Fixes and improvements:
- Added Count function in Calculated Properties.
- Expanding placeholders in Sql Property Builder query.
- Validator doesn't validate templates.
- Nullreference in empty config fix.
- Duplicate notifications creation fix.

# 2.8.2
Released at 2020-04-03T10:36:10.587Z

Better error message in *Copy Properties*.

# 2.8.1
Released at 2020-04-03T10:34:52.378Z

Config changes

> IMPORTANT:
> 
> All congifuration element names now use PascalCase naming convention. 
>
> In *Document Approval*, `Retry interval (milliseconds)` element renamed to `RetryInterval`

# 2.8.0
Released at 2020-03-28T15:15:23.234Z

## Changes

Typo fix in trigger name

| Old Value| New value |
| ------ | ------ |
| EnterdState | EnteredState |


# 2.7.1
Released at 2020-03-20T11:55:22.457Z

## Changes

### Calculated Properties conifguration

*Calculated Properties* configuration now with more info messages and tooltips.

Breaking JSON config changes:

| Old Value| New value |
| ------ | ------ |
| Parent Object | ParentObject |
| Parent Property | CalculatedProperty |
| Children Objects | ChildrenObjects |
| Children Property | CalculationProperties * |
| Relationship Mode | RelationshipMode |
| Relationship Property | RelationshipProperty |
| Vault search | VaultSearch |
| Search filters | SearchFilters |
| Sort by | SortBy |
| Search result | SearchResult ** |
| Vault search | VaultSearch |

\* also changed type from JSON object to array

\*\* moved inside `VaultSearch` object 

### Logging

Instead of logging to a single file, now logging to separate debug, info and warning files.


# 2.1.0
Released at 2020-01-03T09:19:56.423Z

Changes:
 - CalculatedProperties module.

# 2.0.1
Released at 2019-09-03T16:45:41.827Z

Added validation messages for license status. Other minor fixes and improvements.

# 2.0.0
Released at 2019-08-07T15:39:26.201Z

**This release introduces some breaking changes** which are listed below, alongside with instructions on how to migrate to this version.

### Workflow state in Document Approval config filtered by workflow
For each selected state in actions, set workflow as well.

### Tags in Document Approval state scripts
State scripts for Actions now include opening and closing tags. This makes it possible to add actions to states with existing custom scripts.
In order for things to continue working properly, you will need to add these tags to existing state scripts manually.

Opening tag, that should be added at the top of each script, looks like below.
```
' >>>>>>>>>>>> Unitfly.ExtensionKit.VAF.MethodName
```
Closing tag, that should be added at the bottom of each script, looks like snippet below.
```
' <<<<<<<<<<<< Unitfly.ExtensionKit.VAF.MethodName
```

For all actions, just replace `MethodName` with actual method name.

| Action | Method Name |
|--------|-------------|
| Add watermark | AddWatermark |
| Convert to PDF | ConvertToPdf |
| Create new version | CreateNewVersion |
| Remove watermark and signature | RemoveWatermark |
| Restore From PDF | RestoreOriginal |
| Add signature | Sign |
