Releases: OnTopicCMS/OnTopic-MVC
Releases · OnTopicCMS/OnTopic-MVC
v4.0.0
This release maintains minimal compatibility with the recent release of OnTopic Library 4.0.0, which contains significant changes to the API as well as new functionality. New projects should use the new ASP.NET Core 3.1 adapter; this ASP.NET MVC Framework version, however, will continue to be supported in the near-term for ASP.NET projects.
Highlights
- Renamed all namespaces from
Ignia.Topics*
toOnTopic*
(e.g.,Ignia.Topics.Web.Mvc
is nowOnTopic.Web.Mvc
) - Updated the
LayoutController<T>
to use the newIHierarchicalTopicMappingService<T>
service - Introduced barebones
Host
project for testing
New Features
- Updated the
LayoutController<T>
to use the newIHierarchicalTopicMappingService<T>
service
Code Changes
Library
- Upgraded to .NET Framework 4.8
- Replaced legacy Code Contracts (RIP) with
OnTopic.Internal.Diagnostics.Contract
class - Migrated to C# 8.0's new nullable annotation context
- Migrated to Visual Studio 2019's support for
<inheritDoc />
on XMLDOCs - Migrated to Visual Studio 2017's new project format (core library only)
- Adopted Visual Studio's code analysis conventions such as expression bodied members
- Consistently applied e.g.
CultureInfo
andStringComparison
to avoid inconsistencies with localization - Ensured all dependencies are marked
readonly
and uninitialized (as they are set in the constructor) - Fully adopted semantic versioning via GitFlow and GitVersion
- Began using
git merge --no-ff
so we can better track merges independent from feature commits
Frontend
- Moved to new
OnTopic-MVC
repository (this release) - Introduced barebones
Host
project for testing
Breaking Changes
Library
- Renamed all packages from
Ignia.Topics*
toOnTopic*
(e.g.,Ignia.Topics.Web.Mvc
is nowOnTopic.Web.Mvc
) - Renamed all namespaces from
Ignia.Topics*
toOnTopic*
(e.g.,Ignia.Topics.Web.Mvc
is nowOnTopic.Web.Mvc
)
Frontend
- Dependencies for some services (e.g., the underlying
LayoutController
) have been updated to reflect new features (such as theIHierarchicalTopicMappingService<T>
)
Important: The OnTopic 4.0.0 release contains many breaking changes. See the release notes for more information.