v5.1.0
OnTopic 5.1.0 is a minor release which introduces support for mapping constructor parameters (#35) and defining what model to use when mapping associations via the [MapAs()] attribute (#41). Primarily, however, it is focused on bug fixes, and resolves a number of priority issues.
Features
- #37 Reference configuration posted to OnTopic-Schema
- #41
[MapAs()]attribute for specifying the mapping type of a property or collection - #35 Map constructor parameters
Improvements
- #83
TopicMappingService: Proactively check type compatibility - #72
Sitemap: Exclude Private or System Branches withIsProtected - #77 Validate
!IsNewonTopicRepositorymethods - #42
ReverseTopicMappingService: Overwrite existing topic references
Bugs
- #47
Delete()throws exception if topic references are present - #46
Load()treats deleted references as unresolved - #76 Unable to move first child after a sibling
- #53 Existing Topics w/
ParentmarkedIsDirty() - #73 Implicitly
IsDirty()topics not being saved - #86 Versions getting saved even if no attributes have been modified
- #71 Null values overwrite initialized defaults
- #38, #52
IncomingRelationshipsare not being removed fromTopicReferenceCollection.Clear()orSetValue()w/null - #79
Remove()andClear()offer a backdoor toenforceBusinessLogic - #50
TopicRenamedevent not being raised - #75, #88 Factor associations into
ConsolidateVersions,DeleteOrphanedLastModifiedAttributes - #78
VersionHistoryIndexshould account for all versioned tables, not justAttributes - #60, #61 Prioritize area views over regular views, and fall back
- #61 Views should fall back to using the controller action, if available
- #63
TopicViewResultExecutorfails if there are multiple HTTP Accept Header values
For a comprehensive list of bug fixes and improvements, see Pull Request #85.