v2.3.2
[Version: 2.3.2] - 2022-02-10
重要: 当前版本由于下架了 v1 版本接口,对于
open_paas
有版本依赖,请务必升级:
- 企业版3.0 open_paas>=2.12.35
- 企业版3.1 open_paas>=2.13.20
否则可能会影响平台邮件、短信消息推送
OPTIMIZATION
- 重构 Helm Chart
API
OPTIMIZATION
- 登录时只查询近期一段时间的审计信息 #116
- 支持在「密码配置」中设置「密码最大重复次数」 #149
- 数据同步增加默认重试次数,当所有重试都失败时处理异常 #197
- LDAP 支持自定义字段 #107
- 插件支持通过 settings.yaml 增加配置项 #43
SaaS
OPTIMIZATION
- 登录支持多种 bk_token 后端
- 登录及修改密码页面中的密码使用 base64 编码 #126
Login
NEW
- 支持密码过期时提供密码重置链接 #38
- 支持初始密码强制修改
OPTIMIZATION
- 重构 Login 项目部分代码,引入 blue-krill 加密
- 重构社区登录页面 #144
二进制部署升级注意事项
原来代码在启动时额外需求部署脚本(release_usermgr.sh
和 install_usermgr.sh
)通过 export DJANGO_SETTINGS_MODULE=config.ce.prod
提供坏境变量,而新的版本中我们优化了此逻辑,即无需部署脚本额外提供此环境变量。
这一变更我们也已经向部署侧维护同学提出 issue,新版本的部署脚本会去除这一内容。
如果尚未升级到最新的部署脚本,那么需要在部署前检查 release_usermgr.sh
和 install_usermgr.sh
,将 export DJANGO_SETTINGS_MODULE=config.ce.prod
内容手动删除。
What's Changed
- feat: 增加蓝鲸登录代码 + 容器化部署 by @IMBlues in #134
- fix: 调整登录页面布局 #144 by @yuri0528 in #145
- fix: 社区版登录页面优化 #144 by @yuri0528 in #148
- fix: 社区版登录页面布局优化 #144 by @yuri0528 in #151
- feat: 支持密码过期返回token重置密码链接 & 支持初始密码强制修改 by @IMBlues in #146
- fix: 样式调整 #144 by @yuri0528 in #155
- rebase from development by @IMBlues in #156
- fix: js引入错误 #144 by @yuri0528 in #159
- fix: remove form type from sumbit button by @IMBlues in #172
- chore: change default app_code to bk_usermgr same as system_id in bk_iam by @IMBlues in #169
- feat: make max_password_history as a setting by @IMBlues in #173
- fix: conflict error by @IMBlues in #175
- chore: update required values & update chart version by @IMBlues in #176
- fix: remove useless info by @IMBlues in #177
- refactor: allow no user group config when syncing ldap by @IMBlues in #179
- WIP: fix language switch in ce login page by @IMBlues in #180
- refactor: allow no user group config when syncing ldap by @IMBlues in #182
- refactor: 修正社区版登录页面国际化功能 by @IMBlues in #183
- fix: 登录页图片更换 #144 by @yuri0528 in #185
- fix: 调整社区版登录页面标题图片样式 by @IMBlues in #187
- fix: 补上国际化步骤 by @IMBlues in #188
- fix poetry install packages fail by @IMBlues in #189
- fix: 增加密码重复次数配置项 #149 by @yuri0528 in #191
- fix: 登录页面优化 #144 by @yuri0528 in #194
- fix: 修改passwordRules参数 #149 by @yuri0528 in #196
- refactor: exposing enabled of setting to frontend by @IMBlues in #200
- fix: 图片更换,关闭背景点击事件 #144 by @yuri0528 in #205
- fix: 调整社区版登录页面 logo 图片 by @IMBlues in #206
- update: 开启用户协议国际化 by @IMBlues in #207
- fix: 修改二级菜单显示不全问题 #158 by @yuri0528 in #210
- feat: 数据同步增加默认重试次数,当所有重试都失败时处理异常 #197 by @IMBlues in #202
- chore: 将部分部署相关变量挪入环境变量 && 修改日志采集配置命名风格 by @IMBlues in #212
- fix: eslint by @yuri0528 in #203
- fix: 修复 ESLint 版本依赖问题 by @EmilyMei in #214
- refactor: SaaS 支持多种 bk_token 后端 by @IMBlues in #215
- fix: 用户目录增加enabled参数 #149 by @yuri0528 in #218
- fix: 二级菜单显示问题 #158 by @yuri0528 in #220
- refactor: 更新版本至 2.3.2-beta.1 && 更新发行文档 by @IMBlues in #233
- fix: remove annoying line by @IMBlues in #234
- fix: adding release.md as entrance by @IMBlues in #235
- refactor: 重构 bk-user Helm Chart by @IMBlues in #227
- feat: AD 目录支持同步自定义字段 #107 by @Canway-shiisa in #237
- fix: 自定义字段 #107 by @yuri0528 in #242
- feat: add support for plugin both in login & api by @IMBlues in #239
- fix: correct mypy lint by @IMBlues in #243
- fix: 自定义字段代码优化 #107 by @yuri0528 in #246
- feat: suuport global hostAlias by @IMBlues in #248
- fix: make general envs of login correct by @IMBlues in #249
- 增加了 v3 版 profiles API by @IMBlues in #247
- chore: support custom command & args for saas by @IMBlues in #250
- feat: 为 v3 api 增加了单元测试 by @IMBlues in #251
- fix: count field type from str to int in api v3 & SaaS 页面支持 base64 密码传入 by @IMBlues in #252
- feat: 多条件查询 #73 by @yuri0528 in #253
- fix: 登录及修改密码使用base64加密 #126 by @yuri0528 in #256
- fix: 搜索框样式优化 by @yuri0528 in #259
- fix: reduce dependencies for unittest in actions by @IMBlues in #257
- fix: 多条件查询优化 #73 by @yuri0528 in #260
- feat: 增加了通过 yaml 配置插件 SettingMeta 的能力 by @IMBlues in #254
- fix: 修复redis外部存储时访问地址拼接问题 by @IMBlues in #263
- refactor: 整理日志配置,默认使用 stdout 输出 by @IMBlues in #264
- fix: 添加下级组织显示问题 by @yuri0528 in #265
- chore: update version to 2.3.2 by @IMBlues in #266
- update master to 2.3.2 by @IMBlues in #267
New Contributors
Full Changelog: v2.3.1...v2.3.2