MVC.Template v1.9.0 Release Notes

Release Date: 2019-02-06 // about 5 years ago
  • โž• Added

    • โž• Added not tabbable attribute for readonly fields, to improve user experience.
    • โž• Added support for showing only unique alerts.

    ๐Ÿ‘Œ Improved

    • ๐Ÿ‘Œ Improved resources test coverage by adding sitemap and page title checks.
    • Replaced JsTree library for rendering trees with a native implementation.
    • Clarified project renaming instructions to avoid developer confusion.
    • 0๏ธโƒฃ Made boolean grid columns not multifiltered by default.
    • ๐Ÿ”’ Made default content security policy less permissive.
    • Replaced jquery based bootstrap with native one.
    • โšก๏ธ Updated bootstrap toolkit to v4.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed, error pages middleware not serving ajax failure responses with correct content type.
    • ๐Ÿ›  Fixed, datalist search being trimmed, resulting in unexpected results for the users.
    • ๐Ÿ›  Fixed, dyanmic script and styling provider crashing on multiple threads access.
    • ๐Ÿ›  Fixed, sitemap missing profile icons, resulting in weirdly spaced breadcrumb.
    • ๐Ÿ›  Fixed, form actions not being aligned correctly on higher resolution devices.
    • ๐Ÿ›  Fixed, readonly datalists not being correctly initialized in readonly widgets.
    • ๐Ÿ›  Fixed, grid outline styling mixing up with invalid input styling.
    • ๐Ÿ›  Fixed, menu filter not being reset when menu is collapsed.

    โœ‚ Removed

    • โœ‚ Removed ms clear pseudo elements from inputs, to avoid inconsistency problems.
    • โœ‚ Removed language selection when return url points to non root path.
    • โœ‚ Removed server header from all responses, to improve security.
    • โœ‚ Removed development context references in tests.
    • โœ‚ Removed dependency on PT Sans font.
    • โœ‚ Removed flaky label tests.

Previous changes from v1.8.0

  • โž• Added

    • โž• Added support for using alerts from javascript.
    • โž• Added support for using nullable ids to get model objects.
    • โž• Added support for changing antiforgery token cookie name.
    • โž• Added support for automatically disabling widget form inputs.
    • โž• Added support for truncating date values during model binding.
    • โž• Added support for using nullable ids to get mapped model objects.
    • โž• Added support for specifying admin password for renamed project.
    • โž• Added back support for rendering action specific scripts and styling.
    • โž• Added support for returning proper error messages on ajax requests.
    • โž• Added missing tests for empty messages after successful validations.
    • โž• Added support for validating properties for required values from base validator.
    • โž• Added accept files attribute for client and server side validation of used file extensions.
    • โž• Added support for getting model state error dictionary for use in unobtrusive validation.
    • โž• Added center alignment for datalist's boolean values to keep consistency with the grid styling.
    • โž• Added support for using authorized attribute on self, to avoid simple infinite recursion problems.

    ๐Ÿ‘Œ Improved

    • Lowered control label padding, to improve usability.
    • ๐Ÿšš Moved model views to their respective controller directories.
    • ๐Ÿšš Moved authorization usage from service layer to controller one.
    • Made table hover styling consistent across datalist and data tables.
    • ๐Ÿ”’ Renamed antiforgery and session cookie names, to improve security.
    • 0๏ธโƒฃ Made grid defaults call order agnostic, to avoid overwriting already set css classes.
    • 0๏ธโƒฃ Replaced single or default usage in unit of work's get method to with a find method.
    • ๐Ÿ— Excluded code templates from the build output, because they are developer's artifacts.
    • Made equal to attribute validation less error prone to property name mistypes and changes.
    • Made file list binding more consistent by excluding null files as they are added on no selection.
    • Made content controls spacing more consistent by using full padding instead one side margins.
    • Inlined most of the partials being rendered in the layout view, because of slow partial rendering.
    • ๐Ÿ‘ Increased minimum supported visual studio version to 2015, because 2013 is too old to support.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed, account recovery not being tested for successful path.
    • ๐Ÿ›  Fixed, widget button icon and text not being spaced between each other.
    • ๐Ÿ›  Fixed, client side number validations not using all possible number formats.
    • ๐Ÿ›  Fixed, first inputs being focused with a cursor at the start instead of the end.
    • ๐Ÿ›  Fixed, action cell width being too small or too high when it's content is hidden.
    • ๐Ÿ›  Fixed, not registering any authorization provider resulting in null pointer exceptions.
    • ๐Ÿ›  Fixed, logging failing when application physical path is not the same as application host path.
    • ๐Ÿ›  Fixed, inherited property resources not being loaded unless declared type titles are specified.
    • ๐Ÿ›  Fixed, including all models when filtering by datalist ids if it's being filtered by additional filters.
    • ๐Ÿ›  Fixed, not trimmed attribute not stopping trimming model binder from trimming string properties.
    • ๐Ÿ›  Fixed, date picker not calling change event on date selection, making change handlers ineffective.

    โœ‚ Removed

    • โœ‚ Removed required labels from not nullable boolean values, to improve usability.
    • โœ‚ Removed support for keeping current query string when changing the language.
    • โœ‚ Removed mutability from query instances, to keep consistency with how linq extensions work.
    • โœ‚ Removed minified js files, because their minification and bundling is handled by the release build.
    • โœ‚ Removed generic model state error from exception helper, because exceptions should not be used.
    • โœ‚ Removed web essentials from a list of necessary extensions to be installed, because it was deprecated.