New
DotVVM 5.0.0-preview01 release
Major changes
- Migration to System.Text.Json
- More extensible GridViewDataSet
- the refactoring should be mostly compatible, if you didn't write your own DataPager and encounter issues, please get in touch with us
- it is now possible to use GridView and DataPager which load data using
staticCommands - it is now possible to use token-based paging instead of just page index
- it is now possible to use custom sorting options which limit what columns can be used for sorting
- DataContext and DataSource properties support resource binding
- it makes it possible to show server-rendered collections without also sending all of the data in JSON, and without including any knockout data-bind attributes in the HTML
We'll have more polished release notes with the 5.0.0 stable version
List of merged PRs
- Data pager extensibility improvements in https://github.com/riganti/dotvvm/pull/1819
- Refactoring of GridViewDataSet in https://github.com/riganti/dotvvm/pull/1548
- Fix near page indexes crashing on invalid page number in https://github.com/riganti/dotvvm/pull/1847
- Initialized service provider in validation context. in https://github.com/riganti/dotvvm/pull/1869
- Binding translation issue in PostBackHandler properties in https://github.com/riganti/dotvvm/pull/1878
- Fix resource bindings in GridViewColumn.FormatString in https://github.com/riganti/dotvvm/pull/1879
- Fixed ambiguous namespace resolution and matching non-public types in https://github.com/riganti/dotvvm/pull/1877
- Fix ko.observable handling in Linq translations in https://github.com/riganti/dotvvm/pull/1870
- Use System.Text.Json as a backend for view model serialization in https://github.com/riganti/dotvvm/pull/1799
- Fix leaking of original object from ko.observableArray in https://github.com/riganti/dotvvm/pull/1893
- Export the JS StateManager instance in https://github.com/riganti/dotvvm/pull/1894
- Fix excessive allocations in EmbeddedResourceFileLoader in https://github.com/riganti/dotvvm/pull/1888
- Remove the obsolete context.IsPostback setter in https://github.com/riganti/dotvvm/pull/1899
- Enable UseDotvvmSerializationForStaticCommandArguments by default in https://github.com/riganti/dotvvm/pull/1898
- Fix control prefixes in error page "Control Hierarchy" section in https://github.com/riganti/dotvvm/pull/1901
- Bug in JS translator when using Where and using lambda in commands in https://github.com/riganti/dotvvm/pull/1903
- MultiSelect issue with updating observable array fixed in https://github.com/riganti/dotvvm/pull/1910
- Basic support for DataContext={resource: ...} in https://github.com/riganti/dotvvm/pull/1392
- Special-case parsing of
- Bump .NET Core dependency to net8.0 (and net9.0 in aspnetcorelatest) in https://github.com/riganti/dotvvm/pull/1917
- Add option to disable DotVVM serialization for specific types in https://github.com/riganti/dotvvm/pull/1916
- Disallow assigning to init-only properties in bindings in https://github.com/riganti/dotvvm/pull/1909
Full Changelog: https://github.com/riganti/dotvvm/compare/v4.3.0...v5.0.0-preview01