Skip to content

0.4.0

Compare
Choose a tag to compare
@doddgu doddgu released this 01 Jun 03:25
· 610 commits to main since this release
0de0df6

Breaking Changes

  • CustomizeDbContext inherits from IntegrationEventLogContext to MasaDbContext #21

Bug Fixes

  • EventBus: Throws an exception while retaining the original stack information and does not change the exception information #25
  • Repository: Fix entities to use IRepository, but we recommend using IRepository for aggregate roots instead of entities #33

Chores

  • Repository.EF: change _context To Context #22
  • IntegrationEvents.Dapr: Adjust UoW enable check prompt #28
  • UoW.EF: Remove invalid references #28
  • Add License #48
  • Change .editorconfig #52
  • Upgrade Masa.Utils Library Package #21 #24 #37 #43
    #57 #60 #74

CI

  • Github Action: Add Es job #24

Docs

  • Ddd.Domain: Adjust Masa.Contrib.Ddd.Domain doc #21
  • IntegrationEvents.Dapr: adjust Masa.Contrib.Dispatcher.IntegrationEvents.Dapr doc #21
  • UoW: Fix UoW documentation errors #27
  • CQRS: Modify the introduction of the Readme #44
  • Homepage ReadMe: Modify the introduction of the homepage Readme #44
  • EventBus: Modify EventBus documentation #53

Features

  • SearchEngine.AutoComplete: Add AutoComplete #24 #43 #44
  • Isolation: Add Isolation #28 #29 #30 #31 #44 #52
  • UoW: Extend UseUoW method for IEventBusBuilder #27
  • UoW: Added IUnitOfWorkManager and IUnitOfWorkAccessor, Support for creating new DbContext, IUnitOfWork Add IServiceProvider #27
  • UoW.EF: CreateDbContext supports lazy loading #21 #28
  • Pm: Added pm client #32 #39 #46
  • Storage: Added Aliyun Cloud Storage #34 #62 #68 #69 #71
  • Repository: Add GetPaginatedListAsync By sorting and RemoveAsync By Id、RemoveRangeAsync By Id Collection、Add GetListAsync methods By Sorting #38
  • Repository: Add RemoveAsync method to support id deletion, RemoveRangeAsync supports id collection deletion #38
  • Mapping: Support Mapping #47 #48
  • EntityFramework: Add EntityFramework #52 #63 #64 #72
  • Auth: Add Auth Sdk #67 #70

Refactors

  • Repository.EF: Remove the individually specified Assembly #21 #22 #27
  • EventLogs.EF: Refactored EventLogs.EF #21
  • Dispatcher: Adjust the usage of EventBus and IntegrationEventBus, Adjust UseDaprEventBus、UseEventLog extension method parameters #22
  • Configuration: Local Configuration removes the file Section node #36 #37 #65 #66

Renames

  • Masa.Contrib.SearchEngine.AutoComplete renamed to Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch #43
  • Masa.Contrib.SearchEngine.AutoComplete.Tests renamed to Masa.Contrib.SearchEngine.AutoComplete.ElasticSearch.Tests #45

破坏性改动

  • 自定义DbContext从 IntegrationEventLogContext 改为继承 MasaDbContext #21

修复Bug

  • EventBus:抛出异常,同时保留原始堆栈信息,不改变异常信息 #25
  • Repository:修复实体以使用 IRepository,但我们建议将IRepository 用于聚合根,而不是实体 #33

杂务

  • Repository.EF: _context 修改为Context #22
  • IntegrationEvents.Dapr: 调整 UoW 启用检查提示 #28
  • UoW.EF: 移除无效引用 #28
  • 添加 License #48
  • 修改 .editorconfig #52
  • 升级Masa.Utils版本 #21 #24 #37 #43
    #57 #60

流水线

  • Github Action: 添加Es任务 #24

文档

  • Ddd.Domain:调整 Masa.Contrib.Ddd.Domain 文档 #21
  • IntegrationEvents.Dapr:调整 Masa.Contrib.Dispatcher.IntegrationEvents.Dapr 文档 #21
  • UoW: 修复文档错误 #27
  • CQRS:修改Readme的介绍 #44
  • Homepage ReadMe:修改主页Readme文档 #44
  • EventBus: 修改EventBus文档 #53

功能

  • SearchEngine.AutoComplete: 支持输入补全 #24 #43 #44
  • Isolation: 支持隔离性 #28 #29 #30 #31 #44 #52
  • UoW: IEventBusBuilder扩展UseUoW方法 #27
  • UoW:新增IUnitOfWorkManager和IUnitOfWorkAccessor,支持新建DbContext,IUnitOfWork新增IServiceProvider #21 #27
  • UoW.EF: CreateDbContext 支持延迟加载 #28
  • Pm: 添加Pm Sdk #32 #39
  • 存储: 新增阿里云云存储 #34 #62 #68 #69 #71
  • Repository:添加 GetPaginatedListAsync、GetListAsync方法、添加通过Id、Id集合删除 #38
  • Repository: 添加RemoveAsync方法支持id删除,RemoveRangeAsync支持id集合删除 #38
  • Mapping: 支持映射 #47 #48
  • EntityFramework: 支持EntityFramework #52 #63 #64 #72
  • Auth: 添加Auth Sdk #67 #70

重构

  • Repository.EF:删除单独指定的程序集 #21
  • EventLogs.EF: 重构EventLogs.EF #21 #22 #27
  • Dispatcher: 调整EventBus和IntegrationEventBus的使用,调整UseDaprEventBus、UseEventLog扩展方法参数 #22
  • Configuration: 本地配置删除文件Section节点 #36 #37 #65 #66

重命名

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