Skip to content

DotVVM 2.1

Compare
Choose a tag to compare
@tomasherceg tomasherceg released this 28 Jan 18:14

New features

  • Improved server-side rendering for Repeater and GridView controls
  • Enhancements in Server-Side Styles (for example adding postback handlers to controls)
  • ValidationErrorFactory.CreateValidationResult now doesn't require DotvvmConfiguration
  • REST API client generator generates meaningful C# class name for the API client

Perf improvements

  • Performance tweaks in HtmlWriter and DataItemContainer
  • Repeater performance improved using memoization to prevent frequent rebuilding of control tree
  • HtmlWriter performance improvements
  • Control properties collection uses perfect hashing to improve performance

Bug fixes

  • Fixed IncludeInPage rendering
  • Fixed _index variable issues in controls with server rendering
  • Fixed HTTP response on invalid HTTP method
  • Client-side validation errors are cleared before a new object is validated
  • Fixed dependency injection into markup controls
  • Fixed array access JavaScript translation
  • Fixed generating of unique IDs for GridView sort commands
  • Fixed number formatting for zero values
  • Fixed _api.RefreshOnChange(..., Prop1 + Prop2) which allows watching for multiple properties
  • Fixed bug with resource bindings in markup controls
  • Fixed serialization of control property values in markup controls
  • REST API bindings - API URL can be parameterized from the code
  • Fixed null assignments for complex types in static commands