Skip to content

Commit

Permalink
version bump to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
meinsiedler committed Dec 17, 2019
1 parent a49138e commit 0284493
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* All packages now target `netstandard2.1`.
* It is now needed that the two decorators `softaware.Cqs.SimpleInjector.PublicCommandHandlerDecorator` and `softaware.Cqs.SimpleInjector.PublicQueryHandlerDecorator` are registered as **last** decorator in the chain when using `softaware.Cqs.SimpleInjector.DynamicCommandProcessor` and `softaware.Cqs.SimpleInjector.DynamicQueryProcessor`. This is needed so that the dynamic processors can call the correct overload of the `HandleAsync` method. Secondly this is needed when trying to call an `internal` decorator or an `internal` handler. If these two decorators are not registered, an exception will be thrown when trying to call `ExecuteAsync` on either the `ICommandProcessor` or `IQueryProcessor`. See [here](https://github.com/dotnetjunkie/solidservices/issues/21#issuecomment-382506019) for more details.
* The package `softaware.Cqs.EntityFramework` is deprecated and no longer supported. It has been removed from this release.
* The constructor paramter of `softaware.Cqs.Decorators.Validation.DataAnnotationsValidator` has been removed as it's not needed.
* The constructor parameter of `softaware.Cqs.Decorators.Validation.DataAnnotationsValidator` has been removed as it's not needed.

### New Features
* It is now possible to pass a `CancellationToken` when executing command handlers and query handlers. So it is now easily possible to cancel the execution of commands and queries. To use the cancellable version, implement the `HandleAsync(command, token)` default interface method and delegate to this implementation in the `HandleAsync(command)` method:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageTags>softaware, command-query-separation</PackageTags>
<Description>A decorator for command-query architecture, which supports transactions.</Description>
<PackageId>softaware.CQS.Decorators.Transaction</PackageId>
<Version>2.0.0-beta</Version>
<Version>2.0.0</Version>
<PackageIcon>package-icon.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<RepositoryType>git</RepositoryType>
<PackageTags>softaware, command-query-separation</PackageTags>
<PackageId>softaware.CQS.Decorators.UsageAware</PackageId>
<Version>2.0.0-beta</Version>
<Version>2.0.0</Version>
<PackageIcon>package-icon.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageIcon>package-icon.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<Version>2.0.0-beta</Version>
<Version>2.0.0</Version>
<FileVersion>2.0.0.0</FileVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageTags>softaware, command-query-separation</PackageTags>
<Description>Adds support for dynamic resolving of commands handlers and query handlers via SimpleInjector.</Description>
<PackageId>softaware.CQS.SimpleInjector</PackageId>
<Version>2.0.0-beta</Version>
<Version>2.0.0</Version>
<PackageIcon>package-icon.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion src/softaware.Cqs/softaware.Cqs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<RepositoryUrl>https://github.com/softawaregmbh/library-cqs</RepositoryUrl>
<RootNamespace>softaware.Cqs</RootNamespace>
<AssemblyName>softaware.Cqs</AssemblyName>
<Version>2.0.0-beta</Version>
<Version>2.0.0</Version>
<PackageId>softaware.CQS</PackageId>
<PackageIcon>package-icon.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down

0 comments on commit 0284493

Please sign in to comment.