MVC.Template v1.5.0 Release Notes

Release Date: 2015-10-26 // over 8 years ago
  • ➕ Added

    • ➕ Added support for scaffolding teardown data and setup data helpers in validator tests.
    • ➕ Added support for renaming privilege fields without dropping and recreating them.
    • ➕ Added support for specifying text area html attributes in bootstrap html helpers.
    • ➕ Added dummy favorite icon, to avoid not found responses on the client side.
    • ➕ Added support for authorizing as other controllers to authorize as attribute.
    • ➕ Added current account id property to all services and validators.
    • ➕ Added support for overwriting form label's required attribute.
    • ➕ Added more overloads for redirect if authorized method.
    • ➕ Added support for inserting and deleting models in bulk.
    • ➕ Added empty model state initialization to base validator.
    • ➕ Added support for locating partial views in area folders.
    • ➕ Added caching for authorized controller's metadata.
    • ➕ Added project renaming sources.

    👌 Improved

    • Replaced redirects to action with redirect if authorized to avoid redirects to unauthorized.
    • 🔀 Merged same header resources to one, to decrease time spent on writing resource files.
    • Made base datalist customization easier, by using TView instead of TModel as a base.
    • 0️⃣ Made read only input focus grayed out, for consistency with default read only styling.
    • Made unit of work's, To and GetAs methods take more generic destination classes.
    • 🚚 Moved setting of controller's model state and alerts to on action executing method.
    • Replaced table specific alignment classes with more generic bootstrap ones.
    • Replaced RequestContext usages with ViewContext ones where possible.
    • ✅ Made JsTree extensions tests stricter, to possibly avoid regression.
    • 🚚 Moved view resources to their perspective area/controller folders.
    • 🐎 Increased audit logger serialization performance by ~100%.
    • ✅ Renamed most of the tests to their shorter equivalents.
    • Replaced database based logger with file based one.
    • 🚚 Moved all tear down data methods to testing context.
    • 🔀 Merged validation result and it's message tests.

    🛠 Fixed

    • 🛠 Fixed, table action cells not keeping same width with other cells, then it's content is removed.
    • 🛠 Fixed, running data seed delete from automatic code first migrations, resulting in exceptions.
    • 🛠 Fixed, form date picker extensions test failing on windows 8+, because of changed format.
    • 🛠 Fixed, selecting a value no longer available in GetModels method resulting in empty input.
    • 🛠 Fixed, culture info being filtered by using reference equality, instead of instance one.
    • 🛠 Fixed, selecting date from date or date and time picker, did not revalidate the field.
    • 🛠 Fixed, non member expression with specified requireness not throwing exception.
    • 🛠 Fixed, overflowing widget content not being shown inside a scroll container.
    • 🛠 Fixed, profile password fields being auto completed from login information.
    • 🛠 Fixed, dynamically added JsTree values not being posted on form submit.
    • 🛠 Fixed, multiple JsTrees on one page not loading selected nodes.
    • 🛠 Fixed, non string resources failing the cultural equivalence test.
    • 🛠 Fixed, warnings as errors rule being disabled in release mode.
    • 🛠 Fixed, checkboxes with read only attribute still being clickable.
    • 🛠 Fixed, clicking on alert close resulting in page moving to top.
    • 🛠 Fixed, today's date not being highlighted in date pickers.
    • 🛠 Fixed, role service crashing on not found role.

    ✂ Removed

    • ✂ Removed VS2012 from supported VS version list, because VS2013 is a free alternative.
    • ✂ Removed skipped tests, because they will never be runnable.