Skip to content

Releases: ZeroOrInfinity/UMS

2.2.41

27 May 02:57
Compare
Choose a tag to compare

Fixes and Improvements:

  1. 修复: UsersConnectionTokenRepository 构造器参数(TextEncryptor)没有限定beanName , 而注入应用中其他的 TextEncryptor 对象,, 而报 Unable to initialize due to invalid secret key 的bug. 感谢: Maooooooooooo_

2.2.40

22 May 02:48
Compare
Choose a tag to compare

Fixes and Improvements:

  1. oauth/添加: 一键登录 OneClickLoginService#otherParamsHandler(userDetails, otherParamMap) 接口方法. 因与手机登录注册方法逻辑重复, 故删除 UserDetailsRegisterService#registerUser(mobile,otherParamMap) 默认接口方法;

2.2.39

17 May 16:33
Compare
Choose a tag to compare

Fixes and Improvements:

  1. oauth/修复: 自定义第三方时: 获取 AuthScope 异常的bug.
  2. oauth/修复: Auth2JdbcUsersConnectionTokenRepository 不能动态替换 authTokenTableName 的bug. 感谢: jueding920.
  3. ums/修复: redirect 时 url 中文乱码的bug. 感谢: jueding920.
  4. oauth/修复: RefreshTokenJobHandler NPE bug.
  5. oauth/新增: 取消OAuth2的内置数据库的属性设置. ums.oauth.enableUserConnectionAndAuthTokenTable 与 ums.oauth.enableAuthTokenTable. 具体看: 取消OAuth2内置数据库说明.md.
  6. 其他优化.

2.2.38

15 May 06:56
Compare
Choose a tag to compare

Fixes and Improvements:

  1. oauth/修复: 自定义scope不能覆盖默认scope 的 bug. 感谢 luodada.
  2. vc/修改接口: SmsCodeSender.sendSms(String, String) -> SmsCodeSender.sendSms(String, ValidateCode).

2.2.36

15 Apr 14:45
Compare
Choose a tag to compare

Fixes and Improvements:

  1. rbac/包重命名: top.dcenter.ums.security.core.premission -> top.dcenter.ums.security.core.permission.
  2. commons/优化: Executor MDC trace id 性能 与 commons/优化: 设置 JsonUtil 序列化时当字段值为 null 时不显示.

2.2.35

26 Mar 13:12
Compare
Choose a tag to compare

Fixes and Improvements:

  1. rbac/新增: 添加 getMenuByRole 与 getMenuByRoleOfTenant 接口, 以适用与菜单 与 权限分开设计的权限模型; 添加 getRolesOfUser 与 getMenusOfUser 接口并实现 getRolesOfUser 接口.

2.2.34

24 Mar 13:04
Compare
Choose a tag to compare

Fixes and Improvements:

  1. rbac/重构: UpdateCacheOfRolesResourcesService 添加 initAllAuthorities() 接口, AbstractUriAuthorizeService 删除 updateAuthoritiesOfAllXXX() 接口,
    UpdateRolesResourcesType 添加 ALL 类型用于初始化所有权限.
  2. 示例: 改进权限服务, permission-example 示例改进, 添加权限缓存更新时序图.

2.2.33

21 Mar 12:43
Compare
Choose a tag to compare

Fixes and Improvements:

  1. rbac/改进: 权限缓存更新逻辑.
  2. ums/改进: 添加错误过滤器; 添加 NestedServletException 与 MaxUploadSizeExceededException 异常的处理.
  3. mdc/新增: 支持微服务之间传递日志链路追踪 ID, 请求微服务时在请求头添加: headerKey=MDC_KEY, headerValue=MDC 日志链路追踪 ID.
  4. demo/tenant/示例: 改进.

2.2.32

15 Mar 05:31
Compare
Choose a tag to compare

Fixes and Improvements:

  1. jwt/修复: jwsSetJsonString 格式不正确.
  2. jwt/修复: jwt decode bug.
  3. jwt/新增: AuthenticationEntryPoint 认证错误, 返回 json 错误信息的配置.

2.2.31

09 Mar 14:15
Compare
Choose a tag to compare

Fixes and Improvements:

  1. jwt/兼容性: 增加 JwtContext 与 UmsNimbusJwtDecoder 对 nimbus-jose-jwt:9.x.x/8.x.x 的兼容性.