Skip to content

2.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Oct 04:47
· 78 commits to develop since this release
cc8231a

Summary

This builds on the huge 2.12 release to go along with the new Eto.DevExtensions 2.13 which brings design time data context previews and template updates to VS Code, Rider, and Visual Studio.

New

  • Design-time data context: d:DataContext supplies sample data to the designer preview in both xeto and jeto, and Control.IsDesignMode tells views and view models when they're in a preview. Jeto also gains {Binding} values.
  • Templates: generated solutions use .slnx, a single combined project is now the default (separate projects are an option), templates follow the system theme on Wpf, and VS Code shows the template options when creating a project.
  • HwndFormHandler.Close is now implemented.

Memory and stability

  • Controls bound to a DataStore can now be garbage collected, and leaks in TreeGridView/GridView on Mac are fixed.
  • Creating widgets such as Bitmap or Graphics on several threads at once no longer throws.
  • LoadComplete now fires only once per control, and removing controls from a StackLayout works correctly.

Fixes

  • NumericMaskedTextStepper<T> works with every numeric type: unsigned types no longer wrap around at zero, float and byte/sbyte work, and clearing FormatString no longer rounds the value.
  • Wpf: fixed a crash right-clicking a grid row while an edit reloads the rows, content no longer stays under a newly shown scrollbar, oversized tab images are scaled down instead of cropped, WebView2 no longer stays blank after its window is quickly hidden and shown, and controls whose window was closed no longer throw while being measured.
  • Mac: fixed a crash closing the WebView print dialog, and updated the supported OS version for single-project macOS builds.
  • Single-project and Mac builds now support the newer UseArtifactsOutput property.

What's Changed

🚀 Features

🐛 Bug Fixes

  • Bump supported OS version for macOS single project builds by @cwensley in #3077
  • Fix using newer UseArtifactsOutput property for single project and Mac output by @cwensley in #3076
  • Ensure LoadComplete is only fired once on all controls by @cwensley in #3080
  • Fix detaching controls from StackLayout by @cwensley in #3081
  • Mac: Attempt to fix intermittent test errors by @cwensley in #3082
  • Mac: Fix leaks in Tree/GridView by @cwensley in #3084
  • Add tests for gridview item gc issues by @cwensley in #3085
  • Make handler lookup thread-safe by @cwensley in #3086
  • NumericMaskedTextStepper<T>: Fix missing cast for float by @gonX in #3089
  • NumericMaskedTextStepper: Test every numeric type and fix stepping issues by @cwensley in #3090
  • Load test images from the Eto.Test assembly explicitly by @cwensley in #3091
  • Wpf: Fix crash right-clicking a grid row when committing an edit reloads the rows by @cwensley in #3092
  • Wpf: Re-measure scrollable content when a vertical scrollbar appears by @cwensley in #3093
  • Wpf: Scale down oversized tab page images instead of cropping by @cwensley in #3094
  • Mac: Fix crash closing WebView print dialog after a GC by @cwensley in #3096
  • Wpf: Fix WebView2 staying blank after its window is quickly hidden and shown by @cwensley in #3097

Other Changes

  • bump version to 2.13.0-dev by @github-actions[bot] in #3072
  • Wpf: Don't read a disposed parent window when measuring a grid by @cwensley in #3095

New Contributors

Full Changelog: 2.12.0...2.13.0