Cp Ddd Framework Versions Save

轻量级DDD正向/逆向业务建模框架,支撑复杂业务系统的架构演化!

v2.1.1

7 months ago
  • Fix minior bugs of Call Graph maven plugin

Full Changelog: https://github.com/funkygao/cp-ddd-framework/compare/v2.1.0...v2.1.1

v2.1.0

7 months ago
  • Feature
    • 通过apache bcel库实现完全非侵入式call graph图
      • 提示哪些类和方法在关系图上可能被排除
      • 支持用户自定义类关系
    • 提供io.github.dddplus:dddplus-maven-plugin的三个功能
      • 与IDEA内置的Call Hierarchy功能相比
        • IDEA只能基于单个方法分析,DDDplus全局分析
        • 提供配置驱动的噪音过滤机制,使得自动生成的关系图突出重点
      • model 基于DDDplus DSL标注产生的逆向业务模型
      • call 完全非侵入式基于字节码增强机制分析jar包生成类方法调用关系图
      • polymorphism 完全非侵入式基于AST Parser自动生成具有多态的类关系图
      • enforce DDDplus正向建模的架构约束强化工具

Full Changelog: https://github.com/funkygao/cp-ddd-framework/compare/v2.0.3...v2.1.0

v2.0.3

8 months ago
  • Feature

    • 根据源代码AST分析,形成结构化数据,导出到sqlite数据库
    • 生成原始的plantuml文件
    • 可以修改实体所在的包
    • KeyUsecase图里显示类的javadoc
    • 业务字典,枚举类,也可以使用 KeyElement 进行标注
    • PlantUML类图里,KeyFlow对应的文件可以点击,自动在IDEA中打开到对应位置
  • Bug Fix

    • 逆向分析时,KeyRelation会把一个类放在了错误的package

Full Changelog: https://github.com/funkygao/cp-ddd-framework/compare/v2.0.1...v2.0.3

v2.0.2

9 months ago
  • Feature

    • 提供详细的《逆向建模教程》
    • ClassMethodReport 增加大方法的自动发现
    • KeyElement#types 增加默认值,降低DSL标注成本
  • Fix

    • CallGraphAstNodeVisitor 运行是抛出异常导致无法继续执行

Full Changelog: https://github.com/funkygao/cp-ddd-framework/compare/v2.0.0...v2.0.2

v2.0.1

9 months ago
  • 新功能

    • 从代码里自动生成方法的call graph图,用于评估代码改动的影响范围和风险,从宏观上对代码结构和类之间关系有了洞察
      • 由于只关注DSL标注的方法,去除了噪音,这样的图才不会混乱
    • 从代码里自动分析包之间的交叉引用图,用于发现不合理依赖关系,包的设计是否合理
    • 新增dddplus-maven-plugin模块,把静态检查、代码可视化等功能集成到maven插件里,方便使用和集成
    • 扩展点的方法返回值不能为primitive type,以避免NPE,之前只是规范说明,目前增加了ExtensionMethodSignatureEnforcer,结合CI可以彻底杜绝此类问题
  • Feature

    • add ExtensionMethodSignatureEnforcer to avoid NPE risk
    • call graph complete and exact click through
    • add dddplus-maven-plugin to avoid CI manual unit test
    • visualize package cross reference in svg file

Full Changelog: https://github.com/funkygao/cp-ddd-framework/compare/v2.0.0...v2.0.1

v2.0.0

9 months ago

What's Changed

  • 领域对象的调用关系自动生成,call graph
  • 逆向模型以多种形式多种视角展示,而不仅仅是宏观的类图
  • DSL的简化
  • 一个全面展示DDD落地到真实项目的例子,里面使用了DDDplus提供的各种构造块

与版本1相比

  • 版本1主要是提供了扩展点的机制
  • 版本2主要是提供了DDD落地的最佳实践,并提供了通过标注来静态分析AST并自动生成模型的逆向过程

Full Changelog: https://github.com/funkygao/cp-ddd-framework/compare/v1.1.1...v2.0.0

2.0.0-SNAPSHOT

9 months ago

For 1.x.x users:

Incompatible changes

  • Removed
    • IBaseTranslator, ApiResult, RequestProfile, IModelAttachmentExt, IDomainModelCreator
  • Renamed
    • IExtPolicy -> IPolicy
    • BaseDomainAbility -> BaseRouter, @DomainAbility -> @Router
    • DDD.findAbility -> DDD.useRouter/DDD.usePolicy
    • Reducer -> IReducer
  • Deprecated
    • @Domain, @DomainService, @Step, StepsExecTemplate, IDecideStepsExt, IDomainStep
  • Function Signature
    • all IDomainExtension input argument changed from IDomainModel to IIdentity

New features

Bug Fix

Full Changelog: 2.0.0-SNAPSHOT...v1.1.1

v1.1.1

3 years ago

Release Notes - DDDplus - Version 1.1.1

  • FIXED
    • #39 解决Policy定位的扩展点如果不存在则抛出NullPointerException

v1.1.0

3 years ago

Release Notes - DDDplus - Version 1.1.0

  • FIXED

    • 解决了BaseDomainAbility由于泛型机制不支持继承的问题
    • #7 解决DomainArtifacts暴露扩展点不全的问题:如果一个扩展点只被Partner实现,就没有暴露
    • #30 解决了Plugin jar reload后,DomainArtifacts没有刷新的问题
  • Feature

    • #37 除了Partner/Pattern的静态的扩展点路由机制外,提供了动态路由机制:Policy,供使用者扩展
    • #35 提供绕过BaseDomainAbility而直接路由扩展点的机制,在业务属性不明显的场景下使用
    • #32 框架提供默认的步骤编排能力,使用者不必从头编写Ability来编排步骤
    • 增加了一个使用DDDplus来搭建low-code平台的例子工程:https://github.com/dddplus/easyapp
      • 其中的Trigger机制依靠扩展点和Plugin的动态加载实现

v1.0.3

3 years ago

Release Notes - DDDplus - Version 1.0.3

  • FIXED

    • #20 Plugin reloading, Spring unable to get the Partner bean
    • #28 ArchitectureEnforcer的接口规范 bug,需要把注解排除在外
    • dddplus/dddplus#4 在Spring Boot集成时,无法触发IStartupListener
  • Improvement

    • #19 Add @Specification for ISpecification interface: specifications are Spring beans
    • #29 演示如何对step进行方法拦截
  • Feature

    • #24 Step可以异步执行,同步回滚
    • #23 提供DomainArtifacts,方便业务能力可视化
  • Test

    • #26 Stress test for plugin jar reloading passed