SodaFlow.Bindable.ObjectModel 4.0.1

dotnet add package SodaFlow.Bindable.ObjectModel --version 4.0.1
                    
NuGet\Install-Package SodaFlow.Bindable.ObjectModel -Version 4.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SodaFlow.Bindable.ObjectModel" Version="4.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SodaFlow.Bindable.ObjectModel" Version="4.0.1" />
                    
Directory.Packages.props
<PackageReference Include="SodaFlow.Bindable.ObjectModel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SodaFlow.Bindable.ObjectModel --version 4.0.1
                    
#r "nuget: SodaFlow.Bindable.ObjectModel, 4.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SodaFlow.Bindable.ObjectModel@4.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SodaFlow.Bindable.ObjectModel&version=4.0.1
                    
Install as a Cake Addin
#tool nuget:?package=SodaFlow.Bindable.ObjectModel&version=4.0.1
                    
Install as a Cake Tool

SodaFlow Bindable Object Model library for C#.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SodaFlow.Bindable.ObjectModel:

Package Downloads
MorseCode.Mvvm

Building blocks for view models written in a functional reactive style on SodaFlow.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1 44 10/3/2026
4.0.0 329 9/28/2026
3.0.2 89 9/18/2026
3.0.1 954 9/7/2026
3.0.0 100 9/6/2026
2.0.0 104 8/31/2026
1.0.0 100 8/30/2026

4.0.1

No change in API or behavior. This release raises the dependency floor, so that a new install gets
SodaFlow.Bindable.ObjectModel.Core 4.0.1, which lets a bindable be built from a looped cell. That package's notes have
the details.

NuGet resolves the lowest version a range allows, so a fresh install of 4.0.0 would go on resolving core 4.0.0. A
consumer who references the core package directly gets the fix either way.

The other floors move up to the versions already released: SodaFlow from 5.0.0 to 5.0.1, and SodaFlow.Functional from
3.0.1 to 3.0.2.

4.0.0

BREAKING: the extension methods are gone - ToOneWay, ToTwoWay, ToOneWayToSource and ToBindableAction, with
BindableExtensionMethods, the class that held them. A bindable comes from an IBindableFactory, and from nothing else:
CreateOneWay, CreateTwoWay, CreateOneWayToSource and CreateBindableAction take the same arguments, less the scheduler.
Each extension method took a scheduler of its own, which let a view model pass one different from the one it was given,
or none.

BREAKING: new BindableFactory (scheduler) requires a scheduler, and throws ArgumentNullException for null. Null used to
mean that each bindable found one for itself; BindingScheduler.Default, which that search read, is gone too. Build one
factory at startup, on the UI thread:

new BindableFactory (SynchronizationContextBindingScheduler.Capture ())

and give it to each view model through its constructor, where BindingScheduler.Default = ... used to be. A test gives
BindingScheduler.Immediate. SodaFlow.Bindable.ObjectModel.Core's notes say why there is no fallback now.

Requires SodaFlow 5.x, SodaFlow.Bindable.ObjectModel.Core 4.x and SodaFlow.Functional 3.x. SodaFlow 5.0.0 has breaking
changes of its own - ListenOnce is weak now, among others - and its notes list them.

3.0.2

Adds the package icon that nuget.org shows beside this package.

One exception message is built with a target-typed new and with its concatenation laid out differently. The message
itself is unchanged.

Every package here ships this release together, so the dependency versions move with it.

3.0.1

No code change. This release exists to move a dependency floor, so that a new install gets the fix in
SodaFlow.Bindable.ObjectModel.Core 3.0.1.

A two-way bindable did not raise PropertyChanged for a write made through it, so only the control that made the write
ever learned of the new value. Bind a checkbox and a slider to the same property and the slider can never follow the
checkbox. See that package's notes for why, and for what is announced now.

Strictly, this release is not what delivers the fix. The dependency was already a range, and 3.0.1 satisfies it, so a
consumer who upgrades the core package directly gets the fix whether or not they take this. But NuGet resolves the
lowest version a range allows, so a fresh install of 3.0.0 would go on resolving core 3.0.0 and never see it. Moving the
floor is what makes the fixed version the one a consumer gets by default.

3.0.0

BREAKING: ToOneWayToSource takes its optional parameters in the order the other factories use, scheduler before
comparer. A call which passed a comparer positionally - ToOneWayToSource (myComparer) - now binds it to the scheduler
parameter and stops compiling. The types differ, so this is a compiler error rather than a silent misbinding; name the
argument, or move it along one.

ToOneWayToSource takes an optional scheduler, matching the other three. It schedules nothing - nothing flows back out to
the view - but it identifies the binding thread, which is what lets Value throw when it is touched from another one.
BindableFactory passes its own scheduler through. See SodaFlow.Bindable.ObjectModel.Core for what the check does and
what it costs.

BREAKING: the factory methods are renamed from To to Create, on both BindableFactory and IBindableFactory:
ToBindableAction, ToOneWay, ToOneWayToSource and ToTwoWay become CreateBindableAction, CreateOneWay,
CreateOneWayToSource and CreateTwoWay. They construct rather than convert, and now say so. The ToBindableAction and
ToOneWay extension methods keep their names, since those do read as conversions of the thing they extend.

BREAKING: BindableExtensionMethods.BindableAction is gone, replaced by BindableMaybeAction<T>, alongside a new
ToBindableAction overload taking a StreamSink<Maybe<T>> so that an action can carry a parameter which may be absent.

BREAKING: requires SodaFlow 4.x, SodaFlow.Bindable.ObjectModel.Core 3.x and SodaFlow.Functional 3.x. See those packages
for what moved; the Execute change in the core one is the one to read, because it is the only break here that a compiler
will not point at.

Requires System.ValueTuple 4.6.2, where it required 4.4.0. Nothing here uses it differently: this repository named two
versions of it, one in the shipping projects and one in the test projects, and now names a single version in both. A
consumer does nothing about this; NuGet resolves the higher floor.

2.0.0

No code change. This release exists to move a dependency, and is a major version because of what moving it does to a
consumer.

Dependencies between these packages are now declared as ranges bounded at the next major, so NuGet refuses a pairing
which would fail rather than resolving it and leaving the failure until the code runs. This package now requires
SodaFlow 3.x, SodaFlow.Bindable.ObjectModel.Core 2.x and SodaFlow.Functional 2.x.

That ceiling is why this is not a minor version. Taking this release obliges a consumer to take those majors as well,
and one who names SodaFlow or SodaFlow.Functional directly, or who uses anything removed there, cannot adopt it without
changing their own code. A version they cannot adopt is not a minor one.

1.0.0

First release.

Exposes an FRP graph to a XAML binding engine, so a view model can hold cells and streams and let WPF or Avalonia bind
to them directly.

cell.ToOneWay ()                a cell as a read-only observable property cell.ToTwoWay (editsSink)       the view
writes, the graph stays authoritative cellSink.ToTwoWay ()            the same, where the sink is the whole graph
sink.ToOneWayToSource (...)     control state pushed into the graph sink.ToBindableAction (...)     an ICommand enabled
by a Cell<bool>

The binding path is {Binding SomeProperty.Value} - the property name raised on PropertyChanged is always "Value".

A two-way value is optimistic: it shows the write immediately so it does not fight the caret, then reconciles against
the cell once the graph settles, correcting anything the graph normalized or rejected.

Bindables may be constructed on any thread, so a view model needs no knowledge of the binding thread. Every one of them
is IDisposable and holds a weak subscription, so a bindable that becomes unreachable without being disposed is collected
rather than rooted for the lifetime of the sink it observes. Writes never reach a sink from inside a callback.

BindableFactory takes an IBindingScheduler by constructor injection, which is how a test substitutes
BindingScheduler.Immediate for a real dispatcher.

Depends on SodaFlow, SodaFlow.Bindable.ObjectModel.Core and SodaFlow.Functional, so installing this brings the FRP
operations along with it.

Full notes: https://github.com/MorseCode-Software/SodaFlow/releases