Releases: VincentH-Net/CSharpForMarkup
Mapsui 5 for csharpmarkup2-winui-3-1-2
Mapsui 5 - currently in beta, and one of the best OSS .NET libraries for maps - now has full support in C# Markup 3.1 for Uno Platform 6.0!
An example page using Mapsui is added to the example app in this repo, demonstrating how to use Mapsui with C# Markup 2.
Browse Live Mapsui 5.0 samples to experience the possibilities; see the samples source for how.
Known issue on Android
Mapsui 5.0 beta 18 has a known issue that prevents it working with Uno on Android for both Skia and native Uno renderers.
As a workaround, this release depends on Mapsui 5.0 beta 17, which does work with Uno on Android for the native Uno renderer (although not for the Skia renderer - that issue was fixed in beta 18)
It is fine to pin the Mapsui.Uno.WinUI NuGet to beta 18 if you are not targeting Android, or to a later beta if that fixes the issue.
ScottPlot 5 for csharpmarkup2-winui-3-1-2
ScottPlot.NET - one of the best OSS .NET libraries for graphs and charts - now has full support in C# Markup 3.1 for Uno Platform 6.0!
An example page using ScottPlot is added to the example app in this repo, demonstrating how to use ScottPlot with C# Markup 2. Use the excellent ScottPlot 5.0 Cookbook to create beautiful graphs!
csharpmarkup2-winui-3-1-2
This release streamlines, optimizes and fixes the C# Markup 2 support for Uno Platform 6 and Uno SDK:
- Updated
dotnet newtemplates - Example app fully updated to latest templates, .NET SDK and Uno SDK
- Target frameworks now align with best practices for Uno SDK 6 based libraries
- Removed redundant direct NuGet dependencies
- Compatibility for iOS and MacCatalyst is now identical to that of the corresponding Uno Extension NuGets: iOS and MacCatalyst 17, was 18.
Fixes:
- Fix for Enabling SkiaRenderer gives build error for browserwasm target when using
CSharpMarkup.WinUI.Uno.Extensions.*NuGets (#45)
csharpmarkup2-winui-3-1-0
What's Changed
Hot on the heels of the game-changing Uno 6.0 release, this release adds full support for Uno SDK 6.0 / Windows App SDK 1.7 to all CSharpMarkup.WinUI NuGets.
Includes support for all API improvements in Uno SDK 6.0:
- 20+ WinUI API's are no longer marked unsupported
- Add support for ellipse shape to
ProgressBarTemplateSettings - New
TitleBarsupport, including strongly-typed access to all newTitlebarresources inThemeResource - New
TextBoxExtensionsallow to specifyInputReturnType
The example app in the repo is also updated to Uno 6.0 / Windows App SDK 1.7.
Full Changelog: csharpmarkup2-winui-3-0-3...csharpmarkup2-winui-3-1-0
csharpmarkup2-winui-3-0-3
Updated all CSharpMarkup.WinUI NuGets to Uno SDK 5.6 / Windows App SDK 1.6 and .NET 9 / .NET 8
Includes support for all improvements in Uno SDK 5.6:
- 80+ WinUI API's are no longer marked unsupported
- new
ScrollPresenterAutomationPeer,FauxGradientBorderPresenter - new
NewFrameworkTemplateBuildersupport
Fixes:
- Update to latest
LiveChartsCore.SkiaSharpView.WinUI(#45)
The example app in the repo is also updated to .NET 9 plus Uno 5.6 / Windows App SDK 1.6 and demonstrates how to use C# partial properties with MVVM Community Toolkit to support AOT.
(.NET 7 is no longer supported)
csharpmarkup2-winui-2-4-18
New in this release:
- Updated to Uno 5.2 including Uno's .NET Single Project and
uno.sdk! - Added support for latest
dotnet new unoapptemplate - Updated to Uno.Extensions.* 4.1
- Updated to Microsoft.WindowsAppSDK 1.5
- Allow
!in binding expressions - Add
SecondaryCommandsproperty setter for Uno ToolkitNavigationBar - Minimize diff in generated source between different versions of dependencies by refining sorting of generated methods, allowing a clear overview on what is new in each release
- Removed workarounds for fixed issues in dependencies:
Breaking changes:
- Renamed
.Stretch()shorthand method forFrameworkElementto.HVStretch()to avoid ambiguity with the.Stretch()extension method forImage - The
Uno.Extensions.*4 NuGets no longer support .NET 7, they are now .NET 8+ so the correspondingCSharpMarkup.WinUI.Uno.Extensions.*NuGets are now .NET8+ as well
csharpmarkup2-winui-2-3-66
New templates
This release supports the new mcs-uno-markup2 and mcs-uno-view templates in Modern.CSharp.Templates 1.5.0:
- The
mcs-uno-viewtemplate is used by theNew-View.ps1script, which is included inmcs-uno-markup2 - Improved frictionless startup for both existing and new Uno solutions - whether created with Uno's
dotnet new unoapptemplate or with the Uno solution wizard for Visual Studio. - Add support for .NET 8 / .NET 7, as well as model types MVUX / MVVM / none
- Now pre-structured with best practices for maintainability and code reuse of C# Markup 2 UI.
New methods
This release adds / changes the following methods:
- Add content alignment convenience extension methods for Control: LeftContent, HCenterContent, RightContent, TopContent, VCenterContent, BottomContent, CenterContent, StretchContent
- Add Stretch convenience extension method for FrameworkElement
- Add overload for Page Content extension method with different parameter order for better markup readability
Full Changelog: csharpmarkup2-winui-2-3-64...csharpmarkup2-winui-2-3-66
csharpmarkup2-winui-2-3-64
This release is fully updated to the awesome Uno 5 release and .NET 8 GA. You can use the Uno Solution Wizard for Visual Studio and add a C# Markup 2 project to it at any time with one command. All Uno wizard customizations are supported: combine C# Markup 2 with MVUX or MVVM, XAML or Uno C# Markup, use Uno Navigation extensions, and target .NET 8 or .NET 7. All Uno target platforms are supported.
A brand new dotnet new C# Markup 2 project template gets you going in no time - carefully optimized for an optimal developer experience: uncluttered solution explorer view, automatic file grouping of markup and logic files, uncluttered markup source, focused Intellisense, clear starting points for markup extensions in your code, plus fast hot reload - both automatic and with a hot reload button overlay in debug mode, for the platforms that your IDE can hot reload but cannot (yet) update the UI automatically.
Enjoy general C# Markup 2 improvements, plus C# Markup 2 API's for 5 additional Uno libraries:
- Support for Uno's UI Toolkit, Reactive / MVUX extension and Navigation extensions
- Support for the awesome LiveCharts2
- All
ThemeResources searchable in C# Intellisense, strongly typed
The getting started is fully up to date. Examples in this repo and the readme will be updated soon to show off the new features.
NJoy concise C# Markup!