Skip to content

0.4.0-rc1

Pre-release
Pre-release

Choose a tag to compare

@doddgu doddgu released this 13 May 09:32
· 633 commits to main since this release
8fa12ac

Breaking Changes(破坏性改动)

  • EventLogs.EF: Row Version field type changed to string (byte[] database compatibility is poor)
    Event Logs.EF:Rowversion 字段类型更改为字符串(byte[] 数据库兼容性差)
  • Repository.EF: change _context To Context
    Repository.EF:将 _context 更改为 Context
  • Dispatcher: Added IDistributedDispatcherOptions (inheriting IDispatcherOptions), and UseDaprEventBus was changed to an extension of IDistributedDispatcherOptions
    Dispatcher:新增 IDistributedDispatcherOptions(继承 IDispatcherOptions),UseDaprEventBus 改为 IDistributedDispatcherOptions 的扩展
  • CustomizeDbContext inherits from IntegrationEventLogContext to MasaDbContext
    自定义DbContext从 IntegrationEventLogContext 改为继承 MasaDbContext
  • Isolation: The configuration is modified to #52
    Isolation: 配置调整
    {
      "ConnectionStrings": {
        "DefaultConnection": "server=localhost;uid=sa;pwd=P@ssw0rd;database=identity;"
      },
      "IsolationConnectionStrings": [ //reanme Isolation to IsolationConnectionStrings, and from ConnectionStrings to root.
        {
          "TenantId": "*",
          "Environment": "development",
          "ConnectionString": "server=localhost,1434;uid=sa;pwd=P@ssw0rd;database=identity;",
          "Score": 99
        },
        {
          "TenantId": "00000000-0000-0000-0000-000000000002",
          "Environment": "development",
          "ConnectionString": "server=localhost,1435;uid=sa;pwd=P@ssw0rd;database=identity;"
        }
      ]
    }

Bug Fixes(修复Bug)

  • EventBus: Throws an exception while retaining the original stack information and does not change the exception information #25
    EventBus:抛出异常,同时保留原始堆栈信息,不改变异常信息
  • Repository: Fix entities to use IRepository, but we recommend using IRepository for aggregate roots instead of entities #33
    Repository:修复实体以使用 IRepository,但我们建议将 IRepository 用于聚合根,而不是 IRepository 用于实体 #33

Chores(杂务)

  • Repository.EF: change _context To Context #22
  • IntegrationEvents.Dapr: Adjust UoW enable check prompt #28
  • UoW.EF: Remove invalid references #28
  • Modify using global using #30
  • Update MASA.Utils library package to 0.4.0-preview.3 #37
  • AutoComplete: Upgrade Masa.Utils library version to 0.4.0-preview.4 #43
  • Add License #48
    添加 License
  • Change .editorconfig #52
    修改 .editorconfig
  • Unified version, upgrade Masa.Utils Library Package to 0.4.0-preview.5 #57
    统一版本,升级 Masa.Utils 包到 0.4.0-preview.5
  • Upgrade Masa.Utils Library Package to 0.4.0-rc1 #60
    升级 Masa.Utils 包到 0.4.0-rc1

CI(流水线)

  • Github Action: Add Es job #24
    Github Action: 添加Es任务

Docs(文档)

  • Ddd.Domain: Adjust Masa.Contrib.Ddd.Domain doc #21
    Ddd.Domain:调整 Masa.Contrib.Ddd.Domain 文档
  • IntegrationEvents.Dapr: adjust Masa.Contrib.Dispatcher.IntegrationEvents.Dapr doc #21
    IntegrationEvents.Dapr:调整 Masa.Contrib.Dispatcher.IntegrationEvents.Dapr 文档
  • SearchEngine.AutoComplete: add AutoComplete Readme #24
    SearchEngine.AutoComplete:添加AutoComplete文档
  • UoW: Fix UoW documentation errors #27
    UoW:修复 UoW 文档错误
  • Isolation: Added Isolation doc #28 #29 #31
    Isolation:添加了Isolation文档
  • AutoComplete.ElasticSearch: Modify the AutoComplete.ElasticSearch document #44
    AutoComplete.ElasticSearch:修改 AutoComplete.ElasticSearch 文档
  • CQRS: Modify the introduction of the Readme #44
    CQRS:修改Readme的介绍
  • Homepage ReadMe: Modify the introduction of the homepage Readme #44
    Homepage ReadMe:修改主页Readme文档
  • Isolation.MultiEnvironment: Modify the introduction of the Readme #44
    Isolation.MultiEnvironment:修改Readme的介绍
  • Isolation.UoW.EF: Modify the Readme document #52
    Isolation.UoW.EF: 修改 Readme 文档
  • EventBus: Modify EventBus documentation #53
    EventBus: 修改 EventBus 文档

Features(功能)

  • SearchEngine.AutoComplete: Support autocomplete #24
    SearchEngine.AutoComplete:支持autocomplete
  • UoW: Extend UseUoW method for IEventBusBuilder #27
    UoW: IEventBusBuilder扩展UseUoW方法
  • UoW: Added IUnitOfWorkManager and IUnitOfWorkAccessor, Support for creating new DbContext, IUnitOfWork Add IServiceProvider #27
    UoW:新增IUnitOfWorkManager和IUnitOfWorkAccessor,支持新建DbContext,IUnitOfWork新增IServiceProvider
  • Isolation: Added isolation support #28
    Isolation:添加Isolation支持
  • UoW.EF: CreateDbContext supports lazy loading #28
    UoW.EF: CreateDbContext 支持延迟加载
  • Pm: Added pm client #32
    Pm:添加Pm客户端
  • Storage: Added Aliyun Cloud Storage
    Storage:新增阿里云云存储
  • Repository: Add GetPaginatedListAsync By sorting and RemoveAsync By Id、RemoveRangeAsync By Id Collection、Add GetListAsync methods By Sorting #38
    Repository:添加 GetPaginatedListAsync、GetListAsync方法、添加通过Id、Id集合删除
  • BasicAbility.Pm: Override the AddPmClient method #39
    BasicAbility.Pm:重写 AddPmClient 方法
  • AutoComplete: Add DeleteAsync Methods #43
    AutoComplete:添加 DeleteAsync 方法
  • PM: Add environment、cluster、project、app service #46
    PM: 添加环境、集群、项目、应用相关的服务
  • Mapping: Support Mapping #47 #48
    Mapping:支持映射
  • Repository: Add RemoveAsync method to support id deletion, RemoveRangeAsync supports id collection deletion #38
    Repository:添加RemoveAsync方法支持id删除,RemoveRangeAsync支持id集合删除

Refactors(重构)

  • Repository.EF: Remove the individually specified Assembly #21
    Repository.EF:删除单独指定的程序集
  • UoW: Refactor UnitOfWork to delay getting DbContext #21
    UoW:重构 UnitOfWork 以延迟获取 DbContext
  • EventLogs.EF: Refactored EventLogs.EF to adapt to Masa.Utils.EntityFramework 0.4.1-preview.1 #21
    EventLogs.EF:重构 EventLogs.EF 以适配 Masa.Utils.EntityFramework 0.4.1-preview.1
  • Dispatcher: Adjust the usage of EventBus and IntegrationEventBus, Adjust UseDaprEventBus、UseEventLog extension method parameters #22
    Dispatcher:调整EventBus和IntegrationEventBus的使用,调整UseDaprEventBus、UseEventLog扩展方法参数
  • EventLogs.EF: change the state of the local message table to be processed by sql statement #22
    EventLogs.EF:通过sql语句改变本地消息表要处理的状态
  • IntegrationEvents.Dapr: Refactoring background tasks #27
    IntegrationEvents.Dapr:重构后台任务
  • Isolation: Update Parser and Isolation Usage #30
    Isolation:更新解析器和Isolation使用
  • Isolation: Adjust SaveChangeFilter, adjust environment, tenant attribute assignment #30
    Isolation:调整SaveChangeFilter、调整环境、租户属性分配
  • Configuration: Local Configuration removes the file Section node #36
    Configuration:本地配置删除文件Section节点
  • AutoComplete: Optimize queries by Precise、The default operator is changed to And #43
    AutoComplete:通过Precise优化查询、默认运算符改为And
  • Ddd.Domain: IAuditEntity supports soft delete #49
    Ddd.Domain: IAuditEntity 支持软删除

Renames(重命名)

  • Masa.Contrib.SearchEngine.AutoComplete renamed to Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch #43
    Masa.Contrib.SearchEngine.AutoComplete 重命名为 Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch
  • Masa.Contrib.SearchEngine.AutoComplete.Tests renamed to Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch.Tests #45
    Masa.Contrib.SearchEngine.AutoComplete.Tests 重命名为 Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch.Tests

Tests(测试)

  • Adjusted EventLogs.EF, Repository.EF, Ddd.Domain, IntegrationEvents.Dapr unit tests #21
    调整了 EventLogs.EF、Repository.EF、Ddd.Domain、IntegrationEvents.Dapr 单元测试
  • Adapt to Utils.EntityFramework 0.4.0-preview.2 #24
    适配 Utils.EntityFramework 0.4.0-preview.2
  • SearchEngine.AutoComplete: Add AutoComplete UnitTest #24
    Search Engine.AutoComplete:添加自动完成单元测试
  • IntegrationEvents.Dapr: Adapt unit tests to new background tasks #27
    IntegrationEvents.Dapr:使单元测试适应新的后台任务
  • Isolation: Added Isolation Unit tests #28
    Isolation:添加了Isolation单元测试
  • Isolation: Perfect unit tests #30
    Isolation:完善单元测试
  • Configuration: Handling ConfigurationTest exceptions #37
    Configuration:处理配置测试异常