🚀Preview Release - v1.0.0-preview.16
Pre-release
Pre-release
·
40 commits
to preview
since this release
Carbonate Preview Release Notes - v1.0.0-preview.16
Quick Reminder
As with all software, there is always a chance for issues and bugs, especially for preview releases, which is why your input is greatly appreciated. 🙏🏼
New Features ✨
- #150 - Add fluent API to help improve the readability and setup of reactable and subscription setup.
- The fluent API types are located in a new namespace named
Carbonate.Fluent
. Use the typesReactableBuilder
andSubscriptionBuilder
.
- The fluent API types are located in a new namespace named
Breaking Changes 🧨
- #150 - Introduced many public API improvements related to parameter order, class, interface, and param names. This was done to help improve the understanding and usage of the API. Updating your code base is pretty straightforward.
- Renamed the
TDataIn
generic params in the entire codebase toTIn
. - Renamed the
TDataOut
generic params in the entire codebase toTOut
. - Renamed the
Carbonate.UniDirectional
namespace toCarbonate.OneWay
. - Renamed the
Carbonate.BiDirectional
namespace toCarbonate.TwoWay
. - Renamed the
Carbonate.Core.UniDirectional
namespace toCarbonate.Core.OneWay
. - Renamed the
Carbonate.Core.BiDirectional
namespace toCarbonate.Core.TwoWay
. - Renamed the
Carbonate.BiDirectional.IPullReactable
interface toCarbonate.TwoWay.IPushPullReactable
. - Renamed the
Carbonate.BiDirectional.PullReactable
class toCarbonate.TwoWay.PushPullReactable
. - Renamed the
Carbonate.BiDirectional.IPullable
interface toCarbonate.TwoWay.IPushablePullable
. - Renamed the
ReceiveReactor
constructor param namedonReceiveData
toonReceive
. - Renamed the non-directional
RespondReactor
constructor param namedonRespondData
toonRespond
. - Renamed the one-way
RespondReactor<TDataIn>
constructor param namedonRespondData
toonReceiveRespond
. - Renamed the two-way
RespondReactor<TDataOut, TDataIn>
constructor param namedonRespondData
toonReceiveRespond
. - Renamed the non-directional
IReceiveReactor
interface toIReceiveSubscription
. - Renamed the non-directional
ReceiveReactor
class toReceiveSubscription
. - Renamed the one-way
IReceiveReactor<TDataIn>
interface toIReceiveSubscription<TIn>
. - Renamed the one-way
ReceiveReactor<TDataIn>
class toReceiveSubscription<TIn>
. - Renamed the one-way
IRespondReactor<TDataIn>
interface toIRespondSubscription<TIn>
. - Renamed the one-way
RespondReactor<TDataIn>
class toRespondSubscription<TIn>
. - Renamed the one-way
IRespondReactor<TDataIn, TDataOut>
interface toIRespondSubscription<TIn, TOut>
. - Renamed the one-way
RespondReactor<TDataIn, TDataOut>
class toRespondSubscription<TIn, TOut>
. - Renamed the
IReactor
interface toISubscription
. - Renamed the
IReactable.Reactors
property toIReactable.Subscriptions
. - Renamed the
IReactable.Subscribe()
method parameter namedreactor
tosubscription
. - Renamed the
ReactableBase.Reactors
property toReactableBase.Subscriptions
- Renamed the
ReactableBase.Subscribe()
method parameter namedreactor
tosubscription
. - Renamed
ReactableBase
class generic parameter fromT
toTSubscription
. - Renamed the non-directional
ReceiveSubscription
constructor parametereventId
toid
. - Renamed the one-way
RespondSubscription<TOut>
constructor parameterresponded
toid
. - Renamed the two-way
RespondSubscription<TIn, TOut>
constructor parameterresponded
toid
. - Renamed the
SubscriptionBase
constructor parametereventId
toid
. - Swapped the parameter positions for parameters
name
andonReceive
for the non-directionalReceiveSubscription
constructor. -
- Used to be the
ReceiveReactor
class
- Used to be the
- Swapped the parameter positions for parameters
name
andonReceive
for the one-wayReceiveSubscription<TIn>
constructor. -
- Used to be the
ReceiveReactor<TDataIn>
class
- Used to be the
- Swapped the parameter positions for parameters
name
andonReceive
for the one-wayReceiveSubscription<TIn>
constructor. -
- Used to be the
ReceiveReactor<TDataIn>
class
- Used to be the
- Swapped the parameter positions for parameters
name
andonRespond
for the one-wayRespondSubscription<TOut>
constructor. -
- Used to be the
RespondReactor<TDataOut>
class
- Used to be the
- Swapped the parameter positions for parameters
name
andonReceiveRespond
for the two-wayRespondSubscription<TIn, TOut>
constructor. -
- Used to be the
RespondReactor<TDataIn, TDataOut>
class
- Used to be the
- Set the non-directional
ReceiveSubscription
class constructor parameter namedonReceive
to be non-nullable. -
- Used to be the
ReceiveReactor
class
- Used to be the
- Set the one-way
ReceiveSubscription<TIn>
class constructor parameter namedonReceive
to be non-nullable. -
- Used to be the
ReceiveReactor<TDataIn>
class
- Used to be the
- Set the one-way
RespondSubscription<TOut>
class constructor parameter namedonRespond
to be non-nullable. -
- Used to be the
RespondReactor<TDataOut>
class
- Used to be the
- Set the two-way
RespondSubscription<TIn, TOut>
class constructor parameter namedonReceiveRespond
to be non-nullable.- Used to be the
RespondReactor<TDataIn, TDataOut>
class
- Used to be the
- Renamed the
Dependency Updates 📦
- #149 - Updated dependency benchmarkdotnet to v0.13.8
- #147 - Updated actions/checkout action to v4
- #146 - Updated kinsondigital/infrastructure action to v13
- #145 - Updated dependency microsoft.net.test.sdk to v17.7.2
- #143 - Updated dependency microsoft.codeanalysis.netanalyzers to v7.0.4
- #141 - Updated dependency fluentassertions to v6.12.0
- #139 - Updated dependency microsoft.net.test.sdk to v17.7.1
- #138 - Updated kinsondigital/infrastructure action to v12
- #137 - Locked version of MOQ.
- #135 - Updated kinsondigital/infrastructure action to v11
- #133 - Updated dependency microsoft.net.test.sdk to v17.7.0
- #132 - Updated dependency benchmarkdotnet to v0.13.7