koishi

Cross-platform chatbot framework made with love

MIT License

Downloads
32.9K
Stars
4.4K
Committers
49

Bot releases are hidden (Show)

koishi - Koishi 4.11.6

Published by shigma over 1 year ago

Notable Changes

  • 支持了 Schema.filter()Schema.computed(),它们允许某些配置项在不同的会话中有不同的值
  • 此版本中我们更新了我们的工具链,包括 create-koishi 和 @koishijs/scripts,现在它们位于新仓库中:
    • @koishijs/scripts 支持了新版的工作区,使用 external 存放新创建的插件,并为每一个插件初始化 git 仓库
    • create-koishi 现在直接从 npm 上下载模板,而不是从 GitHub 上下载压缩包,这样一来就可以告别镜像了

Features

  • client: 优化了移动端设备下的显示 (koishijs/console#91) (koishijs/console@81a6b628d4db47f6ab3d4b06e3af6e64b1b7e998)
  • client: 在环境界面中加入了论坛链接 (koishijs/console@a408417507328f796e35f25316e596c5734536c7)
  • client: 新增了 <k-filter-button>,用于弹窗配置过滤器 (koishijs/console@a8c06b90d1fec96ae9fa55643cb5eebe242d6dee)
  • core: 支持了 i18n 正则表达式作为快捷调用 (koishijs/koishi@b706f5db3a3bce2906990a96816a04c07740852f)
  • core: 全局配置 prefixnickname 支持了计算属性 (koishijs/koishi@b47c182ca852eda60954b418dfa8427b583cbb52)
  • minato: 新增了 $switch 类型 (shigma/minato@c0d206ec7a24b4ced05277f4b44ec65076dfb1c3)
  • satori: 支持了发送选项 linkPreview (koishijs/koishi#767) (satorijs/satori#74) (satorijs/satori@50cc9301dad8735cdbbec43e4c2d12b677bda48f)
  • schema: 支持了 role('table') (shigma/schemastery@1367c302dc15b734dd26fd6800d6c6dabb181c96, shigma/schemastery@3d2dc19391d001e01bc51d5d415d8460c9bb4230)
  • schema: 支持了 role('color') (shigma/schemastery@3be75d84e6249506e1d35624b0f1b6003b434f43)
  • schema: 支持了 role('filter') (shigma/schemastery@1fdad3259d136005d3bd4a2568aa4fca5eda9aa2)
  • schema: 支持了 role('computed') (shigma/schemastery@7f283cc1b98c0d8850b2f7b9f72d2748f2a95842)
  • status: 在状态栏中添加了环境信息 (koishijs/console@830db91dd3c3ba4e88618043efdacfcbbd97ea17)

Bug Fixes

  • core: 修复了引用回复在 QQ 上无法正常触发指令的问题 (koishijs/koishi#968) (koishijs/koishi@e038af6412961b94cbf2cbda1e0dc43019f75c8e)
  • elements: 修复了 element.toString(true) 含有转义字符的问题 (satorijs/satori@de151f0f27d2658b7d8b23701c54841b638da99f)
  • market: 修复了页面导航后搜索词可能错误的问题 (koishijs/console#85) (koishijs/console@a33bf5e956091d56489ccd396c720285f9834a87)
  • market: 修复了搜索框不即时响应的问题 (koishijs/console@32f64e717ff65d1bded99e05a4ca0863202e557b)
  • satori: 修复了嵌套的组件没有被完全替换的问题 (koishijs/koishi#974) (satorijs/satori@cd76a2b0f8f6c5cf492a40844bd0dd1c09bbe426, satorijs/satori@a40b25d63db0051dd55f98f63be01538da500521)
  • sql: 修复了部分情况下 SQL 构建错误的问题 (koishijs/koishi#971) (shigma/minato@51777379b6e22bbbd0a6b3f8de6a3dd956de1ba2)

Other Changes

  • chore: bump versions (koishijs/koishi@bc6d3303b95f4eeec14d137f1f00917192de4195)
  • chore: bump versions (koishijs/console@1712557af2ca48c9f104668bf82e0f5565ca9c50)
  • refa: move re-exports to index.ts (koishijs/koishi@130bd2cc9b5b7e7ed8cc204253f322a623973a89)
  • refa: remove @koishijs/scripts to standalone repository (koishijs/console@015bfa97d8c56f71e548cb1296aa8325baf9a846)
  • refa: decouple with marked-vue (shigma/schemastery@8850f219af43557e854549e72fbf1404c0888afe)
  • chore: migrate create to koishijs/scripts (koishijs/koishi@e8612694180fe813cb50ad0fecc3f773a982626f)
  • refa: move schedule, sudo, swich, verifier plugin to community (koishijs/koishi@797077c9ee8a8575d33322221fcb4b6494d29484)
  • chore: bump versions (satorijs/satori@4358a21e36e6aafbdab5f44efcb27c9b2541e449)
  • chore: bump versions (koishijs/koishi@83c50f4dfcc5e34a882f3d248863fbd016125a6d)
  • chore: bump versions (koishijs/console@a64a07d887931c87eafe12b722deb4acb743eaa7)
koishi - Koishi 4.11.5

Published by shigma over 1 year ago

Notable Changes

  • 初步支持了数据库表的内连接 (shigma/minato@b37818bb70045780da53dda620ec234a7595508a, shigma/minato@f56de27fe72506b479feea4cc1edbe736e239999, shigma/minato@05baf6aa2cbadda2a756f13a6deb6b33aebb5658, shigma/minato@b399631328c935f533526819f765944d29a353e4, shigma/minato@837e92aa1e971060404dd60f6484dcb90fe098d2, shigma/minato@6eeaf64e687c5ee1efecd001a3caa338a18dfe57)
  • 支持了插件市场的过滤和排序功能,并全面完善了分类系统 (koishijs/registry@5bfd7262078fbbedf04616cce641d06ee45e8ed8, koishijs/registry@d5c84607aa18dbfd1f7128c695b60b001a02af30, koishijs/registry@aaa6c8d168de564e56ec3e54ca2da8a7b44f0104, koishijs/registry@2d6c66771910dfcc8c88c64b0642403c90f73f2d, koishijs/registry@3f04806254a8e3a4976791cde34db96faab2ef43, koishijs/registry@93fc0f0c3554869a25ee383de06c3ad473daa371, koishijs/registry@e97c67eed7ead234be870d38380984e5f4ddbfb0, koishijs/registry@3bc7197c359418f5e4f424dbe1799d79398a566d, koishijs/registry@413c4feb8464e1533f02102996d6b2ee5addeb92, koishijs/registry@8f6c5c74f0d482645954319ce1bb8d7124033c94, koishijs/registry@af046870dd327105715d662a22576f30f92b51e0, koishijs/registry@3e6103970c99edaa25bb67897760dd831501ae22, koishijs/registry@154aa1cbd12ca6e1c421ff68ad0566cf12c8fef3, koishijs/registry@757323b987a9c95c32ec6ec89c8c847aca6b53c7, koishijs/registry@5a04792e020de7d5c58bebca0790dcf5ccc865c2, koishijs/console@cf6ac14cbbe616cddbb852901f2873de531781cb, koishijs/console@47333db8f5404bf56334ba0231259d08dd7294ed)

Features

  • client: 更新了默认的活动图标 (koishijs/console@7a04acd86570464fa7be9746de7111522d53d89a)
  • market: 禁止停用 console 和 market 插件 (koishijs/console@ae50fb0c411a923e7c76da953abf02781da125ee)

Bug Fixes

  • dataview: 修复了更新数据失败的问题 (koishijs/console#83) (koishijs/console@b771b7b19bd8a1b59e63f6ee4caf7e5183fa79d3)
  • discord: 修复了 Discord 可能出现永久断开连接的问题 (koishijs/koishi#842) (satorijs/satori#69) (satorijs/satori@17b9deb5023351bf4884f334bbe22d283b43335c)
  • market: 修复了 peerDependenciesMeta 在插件配置界面不起作用的问题 (koishijs/console#96) (koishijs/console@40af18fe08633556940ca0f80124ad68c64bab46)
  • mysql: 修复了 Z 会被错误替换为 undefined 的问题 (shigma/minato#17) (koishijs/koishi#955) (shigma/minato@30f9aef87946cd5e9482e227f9175d37ef2bbcf4)
  • sqlite: 修复了 list 序列化可能报错的问题 (shigma/minato#18) (shigma/minato@1679cba229b3bd087c56b0173e17fcb2e75340fe)
  • telegram: 修复了 Telegram 可能出现轮询失败的问题 (satorijs/satori#67) (satorijs/satori#71) (satorijs/satori@7d06c047de5407ac628b61a163de3e3b37ead863)

Other Changes

  • chore: bump versions (koishijs/koishi@605c59bece1bde69facc8b2ff11f0a3b5df091c0)
  • chore: add bug report issue template (satorijs/satori#68) (satorijs/satori@bdf522d440db91792310690a8f3235b92a8e6bfe)
  • chore: update issue templates (koishijs/koishi#958) (koishijs/koishi@e9d63a11f50bf9d69f99d347a4b7ea49a95eda04)
  • chore: bump versions (satorijs/satori@050ec4de73b0e957251dda2701f43db80d2dbd32)
  • chore: remove redundant files (koishijs/console@7968402606ab67d1c98eccb9313e10172dd7db5e)
  • refa: deprecate cmd.getConfig() in favor of ses.resolve() (koishijs/koishi@dbfd581bc2cac998518b45520ed72e6e95aed103)
  • chore: bump versions (shigma/minato@d37dd4deac2cc0526bb352ea7518beb8e48b3a25)
  • refa: adjust typings to avoid conflict (shigma/minato@2657c1b3a9fd52288ba9d3dc4f1ed0ca6351f130)
  • chore: bump versions (koishijs/koishi@bc6d3303b95f4eeec14d137f1f00917192de4195)
koishi - Koishi 4.11.4

Published by shigma over 1 year ago

Features

  • client: 优化了移动端适配 (koishijs/console#91) (koishijs/console@4df1039d7790185a4e6e8b5b6da21c3a6e4fc9ed, koishijs/console@3c7b8aeee285ff238a00ee930f7a07d09168e4c3)
  • console: 新增了 console/connection 事件,可用于监听连接数变化和鉴权更新 (koishijs/console@87e67178fb57f3ab5d3b7ec60001283f6da2532b)
  • cordis: 当正在运行的服务被替换时将抛出错误 (shigma/cordis@64eeecf49265b4111636d61c02147a4dc519c48d)
  • core: 新增了实验性的 filtercomputed 类型 (koishijs/koishi@1b884138dc3f9db3a2fead317457b9553db4f4e8)
  • discord: 更新了类型 (satorijs/satori#66) (satorijs/satori@f7562d6efa7d3d8e473ac988300fce0a9edd503b)
  • insight: 优化了力导向图的各项参数 (koishijs/console@87aa02cda7644f29ee5dfab3a927a0038a990528)
  • insight: 在有向边上添加了箭头 (koishijs/console#8) (koishijs/console@99248cd4de85462567114a95512b45f78ac85a63)
  • market: 不再显示「所有插件」分组,优化了插件配置体验 (koishijs/console@89590b74cf1388940be1eec959b01e3304a62a27)
  • market: 当移除插件或插件组时将弹窗进行确认 (koishijs/console@6a2c1238881ccd6dd8e196d25a22d7bf1ac953bd)
  • market: 当检测到新的连接时,根据上一次刷新的时间自动刷新插件市场 (koishijs/console#88) (koishijs/console@81dd4568569b4804ea7d0b45b261eae8e0520eb9)
  • recall: 支持了以引用回复的形式撤回任意消息 (koishijs/koishi#950) (koishijs/koishi#951) (koishijs/koishi@f66da8a68158c3e43b853f4fe5ef65ee5c78e651)
  • schema: 支持了 transform 类型的第三个参数,用于控制转换后的数据不写回上级结构 (koishijs/koishi#952) (shigma/schemastery@28b53592ff5b726cf1fd6bc63104ac0165ed2ded)

Bug Fixes

  • console: 修复了自动打开窗口不遵循端口尝试的问题 (koishijs/console@627696dacb40ba1b804f4b299f8d72a3851e9bd3)
  • core: 修复了端口尝试功能失效的问题 (koishijs/koishi#873) (satorijs/satori@241d57dd7b457214be12a1109b6b20ee23fb519a)
  • market: 修复了工作区插件配置页面显示错误的问题 (koishijs/console#90) (koishijs/console@9aa85490552ead31c31e3c1455cf1a12bc6b969c)
  • market: 修复了插件市场页面中过多的关键词会导致搜索框溢出的问题 (koishijs/console#93) (koishijs/console@197c0a5e70c2cfef508d16290de22f27030f949c)
  • schema: 修复了反序列化后的类型 .toString() 结果异常的问题 (shigma/schemastery#17) (shigma/schemastery@aa3a3238eea09cf9f1ec3bc4798d0ce40c506339)
  • status: 修复了 status 指令返回的机器人状态缺少换行的问题 (koishijs/console#94) (koishijs/console@8bb65982640ab42945acb10330822b21ec698cb0)

Other Changes

  • test: fix isolate test (shigma/cordis@6407ac015c17d622bdc44e0ed39b7f7dd3205e54)
  • chore: use global variable for indexing (shigma/schemastery@9744b3483e693409818a255922856294537ec89c)
  • chore: bump versions (koishijs/console@ce09611f21200420168ccba3816e4b8b112d7235)
  • refa: remove schema dep to @satorijs/core (satorijs/satori@b3176b6dbf8bddf1272db8e21d892f1adbdd610c)
  • refa: move typings to global namespace for augmentation (shigma/schemastery@0186986da94a5d3a271b88910d2bc18adf01c780)
  • chore: bump versions (shigma/schemastery@560ae3ce42ac3f7f6a4ff32383a3038b8d3f8f79)
  • chore: bump versions (satorijs/satori@7c2d6849c22846d792cf00984d9a423d09707133)
  • refa: remove schema and logger re-exports from utils (koishijs/koishi@aee8af453af31ecdac2900788613d1d8ea72a0fa)
  • chore: bump versions (koishijs/koishi@605c59bece1bde69facc8b2ff11f0a3b5df091c0)
koishi - Koishi 4.11.3

Published by shigma over 1 year ago

Features

  • cordis: 支持了实验性的 scope.statusscope.ensure() (shigma/cordis@006c868e2fd719800d68d5d5fa0d07dfc3f42112, shigma/cordis@2692b15fa5fccfd37969bcf1e2518c9ce44ed88d, koishijs/koishi@219b886bc084dd02a302cff0ccf3145f84fd156b)
  • market: 在安装和配置界面中,对已废弃的版本进行提示 (koishijs/console@7d822f1a7b2910c45ec2eda11f7930c36e9a79ef)
  • minato: 支持了 $regex 运算符以及正则表达式相关类型 (shigma/minato@994d2cc01392ce758690793c26b068f349d79bc2)
  • reggol: maxLength 现在将独立作用于每一个输出行了 (shigma/reggol@7c584b237a80d6389c7b2a52579dfe818a6b147d)
  • sandbox: 使用资源存储服务处理本地文件 (koishijs/console#71) (koishijs/console@eb98bdf6608e65cb4f05a4ce44f5b42e7f64e1d1)
  • sandbox: 支持使用上下方向键快速输入历史记录 (koishijs/console#43) (koishijs/console@560c069dfa2fa4093a072e97b0f85886bc87bc1d)
  • schema: 支持了选择框输入文本进行过滤 (shigma/schemastery#34) (shigma/schemastery@a91ff0250f8bbad73b90d1487e8c4420f4c9df1d)

Bug Fixes

  • core: 修复了 ctx.match() 对于 at 机器人以外的用户时异常响应的问题 (koishijs/koishi#900) (koishijs/koishi@b4bd9751562d5a6c118701c5562f3f8493eae25e)
  • market: 修复了插件市场中使用的描述来自当前版本而不是最新版本的问题 (koishijs/console#80) (koishijs/console@3f17cfd139f001c501ac0ff0954533c5acaeff0d)

Other Changes

  • chore: bump versions (koishijs/koishi@7778ba584bc9174cb1420f69691ee669b7c02428)
  • chore: update vite optimizeDeps for cjs modules (koishijs/console@7d9cc58d735aa8f468bd1debeb5f1961bfeca301)
  • chore: bump versions (koishijs/console@2f95734319a40fd9459b4f77f63b3891400ccdb4)
  • docs: update words (shigma/cordis@a2097ec107a44c84fe114c107e6d8613c3b11c50)
  • refa: rename state to scope (shigma/cordis@a559db7292b6ca84d1653b8f093b6050213d3d92)
  • chore: bump versions (satorijs/satori@463dcfbdc31019065f25b9f7b4aa224d8302f1a1)
  • chore: bump versions (koishijs/koishi@de26317b6541226f19c3bce42b66068e607272b2)
  • chore: bump versions (shigma/minato@eea9eb710a783fa9a030a2fefb775eb39296f29a)
koishi - Koishi 4.11.2

Published by shigma almost 2 years ago

Notable Changes

  • 插件市场支持了更多标识和搜索语法,包括不安全、预览版本和近期新增等 (koishijs/console@f7d3cf4721ced3811d854d3cee08d60ceff9961c, koishijs/console@ac199114b928c1b854237b0b4270edff2b17c83c, koishijs/console@e5796a5de29f817ebc02eeace913b1ff9bab22cb, koishijs/console@fcb13f103fa202e6d1102563cf7488807e3ce546)
  • forward 和 respondent 现在是社区插件了 (koishijs/koishi@173a91ff7d1e2ae0e6c48d7394608e3e08c6bad5, koishijs/koishi@05ff45db6491bd14614f16ce8a373b33128c3d99)

Features

  • client: 优化了断开连接时的显示 (koishijs/console@dce4b3005e219fe65796981799352a65187d6bf8)
  • core: 优化了派生式子指令的别名注册 (koishijs/koishi#912) (koishijs/koishi@a89dfc849136d24cdfe6889b376abe4a6fd577c5)
  • discord: 更新了类型 (satorijs/satori#61) (satorijs/satori@11e8551d9075a975fc00d7947c692779e44e803b)
  • discord: 支持了基于 resume_gateway_url 的重连 (satorijs/satori@622837ee2d4050fa9d8d6494215675f7e40613b9)
  • market: 插件配置界面顶部增加了了链接导航栏 (koishijs/console#69) (koishijs/console@36e7ddeb9d4a3a80b8cf34fb18d6145b0409957f)
  • market: 当更新插件主版本时将显示兼容性提示 (koishijs/console@0b8f287b148b5d8db3671ca1570caf79980f5afe)
  • market: 现在插件可以主动声明不显示过滤器了 (koishijs/console@6aa676190399613c004f3fe63a97e350be0fb890)
  • sandbox: 支持了 bot.sendPrivateMessage() (koishijs/console@80c2d5f0c497b42864c15007e032220076472205)
  • scripts: 自动将插件名称中的下划线替换为连字符 (koishijs/console@5800c2e378fade0b7d6e00eb946e514e98ad9cc6)
  • telegram: 更新了类型 (satorijs/satori#61) (satorijs/satori@453da0fa545eed3e9b6024350f23c661fa34eda4, satorijs/satori@47ceb749c88d850862b4a81a8807eaf7ce366ecc, satorijs/satori@aa82fdb342712393f398bb786bed64d00f03fb61, satorijs/satori@b9181722ee1c645ceeb726ad8a1b748bbed93114, satorijs/satori@f8f67d728eb3b2dc74beeaef20f7ce9d0af75ce8)

Bug Fixes

  • adapter: 修复了部分适配器不支持 SendOptions 的问题 (satorijs/satori@da47c88674bab7673fe080cc9eacdf8804124d2c)
  • core: 修复了链式注册指令会导致新增的父指令拥有子指令的参数的问题 (koishijs/koishi#928) (koishijs/koishi@ee66cb96da67820f9c9e349122b35df472d99f39)
  • core: 修复了适配器插件和数据库插件也能配置过滤器的问题 (koishijs/koishi@d5a9dd5c56abfd93035ff6abd09697a6eda7e54c)
  • client: 修复了自动重连不工作的问题 (koishijs/console@9ed18fb034817f4aa354f761c72c03846a35fb48)
  • client: 修复了可能会构造出不合法的过滤器的问题 (koishijs/console@1bb86da3bb20ed1d4cd08dec6ba41fe90812daea)
  • helpers: 修复了 errorHandler() 插值错误的问题 (koishijs/koishi#926) (koishijs/koishi@076eb7318a6b8584a6a6f7a34a571b576e7bfc23)
  • market: 修复了移除插件时会添加插件配置的问题 (koishijs/console#72) (koishijs/console@b217dabfbb49737579fac7a9cf3da029fed5f786)
  • schema: 修复了 intersect 类型的部分子类型消失的问题 (shigma/schemastery#30) (shigma/schemastery@082f458fa08c8f5d0c17231bdf68831b2448505f)
  • schema: 优化了样式 (shigma/schemastery@ccdca6248484246cbf6feefa70c87fcf256e1131)
  • schema: 修复了 union 类型中对象的标题未正常显示的问题 (shigma/schemastery@f7c0e0508383c0cdbd5e851f851e23e0981177d8)
  • status: 修复了加载慢导致的报错问题 (koishijs/console@16c1f51ed84c4e9d436e570e449c7f2d13044aa0)
  • telegram: 修复了部分消息解析错误的问题 (satorijs/satori#63) (satorijs/satori@dfb951d48f408354b20a8d15756d5e0dea997703)
  • telegram: 修复了话题中消息回复错误的问题 (koishijs/koishi#910) (satorijs/satori#65) (satorijs/satori@1e58dc7618f0ba3c10a92cc85c24543da494cd04)

Other Changes

  • chore: bump versions (koishijs/koishi@969cf49e6f3ebe101e02f7f3e832a72b753bde0e)
  • chore: bump versions (koishijs/console@75b7ef014644f04f70da732fb100ff9c7b5b890e)
  • refa: rename store.users to store.sandbox (koishijs/console#73) (koishijs/console@4e88334e0b36be581375d2509cc4b01537a20fdb)
  • chore: update plugin manifest (koishijs/koishi@cd25dd6617bbe86a241799468a06d6eaa5e3c952)
  • chore: bump versions (koishijs/console@c3b8b7f3e0eeee204350a682070ad131f71756c7)
  • refa: migrate to marked-vue (shigma/schemastery@c43f77554ba264ac9d444a2049c315eab459ebff)
  • chore: bump versions (koishijs/koishi@7778ba584bc9174cb1420f69691ee669b7c02428)
koishi - Koishi 4.11.1

Published by shigma almost 2 years ago

Notable Changes

  • 支持了使用 minato 表达式语法作为 $filter 过滤会话上下文 (koishijs/koishi@e504875c5391fb71201f25bdfd80ab7e9e048c0f, koishijs/console@4b1cbd2bef6ef6012dcbfbd3bf7feff54c863522, koishijs/console@6a4f28d3187cf91a007edcc79174fecd1baace6a, koishijs/console@376f66ade1ca1aa7adf59d29100a520c1e18daac)
  • 支持了在主动消息中使用部分消息组件,例如你现在可以在 ctx.broadcast() 中使用 <i18n> 了 (koishijs/koishi#901) (satorijs/satori#60) (koishijs/koishi@345ab9df95423fc9f97a8b90b2263e2cb32025b4, satorijs/satori@9281bfd9367daabea9255764455c94eae5682efe, koishijs/koishi@f98ca2ce88ffeea55df6512af712575b8823d436, (satorijs/satori@febfcbb19737b91cd46898b28f8336676da30001)
  • 将 status 插件拆分为 status 和 analytics 两个插件,后者承担了数据统计和图标渲染的功能 (koishijs/console@aa60243870419debfa4a153c596dfced448dd434)

Features

  • axios: 支持了 ctx.http.axios(config) 不带 url 参数的用法 (satorijs/satori@1ec59f1f277ccc71fea9a2cc7e94e922cd9ee79e)
  • callme: 支持了自动移除昵称中的非文本部分 (koishijs/koishi#902) (koishijs/koishi@d8ef2075df35fc74718be806347418410a56d4f3)
  • locales: 在侧边栏中支持了搜索框 (koishijs/console@d9f2834f8d97b7cb596b5a46391485a66a3d0291)
  • market: 当打开插件选择对话框时自动聚焦输入框 (koishijs/console#64) (koishijs/console@9dbaa43d73f19c3991e5ddacfa68ae25060a0cd8)
  • market: 实验性地支持了导出 usage 以提供插件的配置说明 (koishijs/console@c7ee29dd6065573c12958cb417849f04e671b43f)
  • market: 优化了搜索框下方插件数量的显示 (koishijs/console#68) (koishijs/console@892111b2c2aa559deed752eacbb9338d9877734f, koishijs/console@29c8d49795de21df9b85335d9da1e7cdbd631a85)
  • minato: 支持了 $in$nin 作为表达式运算符 (shigma/minato@0add828b9a7f1157575c36e8c2462cb7e4c73ba7)

Bug Fixes

  • help: 修复了 --help 指令副作用没有清除的问题 (koishijs/koishi#903) (koishijs/koishi@3fb88bef2049492699f82ffb0a2c73c4f7314b22)
  • kook: 修复了 bot.getGuildMemberList() 参数丢失的问题 (satorijs/satori#59) (satorijs/satori@95cbe8dd920225852b05b8433512ffe97cbca341)
  • market: 修复了在插件组中添加新插件时错误地出现在顶层的问题 (koishijs/console#65) (koishijs/console@b5edca2d81a10ea47c5a7c99cac44a10111c6fa4)
  • market: 修复了本应显示的 contributors 实际上显示成 maintainers 的问题 (koishijs/console@b3f805027217ae3ea11887d4fd721efb0522ba73)
  • onebot: 修复了 record 未转换为 audio 的问题 (satorijs/satori#54) (satorijs/satori@5e51bb57bc9767dd7e8bd77b2df4849d88f75e9e)
  • sqlite: 修复了 db.stats() 导致后续 regexp 报错的问题 (shigma/minato#12) (koishijs/koishi#894) (shigma/minato@b97163c6d2a958f54f0129688152b471102f6f62)
  • sqlite: 修复了字符串转义错误的问题 (shigma/minato#14) (shigma/minato@064f3264cbef2af12fe19727b67518c7f706202a)
  • telegram: 修复了接收到 <at> 解析错误的问题 (koishijs/koishi#907) (satorijs/satori#62) (satorijs/satori@45f23480fcfe97e4d6dc3db2259f7f57733882f3)

Other Changes

  • chore: bump versions (koishijs/koishi@6115998e054af45520d0cf7262455b1ae01f43a3)
  • chore: bump versions (koishijs/console@07da7e8a0a72f380eb8c27f1e9290afc1c96f5ca)
  • chore: happy new year 🎉 (koishijs/koishi@efe3506291962750ecf44f11d84a17abb6141a6b)
  • refa: migrate selector API to koishi (satorijs/satori@31ca50a42cf8cd4e1d125dc53aa50c950dbfb1f1)
  • chore: bump versions (satorijs/satori@4919f8cad6edfbe03d4649ce1adbfac3c4798bee)
  • refa: implement filter service on koishi side (koishijs/koishi@00b5a6237c321dfacb7da0e5073e58ef0b74f7b5)
  • chore: bump versions (satorijs/satori@69639721bdd516e53c3b9acf378b4df14e91a7c2)
  • chore: bump versions (koishijs/koishi@969cf49e6f3ebe101e02f7f3e832a72b753bde0e)
  • chore: bump versions (shigma/minato@c32087c33f6874f66c97e2151168183d225cc0b0)
koishi - Koishi 4.11.0

Published by shigma almost 2 years ago

Notable Changes

  • 此版本中我们移除了 @koishijs/cli 包,将其合并到了 koishi 中。这意味着你每次升级时不再需要同时升级两边了 (koishijs/koishi@0520ba8dc902227675aea5f66c78666d8687708d, koishijs/koishi@48feca2bdc64cb20d217b5dd083602442ae5c16e)
    • 请注意:这个改动可能会导致你本地的启动脚本失效。为此我们发布了一个专门的插件 koishi-plugin-migration 来尝试此类问题。要升级 Koishi 的用户可以尝试先安装此插件,然后在插件的面板中点击「一键升级」。目前此插件还在测试阶段,未来可能将作为 @koishijs/plugin-market 的内置功能。
  • 废弃了 base64: 协议,转为更标准和通用的 data: 协议 (satorijs/satori@106b821da37309d95379f4e9606670d74fa9889b)
    • 对于 h.image(buffer),现在需要你额外传入一个 mime type 作为第二个参数,例如 h.image(buffer, 'image/png')
    • 过去的写法目前依然可用,但相关的支持会在未来的版本中被移除

Features

  • core: 支持了 db.drop(table) 的用法 (shigma/minato#11) (shigma/minato@872a9cf6b10b47491b4b7e2bfef8a0f7cf0c8560)
  • core: 新增了 params 属性,可用于帮助的本地化插值 (koishijs/koishi#845) (koishijs/koishi@5d5f2854695b2de2d38feddd19baa93d5143da35)
  • loader: 现在 $if 后可以直接是表达式,不需要插值了 (koishijs/koishi@637cfdc652100d434a247a3089adb4649b97a48f)
  • market: 现在能显示 peerDependencies 是否可选了 (koishijs/console@521ef2a285d3877104690b9f2896c2e22e3a253f)
  • market: 优先显示作为 peerDependencies 的插件而不是它们对应的服务 (koishijs/console@3be1b0bdea0a431244bcc8013a6eac5eb07e9428)

Bug Fixes

  • core: 修复了带选项的 cmd.shortcut() 行为错误的问题 (koishijs/koishi#818) (koishijs/koishi@c85f20a7b498394d55be886aa0b9c9c69d5ac616)
  • element: 修复了 0false 在插值时会丢失的问题 (satorijs/satori@ce8081ff73dddd58aa45be4153b4605d41d29924)
  • mock: 修复了 session.send() 实现可能报错的问题 (koishijs/koishi@e07ebbcf5b4d5eada756d5c09b0487def05a9574)
  • mongo: 修复了 unique 约束没有忽略空值的问题 (koishijs/koishi#893) (shigma/minato@17c98ea394c610824d59d31000aed9af269d2836)
  • sql: 修复了启动时可能出现的初始化失败问题 (shigma/minato@268a8e22ae7c69bd88d8162045ae8058aade6c7d)
  • sqlite: 修复了插入 Date 数据可能导致唯一性错误的问题 (koishijs/koishi#667) (shigma/minato#13) (shigma/minato@8ebeff3bd20f99443b53b5b46b31c75d522d3724)

Other Changes

  • chore: bump versions (koishijs/koishi@a8bd6a77a35da390415bcb3143830d3d8751c213)
  • chore: fix silly bugs (koishijs/koishi@babe254130a72d9d7584caec3ad250f4fbc312db)
  • chore: bump versions (shigma/minato@e70617b5603c939c078ef732cb563431fb050ee4)
  • chore: update readme.md (shigma/minato#9) (shigma/minato@15e127aff805c8e9cd60497184841a4bb2666b65)
  • chore: bump versions (satorijs/satori@4cf4fcd79285f1cb3ea3af41914efe96393c19ea)
  • chore: bump versions (shigma/minato@db08e2c9c97a2575ed37b1144834cb57e8310655)
  • chore: bump versions (koishijs/koishi@6115998e054af45520d0cf7262455b1ae01f43a3)
  • chore: bump versions (koishijs/console@07da7e8a0a72f380eb8c27f1e9290afc1c96f5ca)
koishi - Koishi 4.10.7

Published by shigma almost 2 years ago

Notable Changes

  • 发布了 console 插件的 v5 版本。该版本重构了控制台前端界面的底层逻辑 (koishijs/console@c86dc784921017ae35ac0747c770ddea0d1463ae, koishijs/console@ff86cc2b23542951098e1682246e9bde8184b5eb),以实现下面的部分修复。升级时请注意同步升级所有插件的版本。

Features

  • client: 当窗口高度不足时将自动合并活动栏图标 (koishijs/console#57) (koishijs/console@977b2736267919198870346982db9507e6d02fb1)
  • client: 修改了主界面、插件配置界面的活动图标 (koishijs/console@8898a26682bca8f2e658add1c722d8f9e8a9391b, koishijs/console@09d6321ff12efa8a007a8761817cb3e7a12523f4)
  • core: 添加了 session.fid 属性,可用于限定会话上下文 (satorijs/satori#56) (satorijs/satori@c3a73bac74ea741cdbf18cebb8f954bcca840c36)
  • loader: 实验性地支持了 $filter 配置项,可以为插件和插件组提供会话过滤功能 (koishijs/koishi@ec76d7bc95c2e0a1cf468a24fc5d2b6e50484727)
  • loader: 实验性地支持了 $if 配置项,可以控制插件和插件组是否加载 (koishijs/koishi#874) (koishijs/koishi@2b661215b58a53fc1fbd112196b3b54d8f944598)
  • market: 插件选择窗口中支持了搜索功能 (koishijs/console#56) (koishijs/console@55bf9056bda05acbc0d830d31b4b5145106c5f7f)
  • market: 插件安装成功后将自动跳转到对应的配置界面 (koishijs/console#53) (koishijs/console@aaaa24049e8307f0f1587f4db00c9dd37b989eb3)

Bug Fixes

  • core: 修复了使用带捕获组的正则表达式作为快捷调用时报错的问题 (koishijs/koishi#883) (koishijs/koishi@743d5b9b8775e271851b81ef9813ac08f63bf60c)
  • client: 修复了生产模式下控制台前端重连成功时不会刷新页面的问题 (koishijs/console@5b541f4e671d34239058265cf0f761036bbad64e)
  • market: 修复了当未加载 auth 插件时状态栏不显示进度条的问题 (koishijs/console@729b9195e22055d6a297572a78f35e1e776b091b)
  • element: 修复了在 JSX 中混合使用普通元素和数组进行插值时报错的问题 (koishijs/koishi#890) (satorijs/satori@ba0a9b2d3cd1eafd1f6dbc76e0872942996d4fed)

Other Changes

  • chore: bump versions (koishijs/koishi@0c8dd049f6e64e033dd81f1f8dc4949f8612e72a)
  • chore: bump versions (koishijs/console@b797a53e980bff66631cf427e6d64dbabba94b36)
  • chore: bump versions (koishijs/console@481b99fd1b5daf32189331869ed288955d15e4c3)
  • refa: rename ctx.shared to ctx.envData (koishijs/koishi@a98857db7ed307a6d7bcd8a5577ffca4c937b93d)
  • chore: bump versions (satorijs/satori@ad356c570cf8e5a36c07102add015587681b450c)
  • chore: bump versions (koishijs/koishi@a8bd6a77a35da390415bcb3143830d3d8751c213)
koishi - Koishi 4.10.6

Published by shigma almost 2 years ago

Notable Changes

  • 实验性地支持了 ctx.shared,它将允许 Koishi 插件在多次启动时共享数据 (koishijs/koishi@59099ea87c7fb7f537a6ba7869c3bffa48694f1d, koishijs/koishi@37bf88d1c12f0f202de72e966b32d41e9250ee69)
    • 基于这个特性,我们优化了控制台的行为——当已有控制台窗口时重启 Koishi 将不会打开更多窗口了 (koishijs/console@8753067e5de10375e792f6c6e1113a0a4350edb1)
  • 支持了使用插值语法配置非字符串的配置项 (koishijs/koishi#641) (koishijs/koishi@c69a5b7cdcb69b251e9b174738f6792244a05c32, koishijs/koishi@f5ef84ba056f6d754e93f412bdc2be2c40251c58, shigma/schemastery@24bf6befc5de2a2ceb34a8f298c1786b57d7d1d7)
    • 这允许你更好地利用环境变量进行配置,比如将 port 设置为 ${{ +env.BASE_PORT }}
    • 这也意味着你现在甚至可以在配置文件中使用函数了!
  • 发布了全新的 @koishijs/plugin-locales 插件,它提供了一个控制台页面,允许用户在线编辑任意本地化文本 (koishijs/koishi@7dea77321505fe7555f57c9cbead924157fe281f, koishijs/console@14354d9b44a25d19cfc6c2b967e5b41bf3ab93e1, koishijs/console@3a74e7e4cc704acacf8f86d1b19b34e9477f6884, koishijs/console@a12e3a39a5af18db2fb8350897d962dc5abed5ea)

Features

  • commands: 实验性地支持了设置选项的权限等级等属性 (koishijs/console@9d796704e99e776734cdf380e83fdfc9f148bd33)
  • core: 组件默认情况下会自动转换内部元素,你可以通过 passive 属性来绕过这个行为 (koishijs/koishi@d8f126478ec20ae89474acee4865f57ea989c1dc)
  • element: 支持了非字符串作为属性值 (satorijs/satori@0900b3ec55922420fae8884a37b384d8278bef0c)

Bug Fixes

  • client: 修复了带有连字符的长关键词被分行显示的问题 (koishijs/console#46) (koishijs/console@2f33d512d1d1fb00ad912fa2d670bc80c4fcdc2f)
  • loader: 修复了 Windows 上热重载不监听配置文件的问题 (koishijs/koishi#875) (koishijs/koishi@022de8e704fe7cd3d0698cfbe02059f5bbdaaf46)
  • market: 修复了 prerelease 版本兼容性显示错误的问题 (koishijs/console#52) (koishijs/console@94f5fb39919d9647994b84fb584dee0af76a26fc)
  • market: 修复了不支持的依赖协议显示错误的问题 (koishijs/console#40) (koishijs/console@435617cbd07194e86e9ec755db872e6aa3977324)
  • mongo: 修复了较低版本数据库使用空的 $unset 数组会报错的问题 (koishijs/koishi#867) (shigma/minato@1d41e666467fe144129048ef943c078861f5a1a0)
  • utils: deepEqual() 现在不再区分 nullundefined 了 (koishijs/console#14) (shigma/cosmokit@db8c96b8c3d331a2dd09ca17d999ec5ac3108659)

Other Changes

  • chore: bump versions (koishijs/koishi@0acae29069837b883919febe86f919ebcda4f714)
  • chore: enhance typings, close koishijs/koishi#862 (satorijs/satori@7090f4da9aa3362c8034d40cf982e7608621e757)
  • chore: bump versions (koishijs/console@2b3572b6920a640b5c41d90c235573c6f175b3b5)
  • chore: bump versions (shigma/schemastery@c283b8d85b176878df4079ea0e3386141b032d2c)
  • chore: bump versions (satorijs/satori@9c5689edcf593641e927b7d8ccba8316ec4c4748)
  • chore: bump versions (koishijs/koishi@0c8dd049f6e64e033dd81f1f8dc4949f8612e72a)
  • chore: bump versions (koishijs/console@57d23a64d6d7f9d111cf1e2e41752e59ccc59fcd)
koishi - Koishi 4.10.5

Published by shigma almost 2 years ago

Notable Changes

  • 经过了长达 7 个月的努力,我们终于完成了飞书适配器,让我们感谢 @MaikoTan (satorijs/satori#2) (koishijs/koishi#663) (satorijs/satori#21) (satorijs/satori@071f552ad3e9efc5a976695b99612b629b99df01, satorijs/satori@2d7d1a7e3e8e9827ba6e5187bb5987ab8b3acf3a, koishijs/koishi@69709f639097b8fd32ccbd873be2c7098613131c)

Features

  • client: 添加了省略号图标 (koishijs/console@bb55ac15d63186e9ffb18272fa2c342bb5d05334)
  • core: 支持了带回调函数的 ctx.matcher() (koishijs/koishi@76480b62263de34e33f89282f33372b3c1cd26ad)
  • core:bot.sendMessage() 等方法的选项作为 before-send 事件的二参数 (satorijs/satori@ab819540e588d3c938e17100b61b6d0321bb8740)
  • element: 支持了 h.normalize() 传入二参数作为插值上下文 (satorijs/satori@aa0bce4e101c26e7d5a49f64b96305ca43f31f0f)
  • element: 使用元素作为插值内容时将不再会转换为字符串 (satorijs/satori@eac2fc6eecffea9e27b5ac233d846124e57788c8)
  • market: 优化了过长插件介绍、名称、版本的显示 (koishijs/console@5fb67bfa66943ed760bc19a099360585c11c73cd, koishijs/console@e45c6c6ac7e4f6bf5af1f809cc4decb3b1f4b6db)
  • minato: 支持了数据库列更名的自动迁移 (shigma/minato@7c2316b5c3e72db8c935a14be38a03ba681056e0, shigma/minato@fed4573738db2864124c27a37b0185ef12b74c65, shigma/minato@77a8daf1c9cbb5e477c77d087ed1e8eca8d48544, shigma/minato@42cc494a1f856ea356f7400e3cb26c014c8face4)
  • schema: 支持了实验性的 schema.simplify() (shigma/schemastery@d9419e02751dd616c4696963f4beccc1231f715c, shigma/schemastery@8ac18a77118c3f6d3982d859102bdffa5c78cda7, koishijs/koishi@f3948c192d6b0c29e04d236c903a24f1f92ff126)
  • telegram: 支持了文件反向代理服务器 (satorijs/satori#41) (satorijs/satori#46) (satorijs/satori@a95a0fd5bb81db7f087b984ae927bb40ad687dbd)
  • version: 支持了 -0, --reset 选项,用于恢复到上一个版本 (shigma/yakumo@0c1deded8436358f668e788ad5bc2f3d06fd2023)

Bug Fixes

  • core: 修复了快捷调用指令时参数中的消息元素会被错误地序列化的问题 (koishijs/koishi@95c78ad8eb69c78b919ae002c11e6a73216ab02f)
  • kook: 修复了下划线转义错误的问题 (satorijs/satori#51) (satorijs/satori#52) (satorijs/satori@a3b09a46e8721722f102a6f4ff142a7c2d98d879, satorijs/satori@1836487c12cbc050eb11432497d304c4e239968b)
  • mysql: 修复了 list 类型的序列化错误问题 (shigma/minato#10) (shigma/minato@367a07befa9331336700562c165f709904493044)
  • esbuild: 修复了 Windows 上模板项目构建失败的问题 (shigma/yakumo@a098128e6336ad2d9b9dd142a18b8bae30363297)
  • sandbox: 将本地文件自动转换为 base64 (koishijs/console#51) (koishijs/console@1724b4b10d6b156744146a0654a9b66bbca62312)
  • schema: 修复了 array / dict 类型的默认值中的元素会显示为已修改的问题 (shigma/schemastery@1fef0d1007bd5d55b353a3b042bf1c5a55654cdb)
  • schema: 修复了 object > intersect > union 结构下会显示多余的选单的问题 (shigma/schemastery#19) (shigma/schemastery@bf439a5c2a5857069a289c7c00fa004d237aa95a)

Other Changes

  • chore: bump versions (koishijs/koishi@902bd8311ee05583247f2091124a7a68dca6a365)
  • chore: bump versions (koishijs/console@8e2980c4c6c6646776f897f6749c0f3e74495f2e)
  • refa: add stricter typings (shigma/minato@edf8d482c3440c4158b97e5e85ca3469481796cb)
  • chore: bump versions (shigma/minato@b2b756e5df7f741be9228cf079128d382ae358f5)
  • chore: bump versions (shigma/schemastery@8e5f0cace0e1fa7c6b9a952a286b5f4babc2b036)
  • docs: add tagged example 2 (shigma/schemastery@bf46aa6f4376b96698d46e64f94becbbf4c6a4d2)
  • chore: bump versions (shigma/minato@954d4d68d1c0168c5d9fe9458bce27dfd6acd65a)
  • chore: bump versions (satorijs/satori@6bc76515c7f60afb25ec934750da54ef717fb23d)
  • chore: bump versions (koishijs/koishi@0acae29069837b883919febe86f919ebcda4f714)
koishi - Koishi 4.10.4

Published by shigma almost 2 years ago

Notable Changes

  • 移除了 @koishijs/plugin-suggest 插件,该插件的全部功能已经内置于 Koishi 中,请所有更新的用户手动移除此依赖 (koishijs/koishi@0e85eef74352aa52705d8c33fd866119ff5bdd57)
  • 移除了内置的 Assets API,请将所有形如 @koishijs/plugin-assets-* 的插件替换成 koishi-plugin-assets-*
  • 加入了新的 API:ctx.match(),它提供了一套轻量高灵活度的问答系统,会被内置用于 cmd.shortcut() 的处理,你也可以用它实现更多的功能 (koishijs/koishi-plugin-dialogue#4) (koishijs/koishi@0bb491c980ee0fdc0179cfc9cf57316be6fbcada, koishijs/koishi@1d46c4caafcc6984bf212b2a03c91c6ae751fad2)
  • 加入了新的 API:ctx.i18n.find(),它可用于反向从文本库中检索特定的输入 (koishijs/koishi@91ba48061c6966b6d7ea6ad759a2e16f95584a0e, koishijs/koishi@cb3670280b4427f3f0094a6a70d241ac11384714, koishijs/koishi@e705dae44a2ead49542997f62b7e159701bfb626)
  • 加入了新的插件选择界面和依赖批量升级功能 (koishijs/console#37) (koishijs/console@1ea1a2949d62f62282d36084c73351585769f8ba, koishijs/console@4e86f92c966309d971fd03f9a2a04aed7fe37772)

Features

  • auth: 将转换密码的逻辑转移至后端 (koishijs/console@b7770483134c1ac21d555e98a60c4d54d1ea7861)
  • client: 添加了省略号活动图标 (koishijs/console@aaf4177bf5c430b9583a9e310769313c6996824d, koishijs/console@bb55ac15d63186e9ffb18272fa2c342bb5d05334)
  • market: 支持了 config.search.proxyAgent 配置项 (koishijs/console@f015fa76ac6dc1c299d5dc3273a4c258802eeda6)
  • mock: 优化了对于 session.prompt() 的处理 (koishijs/koishi@c3ff85014eba96ad1b61fbd5b4fd1a983214e709)
  • scripts: 向模板 tsconfig.json 文件中加入了 JSX 支持 (koishijs/console@5f1be7983bdf71589307ee37bca7b68061055237)
  • status: 支持了 status 指令,用于查看运行状态 (koishijs/console#35) (koishijs/console@e1c037e8b1837dc521db2c9322217e8c390a5bc3)

Bug Fixes

  • cli: 默认禁用了心跳功能以避免开发状态下不稳定重启的问题 (koishijs/koishi@c32284cdd74ab6ebc61f35c4f4c73bfc30253da0)
  • element: 修复了非字符串序列化时可能导致的报错 (satorijs/satori#50) (satorijs/satori@00450fe86196490de9bcaeb6f987edbb2cc04386)
  • element: 修复了 h.transform() 回调返回的字符串没有被重新解析的问题 (satorijs/satori@1be1ca14929f52a0795d5312e89646c957225656)
  • kook: 修复了 bot.request() 无法正常处理 GET 参数的问题 (satorijs/satori#48) (satorijs/satori@cca82a172aca34917cf8126a6b9f0d070ad05e35)
  • market: 修复了无法移除非工作区依赖的问题 (koishijs/console@0b82cf7deef29b4562a326b0d8ec28e57caf56c5)
  • mongo: 修复了部分请求会额外返回 _id 的问题 (cosmotype/cosmotype@87602881f16236da5d5a91cd0547bb0db146c8b8)
  • onebot: 修复了 QQ 频道下发送 <message forward> 行为错误的问题 (satorijs/satori@cd1078747f8d5662970b473986fd2c866a67e03a)

Other Changes

  • chore: bump versions (koishijs/koishi@1e654b150751bb03f765bb4f2c9d62052dffec6f)
  • chore: bump versions (koishijs/console@8402a56ae90e669868540be074e2781be6eb51e3)
  • chore: update LICENSE (koishijs/console@6b6cda08a3dee0f15e4da90e34b28238cf8c6d69)
  • refa: move assets plugins to koishijs/assets (koishijs/koishi@1afa4f3db1c74675b8cdda2ef82e0a7cd2e6d229)
  • test: setup test utils (shigma/yakumo@a6657c7b080d3979081891c2e4c490cbf0553014)
  • chore: bump versions (shigma/yakumo@335016e621dad1b46baa7c33a67f5db1f6e40851)
  • test: initialize build test (shigma/yakumo@48c433836cf0620b083a4be89369d561c85890c6)
  • test: implement testExec() (shigma/yakumo@f6eb9dacc128e176aea6316339acf0fdcdedf4eb)
  • test: basic tests for tsc and esbuilt (shigma/yakumo@794924ad09be36c07fb70a1d2d50e6e3f7f63a10)
  • chore: bump deps (shigma/cordis@2dca41b33b148e66cf47355c5bd8af01cc757b39)
  • refa: rename locale file names (koishijs/koishi@b814ef68d18bcaf8199fe23b86a68c363b48e81c)
  • chore: setup crowdin.yml (koishijs/koishi@058f749f25d7fcd77cac49540fdcc8d3055d303c)
  • chore: bump versions (satorijs/satori@758ded1f100a78e8dd50f4c78ad7afb8d8baf6e9)
  • chore: bump versions (koishijs/koishi@902bd8311ee05583247f2091124a7a68dca6a365)
  • chore: bump versions (koishijs/console@8e2980c4c6c6646776f897f6749c0f3e74495f2e)
koishi - Koishi 4.10.3

Published by shigma almost 2 years ago

Notable Changes

  • 本次更新我们为消息元素加入了更多特性:包括插值、注释、模板元素、JSX 支持等 (satorijs/satori@337c0d6c7b8252fc2f64a42e628017e8634934e7, satorijs/satori@501206ec483e01cce03e0aa39ea19bf13a00db91, satorijs/satori@9c9820fbd338d91367c60b9d450b1897d48626a1, satorijs/satori@514b4274a3252f776bbaf04f4ae4e2f6c529e2ea, satorijs/satori@33092c182a79420584a3f205052eb295fab467f5, satorijs/satori@3e3734526e64695a1a8b3d24c239534ab7dcb0c8, satorijs/satori@ad49e86031aff73c3772758a309b11b0dd87de5a, satorijs/satori@2f3a0c55061e79b7a97ede3c5cc4863407cbbb75)
  • 初步支持了消息组件在会话和本地化文件中的使用 (koishijs/koishi@fff025f8f1903c224afcab0ddf900290b1ef4c54, koishijs/koishi@98602b563d41e6f431dfac7dbf544e2d58230801)
  • 为了适配消息组件的功能,我们同步更新了一些基础插件,请注意升级:help, rate-limit, schedule, mock
  • 如果你想在你的项目中使用 JSX 开发插件,可以参考 这篇升级指南

Features

  • cli: 支持了子进程健康监测 (koishijs/koishi#850) (koishijs/koishi@5ae1529fc5adca3d67e1d51cbacf318686996609)
  • sandbox: 支持了嵌套消息的解析与 before-send 事件 (koishijs/console#48) (koishijs/console@6b72b4c81b6573672ff49fb376275918694f1c32)
  • sandbox: 支持了 bot.deleteMessage() (koishijs/console@1dd3983c9facf11dc3461cfeb447cbe1c68fabc4)

Bug Fixes

  • element: 修复了嵌套元素不支持 transform 三参数的问题 (satorijs/satori@9df30a67c3751d5e75264be090ec5411305c936b)
  • help: 修复了指令语法未被转义的问题 (koishijs/koishi@6433a2303325b6c45f0f30a6d198c97ddd8f36b8)
  • loader: 修复了配置文件没有写入权限时的 loader.writable (koishijs/koishi#852) (koishijs/koishi@e503a4d3e8462e068228cbf071d9c7f68d0f5520)
  • minato: 修复了 sel.evaluate() 报错的问题 (shigma/minato@7c783dd9bf65aaac23a4b66aa7b043837af695a6)

Other Changes

  • chore: bump versions (koishijs/koishi@a65124460d3cf6d3017d164d18512ed5b2a18210)
  • chore: bump versions (koishijs/console@cbdcd22df540eccb42b48b61185b8a2943b1849c)
  • chore: add LICENSE, close satorijs/satori#44 (satorijs/satori@521f194dc627c85730d9867cb448ac0b44901ed5)
  • refa: do not use second param of messenger.render() (satorijs/satori@3e422238dff77fc13564ada495ffde9a2096afb2)
  • chore: bump versions (satorijs/satori@fa87702fb59c0ee983f8c5633c4e021aa87696a7)
  • chore: bump dependencies (koishijs/koishi@8e310f85f2a6cfcce051801393f6b1479c0527d7)
  • refa: migrate to latest selection API (koishijs/koishi@502011c036c687d014aa5fb61fea4938d7144b96)
  • refa: use global namespace for declaration merging (satorijs/satori@58dafec07f8fbdec900bafcb08968a19e75e047f)
  • chore: bump versions (satorijs/satori@cfb492680a360a48d2c4e88b5d14f762a9477477)
  • chore: bump versions (koishijs/koishi@1e654b150751bb03f765bb4f2c9d62052dffec6f)
koishi - Koishi 4.10.2

Published by shigma almost 2 years ago

Notable Changes

  • 本次更新我们极大地扩展了 ORM 的表达能力:不仅 sel.orderBy()sel.project() 支持了传入表达式,我们还全面支持了 sel.groupBy() 的使用以及上述语法的多次链式调用 (shigma/minato@48f59887a2bfd3f41731f7e7f57a19b35490a3c2, shigma/minato@18ca38f641ae071a9c101afbd870561b30b32e8f, shigma/minato@f3b010500331c943cfd5c770de3f85d060855206, shigma/minato@ee21ca0b0067d1544e197d9124b5c542c4819136, shigma/minato@a2cc97a70921567e27c11e82282dcb8f78f58ff9, shigma/minato@df7018b459aca386ef7a3b27bdd6b3066243f1b9, shigma/minato@ef5d4dc494b362182cac9de4c04162652af93718, shigma/minato@08b79e26732f8704ee1713228f179e3ff841f366, shigma/minato@71a2131f9d03d5104019b4f0f3e8d9442bb73e82, shigma/minato@1b9baba8675448acbd55db6b292490796aaaf85b, shigma/minato@8406302129528fe3870572fae189daf61637d6be, shigma/minato@214c1b9e2f20c3b911645a6006480e8380f141b4, shigma/minato@fde053e73a69a01cc7708b62a458167a65a72ae4, shigma/minato@ebfc888aa9d380d6008da6434904dffee4ee264d, shigma/minato@8cb5eacc2cbc19d46261c69cdb53a71d942481d4, shigma/minato@ed3bba1e6685ead208ce378a580198e7e9843bbb, shigma/minato@59fb230d4d0de4a51bd1569b9a77fba7cdf8d174, shigma/minato@dd4cdc7e0c831b80389b248383c37fe4931160d1, shigma/minato@dc92612f2ec7b674f2ca7f2bf0f289b08e8addbe, shigma/minato@f355434886f67f6eb42a2421b1d412317ae76220, shigma/minato@b5257707d18b7e9ddbb90c3c153d22066fa45931)

Features

  • onebot: 支持了 splitMixedContent 配置项,自动在接收到的图文之间添加空格 (koishijs/koishi#847) (satorijs/satori@12451ce1f89743e9b8febdd2ea3f79a3bc67186a)

Other Changes

  • chore: bump versions (koishijs/koishi@f3c25d627fd72dac55402453d7fa401318f7350f)
  • docs: fix typo in readme.md (koishijs/koishi#844) (koishijs/koishi@e2a7e3bfa250a0e1c1d51f65290a8fa1825ca258)
  • refa: move repeater plugin to koishi-plugin-repeater (koishijs/koishi@3c200be7515b920e1099970b8e23981da552cbcb)
  • test: enhance middleware tests (koishijs/koishi@d15b7c69b5003f03e747a34755ccfe26e8754a90)
  • chore: bump versions (koishijs/koishi@a65124460d3cf6d3017d164d18512ed5b2a18210)
koishi - Koishi 4.10.1

Published by shigma almost 2 years ago

Features

  • core: 支持了 SessionError 类,可用于抛出可本地化的错误信息 (koishijs/koishi@374a6bdd04077dfc6f945c24dace06b9226462f5)
  • discord: 支持了 <face> 元素 (satorijs/satori@6910a10dd685f709c76e5d04234b631e165538e5)
  • onebot: 支持了 <face> 元素 (satorijs/satori@b78700aa3dc3b29a09734e0d2639a7508a56d4df)
  • onebot: 支持了一批平台特定元素 (satorijs/satori@23a38cc3abdb661cb62497b47493c8fe2f4b95cc)

Bug Fixes

  • axios: 修复了 ctx.http.file(url) 会报错的问题 (satorijs/satori#40) (satorijs/satori@1a7cddfade8aecd13707bd8b1ec2f907ba6d6f67)
  • auth: 适配了最新版的内置数据库 (koishijs/console@d51a0237524ed10c8261b13a157ac5e4b2b998c3)
  • console: 修复了前端模块热重载失效的问题 (koishijs/koishi#794) (koishijs/koishi#841) (koishijs/console@69049aaadeee6eba12c78f468e6c77ff0db32a31)
  • core: 修复了指令前缀和选项包含 <>& 字符时会失效的问题 (koishijs/koishi@83a34072e9ddc93b90e66243c5bc8269546215e1)
  • core: 修复了 delete ctx.bots[id] 有概率报错的问题 (satorijs/satori@0001a511eb1b4938d64b0c204596deb63470d369)
  • onebot: 修复了 bot.sendMessage() 不传入三参数时会被解析为私聊的问题 (satorijs/satori@0cf6079e8d7216565596f48cc85ad2cde29462ca)
  • rate-limit: 修复了 bypassAuthority 导致的报错问题 (koishijs/koishi#830) (koishijs/koishi@c05d7562b61461d621c42410905cb8f0eac13e80)
  • sandbox: 修复了模拟消息会话不可序列化的问题 (koishijs/console@7a7e8a2205bafdb1ac240cedf98da34c3afbbe9f)

Other Changes

  • chore: bump versions (koishijs/koishi@fee3d9a378060b28e6b3a37ba885fe15092eb541)
  • build: fix sqlite incorrect bundle (cosmotype/cosmotype@6051c0a83d73506c8edd6895ace20caaa8313eb1)
  • chore: bump versions (satorijs/satori@b447dd030e2f0a53e2483a64933e3d0cbded7cf6)
  • refa: migrate to @minatojs/sql.js@2 (cosmotype/cosmotype@36ecc606e843a6696cc431c4c7924fd01308781b)
  • chore: update official docs link (koishijs/koishi@40c6d2b443f8a77720e7dd80fd45e7b562e4599f)
  • chore: update official docs link (koishijs/console@a57396db14cdd07a731fcc33be6b63e63f047387)
  • chore: bump versions (koishijs/console@a7baf4509c2f87fdb2b5b59f10e2f91eae426ca4)
  • chore: remove dockerfiles (koishijs/koishi@ac49cc79580378c6e08f55f5a32a1f42ef12a8c0)
  • chore: update readme (koishijs/koishi@7509814fc1cf732568d4f73b70840a259c0fe9b6)
  • chore: bump versions (satorijs/satori@9ad5f7d66a7a7a40dd4cf7c47ba8577d8a5ccac3)
  • chore: bump versions (koishijs/koishi@f3c25d627fd72dac55402453d7fa401318f7350f)
koishi - Koishi 4.10.0

Published by shigma almost 2 years ago

Notable Changes

  • user.id 的类型更改为 number (koishijs/koishi@480832734e9c071408895595e181b3a18aa42faa)
  • 使用 wasm 重新实现了 @koishijs/plugin-database-sqlite (shigma/minato@f2f6b7f31cbea3e0911bdf5c676583834ebb58e2, shigma/minato@608691a3cda98735db13e308e7e6b96f477bb52a, shigma/minato@80bcd45408eb7a2192719c6b73b56b7572cb30c0, shigma/minato@4e25d48881b15b8cce8e504b878612f6991c7fb3, shigma/minato@61e0ac9f165f2058c8324e4253ad537e3187f157, shigma/minato@39ccb3b77dfcb72c2a23e254fb860fbd5e3fdc5c)
  • 移除了 @koishijs/plugin-database-level 支持 (koishijs/koishi@ae3c566184529d562acf261cbf53325a96bb3ca6)

Features

  • core: 支持了 SendOptions (satorijs/satori@32303444c1d27d558adf68e316eb41330332aca1, koishijs/koishi@2fbdd434d7f194d409ed17934550a100c4ec5f2c)
  • minato: Memory 和 MongoDB 支持了统一的 autoInc 行为 (shigma/minato@48f93f1ea48826384c71290ad611fdbcffbee585, shigma/minato@ad352f7e17d24b89334443db9336dd055f223dca)
  • onebot: 支持了 <author> 元素 (satorijs/satori@c1c1c5e328c47bcf8fafdadc4c0a54afd524e0e7)
  • qqguild: 增加了对于常见元素的支持 (satorijs/satori#35) (satorijs/satori@48c750e7d6930f18dd1ac6c6e3520197188ced58)

Bug Fixes

  • client: 当不存在 @koishijs/client 依赖时将不触发客户端构建 (koishijs/console@37ec7f115bc02b287e66e428c30d9ffb3707e408)
  • discord: 移除了不必要的泛型 (satorijs/satori@9643bdf78b791434c05b640092dc2119421de022)
  • logger: 切换到此页面时将自动保持在底部 (koishijs/console#3) (koishijs/console@a475bf833dcefd84f57c82972df929fcc91aef82)
  • market: 修复了部分 registry 下版本排序错误的问题 (koishijs/console#45) (koishijs/console@0ba1a61603044197d071299450daeabd8b200d4f)
  • recall: 修复了撤回消息的顺序问题 (koishijs/koishi#832) (koishijs/koishi@b0055982ad7a712568ae50052cb73d6cc3a1a501)
  • sandbox: 修复了部分消息元素无法显示的问题 (koishijs/console@c2d2c512c60dd0ab220af4784f3cc6e0e4b0beca)
  • satori: 修复了 Messenger 的报错问题 (satorijs/satori@fa2760de421fc2e5e3991bf390bb95ab9f122fdf)

Other Changes

  • chore: bump versions (koishijs/koishi@e0b2e7fe27f09273a7629b197f936abde1276ef8)
  • refa: migrate to latest api (koishijs/console@4a1e291a669c0516b658b8522bad390ed26b886d)
  • chore: bump versions (koishijs/console@46b57dea027f4d353fb88aa6a16e4688f995d91c)
  • chore: bump versions (koishijs/koishi@55a6318c902d6626831b38d740120bf6f5553ebc)
  • chore: update test descriptions, fix shigma/minato#5 (shigma/minato@57b1625b7a130410ceeeaddbc26b8fbba05a4be4)
  • refa: rename Modulator to Messenger (with backward compatibility) (satorijs/satori@42e09d199ca1daf4ac6ad23add1b1a1b8f0d9ff0)
  • build: fix tsconfig and update actions (shigma/minato@c1663da111f842c47c8002069166e9a3f5f9dfe0)
  • refa: drop support for driver-level (shigma/minato@7d2b1cbee530cae2b9fa2f541c2a5475223e700e)
  • chore: bump versions (koishijs/console@5f5cbb23e197cb980f02bfb3c32a5f3547fa2f9d)
  • refa: rename modulator files (satorijs/satori@9a6fbab7a50dd3db05798a31b4003c27d4285d81)
  • chore: bump versions (shigma/minato@f5fdde55bce3ae6351bd32785ba0233f5471beb1)
  • chore: bump versions (koishijs/koishi@fee3d9a378060b28e6b3a37ba885fe15092eb541)
koishi - Koishi 4.9.7

Published by shigma almost 2 years ago

此版本中我们重构了部分类型。请注意及时更新。

Notable Changes

  • 支持了常见的修饰元素的渲染 (如 <b>, <em>, <del> 等) (satorijs/satori@81b9764b31870105d6f9facc0bbd57c2b019c860, satorijs/satori@8e0c6ea548dc4cd036c864d267593d611d4d53db, satorijs/satori@4673e4342c9cdeb6942e90525f4464b898e3382e)
  • 现在所有表示输出消息的 API (包括但不限于 session.send()、指令和中间件的返回值) 都接受数组了 (satorijs/satori@1e80a86046b5a82cf9fa6efb1d428b39aa3af533, koishijs/koishi@3b6322d262e8c8f5c1fdd1689738abe2de080550)

Features

  • core: 针对引用回复支持了快捷调用的触发 (koishijs/koishi@110cc071655560d4bb715385330b1a1dad208b10)
  • core: 公开了 ctx.selector 服务 (satorijs/satori@db171b216720f2fa2a2669644094ddc76f97e0b4)
  • element: 支持了实验性的 Component API (satorijs/satori@9b9871269b283d8b1d80e077cc912bc7cc65649f)
  • mock: 优化了对消息元素的支持 (koishijs/koishi@09231f10a50c936401e2c5041186ad0a28a1ae1c)
  • satori: 新增了 Modulator API,用于解析并发送复杂消息 (satorijs/satori@2733765235278459757f124317f2e907f01c672d, satorijs/satori@56c97013afa8170628fb5a47802dfc86d90f7613, satorijs/satori@53c5b7a690c48a394d2bb34e57f221f5181e3690, satorijs/satori@98246799f71874cf9ac4acf0bc6df9c58eb6ac2e, satorijs/satori@8848f0af3314e4abbfed2419a347ff95378e14e2, satorijs/satori@b19161fdaf02de013e1163bee99e6a03253edeb1)

Bug Fixes

  • discord: 在文字和图片之间添加空格 (satorijs/satori@33cbb3806075421cc16fd81aa0c6b0d0f876c68a)
  • schemastery: 修复了 intersectunion 嵌套时可能发生部分属性无法显示的问题 (shigma/schemastery@1e94d3f0ae87ed0e274fcc39c159f5c9ab862be0)
  • telegram: 修复了错误的 <at> 实现 (satorijs/satori@0d9356625fdbbc56b465eb4d0e252cb011f1d87e)

Other Changes

  • chore: bump versions (koishijs/koishi@7d4f343e0a08b2fe4fd7410710df099b0893383e)
  • chore: bump versions (koishijs/console@0dca125646712ac4f2d6a8beb88aedd6144be38b)
  • chore: bump versions (cosmotype/cosmotype@eba9c84c431737b80923fb24fe927656c366f931)
  • refa: remove quote support from <message> elements (satorijs/satori@bc4cbe1a23c1b8f05c7c8d8ed4263cd5def4f44f)
  • refa: do not expect inheritance for session (satorijs/satori@407877f5623c2b8e6f05ee2aac4c1b864303d010)
  • refa: simplify generics in typings (satorijs/satori@74346d55c46e81fcd3ccca6c9524ccdefb9d2f87)
  • refa: segment.normalize() returns elements (satorijs/satori@df5db508ef1b66c8219cd03ed4c8b9f36bb4ae89)
  • chore: bump versions (satorijs/satori@ef55e3d7778b9bf7931d05fa2d74be09f3b4839a)
  • chore: adjust typings (cosmotype/cosmotype@a57462c407e4a974a6a4c438d4373b1a3fdd1a76)
  • refa: simplify generic typings (koishijs/koishi@219ab235ef2be6e9aebb62a6a4dd8286faf9e292)
  • refa: update ctx.app -> ctx.root (koishijs/koishi@db6a69541f78f2516605f5b41abf6e71eac23d54)
  • chore: bump versions (koishijs/koishi@e0b2e7fe27f09273a7629b197f936abde1276ef8)
koishi - Koishi 4.9.6

Published by shigma about 2 years ago

Features

  • auth: 优化了个人信息界面 (koishijs/console@fee23052f650308fbb454ef08f8a8edbde879453)
  • auth: 支持了跨平台用户绑定功能 (koishijs/console@a928078f6a73641d733f8bd09c453689618ef1f8, koishijs/console@f2c23635b771f00e94e10f15f47c4f31d08fac66)
  • auth: 支持自动创建初始管理员用户 (koishijs/console@ef0f83c39ad64fa93d888a05344f18697cc560eb)
  • chat: 聊天组件支持了渲染回退 (satorijs/components@d1654337759010853b5767dac7e639481cf93a2e)
  • core: 支持了回复消息中使用快捷调用 (koishijs/koishi@050cee45ae856c93a62afe2b80dc6eb21ba874db)
  • http: 支持了 ctx.http.file() (satorijs/satori@b006846b9ad5a5a0af1ad48b18bb90f1793c3c29, satorijs/satori@fc74832148c88b3406b06cf859cab90fe01c1798)
  • satori: 支持使用 data URL 发送资源文件 (satorijs/satori@dc24f6c192114065aeccf9f60ee86e38f9733374)
  • satori: 支持了实验性的 <p><figure> 元素 (satorijs/satori@9e002d780d62c8ab76ca3ab19051c908aa8f4880)

Bug Fixes

  • kook: 修复了回复图片会导致报错的问题 (satorijs/satori@e79b63019f05facd0808269d6182b1ebaed257cb)
  • market: 修复了权限不足时会在状态栏显示无限加载的进度条的问题 (koishijs/console#39) (koishijs/console@99b21833029256e055899bc292d2e19ee2203196)
  • onebot: 修复了配置项显示的问题 (satorijs/satori@5ca5340cd6a0d9a478cef1a9fe4aecdc5804c1ca)

Other Changes

  • chore: bump versions (koishijs/koishi@e017de872e7c60c98afa3a25e054b3f6eacedcd4)
  • chore: bump versions (satorijs/satori@d602694acbeab21706f402736381315f1606e36b)
  • chore: bump versions (satorijs/satori@fa891234f17123d7265a3ebd05815b44aea047c1)
  • chore: bump versions (koishijs/console@0bc280dd84f211c59d786bae3dcf09f8d0e69918)
  • refa: migrate assets.download() to quester.file() (koishijs/koishi@ba7b44be3a00fc620523642b5e32162998c19981)
  • chore: enhance typings (koishijs/console@bda74614d8c6180df1747db10e54f1474d73a245)
  • chore: bump versions (koishijs/koishi@7d4f343e0a08b2fe4fd7410710df099b0893383e)
  • chore: bump versions (koishijs/console@0dca125646712ac4f2d6a8beb88aedd6144be38b)
koishi - Koishi 4.9.5

Published by shigma about 2 years ago

Features

  • adapter: 实现了渲染回退功能 (satorijs/satori@dfc77334875ea96ef65f1964210b26098874140f)
  • cordis: 现在 ctx.emit()ctx.parallel() 将会正常抛出错误了 (shigma/cordis@18387cd8c646a57a6b6a96b6b6fef75aea2f56da)
  • market: 插件的启用、停用、重载、保存操作完成后将给出提示信息 (koishijs/console@7581474f342ebce225f8ebeb1a95a1604ffb228c)
  • market: 修复了插件配置页面各项操作反应慢的问题 (koishijs/console@9c3149170e775eaae647ade2c2f3acfb4b93bdf9)
  • onebot: 实验性地支持了 <message forward> 元素 (satorijs/satori@46abf8df48d6dfcfd8904b48f7064a7a7718b673)
  • onebot: 支持了 post-format: array 推送格式 (satorijs/satori@d0aed66d8264d3e213892ba91db6c5ff8bd87fb5)
  • rate-limit: 实验性支持了 bypassAuthority 属性 (koishijs/koishi#781) (koishijs/koishi@d1594efd8a213d0533af8296adfb55eb71ac992b)
  • reggol: 优化了 AggregateError 的输出 (shigma/reggol@af9e30f9c174bce7a44f00c5d330a330a74e88c0)

Bug Fixes

  • core: 修复了 sendQueued() 无法发送单个资源元素的问题 (koishijs/koishi@6fc01b80708221e703ddd7ad5bf8634c314989a0)
  • core: 指令参数的 type 属性类型应为 readonly string[] (koishijs/koishi@810626529e1877cee839d3d66eeac2b9c7dd22fa)
  • core: 修复了部分选项属性在 help 中失效的问题 (koishijs/koishi@6667e00764db1438c18d5e11ed329b4105029f01)
  • help: 修复了 value 属性导致额外显示一行选项的问题 (koishijs/koishi@2db1d37deb673b5713791c8670d74c204bf43e24)
  • loader: 修复了覆写配置时未触发 config 事件的问题 (koishijs/koishi@57e4a4b5c6536b7caa86d4b591b341d6783e160d)
  • sandbox: 支持了 <message> 元素 (koishijs/console@325bc4c0e4d1acc1bc90be74b05f52469d5b578d)
  • telegram: 修复了部分情况下文本会发送两遍的问题 (satorijs/satori#27) (satorijs/satori@9291c2baee54303798bfad2e40a4933636497101)
  • telegram: 修复了引用回复没有被正确解析的问题 (satorijs/satori#28) (satorijs/satori@75b7a8e48495f69d2bfdecfb10b5acecc41b31d3)
  • telegram: 修复了图文消息无法被识别为指令调用的问题 (satorijs/satori@d88328036fd3655eb3b4fcdd371a6c8a79639f67)

Other Changes

  • chore: bump versions (koishijs/koishi@a1e4c227784fa60cf4b2ed1bc08ff76ce03089d0)
  • chore: bump versions (koishijs/console@a578e0280cc1db8c555062f15076b57febeeddc9)
  • refa: remove dependency portfinder (satorijs/satori@88f5c11e9bb7cf083e58becc99affec1f74624bb)
  • refa: polyfill AggregateError, drop dependencies (satorijs/satori@86b6f8ec556fa173340bf3c96fad9d9c557befbd)
  • docker: fix unable start build docker image, fix koishijs/koishi#812 (koishijs/koishi#813) (koishijs/koishi@9ff4710a97a54a2110fd51047201b37c9a413e14)
  • docs: update CONTRIBUTING.md (koishijs/koishi#811) (koishijs/koishi@001ea1fb6589539571e846e63ad2ab38183e2549)
  • refa: revert enhance output for aggregate error (koishijs/koishi@12d65a98a1ad1c72da51c8c6ff14a5d76226f290)
  • chore: bump versions (koishijs/koishi@e017de872e7c60c98afa3a25e054b3f6eacedcd4)
koishi - Koishi 4.9.4

Published by shigma about 2 years ago

Notable Changes

  • 支持了 <message> 消息元素,它允许以一定顺序发送多条消息 (satorijs/satori@d1fbfcb9643eb77f1fb434785a20c85365dfc285, satorijs/satori@e5e87aaa8499b227d65ab9eda2267ca04fe50d97, satorijs/satori@3492a3a10598fcc70c4614305bdf4cf824659d02, satorijs/satori@112dafb5873742e49875ff0e938a14611a09e004, satorijs/satori@11edc4817e768be8d8f173a2b12ab7d992e8d70f)

Features

  • cordis: 插件支持了 reactive 属性 (shigma/cordis@f2f6c2056af02b4d18cbed220a1a1ff73b21ff16)
  • cordis: ctx.accept() 支持了 immediate 选项 (shigma/cordis@bce0b60e57bd08075193802edff572be81c1ec46)
  • cordis: 实验性地支持了 ctx.config 属性 (shigma/cordis@cbf34b726763186ec7d6c1cd35d31fda30dfb7ee)
  • cordis: lifecycle.flush() 将监测异步插件加载了 (shigma/cordis@2688f9365c0ab54d26ac4a7aa5d0ea2e079c73cd)
  • cordis: 新增了 internal/before-update 事件 (shigma/cordis@a60abd9d9c205bd811f8458e7c9bc0839e026338)
  • loader: ctx.update() 将自动反馈到配置文件中 (koishijs/koishi@dfaf00764e1cf5d53fbd251bd114282fe5c74efe)
  • reggol: 将默认输出方式更改为 console.log() (shigma/reggol@a793d8dd8b06b39548fd4a8718498835f4d1e36c)
  • reggol: 支持自定义标签的输出风格 (shigma/reggol@002b7425a163097118e1e111f42d918f39a328da, shigma/reggol@30f43eea9f18f37151b21b8e331d364e46cfc91a)
  • reggol: 在浏览器环境下支持了完整的 Logger API (shigma/reggol@5c8958fb4073345426878f30ae43438f204ebf01)

Bug Fixes

  • assets: 修复了配置项覆写导致热重载异常的问题 (koishijs/koishi@331712aff8e8a0a36ee377d307801bb3df82ec66)
  • console: 修复了配置项覆写导致热重载异常的问题 (koishijs/console@828f805a06ebc86277d256da9ba2b4b19fc6eb4a)
  • console: 修复了调试模式下前端无法加载的问题 (koishijs/console#32) (koishijs/console@dac92a55bd06583f1ee0a329c4ff8a3be4f408fb)
  • cordis: internal/update 事件改为传入修改前的配置项 (shigma/cordis@b9b283a0bb2a75912d9f2c16a43a5427684cd787)
  • element: 修复了自闭合元素无法正确解析的问题 (satorijs/satori@94c88aced4d46b29bf8e0d6d441f1703370f4d95)
  • market: 修复了拖动插件到其他插件组时行为错误的问题 (koishijs/console@cfcfdc9364073847c19da6b04f8033f81e06594c)
  • minato: 支持了 boolean 作为可比较类型 (cosmotype/cosmotype@6ffa9e526ff93c8a14bbbb06feb9572958f033bc)
  • telegram: 修复了配置项覆写导致热重载异常的问题 (satorijs/satori@e974d30eb98aa166130c7e39359624c2b5f0f62d)

Other Changes

  • chore: bump versions (koishijs/koishi@8a7d67f2375ca501bd4cd5aef6e9b1c772812752)
  • chore: bump versions (koishijs/console@05c2fe0931d77769be0a8cbc91aeda10c78a4bc2)
  • chore: bump versions (satorijs/satori@69c6d483cc388914f72d7332a7c978307d0f762c)
  • refa: adapt to latest cordis API (koishijs/koishi@669d9410375a10c519e3f4e7e10b26469df1bdd0)
  • chore: bump versions (koishijs/koishi@a1e4c227784fa60cf4b2ed1bc08ff76ce03089d0)
koishi - Koishi 4.9.3

Published by shigma about 2 years ago

Notable Changes

  • 支持了细粒度的重载控制:当你在运行时通过配置文件或控制台,修改某个插件或全局的部分配置时,会根据这个配置的具体功能决定是否需要重载插件或整个应用;开发者可以声明自己插件的具体哪些配置项应该触发重载,以及不触发重载的配置项被修改时的回调函数
    • cordis 支持了细粒度重载 (shigma/cordis@4fa11f56d67f5bd3be06c7ecdd6321fa4f12eb57, shigma/cordis@8b6164a6e48b53a4c110bf3402fe0bc23df2a477, shigma/cordis@64d67e14138ded48435cba241757d0f95e032c4c, shigma/cordis@d324fe072ec45125f202ff564dd512331975b3bc, shigma/cordis@b1c3a5f0e8f5be58d5e519e4ac242fd5dd9782eb, shigma/cordis@9eb1fde9e608f3075a2db1f95bede90cc4565d62, shigma/cordis@23f29ed0a547b10ed00e37daa0333264e3d5001d)
    • 对应用配置项声明了细粒度重载 (satorijs/satori@d9bfb9392e86fc4c8fa5d7665fa72348c5b4c5ad)
    • Loader API 支持了细粒度重载 (koishijs/koishi@75ef939dcc3868208b8b47dbc160d8018545bef9, koishijs/koishi@e4a443b3d50d2507d82c765f980af3aaefb1874b)

Features

  • discord: 更新到了最新版 API (satorijs/satori#14) (satorijs/satori@c78c4d7dbad21e8b8a69cc49b4faabc5202d23c5, satorijs/satori@c0a29e008d9e30d166239cc1e91a3f5143664dec)
  • market: 依赖管理界面中添加了刷新按钮 (koishijs/console@f27b20a7e1ff81a0ccc64dce2ec898a321c9df96)
  • onebot: 优化了超时的判定 (koishijs/koishi#785) (satorijs/satori@c98adf6132136c2c2d9c67b52079e68456d78d35)

Bug Fixes

  • cordis: 修复了插件的 dispose 事件中无法正常访问依赖服务的问题 (shigma/cordis@2c45665e7ba2a652b9aebb0882ccfa2ae8b760a7)
  • cordis: 确保 ctx.options 的引用与 ctx.root.state.config 相一致 (shigma/cordis@2bab837a125f3026000594d2b8caa61b831af5de)
  • market: 修复了插件在控制台中跨插件组拖动可能存在的行为异常 (koishijs/console@cfcfdc9364073847c19da6b04f8033f81e06594c)

Other Changes

  • chore: bump versions (koishijs/koishi@221cf2159110de22b15b53f84cce988a424ed95f)
  • chore: bump cosmokit version (satorijs/satori@a0321e66f29bc31566cb40020825208f0edf200b)
  • docs: events with this argument (shigma/cordis@e99a3444884eaa3722543d7af105fe9090b6b41a)
  • refa: rename lifecycle to events (shigma/cordis@15a8c3de50f9e8dcec24074a12a4980591dcbd80)
  • docs: service basics (shigma/cordis@2f55612565d773bbd86657b34ba1d61bfbce8f30)
  • docs: add guide contents (shigma/cordis@12194b7ce821bb44404015647754860e7adde1c0)
  • docs: plugin as a module (shigma/cordis@d4d8dce1f382640a6fc98d87167bf2f7e530ce50)
  • docs: ready - deferred callback (shigma/cordis@0df7f873b55c8d7dc54fdec16850ab5d4b7f7843)
  • docs: dispose - clean up side effects (shigma/cordis@24d75118ca91c9ba39ccc9701f176b6272b444bd)
  • docs: fork - create reusable plugins (shigma/cordis@08e68fa14f4ea213d903e6d2521241e18a68b495)
  • docs: move ready to events section (shigma/cordis@cc1af04a711dd43d9dc99c645d079f6bd48e8bb4)
  • docs: service dependencies (shigma/cordis@ecaf29dc41612dd0471926c8df5ba58b913c14cb)
  • docs: service scopes (shigma/cordis@6bc0cad4314b758c85907bf3a80bf6fcde3e1c3c)
  • docs: add additional notes for reusable and using (shigma/cordis@c09f896d14240f85b0f543d09e6c394d62332e25)
  • refa: move several utility functions to cosmokit (koishijs/koishi@0f38b57c3f65f98bf4852650747fe9eea9117dda)
  • docs: services and mixins (shigma/cordis@86ea62d5b9e4ead60175ee2b7b6409ffb24e8361)
  • docs: write disposable methods (shigma/cordis@53591f5273856f321102879c3524d96ddcbf45ce)
  • docs: add edge case for service isolation (shigma/cordis@94a6b4e37682a9dd7a94406570f2f8982ecb2844)
  • docs: fix typos (shigma/cordis@2c43300e1dc1779b206c0aea3165010e94362f45)
  • refa: rename shared.ts to utils.ts (shigma/cordis@8ea346848436a5f3c218f6e51f690ff0ec71b4f5)
  • chore: bump dependencies (satorijs/satori@316fd881fdb311a185612f5545e4e2ce7a5ea8da)
  • refa: use root.options instead of config (shigma/cordis@d98a4fb7a679d5da49686d32b41477abbbfda391)
  • chore: bump versions (koishijs/koishi@8a7d67f2375ca501bd4cd5aef6e9b1c772812752)
Package Rankings
Top 1.42% on Npmjs.org
Top 25.54% on Repo1.maven.org
Badges
Extracted from project README
Codecov downloads npm GitHub FOSSA Status