Skip to content

Commit

Permalink
Merge branch 'release/8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothé Larivière committed Jan 10, 2024
2 parents c13a71e + 68bf740 commit 25916f0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

_No unreleased changes_

## [8.1.0-pre3] - 2024-01-10

### Changed
- Include changes from 8.0.3, 8.0.4 and 8.0.5

## [8.1.0-pre2] - 2023-12-12

### Changed
Expand Down Expand Up @@ -165,9 +170,10 @@ Essentially v2.8.1 and v8.0.0 are similar except for the required .NET version.
### Changed
- Fabulous.MauiControls has moved from the Fabulous repository to its own repository: [https://github.com/fabulous-dev/Fabulous.MauiControls](https://github.com/fabulous-dev/Fabulous.MauiControls)

[unreleased]: https://github.com/fabulous-dev/Fabulous.MauiControls/compare/8.1.0-pre2...HEAD
[8.1.0-pre1]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.1.0-pre2
[8.1.0-pre2]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.1.0-pre1
[unreleased]: https://github.com/fabulous-dev/Fabulous.MauiControls/compare/8.1.0-pre3...HEAD
[8.1.0-pre3]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.1.0-pre3
[8.1.0-pre2]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.1.0-pre2
[8.1.0-pre1]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.1.0-pre1
[8.0.5]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.0.5
[8.0.4]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.0.4
[8.0.2]: https://github.com/fabulous-dev/Fabulous.MauiControls/releases/tag/8.0.2
Expand Down
6 changes: 4 additions & 2 deletions src/Fabulous.MauiControls.Tests/WidgetTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ type WidgetTests() =
let treeContext: ViewTreeContext =
{ CanReuseView = MauiViewHelpers.canReuseView
GetViewNode = ViewNode.get
Logger = MauiViewHelpers.defaultLogger()
Logger = ProgramHelpers.defaultLogger()
Dispatch = dispatch }

let envContext = new EnvironmentContext()

let navPage = FabNavigationPage()
let weakRef = WeakReference(navPage)

let node = ViewNode(None, treeContext, weakRef)
let node = ViewNode(None, treeContext, envContext, weakRef)

Reconciler.update treeContext.CanReuseView ValueNone (oldWidget.Compile()) node
Reconciler.update treeContext.CanReuseView (ValueSome(oldWidget.Compile())) (newWidget.Compile()) node
Expand Down

0 comments on commit 25916f0

Please sign in to comment.