title: 更新日志
更新日志
CatLib的版本标准是采用:Semver语义化版本标准
摘要
版本格式:主版本号.次版本号.修订号,版本号递增规则如下:
- 主版本号:当你做了不兼容的 API 修改,
- 次版本号:当你做了向下兼容的功能性新增,
- 修订号:当你做了向下兼容的问题修正。
先行版本号及版本编译信息可以加到
主版本号.次版本号.修订号的后面,作为延伸。
v2.0.0 (unreleased)
Added
Injectallowed to be set to optional.({% issues 253%} )
Changed
- Comments translated from Chinese into English({% issues 133%} )
- Defined Container.Build as a virtual function({% issues 210%} )
- Optimizes the constructor of
MethodContainer({% issues 218%} ) - The default project uses the .net standard 2.0({% issues 225%} )
- Rename Util helper class to Helper class Change access level to internal.({% issues 230%} )
Application.IsRegistedchanged(rename) toIsRegistered({% issues 226%} )- Use
VariantAttributeto mark variable types instead ofIVariant({% issues 232%} ) GuardWill be expandable withGuard.That({% issues 233%} )- Fixed the problem of container exception stack loss({% issues 234%} )
- Adjusted the internal file structure to make it clearer({% issues 236%} ).
- Add code analyzers ({% issues 206%} )
- Refactoring event system ({% issues 177%} )
- Refactoring
RingBuffermake it inherit fromStream.({% issues 238%} ) - Namespace structure adjustment(optimization).({% issues 241%} )
Appcan be extended byThat(Handler rename to that) and removedHasHandlerAPI ({% issues 242%} )- Unnecessary inheritance: WrappedStream({% issues 247%} )
- Clean up useless comment({% issues 249%} ).
Guard.Requirecan set error messages and internal exceptions({% issues 250).- Exception class implementation support: SerializationInfo build({% issues 252%} ).
- Refactoring unit test, import moq.({% issues 255%} )
CodeStandardExceptionreplaces toLogicException({% issues 257%} )- Exception move to namespace
CatLib.Exception({% issues 258%} ) Facade<>.Instancechanged toFacade<>.That({% issues 259%} )Application.StartProcessmigrate toStartProcess({% issues 260%} )Arroptimization, lifting some unnecessary restrictions ({% issues 263%} )Stroptimization, lifting some unnecessary restrictions ({% issues 264%} )- Refactoring
SortSet({% issues 265%} ) - Removed global params in application constructor. use Application.New() instead.({% issues 267%} )
- Containers are no longer thread-safe by default({% issues 270%} )
Fixed
- Fixed a bug that caused
Arr.Fillto not work properly under special circumstances. ({% issues 255%} )
Removed
- Removed
ExcludeFromCodeCoverageAttribute({% issues 229%} ) - Removed unnecessary interface design
ISortSet({% issues 211%} ). - Removed
Versionclasses andApplication.Comparemethod.({% issues 212%} ). - Removed
Templatesupported({% issues 213%} ). - Removed
FilterChainsupported({% issues 214%} ). - Removed
Enumsupported({% issues 215%} ). - Removed
IAwaitinterface({% issues 217%} ). - Removed
Container.Flashapi({% issues 219%} ). - Removed
Arr.Flashmethod({% issues 220%} ). - Removed
Dicthelper class({% issues 221%} ). - Removed
ThreadStatichelper class({% issues 223%} ). - Removed
QuickListsupported({% issues 224%} ). - Removed
Storagesupported({% issues 228%} ) - Removed
SystemTimeclass({% issues 235%} ). - Removed
ICoroutineInitfeature from core library({% issues 243%} ). - Removed the priority attribute, depending on the loading order({% issues 244%} ).
- Removed
Util.Encoding({% issues 245%} ). - Removed
Str.Encoding({% issues 246%} ) - Removed
IServiceProviderTypefeature in core library({% issues 246%} ). - Removed unnecessary extension functions({% issues 247%} ).
- Removed
PipelineStreamstream.({% issues 256%} ) - Removed all
Obsoletemethod and clean code.({% issues 261%} ) - Removed
App.Version.({% issues 266%} )
1.x
关于 1.x 更新记录请切换至 1.x 版本
