Skip to content

Commit

Permalink
Rename Release-Notes.txt to Changelog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
litenova committed Nov 26, 2023
1 parent 956ce1c commit 3e22b19
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 78 deletions.
78 changes: 78 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Changelog

## v.0.19.1
- Add `ThrowOnNoHandlers` to `EventMediationSettings` to allow throwing an exception when no handlers are found for an event.
- Fixed a bug where the pre and post handlers were being executed even when no main handlers were found.

## v.0.19.0
- Upgraded to .NET 8.

## v.0.18.4
- Rename `FilterHandler` to `HandlerFilter` on `EventMediationSettings` as it is more concise and directly states that it is a filter for handlers.

## v.0.18.3
- Add `EventMediationSettings` to IEventMediator to allow configuring event mediation.
- Add `FilterHandler` to `EventMediationSettings` to allow filtering event handlers.

## v.0.18.2
- Preserve the stack trace when rethrowing an exception in case there are no error handlers.

## v.0.18.1
- Make execution of event handlers synchronous by default.

## v.0.18.0
- All post handlers expose message result as the second parameter.
- Fixed a bug where IEventPreHandler was not asynchronous.
- Added more unit tests.

## v.0.17.1
- Add `Items` property to `IExecutionContext` to allow passing data between handlers.

## v.0.17.0
- Rename `AddCommands` method to `AddCommandModule`.
- Rename `AddEvents` method to `AddEventModule`.
- Rename `AddQueries` method to `AddQueryModule`.

## v.0.16.0
- Introduced execution context using AsyncLocal functionality, accessible through AmbientExecutionContext.
- Renamed `RegisterFrom` to `RegisterFromAssembly` in module builders.
- Standardized namespace for all files in the `LiteBus.Messaging.Abstractions` project to `LiteBus.Messaging.Abstractions`, irrespective of folder path.
- Removed `HandleContext` as a parameter from post and pre handlers.

## v.0.15.1
- Removed `IEvent` constraint from event handlers, allowing objects to be passed as events without implementing the `IEvent` interface.

## v.0.15.0
- Added overload method to event publisher for passing an object as a message.
- Removed `LiteBus` prefix from module constructor names.

## v.0.14.1
- Upgraded dependency packages.

## v.0.14.0
- Upgraded to .NET 7.

## v.0.13.0
- Replaced `ICommandBase` with `ICommand`.
- Replaced `IQueryBase` with `IQuery`.
- Renamed `ILiteBusModule` to `IModule`.
- Removed methods `RegisterPreHandler`, `RegisterHandler`, and `RegisterPostHandler`, replacing them with `Register`.
- Removed superfluous base interfaces.

## v.0.12.0
- Added support to message registry for registering any class type as a message.

## v.0.11.3
- Fixed bug: Execute error handlers instead of pre handlers during error phase.

## v.0.11.2
- Fixed bug: Considered the count of indirect error handlers when determining if an exception should be rethrown.

## v.0.11.1
- Disabled nullable reference types.
- Ensured error handlers cover errors in pre and post handlers.

## v.0.11.0
- Introduced non-generic message registration overloads for events, queries, and messaging configuration.
- Removed the sample project.
- Added unit tests for events and queries.
2 changes: 1 addition & 1 deletion LiteBus.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ProjectSection(SolutionItems) = preProject
LICENSE = LICENSE
README.md = README.md
global.json = global.json
Release-Notes.txt = Release-Notes.txt
Changelog.md = Changelog.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LiteBus.Messaging.Abstractions", "src\LiteBus.Messaging.Abstractions\LiteBus.Messaging.Abstractions.csproj", "{6FB3AC81-0C18-4CCC-8C05-06AC881C5F14}"
Expand Down
76 changes: 0 additions & 76 deletions Release-Notes.txt

This file was deleted.

7 changes: 6 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<Authors>A. Shafie</Authors>
<PackageTags>mediator;cqrs</PackageTags>
<VersionPrefix>0.19.1</VersionPrefix>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(SolutionDir)\Release-Notes.txt"))</PackageReleaseNotes>
<PackageIcon>icon.png</PackageIcon>
<Description>LiteBus is an easy-to-use and ambitious in-process mediator providing the foundation to implement Command Query Separation (CQS). It is implemented with minimal reflection and instead utilizes covariance and contravariance to provide its core functionality.</Description>
<PackageProjectUrl>https://github.com/litenova/LiteBus</PackageProjectUrl>
Expand All @@ -22,4 +21,10 @@
<InternalsVisibleTo Include="LiteBus.UnitTests"/>
</ItemGroup>

<Target Name="SetPackageReleaseNotes" BeforeTargets="GenerateNuspec">
<PropertyGroup>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(SolutionDir)\Changelog.md"))</PackageReleaseNotes>
</PropertyGroup>
</Target>

</Project>

0 comments on commit 3e22b19

Please sign in to comment.