DotVVM v2.3.0 Release NotesRelease Date: 2019-06-21 // almost 3 years ago
🆕 New Features
context.ReturnFilemethod can now specify the
Content-Dispositionheader. Until now, the header was always
context.LocalRedirectmethod which checks whether the specified URL is local. We strongly recommend using this method on all places where the user can inject his own URL to redirect - e.g.
GridViewDataSetmethods that apply sorting and paging operations on
IQueryablewere made public to allow writing the
LoadFromQueryableAsyncextension method. See #688.
- ➕ Added infrastructure for rendering
script[type=html]templates. This will be useful for control developers using the Knockout template binding, especially DotVVM Business Pack.
- 🛠 Fixed error in
IncludedInPageproperty when the resource binding was used.
- ⚡️ Validation errors collection was not cleared when some parts of the viewmodel were set to
nullor reinitialized with new objectS. The validator binding handler
updatemethod was not used at all.
Validator.InvalidCssClassfunctionality didn't work properly for multiple CSS classes and didn't remove all classes in some situations.
- 🛠 Fixed XSS vulnerability in registration of DotVVM polyfill resources.
💥 Breaking changes
- CheckBox was rendering different HTML structure for the case when the text was empty. This structure did not include the
labelelement, that is in most cases used as a base element for restyling of the checkbox design. Now, the
labelelement is rendered in both cases.