Skip to content

v4.6.19

Compare
Choose a tag to compare
@NightOwl888 NightOwl888 released this 15 Oct 06:48
· 8 commits to master since this release

Change Log

  1. Bug: This fix allows configuration of a Route (by name) without having to specify controller and action. This is to address a difference in behavior between configuring a route-based node and configuring a RouteLink in MVC.
  2. Enhancement: Streamlined the SiteMapXmlValidator code by removing the explicit calls to Close() and changing to using statements.
  3. Bug: Fixes #272, Added a separate request cache for the SiteMap.Url field so the AuthorizeAttributeAclModule doesn't prevent users from being able to resolve it with different route values.
  4. Bug: Fixes #409, Changed Unity MvcSiteMapProviderContainerExtension to produce instances at runtime instead of composition time. Also removed references to XmlSiteMapNodeProviderFactory and ReflectionSiteMapNodeProviderFactory since using ParameterOverride and DependencyOverride makes it possible to register without explicitly binding to a constructor signature. NOTE: This update is not required, but recommended. Use the diff 3b7638a14fb6a6e8d7226f1f652bd354f8400184 to update your Unity MvcSiteMapProviderContainerExtension.
  5. Bug: Fixes #414, Patches the Simple Injector MvcSiteMapProviderContainerInitializer using .NET Reflection so it will work with both Simple Injector 2.x and 3.x. .NET reflection was required to monkey-patch this module, since the restrictive use of the ObsoleteAttribute makes the code not compile when calling methods directly (see the discussion here). It is recommended that you pick a version (2.x or 3.x) and update the configuration so it will function with that version without the monkey-patch. But, it will work fine as is if you don't have the skill or knowledge to do so.
  6. Bug: Fixes Simple Injector packages (full package only) so that it will release Disposable controller instances.
  7. Bug: Fixes #392, Makes the default SiteMapNodeUrlResolver function with the MvcCodeRouting library.
  8. Enhancement: In preparation for DNX core, simplified the .NET reflection call to locate the default Index method if it exists on a controller when using MvcSiteMapNodeAttribute.
  9. Enhancement: In preparation for DNX core and per Microsoft's best practices, changed the symbolic .Equals comparisons to use Ordinal rather than Invariant Culture.
  10. Enhancement: Removed unnecessary using statements and sorted using statements alphabetically.
  11. Enhancement: Updated .gitignore with the latest changes from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore