diff --git a/changelog.md b/changelog.md index 1c4a8a3e77609bcdb63a25b713bcb7fa403969f0..309c7ecf67b79f378f2f97049d5ef9d457237ed4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,10 @@ +## 2.1.0(2023-01-17) +- 重要 新增uni-admin需要的相关依赖和初始化数据(方便uni-admin关联uni-starter后可直接运行) +- 升级依赖的 [uni-id-pages](https://ext.dcloud.net.cn/plugin?name=uni-id-pages) 修复如下问题: + 1. 优化 压缩依赖的文件资源大小 + 2. 更新依赖的 验证码插件`uni-captcha`版本的版本为 0.6.4 修复 部分情况下APP端无法获取验证码的问题 [详情参考](https://ext.dcloud.net.cn/plugin?id=4048) + 3. 修复 客户端token过期后,点击退出登录按钮报错的问题 + 4. uni-id-co 修复 updateUser 接口`手机号`和`邮箱`参数值为空字符串时,修改无效的问题 ## 2.0.6(2022-10-19) - 更新 文件路径:`/uni_modules/uni-id-pages/init.js`内uni-push客户端推送标识获取失败的提示 ## 2.0.5(2022-10-19) diff --git a/package.json b/package.json index c19d2d80bf08544ed36ce7a3b5cc2f775f01035b..f5dfb49f28f5f7cf776581fdae95d05ab3c9d236 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "2.0.6", + "version": "2.1.0", "description": "云端一体应用快速开发基本项目模版", "keywords": [ - "login", - "登录", - "搜索", - "uni-id实例", - "留言板" - ], + "login", + "登录", + "搜索", + "uni-id实例", + "留言板" + ], "repository": "https://gitcode.net/dcloud/uni-starter", "engines": { "HBuilderX": "^3.2.6" @@ -82,8 +82,6 @@ } }, "dependencies": { - "@jest/test-sequencer": "^29.0.0", - "jest-environment-node": "^27.5.1", "qrcodejs2": "^0.0.2" } } diff --git a/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json b/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json index 6c4e50bb408b7142e5370e45528017cbb0f93ae9..897b616c0ad0f2fdbe746c26d00999f153f50c45 100644 --- a/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json +++ b/uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json @@ -388,7 +388,7 @@ "title": "用户名", "trim": "both", "permission": { - "read": "doc._id == auth.uid || 'READ_UNI_ID_USERS' in auth.permission", + "read": true, "write": "'CREATE_UNI_ID_USERS' in auth.permission || 'UPDATE_UNI_ID_USERS' in auth.permission" } },