Skip to content

v5.1.0

Compare
Choose a tag to compare
@JeremyCaney JeremyCaney released this 12 Apr 19:53
· 264 commits to master since this release

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 with IsProtected
  • #77 Validate !IsNew on TopicRepository methods
  • #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/ Parent marked IsDirty()
  • #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 IncomingRelationships are not being removed from TopicReferenceCollection.Clear() or SetValue() w/null
  • #79 Remove() and Clear() offer a backdoor to enforceBusinessLogic
  • #50 TopicRenamed event not being raised
  • #75, #88 Factor associations into ConsolidateVersions, DeleteOrphanedLastModifiedAttributes
  • #78 VersionHistoryIndex should account for all versioned tables, not just Attributes
  • #60, #61 Prioritize area views over regular views, and fall back
  • #61 Views should fall back to using the controller action, if available
  • #63 TopicViewResultExecutor fails if there are multiple HTTP Accept Header values

For a comprehensive list of bug fixes and improvements, see Pull Request #85.