question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Avalonia.FuncUI v1.0 release

See original GitHub issue

Opening this issue to track the work needed before we release the non-pre-release version of v0.6

Before release

  • Wait for Avalonia v11 to be released (duh!)
  • Adapt to “The Great Interface Removal” introduced in https://github.com/AvaloniaUI/Avalonia/pull/9553 (Addressed in #246)
  • Remove mention to old docs site in README and point all of them to the docs site under Avalonia’s domain
  • Create a Migration Guide in the docs
    • Interface removals (#246)
    • Changes for Elmish v4 (#248)
    • Package name changes (#242)
  • Migrate templates to new version (includes adding dependency of the newly separated Avalonia.Themes.Fluent)
  • Deprecate Avalonia.FuncUI.DSL package from Nuget. See here. I believe this can only be done by you @JaggerJo?

Since 4564a6d98c55e3b9e0437e4d8aecfb41bfed9b5b the DSL project lives inside of the main FuncUI package and upgrading from a previous version that has the a package reference to the DSL makes all this funky errors where half of the imports seem unused and all the controls stop working: image

The fix is, of course, to remove the package reference to the DSL but I think we should make this clearer to the user.

After release

  • Create documentation for new inline components
  • Party? 🎉

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:29 (14 by maintainers)

github_iconTop GitHub Comments

4reactions
JaggerJocommented, Jul 6, 2023

I guess it’s time to ship it 🚀

3reactions
sleepyfrancommented, Jan 11, 2023

fyi, the Avalonia change at https://github.com/AvaloniaUI/Avalonia/pull/9553 has removed a load of interfaces that FuncUI uses, apparently in favour of just using the base classes instead, which is an ever so slightly breaking change over here.

I had a quick go at changing the lib to just use the base clases instead of interfaces and the control catalogue seems to still run, but I didn’t check anything beyond that

Oh, boy. Thanks for the heads up! I guess a search and replace of I.* should do the trick 😆 Adding that to the checklist

Read more comments on GitHub >

github_iconTop Results From Across the Web

Avalonia.FuncUI 1.0.1
FuncUI is a thin layer built on top of AvaloniaUI. It contains abstractions for writing UI applications in different programming styles. It also ......
Read more >
Releases · fsprojects/Avalonia.FuncUI
This pre-release version includes: Bindings for RichTextBlock and all inline elements. You can take a look at an example using them here. Support...
Read more >
Issues · fsprojects/Avalonia.FuncUI
Avalonia.FuncUI v1.0 release chore Package upgrades, CI improvements and the like. #222 opened on Oct 19, 2022 by sleepyfran. 4 of 11 tasks....
Read more >
FuncUI: Getting Started
Reference the following packages Avalonia.Desktop, Avalonia. ... FuncUI --version 1.0.0 ... FuncUI.Hosts. open Avalonia.Controls. open Avalonia.FuncUI.
Read more >
Game of Life in Avalonia, MVU / Elmish style, take 2
Game of Life in Avalonia, MVU / Elmish style, take 2. 28 Jun 2023 ... FuncUI version 0.5.0 to the recently published pre-release...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found