From 73712d6635a7bc201b61b6a6c9debb523788da75 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Mon, 7 Mar 2022 00:00:47 +0100 Subject: [PATCH] Update changelog --- CHANGELOG.md | 12 ++++-------- README.md | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6656ebc..15a98e7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [v5.2.0] - +## [v5.2.0] - 2022-03-07 ### Fixed - Unable to resolve IHubContext. [#114](https://github.com/z4kn4fein/stashbox/issues/114) ### Added @@ -13,13 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ```cs .Register(options => options .WithFactory(requestContext => - { - var result = new Service(); - if (resultShouldBeExcludedFromTracking()) - return requestContext.ExcludeFromTracking(new Service()); - - return result; - }) + requestContext.ExcludeFromTracking(/* get an existing or instantiate a new service */) + ) ); ``` - A new `ResolveFactoryOrDefault()` method that allows `null` results. @@ -230,6 +225,7 @@ The validation was executed only at the expression tree building phase, so an al - Removed the legacy container extension functionality. - Removed the support of PCL v259. +[v5.2.0]: https://github.com/z4kn4fein/stashbox/compare/5.1.0...5.2.0 [v5.1.0]: https://github.com/z4kn4fein/stashbox/compare/5.0.1...5.1.0 [v5.0.1]: https://github.com/z4kn4fein/stashbox/compare/5.0.0...5.0.1 [v5.0.0]: https://github.com/z4kn4fein/stashbox/compare/4.1.0...5.0.0 diff --git a/README.md b/README.md index 35b853ad..47b1635b 100644 --- a/README.md +++ b/README.md @@ -68,4 +68,4 @@ Github (stable) | NuGet (stable) | Fuget (stable) | NuGet (pre-release) *Powered by [Jetbrains'](https://www.jetbrains.com/?from=Stashbox) [Open Source License](https://www.jetbrains.com/community/opensource/?from=Stashbox)* -[![Jetbrains](https://cdn.rawgit.com/z4kn4fein/stashbox/master/assets/jetbrains.svg)](https://www.jetbrains.com/?from=Stashbox) +[![Jetbrains](https://raw.githubusercontent.com/z4kn4fein/stashbox/master/assets/jetbrains.svg)](https://www.jetbrains.com/?from=Stashbox)