Skip to content

Releases: masastack/MASA.Framework

0.6.0-preview.9

02 Sep 03:47
244ab48
Compare
Choose a tag to compare
0.6.0-preview.9 Pre-release
Pre-release

Bug Fixes

  • Caller: Fix the error when the response value is a value type, a collection of strings #223
  • Identity: Fix the problem that IUserSetter temporarily changes the user to obtain user information error #226
  • Expressions: Fix And, Or extension

Features

  • Configuration: Supports mounting multiple configuration nodes with the same class #225

Refactors

  • Auth: Modify Authentication #224

修复Bug

  • Caller: 修复响应值为值类型、字符串集合时的错误 #223
  • Identity: 修复 IUserSetter 临时更改用户获取用户信息错误的问题 #226
  • Expressions: 修复 And, Or 扩展

Features

  • Configuration: 支持使用同一个类挂载多个配置节点 #225

Refactors

  • Auth: 修改认证 #224

0.6.0-preview.8

29 Aug 09:43
95880c5
Compare
Choose a tag to compare
0.6.0-preview.8 Pre-release
Pre-release

Bug Fixes

  • Dispatcher.Events: Fixed the possibility of obtaining the wrong Handler object in high concurrency scenarios, and prompting A second operation started on this context before a previous operation completed when using DbContext #221
  • Caller: Fix Caller does not support response value as null #222

Features

  • Auth: Add HttpClientAuthorizationDelegatingHandler #219 Add UpdateUseremailModel #220

修复Bug

  • Dispatcher.Events: 修复高并发场景下可能获取到错误的Handler对象,使用DbContext时提示A second operation started on this context before a previous operation completed #221
  • Caller: 修复Caller响应值不支持null #222

功能

  • Auth: 添加HttpClientAuthorizationDelegatingHandler #219 添加UpdateUseremailModel #220

0.5.1

26 Aug 10:08
Compare
Choose a tag to compare

Bug Fixes

  • Dispatcher.Events: Fixed the possibility of obtaining the wrong Handler object in high concurrency scenarios, and prompting A second operation started on this context before a previous operation completed when using DbContext

修复Bug

  • Dispatcher.Events: 修复高并发场景下可能获取到错误的Handler对象,使用DbContext时提示A second operation started on this context before a previous operation completed

0.6.0-preview.7

23 Aug 08:29
ef6575d
Compare
Choose a tag to compare
0.6.0-preview.7 Pre-release
Pre-release

Features

  • Auth: Add UpdateStaffAvatarAsync、UpdateUserPhoneNumberAsync、SendMsgCodeForVerificationAsync、VerifyMsgCodeAsync、SendMsgCodeForUpdatePhoneNumberAsync methods #218

Refactors

  • ConfigurationApi.Dcc: Simplified Dcc configuration #215
  • Identity: Remove useless code & extend MasaIdentityModel method to support custom format #216

功能

  • Auth: 添加修改员工头像、更新用户手机号、发送校验手机号验证码、发送修改手机号验证码、校验验证码方法 #218

重构

  • ConfigurationApi.Dcc: 重构Dcc,简化Dcc配置 #215
  • Identity: 删除无用代码 & 扩展MasaIdentityModel方法支持自定义格式 #216

0.6.0-preview.6

18 Aug 07:59
d649ac2
Compare
Choose a tag to compare
0.6.0-preview.6 Pre-release
Pre-release

Bug Fixes

  • Ddd: Fix Entity entity Equals method error (bug in 0.6.0-preview.4) #206
  • Configuration: Fix IMasaConfiguration case sensitive issue #208
  • AutoComplete: fix setting content error (error content startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=, endOffset=,lastStartOffset=* for field 'text') #209
  • Scheduler: Fix GetSchedulerJobQueryByIdentityAsync api url error #211

Features

  • Auth: Support for modifying user avatars #210

Docs

Styles

  • Identity: Modify the access level of the CurrentUser property #207

修复Bug

  • Ddd: 修复Entity实体Equals方法错误(0.6.0-preview.4出现的bug) #206
  • Configuration: 修复IMasaConfiguration大小写敏感问题 #208
  • AutoComplete: 修复设置内容出错 (错误内容startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=, endOffset=,lastStartOffset=* for field 'text') #209
  • Scheduler: 修复 GetSchedulerJobQueryByIdentityAsync 接口地址错误 #211

功能

  • Auth: 支持修改用户头像 #210

文档

格式

  • Identity: 修改CurrentUser属性的访问级别 #207

0.6.0-preview.5

16 Aug 09:27
695fd10
Compare
Choose a tag to compare
0.6.0-preview.5 Pre-release
Pre-release

Bug Fixes

  • Identity: Fix the problem that _currentUser is empty #205

修复bug

  • Identity: 修复_currentUser为空的问题 #205

0.6.0-preview.4

16 Aug 06:47
784531b
Compare
Choose a tag to compare
0.6.0-preview.4 Pre-release
Pre-release

Bug Fixes

  • Cqrs: Remove the warning that the query result cannot be empty #198

Features

  • Data: Add IIdGeneratorMasaApp #188
  • PM: ProjectModel Add TeamId Attributes #190
  • Auth: Add AddThirdPartyUser #191 #194 Use IMemoryCacheClientFactory to create MemoryCacheClient #202
  • SchedulerJob: Add job logger #195 #196 Add get scheduler job by api #197
  • Caller: Extends ConfigHttpRequestMessage to support services that get the same lifecycle as CallerBase #203

Refactors

  • Identity: Support custom User Model #192

Renames

  • ReadWriteSpliting → ReadWriteSplitting #204

Chores

  • Optimize namespaces #189
  • Deal with code smells #193

Tests

  • Prometheus: tests update #187

修复bug

  • Cqrs: 移除查询结果不能为空的警告 #198

功能

  • Data: 新增IIdGeneratorMasaApp #188
  • PM: ProjectModel 增加 TeamId 属性 #190
  • Auth: 添加 AddThirdPartyUser #191 #194 使用 IMemoryCacheClientFactory 创建 MemoryCacheClient #202
  • SchedulerJob: 支持任务日志 #195 #196 通过api 添加获取调度程序作业 #197
  • Caller: 扩展 ConfigHttpRequestMessage 以支持获得与CallerBase 相同的生命周期的服务 #203

重构

  • Identity: 支持自定义用户Model (#192)

重命名

  • ReadWriteSpliting → ReadWriteSplitting #204

杂务

  • 优化命名空间 #189
  • 处理代码异味 #193

测试

  • Prometheus: 更新测试 #187

0.6.0-preview.3

09 Aug 02:34
db20f02
Compare
Choose a tag to compare
0.6.0-preview.3 Pre-release
Pre-release

Bug Fixes

  • Redis: Fix Redis query data error #185

Refactors

  • Remove Masa.Utils.Caller library (UseMasa.Contrib.Caller) #184

修复Bug

  • Redis: 修复Redis查询数据错误 #185

重构

  • 移除Masa.Utils.Caller类库 (使用Masa.Contrib.Caller) #184

0.6.0-preview.2

08 Aug 11:12
a5bdc40
Compare
Choose a tag to compare
0.6.0-preview.2 Pre-release
Pre-release

Features

  • Masa.Utils.Caching.Redis: Support fuzzy query #173
  • Masa.Utils.Exceptions: Add ErrorCode (support multiple languages later) #174
  • Auth: Add UpdateStaffBasicInfo,support MultiEnvironment #175 #180
  • Masa.Contrib.Configuration: Add Global Configuration #176

Refactors

  • Refactor repo structure #171

Docs

  • Masa.Utils.Exceptions Readme #179

Renames

  • Naming rule adjustment: Oidc renamed to OpenIdConnect
    • Masa.BuildingBlocks.Authentication.Oidc.Cache renamed to Masa.BuildingBlocks.Authentication.OpenIdConnect.Cache
    • Masa.BuildingBlocks.Authentication.Oidc.Domainrenamed toMasa.BuildingBlocks.Authentication.OpenIdConnect.Domain
    • Masa.BuildingBlocks.Authentication.Oidc.Modelsrenamed toMasa.BuildingBlocks.Authentication.OpenIdConnect.Models
    • Masa.BuildingBlocks.Authentication.Oidc.Storagerenamed toMasa.BuildingBlocks.Authentication.OpenIdConnect.Storage
    • Masa.Contrib.Authentication.Oidc.Cacherenamed toMasa.Contrib.Authentication.OpenIdConnect.Cache
    • Masa.Contrib.Authentication.Oidc.Cache.Storagerenamed toMasa.Contrib.Authentication.OpenIdConnect.Cache.Storage
    • Masa.Contrib.Authentication.Oidc.EFCorerenamed toMasa.Contrib.Authentication.OpenIdConnect.EFCore
  • Naming rule adjustment: EntityFrameworkCoreEF renamed to EFCore
    • Masa.Contrib.Data.EntityFrameworkCorerenamed toMasa.Contrib.Data.EFCore
    • Masa.Contrib.Data.EntityFrameworkCore.SqlServerrenamed toMasa.Contrib.Data.EFCore.SqlServer
    • Masa.Contrib.Data.EntityFrameworkCore.Sqliterenamed toMasa.Contrib.Data.EFCore.Sqlite
    • Masa.Contrib.Data.EntityFrameworkCore.Cosmosrenamed toMasa.Contrib.Data.EFCore.Cosmos
    • Masa.Contrib.Data.EntityFrameworkCore.Oraclerenamed toMasa.Contrib.Data.EFCore.Oracle
    • Masa.Contrib.Data.EntityFrameworkCore.PostgreSqlrenamed toMasa.Contrib.Data.EFCore.PostgreSql
    • Masa.Contrib.Data.EntityFrameworkCore.MySqlrenamed toMasa.Contrib.Data.EFCore.MySql
    • Masa.Contrib.Data.EntityFrameworkCore.Pomelo.MySqlrenamed toMasa.Contrib.Data.EFCore.Pomelo.MySql
    • Masa.Contrib.Data.EntityFrameworkCore.InMemoryrenamed toMasa.Contrib.Data.EFCore.InMemory
    • Masa.Contrib.Isolation.UoW.EFrenamed toMasa.Contrib.Isolation.UoW.EFCore
    • Masa.Contrib.Dispatcher.IntegrationEvents.EventLogs.EFrenamed toMasa.Contrib.Dispatcher.IntegrationEvents.EventLogs.EFCore
    • Masa.Contrib.Ddd.Domain.Repository.EF renamed toMasa.Contrib.Ddd.Domain.Repository.EFCore
    • Masa.Contrib.Data.UoW.EFrenamed toMasa.Contrib.Data.UoW.EFCore
    • Masa.Contrib.Data.Contracts.EFrenamed toMasa.Contrib.Data.Contracts.EFCore
  • Naming rule adjustment: BasicAbility renamed to StackSdks
    • Masa.BuildingBlocks.BasicAbility.Authrenamed toMasa.BuildingBlocks.StackSdks.Auth
    • Masa.BuildingBlocks.BasicAbility.Auth.Contractsrenamed toMasa.BuildingBlocks.StackSdks.Auth.Contracts
    • Masa.BuildingBlocks.BasicAbility.Dccrenamed toMasa.BuildingBlocks.StackSdks.Dcc
    • Masa.BuildingBlocks.BasicAbility.Pmrenamed toMasa.BuildingBlocks.StackSdks.Pm
    • Masa.BuildingBlocks.BasicAbility.Mcrenamed toMasa.BuildingBlocks.StackSdks.Mc
    • Masa.BuildingBlocks.BasicAbility.Schedulerrenamed toMasa.BuildingBlocks.StackSdks.Scheduler
    • Masa.BuildingBlocks.BasicAbility.Tscrenamed toMasa.BuildingBlocks.StackSdks.Tsc
    • Masa.Contrib.BasicAbility.Authrenamed toMasa.Contrib.StackSdks.Auth
    • Masa.Contrib.BasicAbility.Auth.Contractsrenamed toMasa.Contrib.StackSdks.Auth.Contracts
    • Masa.Contrib.BasicAbility.Dccrenamed toMasa.Contrib.StackSdks.Dcc
    • Masa.Contrib.BasicAbility.Pmrenamed toMasa.Contrib.StackSdks.Pm
    • Masa.Contrib.BasicAbility.Mcrenamed toMasa.Contrib.StackSdks.Mc
    • Masa.Contrib.BasicAbility.Schedulerrenamed toMasa.Contrib.StackSdks.Scheduler
    • Masa.Contrib.BasicAbility.Tscrenamed toMasa.Contrib.StackSdks.Tsc
  • Other
    • Masa.BuildingBlocks.Identity.IdentityModel renamed toMasa.BuildingBlocks.Authentication.Identity
    • Masa.Contrib.Identity.IdentityModel renamed toMasa.Contrib.Authentication.Identity
    • Masa.Contrib.Identity.IdentityModel renamed toMasa.BuildingBlocks.Authentication.Identity
    • Masa.Contrib.Authentication.Oidc.EntityFrameworkCorerenamed toMasa.Contrib.Authentication.OpenIdConnect.EFCore

功能

  • Masa.Utils.Caching.Redis: 支持模糊Key取值 #173
  • Masa.Utils.Exceptions: 增加ErrorCode #174
  • Auth: 增加更新员工信息方法、增加多环境支持 #175 #180
  • Masa.Contrib.Configuration: 增加全局配置 #176

重构

  • 项目结构调整 #171

文档

  • 全局异常文档更新 #179

重命名

  • 命名规则调整:Oidc重命名为OpenIdConnect
    • Masa.BuildingBlocks.Authentication.Oidc.Cache重命名为Masa.BuildingBlocks.Authentication.OpenIdConnect.Cache
    • Masa.BuildingBlocks.Authentication.Oidc.Domain重命名为Masa.BuildingBlocks.Authentication.OpenIdConnect.Domain
    • Masa.BuildingBlocks.Authentication.Oidc.Models重命名为Masa.BuildingBlocks.Authentication.OpenIdConnect.Models
    • Masa.BuildingBlocks.Authentication.Oidc.Storage重命名为Masa.BuildingBlocks.Authentication.OpenIdConnect.Storage
    • Masa.Contrib.Authentication.Oidc.Cache重命名为Masa.Contrib.Authentication.OpenIdConnect.Cache
    • Masa.Contrib.Authentication.Oidc.Cache.Storage重命名为Masa.Contrib.Authentication.OpenIdConnect.Cache.Storage
    • Masa.Contrib.Authentication.Oidc.EFCore重命名为Masa.Contrib.Authentication.OpenIdConnect.EFCore
  • 命名规则调整:EntityFrameworkCoreEF 重命名为EFCore
    • Masa.Contrib.Data.EntityFrameworkCore重命名为Masa.Contrib.Data.EFCore
    • Masa.Contrib.Data.EntityFrameworkCore.SqlServer重命名为Masa.Contrib.Data.EFCore.SqlServer
    • Masa.Contrib.Data.EntityFrameworkCore.Sqlite重命名为Masa.Contrib.Data.EFCore.Sqlite
    • Masa.Contrib.Data.EntityFrameworkCore.Cosmos重命名为Masa.Contrib.Data.EFCore.Cosmos
    • Masa.Contrib.Data.EntityFrameworkCore.Oracle重命名为Masa.Contrib.Data.EFCore.Oracle
    • Masa.Contrib.Data.EntityFrameworkCore.PostgreSql重命名为Masa.Contrib.Data.EFCore.PostgreSql
    • Masa.Contrib.Data.EntityFrameworkCore.MySql重命名为Masa.Contrib.Data.EFCore.MySql
    • Masa.Contrib.Data.EntityFrameworkCore.Pomelo.MySql重命名为Masa.Contrib.Data.EFCore.Pomelo.MySql
    • Masa.Contrib.Data.EntityFrameworkCore.InMemory重命名为Masa.Contrib.Data.EFCore.InMemory
    • Masa.Contrib.Isolation.UoW.EF重命名为Masa.Contrib.Isolation.UoW.EFCore
    • Masa.Contrib.Dispatcher.IntegrationEvents.EventLogs.EF重命名为Masa.Contrib.Dispatcher.IntegrationEvents.EventLogs.EFCore
    • Masa.Contrib.Ddd.Domain.Repository.EF重命名为Masa.Contrib.Ddd.Domain.Repository.EFCore
    • Masa.Contrib.Data.UoW.EF重命名为Masa.Contrib.Data.UoW.EFCore
    • Masa.Contrib.Data.Contracts.EF重命名为Masa.Contrib.Data.Contracts.EFCore
  • 命名规则调整:BasicAbility重命名为StackSdks
    • Masa.BuildingBlocks.BasicAbility.Auth重命名为Masa.BuildingBlocks.StackSdks.Auth
    • Masa.BuildingBlocks.BasicAbility.Auth.Contracts重命名为Masa.BuildingBlocks.StackSdks.Auth.Contracts
    • Masa.BuildingBlocks.BasicAbility.Dcc重命名为Masa.BuildingBlocks.StackSdks.Dcc
    • Masa.BuildingBlocks.BasicAbility.Pm重命名为Masa.BuildingBlocks.StackSdks.Pm
    • Masa.BuildingBlocks.BasicAbility.Mc重命名为Masa.BuildingBlocks.StackSdks.Mc
    • Masa.BuildingBlocks.BasicAbility.Scheduler重命名为Masa.BuildingBlocks.StackSdks.Scheduler
    • Masa.BuildingBlocks.BasicAbility.Tsc重命名为Masa.BuildingBlocks.StackSdks.Tsc
    • Masa.Contrib.BasicAbility.Auth重命名为Masa.Contrib.StackSdks.Auth
    • Masa.Contrib.BasicAbility.Auth.Contracts重命名为Masa.Contrib.StackSdks.Auth.Contracts
    • Masa.Contrib.BasicAbility.Dcc重命名为Masa.Contrib.StackSdks.Dcc
    • Masa.Contrib.BasicAbility.Pm重命名为Masa.Contrib.StackSdks.Pm
    • Masa.Contrib.BasicAbility.Mc重命名为Masa.Contrib.StackSdks.Mc
    • Masa.Contrib.BasicAbility.Scheduler重命名为Masa.Contrib.StackSdks.Scheduler
    • Masa.Contrib.BasicAbility.Tsc重命名为Masa.Contrib.StackSdks.Tsc
  • 其它
    • Masa.BuildingBlocks.Identity.IdentityModel 重命名为Masa.BuildingBlocks.Authentication.Identity
    • Masa.Contrib.Identity.IdentityModel 重命名为Masa.Contrib.Authentication.Identity
    • Masa.Contrib.Authentication.Oidc.EntityFrameworkCore重命名为Masa.Contrib.Authentication.OpenIdConnect.EFCore

0.6.0-preview.1

29 Jul 06:39
8117ffd
Compare
Choose a tag to compare
0.6.0-preview.1 Pre-release
Pre-release

Features

  • Auth: Add get user list based on account #166 #167 #169 Support login via Ldap #170
  • Caller: Add Service.Caller (supports setting HttpRequestMessage for DaprClient) #168

功能

  • Auth: 添加根据账户获取用户列表 #166 #167 #169
    支持通过Ldap登录#170
  • Caller: 添加 Service.Caller(支持为DaprClient设置HttpRequestMessage)#168