From eb40e0a1b92600847c2cdd34ba97f89db76ea712 Mon Sep 17 00:00:00 2001 From: Edgar Gonzalez Date: Fri, 27 Dec 2024 17:14:49 +0100 Subject: [PATCH] Update ci and release notes (#275) --- .github/workflows/release.yml | 9 +++++++++ Fabulous.Avalonia.sln | 1 + README.md | 14 +++----------- .../Fabulous.Avalonia.ColorPicker/CHANGELOG.md | 8 +++++++- .../Fabulous.Avalonia.DataGrid/CHANGELOG.md | 8 +++++++- .../Fabulous.Avalonia.Diagnostics/CHANGELOG.md | 8 +++++++- .../Fabulous.Avalonia.ItemsRepeater/CHANGELOG.md | 7 ++++++- extensions/Fabulous.Avalonia.Labs/CHANGELOG.md | 11 ++++++++--- .../Fabulous.Avalonia.Labs/Controls/Lottie.fs | 5 ----- extensions/Fabulous.Avalonia.Labs/README.md | 2 +- .../Fabulous.Avalonia.TreeDataGrid/CHANGELOG.md | 7 ++++++- src/Fabulous.Avalonia/CHANGELOG.md | 15 ++++++++++++++- templates/CHANGELOG.md | 8 +++++++- 13 files changed, 76 insertions(+), 27 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1852a9d..0251fce1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ env: CONFIG: Release SLN_FILE: Fabulous.Avalonia.NoSamples.sln MAIN_PROJ: src/Fabulous.Avalonia/Fabulous.Avalonia.fsproj + AVALONIALABS_PROJ: extensions/Fabulous.Avalonia.Labs/Fabulous.Avalonia.Labs.fsproj ITEMSREPEATER_PROJ: extensions/Fabulous.Avalonia.ItemsRepeater/Fabulous.Avalonia.ItemsRepeater.fsproj COLORPICKER_PROJ: extensions/Fabulous.Avalonia.ColorPicker/Fabulous.Avalonia.ColorPicker.fsproj DATAGRID_PROJ: extensions/Fabulous.Avalonia.DataGrid/Fabulous.Avalonia.DataGrid.fsproj @@ -56,6 +57,13 @@ jobs: validation_level: warn version: '${{ env.RELEASE_VERSION }}' path: extensions/Fabulous.Avalonia.ItemsRepeater/CHANGELOG.md + - name: Get Fabulous.Avalonia.Labs Changelog Entry + id: avalonialabs_changelog + uses: mindsers/changelog-reader-action@v2 + with: + validation_level: warn + version: '${{ env.RELEASE_VERSION }}' + path: extensions/Fabulous.Avalonia.Labs/CHANGELOG.md - name: Get Fabulous.Avalonia.ColorPicker Changelog Entry id: colorpicker_changelog uses: mindsers/changelog-reader-action@v2 @@ -100,6 +108,7 @@ jobs: run: | find templates -type f -name template.json | xargs sed -i bak "s/PKG_VERSION/${RELEASE_VERSION}/g" dotnet pack ${MAIN_PROJ} -p:Version=${RELEASE_VERSION} -p:PackageReleaseNotes="${{ steps.fabulous_changelog.outputs.changes }}" -c ${CONFIG} --property PackageOutputPath=${PWD}/nupkgs + dotnet pack ${AVALONIALABS_PROJ} -p:Version=${RELEASE_VERSION} -p:PackageReleaseNotes="${{ steps.avalonialabs_changelog.outputs.changes }}" -c ${CONFIG} --property PackageOutputPath=${PWD}/nupkgs dotnet pack ${ITEMSREPEATER_PROJ} -p:Version=${RELEASE_VERSION} -p:PackageReleaseNotes="${{ steps.itemsrepeater_changelog.outputs.changes }}" -c ${CONFIG} --property PackageOutputPath=${PWD}/nupkgs dotnet pack ${COLORPICKER_PROJ} -p:Version=${RELEASE_VERSION} -p:PackageReleaseNotes="${{ steps.colorpicker_changelog.outputs.changes }}" -c ${CONFIG} --property PackageOutputPath=${PWD}/nupkgs dotnet pack ${DATAGRID_PROJ} -p:Version=${RELEASE_VERSION} -p:PackageReleaseNotes="${{ steps.datagrid_changelog.outputs.changes }}" -c ${CONFIG} --property PackageOutputPath=${PWD}/nupkgs diff --git a/Fabulous.Avalonia.sln b/Fabulous.Avalonia.sln index 56f2e099..c1a9d8c8 100644 --- a/Fabulous.Avalonia.sln +++ b/Fabulous.Avalonia.sln @@ -31,6 +31,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Solution Items", "_Solutio extensions\Fabulous.Avalonia.TreeDataGrid\CHANGELOG.md = extensions\Fabulous.Avalonia.TreeDataGrid\CHANGELOG.md Directory.Build.props = Directory.Build.props extensions\Fabulous.Avalonia.Diagnostics\CHANGELOG.md = extensions\Fabulous.Avalonia.Diagnostics\CHANGELOG.md + extensions\Fabulous.Avalonia.Labs\CHANGELOG.md = extensions\Fabulous.Avalonia.Labs\CHANGELOG.md EndProjectSection EndProject Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Gallery", "samples\Gallery\Gallery.fsproj", "{AADAEC1A-44A7-401C-8B5E-F5506A1AA5AB}" diff --git a/README.md b/README.md index 5590d582..275a4d8e 100644 --- a/README.md +++ b/README.md @@ -62,17 +62,7 @@ module App = else model, Cmd.none - let program = - Program.statefulWithCmd init update - |> Program.withTrace(fun (format, args) -> Debug.WriteLine(format, box args)) - |> Program.withExceptionHandler(fun ex -> -#if DEBUG - printfn $"Exception: %s{ex.ToString()}" - false -#else - true -#endif - ) + let program = Program.statefulWithCmd init update let content () = Component("CounterApp") { @@ -120,8 +110,10 @@ We also provide additional binding for Avalonia controls, you can find them in t - Fabulous.Avalonia.DataGrid [![NuGet version](https://img.shields.io/nuget/v/Fabulous.Avalonia.DataGrid)](https://www.nuget.org/packages/Fabulous.Avalonia.DataGrid#readme-body-tab) - Fabulous.Avalonia.ColorPicker [![NuGet version](https://img.shields.io/nuget/v/Fabulous.Avalonia.ColorPicker)](https://www.nuget.org/packages/Fabulous.Avalonia.ColorPicker#readme-body-tab) +- Fabulous.Avalonia.Diagnostics [![NuGet version](https://img.shields.io/nuget/v/Fabulous.Avalonia.Diagnostics)](https://www.nuget.org/packages/Fabulous.Avalonia.Diagnostics#readme-body-tab) - Fabulous.Avalonia.ItemsRepeater [![NuGet version](https://img.shields.io/nuget/v/Fabulous.Avalonia.ItemsRepeater)](https://www.nuget.org/packages/Fabulous.Avalonia.ItemsRepeater#readme-body-tab) - Fabulous.Avalonia.TreeDataGrid [![NuGet version](https://img.shields.io/nuget/v/Fabulous.Avalonia.TreeDataGrid)](https://www.nuget.org/packages/Fabulous.Avalonia.TreeDataGrid#readme-body-tab) +- Fabulous.Avalonia.Labs [![NuGet version](https://img.shields.io/nuget/v/Fabulous.Avalonia.Labs)](https://www.nuget.org/packages/Fabulous.Avalonia.Labs#readme-body-tab) ## Getting Started diff --git a/extensions/Fabulous.Avalonia.ColorPicker/CHANGELOG.md b/extensions/Fabulous.Avalonia.ColorPicker/CHANGELOG.md index b30e1770..da58e8b7 100644 --- a/extensions/Fabulous.Avalonia.ColorPicker/CHANGELOG.md +++ b/extensions/Fabulous.Avalonia.ColorPicker/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ +## [3.0.0-pre8] - 2024-12-27 +### Changed +- Add support for Avalonia 11.2.2 +- Add support for Fabulous 3.0.0-pre17 + ## [3.0.0-pre7] - 2024-11-27 ### Changed @@ -73,7 +78,8 @@ _No unreleased changes_ ### Added - Initial release -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.ColorPicker/compare/3.0.0-pre7...HEAD +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.ColorPicker/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia.ColorPicker/releases/tag/3.0.0-pre8 [3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia.ColorPicker/releases/tag/3.0.0-pre7 [3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia.ColorPicker/releases/tag/3.0.0-pre6 [3.0.0-pre5]: https://github.com/fabulous-dev/Fabulous.Avalonia.ColorPicker/releases/tag/3.0.0-pre5 diff --git a/extensions/Fabulous.Avalonia.DataGrid/CHANGELOG.md b/extensions/Fabulous.Avalonia.DataGrid/CHANGELOG.md index c2c2dbc2..a427c06d 100644 --- a/extensions/Fabulous.Avalonia.DataGrid/CHANGELOG.md +++ b/extensions/Fabulous.Avalonia.DataGrid/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ +## [3.0.0-pre8] - 2024-12-27 +### Changed +- Add support for Avalonia 11.2.2 +- Add support for Fabulous 3.0.0-pre17 + ## [3.0.0-pre7] - 2024-11-27 ### Changed - Add support for Avalonia 11.2.1 @@ -72,7 +77,8 @@ _No unreleased changes_ ### Added - Initial release -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.DataGrid/compare/3.0.0-pre7...HEAD +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.DataGrid/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia.DataGrid/releases/tag/3.0.0-pre8 [3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia.DataGrid/releases/tag/3.0.0-pre7 [3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia.DataGrid/releases/tag/3.0.0-pre6 [3.0.0-pre5]: https://github.com/fabulous-dev/Fabulous.Avalonia.DataGrid/releases/tag/3.0.0-pre5 diff --git a/extensions/Fabulous.Avalonia.Diagnostics/CHANGELOG.md b/extensions/Fabulous.Avalonia.Diagnostics/CHANGELOG.md index 9dd78810..d74cb903 100644 --- a/extensions/Fabulous.Avalonia.Diagnostics/CHANGELOG.md +++ b/extensions/Fabulous.Avalonia.Diagnostics/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ +## [3.0.0-pre8] - 2024-12-27 +### Changed +- Add support for Avalonia 11.2.2 +- Add support for Fabulous 3.0.0-pre17 + ## [3.0.0-pre7] - 2024-11-27 ### Changed - Add support for Avalonia 11.2.1 @@ -16,6 +21,7 @@ _No unreleased changes_ ### Added - Initial release -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.Diagnostics/compare/3.0.0-pre7...HEAD +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.Diagnostics/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia.Diagnostics/releases/tag/3.0.0-pre8 [3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia.Diagnostics/releases/tag/3.0.0-pre7 [3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia.Diagnostics/releases/tag/3.0.0-pre6 diff --git a/extensions/Fabulous.Avalonia.ItemsRepeater/CHANGELOG.md b/extensions/Fabulous.Avalonia.ItemsRepeater/CHANGELOG.md index 43584098..98e6654b 100644 --- a/extensions/Fabulous.Avalonia.ItemsRepeater/CHANGELOG.md +++ b/extensions/Fabulous.Avalonia.ItemsRepeater/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ +## [3.0.0-pre8] - 2024-12-27 +### Added +- No changes + ## [3.0.0-pre7] - 2024-11-27 ### Changed - Add support for Avalonia 11.1.5 @@ -67,7 +71,8 @@ _No unreleased changes_ ### Added - Initial release -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.ItemsRepeater/compare/3.0.0-pre7...HEAD +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.ItemsRepeater/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia.ItemsRepeater/releases/tag/3.0.0-pre8 [3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia.ItemsRepeater/releases/tag/3.0.0-pre7 [3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia.ItemsRepeater/releases/tag/3.0.0-pre6 [3.0.0-pre5]: https://github.com/fabulous-dev/Fabulous.Avalonia.ItemsRepeater/releases/tag/3.0.0-pre5 diff --git a/extensions/Fabulous.Avalonia.Labs/CHANGELOG.md b/extensions/Fabulous.Avalonia.Labs/CHANGELOG.md index 5fa45395..d39391e7 100644 --- a/extensions/Fabulous.Avalonia.Labs/CHANGELOG.md +++ b/extensions/Fabulous.Avalonia.Labs/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.Labs/compare/3.0.0-pre7...HEAD -[3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia.Labs/releases/tag/3.0.0-pre7 -[3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia.Labs/releases/tag/3.0.0-pre6 +## [3.0.0-pre8] - 2024-12-27 +### Changed +- Add support for `AsyncImage` by @h0lg in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/245 +- Add support for `Lottie` in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/272 +- Add support for `Fabulous` 3.0.0-pre17 + +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.Labs/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia.Labs/releases/tag/3.0.0-pre8 diff --git a/extensions/Fabulous.Avalonia.Labs/Controls/Lottie.fs b/extensions/Fabulous.Avalonia.Labs/Controls/Lottie.fs index 12959e7f..52a16660 100644 --- a/extensions/Fabulous.Avalonia.Labs/Controls/Lottie.fs +++ b/extensions/Fabulous.Avalonia.Labs/Controls/Lottie.fs @@ -1,13 +1,8 @@ namespace Fabulous.Avalonia -open System -open System.IO open System.Runtime.CompilerServices -open Avalonia.Animation -open Avalonia.Labs.Controls open Avalonia.Labs.Lottie open Avalonia.Media -open Avalonia.Media.Imaging open Fabulous open Fabulous.Avalonia diff --git a/extensions/Fabulous.Avalonia.Labs/README.md b/extensions/Fabulous.Avalonia.Labs/README.md index 8b778576..228dff2b 100644 --- a/extensions/Fabulous.Avalonia.Labs/README.md +++ b/extensions/Fabulous.Avalonia.Labs/README.md @@ -6,7 +6,7 @@ This repository serves as a staging ground for new controls for Avalonia, with t The controls available here are unstable and are suspected to breaking changes as they are being worked on. -> NOTe: This package is not yet stable and is subject to change. +> NOTE: This package is not yet stable and is subject to change. ### How to use - Add the `Fabulous.Avalonia.Labs` package to your project. diff --git a/extensions/Fabulous.Avalonia.TreeDataGrid/CHANGELOG.md b/extensions/Fabulous.Avalonia.TreeDataGrid/CHANGELOG.md index 8f3fbea0..c5c7ff21 100644 --- a/extensions/Fabulous.Avalonia.TreeDataGrid/CHANGELOG.md +++ b/extensions/Fabulous.Avalonia.TreeDataGrid/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ +## [3.0.0-pre8] - 2024-12-27 +### Changed +- Add support for Fabulous 3.0.0-pre17 + ## [3.0.0-pre7] - 2024-11-27 ### Changed - Add support for Fabulous 3.0.0-pre16 @@ -67,7 +71,8 @@ _No unreleased changes_ ### Added - Initial release -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.TreeDataGrid/compare/3.0.0-pre7...HEAD +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.TreeDataGrid/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia.TreeDataGrid/releases/tag/3.0.0-pre8 [3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia.TreeDataGrid/releases/tag/3.0.0-pre7 [3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia.TreeDataGrid/releases/tag/3.0.0-pre6 [3.0.0-pre5]: https://github.com/fabulous-dev/Fabulous.Avalonia.TreeDataGrid/releases/tag/3.0.0-pre5 diff --git a/src/Fabulous.Avalonia/CHANGELOG.md b/src/Fabulous.Avalonia/CHANGELOG.md index 1a8e5d0d..a1499a60 100644 --- a/src/Fabulous.Avalonia/CHANGELOG.md +++ b/src/Fabulous.Avalonia/CHANGELOG.md @@ -8,6 +8,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ +## [3.0.0-pre8] - 2024-12-27 +### Changed +- Centralize AvaloniaVersion and FabulousVersion in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/266 +- Avalonia version update in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/267 +- Use Fabulous pre17 in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/271 +- Improve gestures samples in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/274 + +### Added +- SharedSizeGroup support in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/273 +- Named colors by @h0lg in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/270 +- Add Testing samples in https://github.com/fabulous-dev/Fabulous.Avalonia/pull/269 + ## [3.0.0-pre7] - 2024-11-27 ### Changed - Add support for Avalonia 11.2.1 @@ -247,7 +259,8 @@ _No unreleased changes_ ### Added - Initial release -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia/compare/3.0.0-pre7...HEAD +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia/releases/tag/3.0.0-pre8 [3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia/releases/tag/3.0.0-pre7 [3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia/releases/tag/3.0.0-pre6 [3.0.0-pre5]: https://github.com/fabulous-dev/Fabulous.Avalonia/releases/tag/3.0.0-pre5 diff --git a/templates/CHANGELOG.md b/templates/CHANGELOG.md index 52ab4ddf..aad7ea2b 100644 --- a/templates/CHANGELOG.md +++ b/templates/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] _No unreleased changes_ +## [3.0.0-pre8] - 2024-12-27 +### Changed +- Add support for Avalonia 11.2.2 +- Add support for Fabulous 3.0.0-pre17 + ## [3.0.0-pre7] - 2024-11-27 ### Changed - Add support for Avalonia 11.2.1 @@ -76,7 +81,8 @@ _No unreleased changes_ - Add a new template for a multi-project Fabulous.Avalonia app. - Fix black screen in multi-project template when targeting Browser -[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.Templates/compare/3.0.0-pre7...HEAD +[unreleased]: https://github.com/fabulous-dev/Fabulous.Avalonia.Templates/compare/3.0.0-pre8...HEAD +[3.0.0-pre8]: https://github.com/fabulous-dev/Fabulous.Avalonia.Templates/releases/tag/3.0.0-pre8 [3.0.0-pre7]: https://github.com/fabulous-dev/Fabulous.Avalonia.Templates/releases/tag/3.0.0-pre7 [3.0.0-pre6]: https://github.com/fabulous-dev/Fabulous.Avalonia.Templates/releases/tag/3.0.0-pre6 [3.0.0-pre5]: https://github.com/fabulous-dev/Fabulous.Avalonia.Templates/releases/tag/3.0.0-pre5