All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.128.0 (2024-10-28)
- chooseFile: image 默认为 image/*;支持 afterElementReady 回调 (c1eade5)
4.127.0 (2024-10-07)
- orderByRules: OrderByRulesRuleArray (8efb614)
4.126.0 (2024-10-06)
- utils: 新增 orderByRules (faacc14)
4.125.2 (2024-09-29)
- chooseFile: 选择取消监听优化 (3afd571)
4.125.1 (2024-09-29)
4.125.0 (2024-09-25)
- EventBus: 支持局部执行 (456905c)
4.124.0 (2024-09-24)
- EventBus: 支持一次性监听多个 (9408e55)
4.123.0 (2024-09-11)
- StringTemplate: 支持截断省略 (cae281c)
4.122.1 (2024-08-23)
- Wechat: 修复 startVoiceRecord (82fa9f8)
4.122.0 (2024-08-22)
- Wechat: 新增音频录制、音频播放、音频上传相关 api (55ade1d)
4.121.0 (2024-08-22)
- types: export XOR (582e929)
4.120.0 (2024-08-07)
- StringTemplate: code 返回 null, undefined, true, false 时置空 (1d7e2c1)
4.119.0 (2024-08-07)
4.118.0 (2024-08-06)
- asyncMemoize: 支持外部管理缓存 (f9ac5b3)
4.117.0 (2024-07-26)
- EventBus: 支持 filter 过滤回调 (8290e32)
4.116.0 (2024-07-08)
- react: useLocalStorage 兼容小程序 (de7d0ad)
4.115.0 (2024-06-06)
- vae: 注释完善 (e054afd)
4.114.0 (2024-06-03)
4.113.3 (2024-03-17)
- date: export type { FormatDateRenderer } (b7487de)
4.113.2 (2024-03-17)
- date: export type FormatDateRenderer (664f033)
4.113.1 (2024-03-17)
- date: 具名导出 formatDate (8c0958a)
4.113.0 (2024-03-16)
- vae: 支持抛出错误作为 message (0c94fb4)
4.112.0 (2024-03-08)
- utils: LocalStoragePlus 支持在小程序内使用 (865e0b2)
4.111.0 (2024-02-02)
- utils: chunkEqual 新增 consistent 选项 (ddeb341)
4.110.4 (2024-01-31)
- vae: 对于数组,不再强制将 element 的验证移到最后 (9650708)
4.110.3 (2024-01-29)
- date: 升级 date-fns (7e7bb5f)
4.110.2 (2024-01-29)
4.110.1 (2024-01-29)
- 修复 export 没加上 .js 后缀的问题 (4137558)
4.110.0 (2024-01-29)
- 编译后的文件加上 .js 后缀以支持原生 ESM (1f336aa)
4.109.0 (2024-01-20)
- utils: 新增 inMiniProgramWebView (d7360a0)
4.108.0 (2024-01-18)
- createSubmit: 引入 id 唯一标识 (93a37c0)
4.107.0 (2024-01-11)
- vae: parse 失败时返回 message (866901c)
- vae: 优化 string.{min,max,length} 的文案 (600c7ba)
4.106.0 (2024-01-02)
- vae: 新增 true, false (07fee13)
4.105.0 (2024-01-02)
- createSubmit: 可直接调用 success, fail (3e2b16a)
4.104.0 (2023-12-08)
- utils: 新增 isCuid (0241337)
- utils: 新增 isCuid2 (8bcca66)
- vae: 添加 cuid, cuid2 (da62ff3)
- x: 新增 cuid2 (c71997a)
4.103.0 (2023-11-15)
- vae: object 新增 requiredFieldsAtLeastOne (42a85c3)
4.102.0 (2023-11-15)
- utils: 新增 desensitize 文本脱敏 (e5d056f)
4.101.0 (2023-10-27)
- vae: object 新增 shapeOfFields 方法 (7b0a95a)
4.100.0 (2023-10-10)
- types: 新增 Nullable (9215f84)
- vae: Nullable 应包含 null (6c95644)
4.99.3 (2023-10-10)
4.99.2 (2023-10-10)
- vae: 类型优化 (487305a)
4.99.1 (2023-10-09)
- vae: 类型优化 (74e1a82)
4.99.0 (2023-09-21)
4.98.0 (2023-08-28)
- Wechat: config 返回 Promise (3217457)
4.97.0 (2023-08-28)
- Wechat: add isReady (4d46f27)
4.96.1 (2023-08-28)
- Wechat: uploadImage 内部作处理保证同时只能有一个图片在上传 (3c2afa1)
4.96.0 (2023-08-28)
- Wechat: chooseImage 返回 previewUrl (6a7cf36)
4.95.0 (2023-08-24)
- vae: VaeError message 优化 (aa10486)
4.94.0 (2023-08-18)
4.93.1 (2023-08-18)
4.93.0 (2023-08-18)
- vae: custom 新增默认信息 (0ecfcfc)
4.92.0 (2023-08-07)
- vae: 新增 cast 方法 (ef63d25)
4.91.0 (2023-08-07)
4.90.0 (2023-08-07)
- vae: 新增 clone, pickFields, omitFields, optionalFields, requiredFields (5fe2131)
4.89.0 (2023-08-06)
- vae: string emptyable (83c1035)
4.88.0 (2023-08-06)
4.87.0 (2023-08-04)
- validator: 新增 getZhCN (1e47c14)
4.86.0 (2023-07-31)
- utils: 新增 pickAll (07ee03e)
4.85.3 (2023-07-16)
- validator: GetSchema (e30c7ae)
4.85.2 (2023-07-14)
- validator: 重写部分实现 (8f68b9b)
4.85.1 (2023-07-14)
4.85.0 (2023-07-14)
- validator: oneOf 支持 enum (ecbd9f6)
4.84.0 (2023-07-13)
- validator: 支持 ref rootValue (641875d)
- validator: 修复 yup.GetSchema 的一些问题 (094bf83)
4.83.0 (2023-07-09)
- utils: 新增 bytes (7ea6ae7)
4.82.0 (2023-06-26)
- utils: 新增 toHttpsUrl (069a883)
4.81.0 (2023-06-26)
- utils: 新增 getEmailUrl (6eccb18)
4.80.0 (2023-06-26)
- utils: 新增 getSmsUrl (217d733)
4.79.0 (2023-06-10)
4.78.0 (2023-05-30)
- utils: 新增 makeConditionalArray (6f87b8f)
4.77.0 (2023-05-30)
- utils: 新增 asyncLimit (b1baa50)
4.76.1 (2023-05-30)
- characterToCodepoint: 用 Array.from 代替 ... (5163b7c)
4.76.0 (2023-05-29)
4.75.0 (2023-05-27)
4.74.0 (2023-05-27)
- regexp: 新增 blankCharsRegExpBuilder (db05dbf)
- regexp: 新增 dataUrlRegExpBuilder (e4dc050)
- regexp: 新增 emoji, email (59e0896)
- 新增 regexp 分类 (a8f8fcc)
- RegExpBuilder: ?: (d532d53)
4.73.0 (2023-05-26)
- utils: 新增 isEmail (a2fd62c)
4.72.3 (2023-05-26)
4.72.2 (2023-05-26)
4.72.1 (2023-05-26)
4.72.0 (2023-05-26)
- utils: 新增 StringTemplate (7a62e93)
4.71.1 (2023-05-09)
- prepareData: 仅支持函数形式 (4d55bce)
4.71.0 (2023-03-22)
- utils: 新增 toSingleLineString (2e43ceb)
4.70.0 (2023-03-08)
- utils: createSubmit 支持泛型 (e5f1e8a)
4.69.0 (2023-02-17)
- date: 新增 formatDistancePlus (668ccd5)
4.68.0 (2023-01-04)
- Wechat: 支持 beforeInvoke 回调 (1f4994c)
4.67.1 (2022-12-02)
- ms: 支持小数 (65247d5)
4.67.0 (2022-11-14)
- types: add RequireAtLeastOne, RequireExactlyOne, RequireAllOrNone (1a09798)
4.66.0 (2022-11-03)
- utils: 新增 removeEmojiChars 从字符串中移除 emoji 字符 (81a752d)
- utils: 新增 removeNonWordChars 从字符串中移除非单词字符(移除非英文单词、阿拉伯数字、汉字的所有字符) (14919e9)
4.65.1 (2022-10-19)
- removeBlankChars: 新增 200E, 200F (fa9cbbf)
4.65.0 (2022-10-02)
- utils: 新增 removeBlankChars (fbf58db)
- utils: 新增 toFullWidthString (9f9295f)
- utils: 新增 toHalfWidthString (be3ca28)
4.64.0 (2022-09-30)
- utils: 新增 isElementVisible (16c149c)
4.63.3 (2022-09-15)
- RichUrl: transform 应有 reject (7bf2425)
4.63.2 (2022-09-15)
- RichUrl: transformFile 报错时应抛出 (0e915ce)
4.63.1 (2022-08-07)
4.63.0 (2022-08-07)
- utils: 新增 MiniProgramUrl (8907a29)
4.62.0 (2022-07-13)
- loopUntil: 可不传 fn (f8fc3b2)
4.61.0 (2022-05-05)
- types: export Simplify from type-fest (bcaea70)
4.60.0 (2022-04-11)
4.59.0 (2022-03-07)
- utils: 新增 asRequiredDeep 将给定的值
RequiredDeep
化 (feb381a) - utils: 新增 GeoCoord 地理坐标系转换工具 (b87f3bb)
- Wechat: 新增 getLocation 方法 (8a833f8)
4.58.0 (2022-02-21)
- Calculator: 支持函数返回数组 (04cc3c9)
4.57.0 (2022-02-14)
- Calculator: 支持四则运算 (0fde095)
4.56.0 (2022-02-12)
- Calculator: 可通过 make 创建新的计算器 (cf1a02b)
4.55.0 (2022-01-25)
- wait.reject: 将返回结果的类型设为 never (5ef338a)
4.54.0 (2022-01-24)
- 类型更新 (8c2f6f6)
- devOrProd: 支持自定义判定 (ebd8320)
- LocalStoragePlus: 添加静态方法支持 (0c20f39)
- LocalStoragePlus: set 支持传入函数根据上一个值返回新值 (6eb4138)
- utils: 新增 LocalStoragePlus (1b98102)
- validator: 优化 when 的类型 (5206139)
4.53.0 (2021-11-29)
- validator: 为 ref 添加 map 支持 (4bc0a78)
4.52.0 (2021-11-19)
- utils: 新增 cartesianProduct 计算多个数组的笛卡尔积 (0ac3d87)
4.51.1 (2021-11-17)
- signal: 多个初始 get 表现正常 (ac4d063)
4.51.0 (2021-11-17)
4.50.0 (2021-11-12)
- validator: number 新增 nonPositive, nonNegative 规则 (a0d1f9c)
4.49.0 (2021-11-11)
- validator: number 新增 positiveInteger, negativeInteger, nonpositiveInteger, nonnegativeInteger (56c0abf)
4.48.1 (2021-11-08)
- date: 导出的语言包后面加上 Locale (d1bb828)
4.48.0 (2021-11-08)
4.47.0 (2021-11-02)
- utils: 新增 signal (d4df232)
4.46.3 (2021-11-01)
- 小程序类型不在内部引入 (a057a01)
4.46.2 (2021-10-20)
4.46.1 (2021-10-18)
- EventBus: 解决 off 问题 (277149e)
4.46.0 (2021-10-18)
- EventBus: 新增 clear, destroy (38558f6)
4.45.0 (2021-10-12)
- yup: number 新增 id() (fa19939)
4.44.0 (2021-10-08)
- utils: 新增 selectElement,selectElementLast,selectElementExists,selectElementAll (8707b46)
4.43.0 (2021-10-08)
- utils: 新增 htmlToDocumentFragment,htmlToElement (313cf9d)
- DataPacker: 兼容 v2 的 StructuredListTransformer 产生的数据 (d6cc8cb)
4.42.3 (2021-10-03)
- yup 的类型定义不再挂在 yup/es 下 (6aa8c6e)
4.42.2 (2021-10-03)
- 增加 types 导出 (e9ee4e7)
4.42.1 (2021-09-29)
- chunkEqual: 修复临界值错误 (1a08efe)
4.42.0 (2021-09-29)
- utils: 新增 chunkEqual (eb6f101)
- ii: 优化类型推导 (98d388d)
4.41.1 (2021-09-28)
- devOrProd: 类型优化 (449f957)
4.41.0 (2021-09-28)
- utils: 新增 devOrProd 开发环境和生产环境返回不同的值或调用不同的函数 (4798f2f)
4.40.1 (2021-09-27)
4.40.0 (2021-09-27)
- yup: test 第一个参数可传函数或正则并更新类型定义 (d68da3c)
4.39.0 (2021-09-24)
- utils: 新增 loopUntil 循环调用某个函数直至达到某个条件后返回调用结果 (aaa25c0)
4.38.0 (2021-09-24)
- utils: 新增 defaultIndexTo 设置索引的默认值 (7b2f359)
4.37.0 (2021-09-23)
- formatDate: 渲染器支持字符串 (431b16e)
4.36.0 (2021-09-15)
- utils: 新增 roundTo 保留 n 位小数下的 x 舍 y 入 (aeb6886)
4.35.1 (2021-09-09)
- 声明 yup.js 有副作用,防止 webpack 将增强代码删除 (97ab1d3)
4.35.0 (2021-09-02)
- utils: 新增 moveUp, moveDown, moveToTop, moveToBottom (27eaf97)
4.34.3 (2021-08-14)
4.34.3-beta.0 (2021-08-11)
- loadResource: 支持 hook (2473759)
- loadResource: 支持 hook、jsText、cssText (b39a549)
- utils: 新增 getCurrentScript 返回当前正在运行的脚本所属的
<script>
元素 (d2a93d8) - utils: 新增 jsonp 发起 jsonp 请求 (1c2ae89)
- deps: update dependency antd to v4.16.10 (a03a0c4)
- deps: update dependency antd to v4.16.11 (2012ed1)
- deps: update dependency antd to v4.16.8 (c553a02)
- deps: update dependency antd to v4.16.9 (32541a9)
- loadResource: 加载 js 默认走 async (4e944ac)
- yup 内部维护 (a49dbdd)
4.34.2 (2021-07-14)
- move: 对空数组移动应返回空数组 (f93f090)
4.34.1 (2021-07-13)
4.34.1-beta.6 (2021-07-11)
4.34.1-beta.5 (2021-07-10)
4.34.1-beta.4 (2021-07-10)
4.34.1-beta.3 (2021-07-10)
- copyTextToClipboard: 可设置复制容器类名 (5231b8d)
4.34.1-beta.2 (2021-07-10)
- TreeData.fromList: 优化根节点的判定逻辑 (4222744)
4.34.1-beta.1 (2021-07-07)
4.34.1-beta.0 (2021-07-07)
- deps: update dependency antd to v4.14.1 (0d1d416)
- deps: update dependency antd to v4.15.0 (7cbbca8)
- deps: update dependency antd to v4.15.2 (f8021cb)
- deps: update dependency antd to v4.15.3 (dbab174)
- deps: update dependency antd to v4.15.4 (10548f6)
- deps: update dependency antd to v4.15.5 (677cfc5)
- deps: update dependency antd to v4.15.6 (cbe9040)
- deps: update dependency antd to v4.16.0 (9e50535)
- deps: update dependency antd to v4.16.1 (901a3ca)
- deps: update dependency antd to v4.16.2 (3b96bc2)
- deps: update dependency antd to v4.16.3 (d20f221)
- deps: update dependency antd to v4.16.5 (0a08be1)
- deps: update dependency antd to v4.16.6 (fd4e2af)
- 更新依赖;使用 yarn 作为包管理工具 (f8748e7)
4.34.0 (2021-03-18)
- createSubmit: 支持 throw 异常回调 (2b5e9fb)
4.33.0 (2021-03-03)
- types: 导出 UnionToIntersection (8a17fd6)
4.32.12 (2021-03-03)
4.32.11 (2021-02-22)
- dev: 移除 babel plugin import (dd07a49)
4.32.10 (2021-02-22)
4.32.9 (2021-02-22)
- tweaks (a799ce7)
4.32.8 (2021-02-22)
4.32.7 (2021-02-22)
4.32.6 (2021-02-22)
4.32.5 (2021-02-22)
4.32.4 (2021-02-22)
4.32.3 (2021-02-22)
- tweaks (1e56869)
4.32.2 (2021-02-22)
- node build (3624c95)
4.32.1 (2021-02-22)
- dev: getBabelPluginImportList (d9b3848)
4.32.0 (2021-02-22)
- dev: 新增 getBabelPluginImportList (603843e)
4.31.0 (2021-02-19)
- utils: 新增 sampleBy, sampleIndex (7df6ac8)
- yup: try catch (5bfd276)
4.30.2 (2021-02-01)
- DataPacker: packAsRawType (97fa9fd)
4.30.1 (2021-02-01)
- DataPacker (c7e39c0)
4.30.0 (2021-02-01)
- 使用 DataPacker 替换 ListWrapper (220c5be)
4.29.0 (2021-01-30)
- useLoadMore: 导出 setData (4c7546e)
4.28.0 (2021-01-25)
4.27.0 (2021-01-20)
- TreeData: index (74cebdc)
4.26.0 (2021-01-19)
- createGlobalState: 新增 setStatePartial (9c76e5a)
- createGlobalState: 类型重载 (72e772b)
4.25.0 (2021-01-18)
- utils: 新增 isType (dd15ce9)
4.24.0 (2021-01-15)
- utils: 新增 rot13 (6450d00)
4.23.0 (2021-01-14)
- ListWrapper: 优化 (3a25e97)
4.22.1 (2021-01-14)
4.22.0 (2021-01-14)
- utils: 新增 ListWrapper 列表打包器 (54644fb)
4.21.0 (2021-01-13)
- createGlobalState: 添加 watchStateImmediate (5452019)
4.20.0 (2021-01-13)
- types: 新增 NonEmptyArray 非空数组类型 (cecf602)
4.19.0 (2021-01-12)
- types: 新增 DotPath (2417103)
4.18.0 (2021-01-11)
- x: 新增 nanoid (c601213)
4.17.0 (2021-01-08)
4.16.1 (2021-01-04)
- renderComponent: 修正 key 赋值时机 (516456e)
4.16.0 (2021-01-04)
- useStaged: 支持 reset 重置暂存状态 (8edd7e1)
4.15.0 (2021-01-04)
- react: 新增 useStaged 暂存状态 (7fd1181)
4.14.1 (2021-01-03)
- TreeData: 优化类型 (e454d61)
4.14.0 (2021-01-03)
- cloneDeep,TreeData: 支持 ignore (f9bb684)
4.13.2 (2020-12-31)
- validator: mixed 默认 any (a6c5b71)
4.13.1 (2020-12-30)
- renderComponent: 生成默认 key 值 (ceae5f1)
4.13.0 (2020-12-29)
- renderComponent: 支持设置渲染容器 (4150947)
4.12.0 (2020-12-25)
- types: export Class, Asyncify (739aa6e)
4.11.1 (2020-12-24)
4.11.0 (2020-12-24)
4.10.1 (2020-12-22)
4.10.0 (2020-12-22)
- x: 新增 RedisCookieJar 使用 Redis 作为 Cookie Jar (2815e13)
4.9.1 (2020-12-21)
- indent,dedent: 插入值支持 number 类型 (926b7cb)
4.9.0 (2020-12-21)
- createXml: 添加 array 辅助方法 (c1e0de1)
4.8.0 (2020-12-21)
- TreeData: 新增 traverseNode 遍历节点 (c5dd7b1)
- x: 新增 cuid、uuid (e938c99)
- x: 新增 parseXml、createXml (1ee40c7)
4.7.0 (2020-12-19)
4.6.0 (2020-12-14)
4.5.0 (2020-12-14)
- TreeData: 新增 fromList 方法从列表生成实例 (5516106)
4.4.2 (2020-12-12)
4.4.1 (2020-12-12)
4.4.0 (2020-12-12)
4.3.0 (2020-12-12)
- TreeData: 新增 clone 方法克隆实例 (e08ad66)
4.2.1 (2020-12-11)
- TreeData: findNodePath、findNodePaths 的结果应包含当前节点 (53edbb2)
4.2.0 (2020-12-11)
- TreeData: 新增 findNode、findNodes、findNodePath、findNodePaths 方法 (7217a3a)
4.1.0 (2020-12-08)
- 不打包 validator 的类型定义 (7d4bd9a)
4.0.0 (2020-12-07)
4.0.0-beta.7 (2020-11-27)
- createUrlQueryString,parseUrlQueryString: 支持自定义连接符 (a7d02bd)
- utils: 新增 isDataUrl (80b3a0c)
- utils: 新增 parseDataUrl (b67d872)
4.0.0-beta.6 (2020-11-26)
- react: export types (dcf584f)
4.0.0-beta.5 (2020-11-25)
- types: 新增 CamelCase, SnakeCase, KebabCase, PascalCase, DelimiterCase (0112b50)
4.0.0-beta.4 (2020-11-25)
4.0.0-beta.3 (2020-11-23)
- cjs 产物 (3633d35)
4.0.0-beta.2 (2020-11-23)
- 修复 commonjs 配置 (dc91321)
4.0.0-beta.1 (2020-11-22)
4.0.0-beta.0 (2020-11-22)
- deps: update dependency yup to ^0.30.0 (500ad27)
3.53.0 (2020-11-18)
- utils: 新增 constantCase, pascalCase (3f78d8d)
3.52.0 (2020-11-18)
- chooseFile: 完善单测 (1d2190f)
- utils: 新增 copyTextToClipboard 复制文本到剪切板 (52b437e)
- utils: 新增 formatBytes 格式化字节数 (699789a)
3.51.0 (2020-11-17)
- utils: 新增 chooseFile 选择文件 (128b650)
3.50.2 (2020-11-12)
3.50.1 (2020-11-12)
- types: 使用 api-extractor 打包类型文件 (b4c5bbe)
3.50.0 (2020-11-08)
- mp: 新增 getSceneParams、useSceneParams (0ab6f55)
3.49.3 (2020-10-11)
- 回退 type-fest、文档生成不报错 (9fe92e1)
3.49.2 (2020-10-11)
3.49.0 (2020-10-10)
- date: 新增 formatDistanceAgo (2715dee)
3.48.0 (2020-09-26)
- Wechat: 添加 requestPayment 方法 (3827479)
3.47.0 (2020-09-19)
- useLoadMore: 返回数据兼容 list 属性代替 data 属性的情况 (f28212f)
3.46.0 (2020-09-19)
- react: 新增 useStateWithDeps (dff9b73)
- types: 导出 PackageJson, TsConfigJson, JsonValue, JsonArray, JsonObject (59ecc3d)
3.45.0 (2020-09-17)
- navigatePageTo: 在页面真正切换后 Promise 才会被 resolve (35a5721)
3.44.1 (2020-08-31)
- getCurrentPagePath: 从 utils 引入 last (6a5ef5f)
3.44.0 (2020-08-29)
- miniProgramBus: 新增 routeChange (5981d30)
3.43.1 (2020-08-28)
- getCurrentPageQuery: 对值执行 decodeURIComponent (c46cacd)
3.43.0 (2020-08-28)
- patchMiniProgram: 页面展示时更新当前页面 ID (033a818)
3.42.0 (2020-08-27)
- miniProgramBus: 优化实现,支持返回数据类回调 (aa9a690)
- miniProgramBus: 页面卸载时移除对当前页面的监听 (b04d161)
3.41.1 (2020-08-27)
- miniProgramBus: toUpperCase (d50819b)
3.41.0 (2020-08-26)
3.40.0 (2020-08-25)
3.39.0 (2020-08-25)
- mp: navigatePageTo 支持 query (71b461e)
- mp: 完善注释 (f0781f7)
- mp: 新增 getCurrentPagePath, getCurrentPageQuery, getCurrentPageUrl (9308bec)
3.38.0 (2020-08-25)
- utils: 新增 createUrlQueryString, parseUrlQueryString (7cd3152)
3.37.2 (2020-08-25)
3.37.1 (2020-08-25)
3.37.0 (2020-08-25)
3.36.3 (2020-08-23)
3.36.2 (2020-08-21)
- 支持 TypeScript 4 (b0128d6)
3.36.1 (2020-08-17)
- validateInOrder, validateInOrderSync: 支持未定义的键 (7296494)
3.36.0 (2020-08-13)
- yup: 添加 validateInOrder, validateInOrderSync 支持按顺序验证对象 (50a1c42)
- yup: 添加 validatePlus, validatePlusSync 方法 (8dbc288)
3.35.0 (2020-08-13)
- utils: 新增 createSubmit (9f07d41)
3.34.3 (2020-08-08)
3.34.2 (2020-08-07)
- react: 将导出加入 prettier-ignore (6b01d1a)
3.34.1 (2020-08-07)
- react: 手动导出以解决 cjs 下 Cannot redefine property 的问题 (11fb15c)
3.34.0 (2020-08-06)
- useControllableValue: 支持重置值 (0ffb359)
3.33.0 (2020-08-06)
- useControllableValue: 支持 alwaysUpdateValue (18c0379)
3.32.1 (2020-08-06)
- deps: update dependency miniprogram-api-typings to v3 (410ece7)
3.32.0 (2020-07-27)
- useControllableValue: 支持设置默认值 (e9fa831)
3.31.1 (2020-07-25)
- defineComponent: 修复类型定义 (472aecd)
3.31.0 (2020-07-25)
- react: ExtendComponentProps 更名为 DeriveComponentProps (f7fe455)
3.30.0 (2020-07-25)
- react: 新增 CommonComponentProps (edcd28d)
3.29.0 (2020-07-24)
- deps: update dependency miniprogram-api-typings to ^2.11.0 (4b31555)
3.28.0 (2020-07-23)
- inAndroid: 支持在小程序中使用 (b3db043)
- inIOS: 支持在小程序中使用 (e804fb8)
- inMiniProgram: 在小程序中时,现在会返回小程序 API 挂载的全局对象 (ba90ab8)
- utils: inWechat 更名为 inWechatWebView (1d341e4)
3.27.0 (2020-07-22)
3.26.0 (2020-07-22)
- react: 新增 useHover (59b4e38)
- useInterval: 修正测试用例 (8d45de0)
3.25.4 (2020-07-22)
- ExtendComponentProps: 修复 TOverride 的类型定义 (3051055)
3.25.3 (2020-07-21)
- useInterval: 修复测试问题 (7688b13)
3.25.2 (2020-07-21)
- defineComponent: defaultProps 始终可选 (3c21a39)
3.25.1 (2020-07-21)
- defineComponent: defaultProps 定义优化 (86cf2ef)
3.25.0 (2020-07-20)
- react: 新增 defineComponent (a9c95d7)
- react: 新增 ExtendComponentProps (a1c30c1)
- react: 新增 isVisibleValue (a368e51)
- react: 新增 renderComponent (ceecb28)
- react: 新增 useControllableValue (da57d15)
- defineComponent: 组件的内部属性去除 key 和 ref (57196ff)
3.24.1 (2020-07-18)
3.24.0 (2020-07-18)
- utils: 新增 getWechatPublicAccountQrcodeUrl (398c886)
3.23.0 (2020-07-17)
- react: 新增 useWindowSize (7abcb23)
3.22.0 (2020-07-16)
- useInterval: 支持 duration (15b7b2c)
3.21.1 (2020-07-16)
- useLocalStorage: 更新实现 (1d44804)
3.21.0 (2020-07-16)
- react: 新增 useLocalStorage (7a415e0)
3.20.0 (2020-07-15)
3.19.0 (2020-07-15)
- utils: 新增 placeKitten (b154e21)
3.18.3 (2020-07-14)
- indent: 后行断言部分浏览器暂不支持 (3262fa0)
3.18.2 (2020-07-13)
- 锁定 standard-version 版本 (fc10dd3)
3.18.1 (2020-07-13)
3.18.0 (2020-07-13)
- taro: 新增 getTopBarInfo, useTopBarInfo (72e3f26)
3.17.0 (2020-07-10)
- taro: 新增 useSubmit (fbe8d8a)
3.16.0 (2020-07-10)
- taro: 新增 useAutoStopPullDownRefresh (4338980)
3.15.1 (2020-07-10)
- useReachBottom.taro: 立即触发一次回调有误 (71323b0)
3.15.0 (2020-07-09)
- useInterval: 支持通过 delay 控制 (9da9d11)
3.14.0 (2020-07-09)
- react: 新增 useSearchParam (119a864)
3.13.0 (2020-07-09)
- react: 新增 useInterval (d7e942c)
3.12.0 (2020-07-09)
- date: 新增 intervalToRestrictiveDuration (cfdcc45)
3.11.1 (2020-07-09)
- useLoadMore: 重新加载应重置 data (10389c5)
3.11.0 (2020-07-08)
- createGlobalState: 支持自定义结果 (e481ce0)
- useLoadMore: 修复 data 的类型定义 (7cc7972)
3.10.1 (2020-07-08)
3.10.0 (2020-07-08)
- date: 新增 anyToDate (06d502c)
3.9.0 (2020-06-30)
- taro: 新增 submit (4f1d662)
3.8.1 (2020-06-30)
- createGlobalState: 延后注册的订阅不能获取最新值 (c4a0062)
3.8.0 (2020-06-28)
- utils: 新增 traverse (36d67e9)
3.7.1 (2020-06-28)
- yup: 修复 webpack 报警告问题 (2e03e0c)
3.7.0 (2020-06-24)
- react: 新增 useReachBottom.taro (9afc481)
3.6.0 (2020-06-24)
- react: 新增 useTitle (9f86c3f)
3.5.1 (2020-06-22)
3.5.0 (2020-06-22)
- utils: 新增 RichUrl (c44f488)
3.4.0 (2020-06-19)
- createGlobalState: 支持 watchState (2412f3a)
3.3.1 (2020-06-18)
- 设置发布包的 registry 为 https://registry.npmjs.org/ (bbcf828)
3.3.0 (2020-06-18)
- react: 新增 createGlobalState (037adcc)
3.2.0 (2020-06-15)
- utils: 新增 md5 (7a23391)
3.1.2 (2020-06-15)
3.1.1 (2020-06-14)
3.1.0 (2020-06-14)
3.0.1-beta.26 (2020-06-14)
3.0.1-beta.25 (2020-06-12)
3.0.1-beta.24 (2020-06-11)
3.0.1-beta.23 (2020-06-10)
3.0.1-beta.22 (2020-06-10)
3.0.1-beta.21 (2020-06-10)
3.0.1-beta.20 (2020-06-10)
3.0.1-beta.19 (2020-06-09)
3.0.1-beta.18 (2020-06-08)
3.0.1-beta.17 (2020-06-08)
3.0.1-beta.16 (2020-06-08)
3.0.1-beta.15 (2020-06-08)
3.0.1-beta.14 (2020-06-08)
3.0.1-beta.13 (2020-06-08)
3.0.1-beta.12 (2020-06-08)
3.0.1-beta.11 (2020-06-08)
3.0.1-beta.10 (2020-06-08)
3.0.1-beta.9 (2020-06-07)
3.0.1-beta.8 (2020-06-02)
3.0.1-beta.7 (2020-06-02)
- add loadResource (675d7a9)
3.0.1-beta.6 (2020-05-31)
- add readFile (8704e3c)
3.0.1-beta.5 (2020-05-30)
- add base64 (348e8cb)
3.0.1-beta.4 (2020-05-29)
3.0.1-beta.3 (2020-05-29)
3.0.1-beta.2 (2020-05-29)
- version (4ee5049)