Skip to content

Releases: TencentBlueKing/bk-user

v2.3.1-beta.1

05 Nov 07:28
2e1dcc1
Compare
Choose a tag to compare
v2.3.1-beta.1 Pre-release
Pre-release

Pre-release 版本,请勿在生产环境更新

[Version: 2.3.1] - 2021-11-05

API

  • [NEW] API 支持通过 POST body 筛选数据 #88
  • [NEW] 支持审计记录失败内容(仅数据) #71
  • [FIX] 修复 ldap/mad 测试连接按钮报错问题 #129
  • [FIX] 修复手动关闭权限中心时,目录新建关联权限报错问题 #99
  • [OPTIMIZATION] 将「密码过期判断」逻辑调整到「密码校验成功」后,规避可能存在的安全风险 #137

SaaS

  • [NEW] 支持搜索已删除的数据 #80
  • [NEW] 支持恢复已删除用户
  • [FIX] 增大默认的 CPU 限制,保证容器正常启动

What's Changed

  • chore: Add abandon ErrorCode USERNAME_MISSING by @uddmorningsun in #100
  • docs: #121 remove ldap container part from dev docs by @IMBlues in #124
  • fix: 审计支持失败记录 #71 by @Canway-shiisa in #93
  • featrue: 恢复已删除用户 #73 by @yuri0528 in #128
  • Fix #130: 增大默认的 CPU 限制,保证 SaaS 容器正常启动 by @IMBlues in #131
  • fix: 修复 ldap/mad 测试连接按钮报错问题 by @IMBlues in #133
  • feat: 支持搜索已删除的数据 & 为用户增加展示更新时间字段 & 增加恢复API by @IMBlues in #122
  • refactor: 重构审计记录方式 by @IMBlues in #127
  • fix: 调整 IAM 启停环境变量,统一 SaaS & Api; 当主动关闭权限中心时,跳过目录新建关联权限 by @IMBlues in #136
  • fix: 调整将「密码过期判断」挪到「密码校验成功」后 #137 by @IMBlues in #138
  • feat: API 支持通过 POST body 筛选数据 #88 by @Canway-shiisa in #139
  • docs: update to v2.3.1-beta.1 by @IMBlues in #140

Full Changelog: v2.3.0...v2.3.1-beta.1

v2.3.0

22 Oct 08:45
8c633e0
Compare
Choose a tag to compare

[Version: 2.3.0] - 2021-10-22

重要: 当前版本由于下架了 v1 版本接口,对于 open_paas 有版本依赖,请务必升级

  • 企业版3.0 open_paas>=2.12.35
  • 企业版3.1 open_paas>=2.13.20

否则可能会影响平台邮件、短信消息推送

API

  • [NEW] 支持传递参数,可以拉取已软删除数据 #1
  • [NEW] 支持恢复已删除的数据 #15
  • [NEW] 支持记录 LDAP/AD 同步组织架构/人员信息的结构化日志 #27
  • [OPTIMIZATION] 优化数据源同步任务为后台执行 #32
  • [FIX] 修正 SettingMeta 默认路径参数为 id #45
  • [FIX] 修正 API /api/v2/batch/profiles/ 中 swagger 参数 query_ids 缺失问题 #26

SaaS

  • [NEW] 支持数据源同步任务页面查看 #32
  • [NEW] 支持登录日志导出 #32
  • [OPTIMIZATION] 修改页面拉取上级组件,从全量拉取改为类似【人员选择器】的分页拉取组件 #55
  • [FIX] 修复数值型自定义字段在页面上输入时没有异常提示 #101
  • [FIX] 修复“从其他组织拉取用户”异常问题 #102

二进制部署升级注意事项

原来代码在启动时额外需求部署脚本(release_usermgr.shinstall_usermgr.sh)通过 export DJANGO_SETTINGS_MODULE=config.ce.prod 提供坏境变量,而新的版本中我们优化了此逻辑,即无需部署脚本额外提供此环境变量。

这一变更我们也已经向部署侧维护同学提出 issue,新版本的部署脚本会去除这一内容。

如果尚未升级到最新的部署脚本,那么需要在部署前检查 release_usermgr.shinstall_usermgr.sh ,将 export DJANGO_SETTINGS_MODULE=config.ce.prod 内容手动删除。

What's Changed

  • refactor: imporve default database name in sub chart by @IMBlues in #4
  • Fixed #11: merge multiple .gitignore into one by @IMBlues in #12
  • refactor: move README.md into chart #13 by @IMBlues in #14
  • Fixed #9 -- Append .gitignore to .dockerignore by @uddmorningsun in #10
  • docs: add master & development branch statement by @IMBlues in #17
  • refactor helm chart structrue(copy -> link) & add redis as builtin storage #19 by @IMBlues in #20
  • fix last request data remain when pass in serializer object to crown by @IMBlues in #22
  • merge #19 #21 to master by @IMBlues in #23
  • fix last request data remain when pass in serializer object to crown by @IMBlues in #24
  • fix #21 another part by @IMBlues in #25
  • refactor: 重构 LDAP 协议的用户同步逻辑, 使其统计同步成功或失败的对象 by @shabbywu in #28
  • resolving #27 by @IMBlues in #39
  • fix: adjust placeholder values & always download image by @IMBlues in #40
  • feature: 为本地开发增加跨域配置,方便前联调 by @IMBlues in #46
  • fix: correct CSRF_COOKIE_DOMAIN env key by @IMBlues in #47
  • feature: 实现查询目录同步记录的API by @shabbywu in #41
  • fix Invalid value for "syncing", must not be "None" by @shabbywu in #48
  • fix: allow null for syncing by @shabbywu in #49
  • enhance: 同步任务记录支持分页, 失败记录修改成以对象形式返回 by @shabbywu in #51
  • refactor: 改进 Helm 部署配置,精简平台变量 by @IMBlues in #50
  • docs: add a caution for upgrading from 2.2 #31 by @IMBlues in #52
  • feat: 【前端】增加数据同步任务 & 日志展示页面 by @IuzreO in #54
  • fix: adding query_serializer for profiles batch retrieve #26 by @IMBlues in #56
  • fix: update batch query ids sdk by @IMBlues in #59
  • fix #55: SaaS 获取用户 API 调整,修复搜索 API 异常等 by @IMBlues in #60
  • fix: change settings meta api lookup field to id #55 #45 by @IMBlues in #61
  • chore: delete some ldap tests & add unittest action by @IMBlues in #63
  • fix: 同步数据更新需求优化 by @IuzreO in #62
  • fix: 修改部署配置,符合容器化标准 by @IMBlues in #64
  • Fix /api/v2/departments/(POST) parameter KeyError by @uddmorningsun in #66
  • Fix issue1 -- Support retrive soft delete userlists info by @uddmorningsun in #57
  • bugfix: 修复 LDAP 同步部门时报主键冲突的问题 by @shabbywu in #65
  • chore: add BK_LOGIN_API_URL via k8s svc for saas module by @IMBlues in #67
  • feat: add no_page param back for upgrading smoothly by @IMBlues in #74
  • fix: remove useless import due to error commit by @IMBlues in #75
  • fix: 国际化处理,修改页面拉取上级组件,从全量拉取改为分页拉取组件 by @IuzreO in #68
  • fix: 上级数据展示问题bug处理 by @IuzreO in #79
  • fix: add default values when deploy v2 paas by @IMBlues in #82
  • fix: change django-modeltranslation version due to pypi bugs by @IMBlues in #83
  • Fix issue15 -- support restoration soft delete object data by @uddmorningsun in #70
  • fix: add x_frame_options for saas work in iframe by @IMBlues in #84
  • fix: 直接上级下拉框bug修复 by @IuzreO in #85
  • fix: 添加用户侧边栏空白bug处理 by @IuzreO in #86
  • fix: failed to creating dyanmic field by @IMBlues in #87
  • format: 表单,表格,列表添加data-test-id by @IuzreO in #81
  • fix:修改code标识为sha(category-dn) #76 by @Canway-shiisa in #91
  • feat: #58 add api for exporting login log in saas & update sdk due to #1 by @IMBlues in #90
  • chore: update version to v2.3.0-beta.1 by @IMBlues in #97
  • Fix: Add sanity check for disabled category in creating profiles by @uddmorningsun in #94
  • fix: skip when certain key missing in extras of legacy data by @IMBlues in #103
  • fix: 文字按钮的风格保持统一 #105 by @yuri0528 in #108
  • fix: 修改拉取用户接口逻辑 #102 by @yuri0528 in #109
  • fix: 修正权限中心注册脚本环境变量 APP_ID & APP_TOKEN -> BK_APP_CODE & BK_APP_SECRET by @IMBlues in #104
  • chore: update version to v2.3.0-beta.2 by @IMBlues in #110
  • optimization: 个人详情增加登录时间/组织拓扑搜索优化 #73 by @yuri0528 in #112
  • chore: update version to 2.3.0 && update release notes by @IMBlues in #113
  • update version to 2.3.0 by @IMBlues in #114

New Contributors

Full Changelog: https://github.com/TencentBlueKing/bk-user/commits/v2.3.0

v2.3.0-beta.2

19 Oct 12:49
4dc8b8f
Compare
Choose a tag to compare
v2.3.0-beta.2 Pre-release
Pre-release

[Version: 2.3.0] - 2021-09-27

API

  • [NEW] 支持传递参数,可以拉取已软删除数据 #1
  • [NEW] 支持恢复已删除的数据 #15
  • [NEW] 支持记录 LDAP/AD 同步组织架构/人员信息的结构化日志 #27
  • [OPTIMIZATION] 优化数据源同步任务为后台执行 #32
  • [FIX] 修正 SettingMeta 默认路径参数为 id #45
  • [FIX] 修正 API /api/v2/batch/profiles/ 中 swagger 参数 query_ids 缺失问题 #26

SaaS

  • [NEW] 支持数据源同步任务页面查看 #32
  • [NEW] 支持登录日志导出 #32
  • [OPTIMIZATION] 文字按钮的风格保持统一 (#105)
  • [FIX] 修改页面拉取上级组件,从全量拉取改为类似【人员选择器】的分页拉取组件 #55
  • [FIX] 修复“从其他组织拉取用户”异常问题 (#102)
  • [FIX] 修复数值型自定义字段在页面上输入时没有异常提示 (#101)

二进制部署升级注意事项

原来代码在启动时额外需求部署脚本(release_usermgr.shinstall_usermgr.sh)通过 export DJANGO_SETTINGS_MODULE=config.ce.prod 提供坏境变量,而新的版本中我们优化了此逻辑,即无需部署脚本额外提供此环境变量。

这一变更我们也已经向部署侧维护同学提出 issue,新版本的部署脚本会去除这一内容。

如果尚未升级到最新的部署脚本,那么需要在部署前检查 release_usermgr.shinstall_usermgr.sh ,将 export DJANGO_SETTINGS_MODULE=config.ce.prod 内容手动删除。

What's Changed

  • Fix: Add sanity check for disabled category in creating profiles by @uddmorningsun in #94
  • fix: skip when certain key missing in extras of legacy data by @IMBlues in #103
  • fix: 文字按钮的风格保持统一 #105 by @yuri0528 in #108
  • fix: 修改拉取用户接口逻辑 #102 by @yuri0528 in #109
  • fix: 修正权限中心注册脚本环境变量 APP_ID & APP_TOKEN -> BK_APP_CODE & BK_APP_SECRET by @IMBlues in #104
  • chore: update version to v2.3.0-beta.2 by @IMBlues in #110

New Contributors

Full Changelog: v2.3.0-beta.1...v2.3.0-beta.2

v2.3.0-beta.1

11 Oct 09:01
bc79ead
Compare
Choose a tag to compare
v2.3.0-beta.1 Pre-release
Pre-release

Beta 版本,仅适用于测试环境验证,请不要再生产环境使用

[Version: 2.3.0] - 2021-09-27

API

  • [NEW] 支持传递参数,可以拉取已软删除数据 #1
  • [NEW] 支持恢复已删除的数据 #15
  • [NEW] 支持记录 LDAP/AD 同步组织架构/人员信息的结构化日志 #27
  • [OPTIMIZATION] 优化数据源同步任务为后台执行 #32
  • [FIX] 修正 SettingMeta 默认路径参数为 id #45
  • [FIX] 修正 API /api/v2/batch/profiles/ 中 swagger 参数 query_ids 缺失问题 #26

SaaS

  • [NEW] 支持数据源同步任务页面查看 #32
  • [NEW] 支持登录日志导出 #32
  • [OPTIMIZATION] 修改页面拉取上级组件,从全量拉取改为类似【人员选择器】的分页拉取组件 #55

二进制部署升级注意事项

部署前需要升级相关 bash 脚本,具体内容需要检查:

release_usermgr.shinstall_usermgr.sh 文件中, 如果存在 export DJANGO_SETTINGS_MODULE=config.ce.prod 这一行,需要手动将此行删除。

What's Changed

  • refactor: imporve default database name in sub chart by @IMBlues in #4
  • Fixed #11: merge multiple .gitignore into one by @IMBlues in #12
  • refactor: move README.md into chart #13 by @IMBlues in #14
  • Fixed #9 -- Append .gitignore to .dockerignore by @uddmorningsun in #10
  • docs: add master & development branch statement by @IMBlues in #17
  • refactor helm chart structrue(copy -> link) & add redis as builtin storage #19 by @IMBlues in #20
  • fix last request data remain when pass in serializer object to crown by @IMBlues in #22
  • merge #19 #21 to master by @IMBlues in #23
  • fix last request data remain when pass in serializer object to crown by @IMBlues in #24
  • fix #21 another part by @IMBlues in #25
  • refactor: 重构 LDAP 协议的用户同步逻辑, 使其统计同步成功或失败的对象 by @shabbywu in #28
  • resolving #27 by @IMBlues in #39
  • fix: adjust placeholder values & always download image by @IMBlues in #40
  • feature: 为本地开发增加跨域配置,方便前联调 by @IMBlues in #46
  • fix: correct CSRF_COOKIE_DOMAIN env key by @IMBlues in #47
  • feature: 实现查询目录同步记录的API by @shabbywu in #41
  • fix Invalid value for "syncing", must not be "None" by @shabbywu in #48
  • fix: allow null for syncing by @shabbywu in #49
  • enhance: 同步任务记录支持分页, 失败记录修改成以对象形式返回 by @shabbywu in #51
  • refactor: 改进 Helm 部署配置,精简平台变量 by @IMBlues in #50
  • docs: add a caution for upgrading from 2.2 #31 by @IMBlues in #52
  • feat: 【前端】增加数据同步任务 & 日志展示页面 by @IuzreO in #54
  • fix: adding query_serializer for profiles batch retrieve #26 by @IMBlues in #56
  • fix: update batch query ids sdk by @IMBlues in #59
  • fix #55: SaaS 获取用户 API 调整,修复搜索 API 异常等 by @IMBlues in #60
  • fix: change settings meta api lookup field to id #55 #45 by @IMBlues in #61
  • chore: delete some ldap tests & add unittest action by @IMBlues in #63
  • fix: 同步数据更新需求优化 by @IuzreO in #62
  • fix: 修改部署配置,符合容器化标准 by @IMBlues in #64
  • Fix /api/v2/departments/(POST) parameter KeyError by @uddmorningsun in #66
  • Fix issue1 -- Support retrive soft delete userlists info by @uddmorningsun in #57
  • bugfix: 修复 LDAP 同步部门时报主键冲突的问题 by @shabbywu in #65
  • chore: add BK_LOGIN_API_URL via k8s svc for saas module by @IMBlues in #67
  • feat: add no_page param back for upgrading smoothly by @IMBlues in #74
  • fix: remove useless import due to error commit by @IMBlues in #75
  • fix: 国际化处理,修改页面拉取上级组件,从全量拉取改为分页拉取组件 by @IuzreO in #68
  • fix: 上级数据展示问题bug处理 by @IuzreO in #79
  • fix: add default values when deploy v2 paas by @IMBlues in #82
  • fix: change django-modeltranslation version due to pypi bugs by @IMBlues in #83
  • Fix issue15 -- support restoration soft delete object data by @uddmorningsun in #70
  • fix: add x_frame_options for saas work in iframe by @IMBlues in #84
  • fix: 直接上级下拉框bug修复 by @IuzreO in #85
  • fix: 添加用户侧边栏空白bug处理 by @IuzreO in #86
  • fix: failed to creating dyanmic field by @IMBlues in #87
  • format: 表单,表格,列表添加data-test-id by @IuzreO in #81
  • fix:修改code标识为sha(category-dn) #76 by @Canway-shiisa in #91
  • feat: #58 add api for exporting login log in saas & update sdk due to #1 by @IMBlues in #90
  • chore: update version to v2.3.0-beta.1 by @IMBlues in #97

New Contributors

Full Changelog: https://github.com/TencentBlueKing/bk-user/commits/v2.3.0-beta.1