Skip to content

Commit

Permalink
Update ci and release notes (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp authored Dec 27, 2024
1 parent 97e1df7 commit eb40e0a
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 27 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Fabulous.Avalonia.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down Expand Up @@ -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

Expand Down
8 changes: 7 additions & 1 deletion extensions/Fabulous.Avalonia.ColorPicker/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion extensions/Fabulous.Avalonia.DataGrid/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion extensions/Fabulous.Avalonia.Diagnostics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
7 changes: 6 additions & 1 deletion extensions/Fabulous.Avalonia.ItemsRepeater/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions extensions/Fabulous.Avalonia.Labs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 0 additions & 5 deletions extensions/Fabulous.Avalonia.Labs/Controls/Lottie.fs
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion extensions/Fabulous.Avalonia.Labs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 6 additions & 1 deletion extensions/Fabulous.Avalonia.TreeDataGrid/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
15 changes: 14 additions & 1 deletion src/Fabulous.Avalonia/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion templates/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit eb40e0a

Please sign in to comment.