Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Releases: masastack/MASA.Utils

0.5.0

27 Jul 03:31
f6f613c
Compare
Choose a tag to compare

Bug Fixes

  • Caller: Fix when the response type is DateTime and Guid #64,Fix the problem of throwing an error exception when the response content is wrong #64
  • Dapr: Fix the error in obtaining dapr process, causing dapr to be restarted #67
  • ElasticSearch: Handle the problem that the batch method in version 8.* returns an IsValid error #85
  • Prometheus: Return error message when using invalid query #81 #87

Features

  • DependencyInjection: Add convention-based auto-injection #62 #72 #74 #75
  • Dapr: Dapr supports immediate startup and public access to the complete AppId method #63
  • Caller: Support Custom HttpRequestMessage #64 #68 #76
  • FluentValidation: Add FluentValidation extension #65
  • Authentication: Add Authentication oidc #71
  • Prometheus: Add Prometheus http api query client sdk #78
  • MasaException: Add global exception UseMasaExceptionHandler, optimize the use of custom exceptions, and support modifying the log level of exceptions #82 #83 #84

Docs

  • Update homepage documentation #79
  • Es: Add FAQ #86

Chores

  • Change icon #77

修复Bug

  • Caller: 修复响应类型为DateTime和Guid时出错 #64,修复响应内容错误时抛出错误的异常信息 #64
  • Dapr: 修复获取dapr进程导致dapr重新启动的错误 #67
  • ElasticSearch: 处理8.*版本批处理方法返回IsValid错误的问题 #85
  • Prometheus: 使用无效查询时返回错误消息 #81 #87

功能

  • DependencyInjection: 添加基于约定自动注入 #62 #72 #74 #75
  • Dapr: Dapr支持立即启动,对外公开获取完整AppId方法 #63
  • Caller: 支持自定义HttpRequestMessage #64 #68 #76
  • FluentValidation: 添加FluentValidation扩展 #65
  • Authentication: 添加Authentication oidc #71
  • Prometheus: 添加 Prometheus http api 查询客户端sdk #78
  • MasaException: 新增全局异常UseMasaExceptionHandler,优化自定义异常使用,支持修改异常的日志级别 #82 #83 #84

文档

  • 更新首页文档 #79
  • Es: 添加常见问题 #86

杂务

  • 更改Icon #77

0.5.0-rc.1

19 Jul 08:41
8a17fb6
Compare
Choose a tag to compare
0.5.0-rc.1 Pre-release
Pre-release

Bug Fixes

  • Caller: Fix when the response type is DateTime and Guid #64,Fix the problem of throwing an error exception when the response content is wrong #64
  • Dapr: Fix the error in obtaining dapr process, causing dapr to be restarted #67
  • ElasticSearch: Handle the problem that the batch method in version 8.* returns an IsValid error #85
  • Prometheus: Return error message when using invalid query #81

Features

  • DependencyInjection: Add convention-based auto-injection #62 #72 #74 #75
  • Dapr: Dapr supports immediate startup and public access to the complete AppId method #63
  • Caller: Support Custom HttpRequestMessage #64 #68 #76
  • FluentValidation: Add FluentValidation extension #65
  • Authentication: Add Authentication oidc #71
  • Prometheus: Add Prometheus http api query client sdk #78
  • MasaException: Add global exception UseMasaExceptionHandler, optimize the use of custom exceptions, and support modifying the log level of exceptions #82 #83 #84

Docs

  • Update homepage documentation #79
  • Es: Add FAQ #86

Chores

  • Change icon #77

修复Bug

  • Caller: 修复响应类型为DateTime和Guid时出错 #64,修复响应内容错误时抛出错误的异常信息 #64
  • Dapr: 修复获取dapr进程导致dapr重新启动的错误 #67
  • ElasticSearch: 处理8.*版本批处理方法返回IsValid错误的问题 #85
  • Prometheus: 使用无效查询时返回错误消息 #81

功能

  • DependencyInjection: 添加基于约定自动注入 #62 #72 #74 #75
  • Dapr: Dapr支持立即启动,对外公开获取完整AppId方法 #63
  • Caller: 支持自定义HttpRequestMessage #64 #68 #76
  • FluentValidation: 添加FluentValidation扩展 #65
  • Authentication: 添加Authentication oidc #71
  • Prometheus: 添加 Prometheus http api 查询客户端sdk #78
  • MasaException: 新增全局异常UseMasaExceptionHandler,优化自定义异常使用,支持修改异常的日志级别 #82 #83 #84

文档

  • 更新首页文档 #79
  • Es: 添加常见问题 #86

杂务

  • 更改Icon #77

0.5.0-preview.6

14 Jul 10:52
eaead31
Compare
Choose a tag to compare
0.5.0-preview.6 Pre-release
Pre-release

Bug Fixes

  • Exception: GlobalExceptionFilter supports custom Handler #84
  • ElasticSearch: Handle the problem that the batch method in version 8.* returns an IsValid error #85

Bug修复

  • Exception: GlobalExceptionFilter 支持自定义Handler #84
  • ElasticSearch: 处理8.*版本批处理方法返回IsValid错误的问题 #85

0.5.0-preview.5

11 Jul 01:34
11ebf36
Compare
Choose a tag to compare
0.5.0-preview.5 Pre-release
Pre-release

Features

  • MasaException: Add global exception UseMasaExceptionHandler, optimize the use of custom exceptions, and support modifying the log level of exceptions #82 #83

功能

  • MasaException: 新增全局异常UseMasaExceptionHandler,优化自定义异常使用,支持修改异常的日志级别 #82 #83

0.5.0-preview.4

30 Jun 07:43
fe83cf2
Compare
Choose a tag to compare
0.5.0-preview.4 Pre-release
Pre-release

Features

  • Prometheus: Add Prometheus http api query client sdk #78

Docs

  • Update homepage documentation #79

Chores

  • Change icon #77

功能

  • Prometheus: 添加 Prometheus http api 查询客户端sdk #78

文档

  • 更新首页文档 #79

杂务

  • 更改Icon #77

0.5.0-preview.3

22 Jun 02:15
4319192
Compare
Choose a tag to compare
0.5.0-preview.3 Pre-release
Pre-release

Bug Fixes

  • Caller: Fix the problem of adding Caller multiple times and the CallerOptions information is not updated #76

修复Bug

  • Caller: 修复多次添加Caller出错和CallerOptions信息不更新的问题 #76

0.5.0-preview.2

21 Jun 07:31
f1dd339
Compare
Choose a tag to compare
0.5.0-preview.2 Pre-release
Pre-release

Bug Fixes

  • Caller: Fix IRequestMessage life cycle #68

Chores

  • Modify namespace #70

Docs

  • Caller: Add Caller.Core and Caller.Dapr docs #68

Features

  • Authentication: Add Authentication oidc #71
  • DependencyInjection: Add Extensions to the service、Add Dependency feature #72 #74 #75

修复Bug

  • Caller: 修复IRequestMessage生命周期 #68

杂务

  • 修改命名空间 #70

文档

  • Caller: 添加Caller.Core和Caller.Dapr文档 #68

功能

  • Authentication: 添加Authentication oidc #71
  • DependencyInjection: 添加Service扩展、添加Dependency特性 #72 #74 #75

0.5.0-preview.1

08 Jun 01:57
5f300fa
Compare
Choose a tag to compare
0.5.0-preview.1 Pre-release
Pre-release

Bug Fixes

  • Caller: Fix when the response type is DateTime and Guid #64
  • Caller: Fix the problem of throwing an error exception when the response content is wrong #64
  • Dapr: Fix the error in obtaining dapr process, causing dapr to be restarted #67

Features

  • DependencyInjection: Add convention-based auto-injection #62
  • Dapr: Dapr supports immediate startup and public access to the complete AppId method #63
  • Caller: Support Custom HttpRequestMessage #64
  • FluentValidation: Add FluentValidation extension #65

修复Bug

  • Caller: 修复响应类型为DateTime和Guid时出错 #64
  • Caller: 修复响应内容错误时抛出错误的异常信息 #64
  • Dapr: 修复获取dapr进程导致dapr重新启动的错误 #67

功能

  • DependencyInjection: 添加基于约定自动注入 #62
  • Dapr: Dapr支持立即启动,对外公开获取完整AppId方法 #63
  • Caller: 支持自定义HttpRequestMessage #64
  • FluentValidation: 添加FluentValidation扩展 #65

0.4.0

31 May 08:15
11b09f5
Compare
Choose a tag to compare

Breaking Changes

  • EntityFrameworkCore: Delete EntityFrameworkCore related class library(Migrating to Masa.Contrib)#56

Bug Fixes

  • ES: Fix batch delete based on id collection、Fix GetMultiAsync method fails to get documents #39
  • ES: Solve the problem of returning the wrong number of successfully deleted documents #43
  • Caller.HttpClient: methodName support absolute address and relative address, support contains / #47
  • Caller: Fix dynamic type conversion dictionary error #48
  • Cache: Fix redis number type error #55

Chores

  • Fix warning、remove useless namespaces #35
  • ES: Adjust string[] is IEnumerable #39
  • License: Add License #50
  • Package: Unified package version #54
  • Modify the namespace to System.Linq.Expressions #59

Docs

  • Elasticsearch: Add Elasticsearch README #33
  • Modify the introduction of the homepage ReadMe #45
  • Caller.HttpClient: Add HttpClient ReadMe #47

Features

  • Expressions: Extend And 、Or methods #30
  • Ldap.Novell: add utils for ldap with novell #31
  • Elasticsearch: Added DocumentCountAsync and ClearDocumentAsync methods and adjust the return value of the CreateElasticsearchClient method #33
  • Caller: GetAsync<TRequest, TResponse> supports objects and anonymous objects, as well as KeyValuePair<string, string>, Dictionary<string, string> values #26 #35
  • Caller: Caller handles exceptions by default, adding exception handling switches #36
  • LDAP: Add Ldap factory,Remove ToListAsync extension method #44 #46 #61
  • Caller.Core: Add GetStringAsync, GetByteArrayAsync, GetStreamAsync method overloads、Extend Get, Post, Put, Delete, Patch methods #47 #53
  • Caller.HttpClient: Add Prefix And HttpClientCallerBase adds the ConfigureHttpClient method #47

Tests

  • Elasticsearch: add Elasticsearch unit test #33
  • Elasticsearch: Unit test completion #39

Refactors

  • Caller.Dapr: Delayed acquisition of DaprCallerProvider #42
  • Caller: Adjust the Get request to get the Full Url and Improve performance #48

Renames

  • Masa.Utils.Expressions: Library renamed to Masa.Utils.Extensions.Expressions #45
  • Masa.Utils.Enums: Library renamed to Masa.Utils.Extensions.Enums #45

破坏性改动

EntityFrameworkCore: 删除EntityFrameworkCore相关类库(迁移到Masa.Contrib)#56

修复Bug

  • ES: 修复基于id集合批量删除、修复GetMultiAsync方法获取文档失败 #39
  • ES: 解决成功删除文档返回错误数量的问题 #43
  • Caller.HttpClient: methodName 支持绝对地址和相对地址,支持包含/ #47
  • Caller: 修复动态类型转换字典错误 #48
  • Cache:修复 redis 数字类型存取错误 #55

杂务

  • 修复警告、移除无用的命名空间 #35
  • ES: 调整 string[] 为 IEnumerable #39
  • License: 添加许可证 #50
  • Package: 统一包版本 #54
  • Extensions.Expressions: 修改命名空间为System.Linq.Expressions #59

文档

  • Elasticsearch: 添加Elasticsearch帮助文档 #33
  • 修改首页文档 #45
  • Caller.HttpClient: 新增HttpClient类库ReadMe文档 #47

功能

  • Expressions:Extend And 、Or 方法 #30
  • Ldap.Novell:使用 Novell 为 ldap 添加实用程序 #31
  • Elasticsearch:新增 DocumentCountAsync 和 ClearDocumentAsync 方法并调整CreateElasticsearchClient 方法的返回值 #33
  • Caller:GetAsync<TRequest, TResponse> 支持对象和匿名对象,以及 KeyValuePair<string, string>, Dictionary<string, string> 值 #26 #35
  • Caller:调用者默认处理异常,增加异常处理开关 #36
  • LDAP: 添加Ldap工厂, 移除ToListAsync扩展方法 #44 #46 #61
  • Caller.Core: 添加GetStringAsync, GetByteArrayAsync, GetStreamAsync方法重载、扩展Get、Post、Put、Delete、Patch方法 #47 #53
  • Caller.HttpClient: 添加 Prefix 和 HttpClientCallerBase 添加 ConfigureHttpClient 方法 #47

测试

  • Elasticsearch: 添加单元测试 #33
  • Elasticsearch: 完善单元测试 #39

重构

  • Caller.Dapr:延迟获取 DaprCallerProvider #42
  • Caller: 调整 Get 请求以获取完整 Url 并提高性能 #48

重命名

  • Masa.Utils.Expressions: 重命名为Masa.Utils.Extensions.Expressions #45
  • Masa.Utils.Enums: 重命名为Masa.Utils.Extensions.Enums #45

0.4.0-rc1

13 May 08:16
7a5084b
Compare
Choose a tag to compare
0.4.0-rc1 Pre-release
Pre-release

Breaking Changes(破坏性改动)

  • EntityFrameworkCore: Delete EntityFrameworkCore related class library(Migrating to Masa.Contrib)#56
    EntityFrameworkCore: 删除EntityFrameworkCore相关类库(迁移到Masa.Contrib)

Bug Fixes(修复Bug)

  • ES: Fix batch delete based on id collection、Fix GetMultiAsync method fails to get documents #39
    ES: 修复基于id集合批量删除、修复GetMultiAsync方法获取文档失败
  • ES: Solve the problem of returning the wrong number of successfully deleted documents #43
    ES: 解决成功删除文档返回错误数量的问题
  • Caller.HttpClient: methodName support absolute address and relative address, support contains / #47
    Caller.HttpClient: methodName 支持绝对地址和相对地址,支持包含/
  • Caller: Fix dynamic type conversion dictionary error #48
    Caller: 修复动态类型转换字典错误
  • Cache: Fix redis number type error #55
    Cache:修复 redis 数字类型存取错误

Chores(杂务)

  • Fix warning、remove useless namespaces #35
    修复警告、移除无用的命名空间
  • ES: Adjust string[] is IEnumerable #39
    ES: 调整 string[] 为 IEnumerable
  • License: Add License #50
    License: 添加许可证
  • Package: Unified package version #54
    Package: 统一包版本

Docs(文档)

  • Elasticsearch: Add Elasticsearch README #33
    Elasticsearch: 添加Elasticsearch帮助文档
  • Modify the introduction of the homepage ReadMe #45
    修改首页文档
  • Caller.HttpClient: Add HttpClient ReadMe #47
    Caller.HttpClient: 新增HttpClient类库ReadMe文档

Features(功能)

  • Expressions: Extend And 、Or methods #30
    Expressions:Extend And 、Or 方法
  • Ldap.Novell: add utils for ldap with novell #31
    Ldap.Novell:使用 Novell 为 ldap 添加实用程序
  • Elasticsearch: Added DocumentCountAsync and ClearDocumentAsync methods and adjust the return value of the CreateElasticsearchClient method #33
    Elasticsearch:新增 DocumentCountAsync 和 ClearDocumentAsync 方法并调整 CreateElasticsearchClient 方法的返回值
  • Caller: GetAsync<TRequest, TResponse> supports objects and anonymous objects, as well as KeyValuePair<string, string>, Dictionary<string, string> values #26 #35
    Caller:GetAsync<TRequest, TResponse> 支持对象和匿名对象,以及 KeyValuePair<string, string>, Dictionary<string, string> 值
  • Caller: Caller handles exceptions by default, adding exception handling switches #36
    Caller:调用者默认处理异常,增加异常处理开关
  • LDAP: Add Ldap factory,Remove ToListAsync extension method #44 #46
    LDAP: 添加Ldap工厂, 移除ToListAsync扩展方法
  • Caller.Core: Add GetStringAsync, GetByteArrayAsync, GetStreamAsync method overloads、Extend Get, Post, Put, Delete, Patch methods #47 #53
    Caller.Core: 添加GetStringAsync, GetByteArrayAsync, GetStreamAsync方法重载、扩展Get、Post、Put、Delete、Patch方法
  • Caller.HttpClient: Add Prefix And HttpClientCallerBase adds the ConfigureHttpClient method #47
    Caller.HttpClient: 添加 Prefix 和 HttpClientCallerBase 添加 ConfigureHttpClient 方法

Tests(测试)

  • Elasticsearch: add Elasticsearch unit test #33
    Elasticsearch: 添加单元测试
  • Elasticsearch: Unit test completion #39
    Elasticsearch: 完善单元测试

Refactors(重构)

  • Caller.Dapr: Delayed acquisition of DaprCallerProvider #42
    Caller.Dapr:延迟获取 DaprCallerProvider
  • Caller: Adjust the Get request to get the Full Url and Improve performance #48
    Caller: 调整 Get 请求以获取完整 Url 并提高性能

Renames(重命名)

  • Masa.Utils.Expressions: Library renamed to Masa.Utils.Extensions.Expressions #45
    Masa.Utils.Expressions: 重命名为Masa.Utils.Extensions.Expressions
  • Masa.Utils.Enums: Library renamed to Masa.Utils.Extensions.Enums #45
    Masa.Utils.Enums: 重命名为Masa.Utils.Extensions.Enums