Package Release Notes
WeihanLi.Common
See pull requests list for changes https://github.com/WeihanLi/WeihanLi.Common/pulls?q=is%3Apr+is%3Amerged+base%3Amaster
WeihanLi.Common 1.0.50
- Update
HttpClientExtensions
to fix extension conflict withSystem.Net.Http.Json
- Update
Validator
WeihanLi.Common 1.0.49
- Update
HttpClientExtensions
- Add
WrapTask
/WrapValueTask
support - Add
Properties
/UseWhen
forPipelineBuilder
- Refactor
Result
- Better nullable analysis
- Improve
ValueTask
support
WeihanLi.Common 1.0.48
- Fix
ValueTask
Support - Add
MockHttpHandler
- Remove
JetBrains.Annotations
- Refactor on
CommandExecutor
- Add
GetRequiredAppSetting
andGetAppSetting
with default value
WeihanLi.Common 1.0.47
- Fix NuGet package warnings
- Add
GenericLogger
- Add
Append[Line]If
with text factory - Add
TenantIdProvider
- Update
Random
for thread-safe instance - Add
ValueAsyncPipelineBuilder
- Add feature flags ConfigurationExtension
- Add .NET 6 target
- Fix nullable warnings
WeihanLi.Common 1.0.46
ConsoleLoggingProvider
implementDump
extensions- update
ValueStopwatch
/ProfilerHelper
- nullable reference types enhancement
WeihanLi.Common 1.0.44
- enable nullable reference types
- add
ValueStopwatch
- some enhancements
WeihanLi.Common 1.0.43
- refactor
RetryHelper
- update
MapHelper
/UnitOfWork
WeihanLi.Common 1.0.42
- update
HashHelper
/Exception.Unwrap
- update
object.To
extension method, fix bug when nullable type value convert - remove
ThreadPrincipalUserIdProvider
(may cause security issue)
WeihanLi.Common 1.0.41
- update
ConsoleOutput
- update
IRepository
, fix #100
WeihanLi.Common 1.0.40
- add
ProcessExecutor
/CommandRunner
/ConsoleOutput
- add
Base62Encoder
/Base36Encoder
- add
DelegateTextWriter
- add
SequentialGuidIdGenerator
- update
ResultModel
/TOTP
/ProxyUtils
/AspectCoreExtensions
/IdGenerator
/ logging extensions
WeihanLi.Common 1.0.39
- add
BuildFluentAspectsProvider
extensions - add
DelegateInterceptor
- add
NoInterceptProperty
extension - update
IInterceptorResolver
return IReadOnlyList instead of IReadCollection - add arguments for
IProxyFactory.CreateProxyWithTarget
- add support for property injection support
WeihanLi.Common 1.0.38
- add
IUserIdProvider
/ICancellationTokenProvider
- add
NullEventSubscriptionManager
- add biz models,
ReviewRequest
and more ... - update
PipelineBuilder
add empty complete delegate as default - add
JsonSerializeExtension.SerializerSettingsWith
, optimizeToEventMsg
/ToEvent
- update
FluentAspect
, allow add optional constructor parameters, export FluentAspectInterceptor for Castle and AspectCore
WeihanLi.Common 1.0.37
- refact events related
EventBus
/EventStore
/EventQueue
/EventPublisher
/EventSubscriber
- update
ResultModel
- add
ReviewState
/Categories
/PagedRequest
/BaseEntityWithDeleted
/PagedRequest
- add
CastleProxyTypeFactory
/FluentAspectInterceptorSelector
- expose
ActivateHelper
ObjectFactory
/FindApplicableConstructor
WeihanLi.Common 1.0.36
- refact
FluentAspect
, addInvocationEnricher
, fix #75 - add
IEventQueue
/DelegateHelper
/BaseEntity
WeihanLi.Common 1.0.35
- add
FluentAspect
implemented AOP - add
TimeoutAfter
extensions
WeihanLi.Common 1.0.34
- add
PipelineBuilder
to create pipeline easily - update
TotpHelper
, fix bug when the code starts with0
WeihanLi.Common 1.0.33
- update
ServiceCollectionDependencyResolver
to fix generic scoped service resolve - add
ServiceContainerDependencyResolver
- update
DataExtension
/DbConnectionExtension
/DbCommandExtension
fix #9
WeihanLi.Common 1.0.32
- update di extensions, update
GetExportedTypes
withGetTypes
- add interface type filter for
RegisterAssemblyTypesAsImplementedInterfaces
/RegisterTypeAsImplementedInterfaces
- add
ActivatorHelper.CreateInstance<T>(params object[] parameters)
- update
TotpHelper
, add check for null salt, disable backward step moving
WeihanLi.Common 1.0.31
- update
AsyncLock
, addLock
- update
DependencyResolver
- add
StringHelper.ToPascalCase
/StringHelper.ToCamelCase
- add
UnitOfWork
/DelegateLoggerProvider
/TotpOptions
- rename
JsonToType
=>JsonToObject
(breaking change)
WeihanLi.Common 1.0.30
- update
ExpressionExtension.And
/ExpressionExtension.Or
- add
SqlExpressionVisitor
- add
RegisterModule
extension forIServiceCollection
- add extensions for
IServiceContainerBuilder
WeihanLi.Common 1.0.29
- add di extension
- add
StringExtension.TrimStart(this string str, string start)
extension
WeihanLi.Common 1.0.28
- refact logging
- update
JsonResultModel
/JsonResultStatus
=>ResultModel
/ResultStatus
- add
NetHelper.IsPrivateIP
/IPNetwork
- add httpHeader parameters for
HttpHelper.HttpPostFile
WeihanLi.Common 1.0.26
- update event, add async support for publish and subscribe/unsubscribe
- update di, add
ServiceContainerBuilder
/ServiceContainerModule
to register service - update cron, export
CronExpression
- add
ArrayHelper.Empty
for net45,updateConfigurationHelper
for netstandard2.0
WeihanLi.Common 1.0.25
- add
ValidateResultModel
- update
PagedListModel
- add build-in di support
WeihanLi.Common 1.0.24.3
- add
NetHelper.GetRandomPort
- add
TaskHelper.CompletedTask
- optimize
ToByteArray(this Stream @this)
/ToByteArrayAsync(this Stream @this)
- add
ExpressionExtension.True<T>
/ExpressionExtension.False<T>
WeihanLi.Common 1.0.24.2
- optimize
CronHelper
andPagedListModel
WeihanLi.Common 1.0.24
- add logging filter
- add
Distinct<T>(Func<T, T, bool> compareFunc)
extension
WeihanLi.Common 1.0.23.8
- add
CronHelper
/ConcurrentSet
- update
EventStoreInMemory
- update logging
WeihanLi.Common 1.0.23.7
- add
PeriodBatching
- update
GetValueGetter
/GetValueSetter
WeihanLi.Common 1.0.23.6
- remove
IsEmpty
forIEventStore
- fix
EventStore
RemoveSubscribtion
bug
WeihanLi.Common 1.0.23.4
- expose
ApplicationHelper.AppRoot
- add
IEventBus
/IPAddressConverter
/IPEndPointConverter
/FuncExtension
- update
HttpClientExtensions
/SecurityHelper
WeihanLi.Common 1.0.22
- add
DateTimeFormatConverter
- add
LeftJoin
extension linq method forIEnumerable
- add
ActivatorHelper
to create instance - update
Newtonsoft.Json
package version - update
JsonResultModel
- update
Pagedlistmodel
, fix json serialize bug
WeihanLi.Common 1.0.21
- add
CancellationToken
support for Repository and DataExtensions async operations - optimize DataExtension remove
new()
LIMIT
WeihanLi.Common 1.0.20
- add sourceLink support
- add back
SetDependencyResolver(IServiceProvider serviceProvider)
for netstandard2.0 - remove
System.Configuration.ConfigurationManager
dependency for netstandard2.0 - refact
HttpRequester
, addHttpClientHttpRequester
/WebRequestHttpRequester
- add
NoProxyHttpClientHandler
WeihanLi.Common 1.0.19
- Update
IDataSerializer
methodDesrializer
=>Deserialize
- update HttpRequester
- update logging extensions
WeihanLi.Common 1.0.17
- Add
IDataCompressor
/NullDataCompressor
- Update
RetryHelper
/TotpHelper
WeihanLi.Common 1.0.15
- update Repository
- update
AsyncLock
WeihanLi.Common 1.0.14
- update DataExtension, add support for DbConnection Extension select/fetch int
- refact
HttpRequestClient
=>HttpRequester
with fluent api - add TotpHelper/ObjectId/ObjectIdGenerator