You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Notable Changes
base64:
协议,转为更标准和通用的data:
协议 (satorijs/satori@106b821)h.image(buffer)
,现在需要你额外传入一个 mime type 作为第二个参数,例如h.image(buffer, 'image/png')
Features
db.drop(table)
的用法 (feat: add an API to drop specific table cordiverse/minato#11) (cordiverse/minato@872a9cf)params
属性,可用于帮助的本地化插值 (Feature: help 指令支持插件内的插值语法 #845) (5d5f285)$if
后可以直接是表达式,不需要插值了 (637cfdc)peerDependencies
是否可选了 (koishijs/webui@521ef2a)peerDependencies
的插件而不是它们对应的服务 (koishijs/webui@3be1b0b)Bug Fixes
cmd.shortcut()
行为错误的问题 (Bug: Command.shortcut 行为不符合预期 #818) (c85f20a)0
和false
在插值时会丢失的问题 (satorijs/satori@ce8081f)session.send()
实现可能报错的问题 (e07ebbc)unique
约束没有忽略空值的问题 (Bug: 使用MongoDB启动时报错 #893) (cordiverse/minato@17c98ea)Date
数据可能导致唯一性错误的问题 (Bug: 后台 SQL 指令报错,无实际影响 #667) (Fix sqlite object comparison cordiverse/minato#13) (cordiverse/minato@8ebeff3)Other Changes
This discussion was created from the release Koishi 4.11.0.
Beta Was this translation helpful? Give feedback.
All reactions