Skip to content

Commit 4257445

Browse files
committed
Bump versions and update changelog
1 parent 5af7e74 commit 4257445

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

Funcky.Analyzers/Funcky.Analyzers.Package/Funcky.Analyzers.Package.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313
<PropertyGroup Label="NuGet Metadata">
1414
<PackageId>Funcky.Analyzers</PackageId>
15-
<PackageVersion>1.2.0</PackageVersion>
15+
<PackageVersion>1.3.0</PackageVersion>
1616
<Description>Analyzers to guide to the correct usage of Funcky.</Description>
1717
<PackageTags>funcky, analyzers, roslyn</PackageTags>
1818
<DevelopmentDependency>true</DevelopmentDependency>

Funcky.Analyzers/Funcky.Analyzers/AnalyzerReleases.Shipped.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ Rule ID | Category | Severity | Notes
2424
λ1007 | Funcky | Warning | OptionMatchAnalyzer
2525
λ1008 | Funcky | Warning | OptionMatchAnalyzer
2626

27+
## Release 1.3

Funcky.Xunit/Funcky.Xunit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Nullable>enable</Nullable>
66
<Description>Package to use Funcky with xUnit</Description>
77
<PackageTags>Functional Monad xUnit</PackageTags>
8-
<Version>2.0.0</Version>
8+
<Version>2.0.1</Version>
99
<IncludeSymbols>true</IncludeSymbols>
1010
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1111
<RootNamespace>Funcky</RootNamespace>

Funcky/Funcky.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Product>Funcky</Product>
88
<Description>Funcky is a functional C# library</Description>
99
<PackageTags>Functional Monad Linq</PackageTags>
10-
<VersionPrefix>3.2.0</VersionPrefix>
10+
<VersionPrefix>3.3.0</VersionPrefix>
1111
<IncludeSymbols>true</IncludeSymbols>
1212
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1313
<PackageReadmeFile>README.md</PackageReadmeFile>

changelog.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
All notable changes to this project will be documented in this file.
33
Funcky adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## Funcky 3.3.0 | Funcky.Analyzers 1.3.0 | Funcky.Xunit 2.0.1
6+
This is a relatively minor release focuses on convenience for our monads `Option`, `Either` and `Result`.
7+
8+
### `GetOrElse` and `OrElse` for all
9+
We've added `GetOrElse` and `OrElse` to `Either` and `Result` bringing them on par with `Option`. \
10+
The corresponding analyzer now also correctly suggests using these methods instead of `Match` for `Result` and `Either`.
11+
12+
### `Inspect` for the error case
13+
All three alternative monads `Option`, `Either` and `Result` now support inspecting the «error» case:
14+
* `Option.InspectNone` - executes a side effect only when the option is `None`.
15+
* `Either.InspectLeft` - executes a side effect only when the either is on the `Left` side.
16+
* `Result.InspectError` - executes a side effect only when the result is an `Error`.
17+
18+
These methods are particularly useful for logging warnings/errors.
19+
520
## Funcky 3.2.0 | Funcky.Async 1.2.0
621
### List Pattern for Option
722
We've added support for C# 11's List Patterns to `Option<T>`.

0 commit comments

Comments
 (0)