-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusting the structure of distributed files to best practices.
- Loading branch information
Showing
9 changed files
with
183 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Release Notes | ||
|
||
## [v2.0.0-alpha.1 (2019-12-04)](https://github.com/CatLib/Core/releases/tag/v2.0.0) | ||
|
||
#### Added | ||
|
||
- `Inject` allowed to be set to optional.(#253 ) | ||
- `Arr.Test` can get matched value of the first match(#280 ) | ||
|
||
#### Changed | ||
|
||
- Comments translated from Chinese into English(#133 ) | ||
- Defined Container.Build as a virtual function(#210 ) | ||
- Optimizes the constructor of `MethodContainer`(#218 ) | ||
- The default project uses the .net standard 2.0(#225 ) | ||
- Rename Util helper class to Helper class Change access level to internal.(#230 ) | ||
- `Application.IsRegisted` changed(rename) to `IsRegistered`(#226 ) | ||
- Use `VariantAttribute` to mark variable types instead of `IVariant`(#232 ) | ||
- `Guard` Will be expandable with `Guard.That`(#233 ) | ||
- Fixed the problem of container exception stack loss(#234 ) | ||
- Adjusted the internal file structure to make it clearer(#236 ). | ||
- Add code analyzers (#206 ) | ||
- Refactoring event system (#177 ) | ||
- Refactoring `RingBuffer` make it inherit from `Stream`.(#238 ) | ||
- Namespace structure adjustment(optimization).(#241 ) | ||
- `App` can be extended by `That` (Handler rename to that) and removed `HasHandler` API (#242 ) | ||
- Unnecessary inheritance: WrappedStream(#247 ) | ||
- Clean up useless comment(#249 ). | ||
- `Guard.Require` can set error messages and internal exceptions(#250). | ||
- Exception class implementation support: SerializationInfo build(#252 ). | ||
- Refactoring unit test, import moq.(#255 ) | ||
- `CodeStandardException` replaces to `LogicException`(#257 ) | ||
- Exception move to namespace `CatLib.Exception`(#258 ) | ||
- `Facade<>.Instance` changed to `Facade<>.That`(#259 ) | ||
- `Application.StartProcess` migrate to `StartProcess`(#260 ) | ||
- `Arr` optimization, lifting some unnecessary restrictions (#263) | ||
- `Str` optimization, lifting some unnecessary restrictions (#264) | ||
- Refactoring `SortSet`(#265 ) | ||
- Removed global params in application constructor. use Application.New() instead.(#267 ) | ||
- Containers are no longer thread-safe by default(#270 ) | ||
|
||
#### Fixed | ||
|
||
- Fixed a bug that caused `Arr.Fill` to not work properly under special circumstances. (#255 ) | ||
|
||
#### Removed | ||
|
||
- Removed `ExcludeFromCodeCoverageAttribute` (#229 ) | ||
- Removed unnecessary interface design `ISortSet`(#211 ). | ||
- Removed `Version` classes and `Application.Compare` method.(#212). | ||
- Removed `Template` supported(#213 ). | ||
- Removed `FilterChain` supported(#214 ). | ||
- Removed `Enum` supported(#215 ). | ||
- Removed `IAwait` interface(#217 ). | ||
- Removed `Container.Flash` api(#219 ). | ||
- Removed `Arr.Flash` method(#220 ). | ||
- Removed `Dict` helper class(#221 ). | ||
- Removed `ThreadStatic` helper class(#223 ). | ||
- Removed `QuickList` supported(#224 ). | ||
- Removed `Storage` supported(#228 ) | ||
- Removed `SystemTime` class(#235 ). | ||
- Removed `ICoroutineInit` feature from core library(#243 ). | ||
- Removed the priority attribute, depending on the loading order(#244 ). | ||
- Removed `Util.Encoding` (#245 ). | ||
- Removed `Str.Encoding`(#246 ) | ||
- Removed `IServiceProviderType` feature in core library(#246 ). | ||
- Removed unnecessary extension functions(#247 ). | ||
- Removed `PipelineStream` stream.(#256 ) | ||
- Removed all `Obsolete` method and clean code.(#261 ) | ||
- Removed `App.Version`.(#266 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017 CatLib | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<p align="center"><img width="173" height="57" src="https://catlib.io/imgs/logo-txt.png"></p> | ||
|
||
<p align="center"> | ||
<a href="https://github.com/Catlib/Core/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" title="license-mit" /></a> | ||
<a href="https://www.nuget.org/packages/catlib.core/"><img src="https://badge.fury.io/nu/catlib.core.svg" title="Nuget Version" /></a> | ||
<a href="https://travis-ci.com/CatLib/Core"><img src="https://travis-ci.com/CatLib/Core.svg?branch=master" title="Build status"/></a> | ||
<a href="https://codecov.io/gh/CatLib/Core"> | ||
<img src="https://codecov.io/gh/CatLib/Core/branch/master/graph/badge.svg" alt="Codecov" /> | ||
</a> | ||
<a href="https://github.com/CatLib/Core/releases"> | ||
<img src="https://img.shields.io/nuget/dt/CatLib.Core.svg" alt="Downloads" /> | ||
</a> | ||
</p> | ||
|
||
## About CatLib | ||
|
||
`CatLib` is the lightweight dependency injection container and helper functions library. | ||
|
||
- [Service Provider](https://catlib.io/lasted/architecture/service-provider.html) | ||
- [Application](https://catlib.io/lasted/architecture/application.html) | ||
- [IOC Container](https://catlib.io/lasted/architecture/container.html) | ||
- [Facades](https://catlib.io/lasted/architecture/facade.html) | ||
|
||
## Install CatLib Core | ||
|
||
**Installed with Nuget** | ||
|
||
```PM | ||
$ Install-Package CatLib.Core -Version 2.0.0 | ||
``` | ||
|
||
**Installed with [Bucket](https://github.com/getbucket/bucket)** | ||
|
||
```shell | ||
$ bucket require catlib/core | ||
``` | ||
|
||
**Installed with Github Release** | ||
|
||
[Download the latest version](https://github.com/CatLib/Core/releases)。 | ||
|
||
## Learning CatLib | ||
|
||
CatLib has the most extensive and thorough [documentation](https://catlib.io), making it a breeze to get started with the framework. | ||
|
||
> 需要中文支持? 请访问[CatLib中文文档](https://zh.catlib.io)。 | ||
## Contribution | ||
|
||
CatLib is still a young framework, and her growth and your contribution are inseparable. If you want to contribute to the project, please refer to: [CatLib Contribution Guide](https://catlib.io/lasted/contribution.html) Your contribution will be included in the list of contributors,Welcome Pull Request! | ||
|
||
## License | ||
|
||
The open source license used by CatLib is [MIT license](http://opensource.org/licenses/MIT). | ||
|
||
## Support | ||
|
||
* email: support@catlib.io | ||
* slack: [catlib.slack](https://catlib.slack.com/messages/internals/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "catlib/core", | ||
"version": "2.0.0", | ||
"description": "catlib framework is the lightweight dependency injection container and helper functions library.", | ||
"keywords": ["framework", "catlib"], | ||
"license": "MIT", | ||
"homepage": "https://catlib.io", | ||
"support": { | ||
"issues": "https://github.com/CatLib/Core/issues", | ||
"source": "https://github.com/CatLib/Core" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Meng han Yu", | ||
"email": "menghanyu1994@gmail.com" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters