Releases: koishijs/koishi
Releases Β· koishijs/koishi
Koishi 3.14.2
- koishi-core@3.14.2
- koishi-plugin-adventure@0.4.2
- koishi-plugin-common@4.3.5
- koishi-plugin-eval@3.2.5
- koishi-plugin-mongo@2.5.2
- koishi-plugin-mysql@3.6.2
- koishi-plugin-puppeteer@2.1.7
- koishi-plugin-teach@2.3.1
- koishi-plugin-webui@4.7.1
- koishi-test-utils@7.0.2
- koishi-utils@4.3.0
- koishi@3.14.2
Features
- utils: support some shared typings in koishi-utils (d604164)
- cli: support koishi.config.coffee (#372) (48f2858)
Bug Fixes
- mysql: fix edge case for logical operators (acb16f6)
- mysql: fix incorrect db.update() (25258c0)
- teach: fix teach issues, fix #376 (6e2aa86)
- puppeteer: handle when default viewport doesn't exist (#378) (a947a81)
- mongo: handle empty array passed to logical operators (819588a)
- mongo: fix top-level $not implementaion (389ec34)
Other Changes
- chore: update bug report template (#365) (7962da8)
- chore: uppercase ISSUE_TEMPLATE (#366) (356e1b4)
- chore: fix issue template description (#367) (c4ba1f4)
- chore: add some adjustments (59cc7fd)
- chore: add koishi-plugin-holiday (#371) (a9ce89e)
- chore: update readme (#373) (667476b)
- docs: improve docs (#349) (e1fe1a9)
- docs: no more session.message (5846a65)
- chore: bump deps and fix typing errors (293bbb7)
- chore: bump versions (6f79535)
- test: fix mocha rc (74a35a5)
Koishi 3.14.1
- koishi-adapter-discord@1.3.4
- koishi-core@3.14.1
- koishi-plugin-adventure@0.4.1
- koishi-plugin-common@4.3.4
- koishi-plugin-mongo@2.5.1
- koishi-plugin-mysql@3.6.1
- koishi-plugin-teach@2.3.0
- koishi-test-utils@7.0.1
- koishi@3.14.1
Features
- teach: migrate dialogue query to orm (4808598)
- teach: migrate successor query to orm (dcfc11e)
- teach: migrate flag query to orm (6e10288)
- teach: migrate writer query to orm (6ecd10b)
- teach: migrate data initialization (1b328a8)
- orm: support evaluatation api (9172e95)
- orm: support db.aggregate() (ac2fac6)
- teach: implement getStats by aggregation api (8dafcc1)
- teach: migrate time query to orm (95c9307)
- teach: migrate context query to orm (ccb27ae)
- orm: support $expr in query (e0671fa)
- teach: fully migrated to orm api (886d80c)
- adventure: update to orm-favored teach hooks (76d94df)
- discord: support sending audio (#353) (5942412)
- core: support appOptions.host, fix #350 (4819ab3)
- core: support argv type natural (71ac6ad)
- test-utils: move initUser / initChannel to mockedApp (a9e5b80)
Bug Fixes
- teach: fix session.user null error (f45fd38)
- test-utils: fix typos (2cac86b)
- minecraft: use partial types to avoid error (6d58002)
- mysql: alter table by orm config, fix #361 (e7e5155)
- orm: fix incorrect fallback length setting, fix #362 (e9e52a1)
- core: enhance typings for async hooks, fix #363 (401655b)
- orm: primary keys should not have initial values, fix #358 (bb737d2)
- orm: fix incorrect table.type behavior (24ba62c)
Other Changes
Koishi 3.14.0
- koishi-core@3.14.0
- koishi-plugin-adventure@0.4.0
- koishi-plugin-chess@3.1.0
- koishi-plugin-eval@3.2.4
- koishi-plugin-github@3.1.4
- koishi-plugin-mongo@2.5.0
- koishi-plugin-monitor@1.0.0-beta.33
- koishi-plugin-mysql@3.6.0
- koishi-plugin-puppeteer@2.1.6
- koishi-plugin-rss@2.0.2
- koishi-plugin-schedule@3.0.7
- koishi-plugin-tools@2.1.4
- koishi-plugin-webui@4.7.0
- koishi-test-utils@7.0.0
- koishi@3.14.0
Features
- minecraft: support minecraft adapter (77c448d)
- orm: support $bits query operators (719ad69)
- orm: support $el and $size operator (9a37751)
- orm: support decimal field type (2209a20)
- teach: support config.authority.receive, fix #339 (792233a)
- core: support enum for argv type, fix #337 (3b2adf9)
- orm: support field shorthand syntax (d249b3d)
- orm: migrate plugins to new orm api (6a8199f)
- minecraft: support user config (a991cb3)
Bug Fixes
- core: command option type bug, fix #331 (#332) (fbf26fa)
- mysql: fix incorrect $or behavior (85cf971)
- mysql: sql statement lacks fields when creating tables, fix #238 (#335) (1e2bee6)
- eval: fix incorrect parsing in the interpolation (#340) (a0a920f)
- orm: use fallback data when inserting rows (355853b)
- test-utils: orm expr query behavior for
$eq
,$ne
and so on (#343) (dceaa9b) - core: fix wrong typing for cmd.option() (c79fe94)
- orm: fix little bugs (6cc8b60)
- webui: fix typings (6ae1af8)
- orm: add test api and fix bugs (#347) (4f71ce7)
Other Changes
Koishi 3.13.1
- koishi-core@3.13.1
- koishi-plugin-common@4.3.3
- koishi-plugin-github@3.1.3
- koishi-plugin-mongo@2.4.0
- koishi-plugin-monitor@1.0.0-beta.32
- koishi-plugin-mysql@3.5.0
- koishi-plugin-puppeteer@2.1.5
- koishi-plugin-rss@2.0.1
- koishi-plugin-schedule@3.0.6
- koishi-plugin-teach@2.2.3
- koishi-test-utils@6.2.0
- koishi-utils@4.2.4
- koishi@3.13.1
Features
- orm: support query modifier (48f8a93)
- orm: refactor typings (30a7319)
- core: support manual disable help (3c6c35f)
- orm: basic support for data definition (fca0ede)
- orm: ddl implementation for common, github, monitor, rss, schedule (4aa1d90)
- puppeteer: support to configure styles while rendering fragment segments (#318) (5989230)
- orm: export Field API (a021b05)
Bug Fixes
- core: allow help template with empty lines, fix #321 (f0ab94e)
- puppeteer: fix the failure to render the fragment from plugin-eval (#317) (4c04319)
- mongo: encode username and password in connection string (#327) (95beb17)
Other Changes
Koishi 3.13.0
- koishi-adapter-discord@1.3.3
- koishi-core@3.13.0
- koishi-plugin-common@4.3.2
- koishi-plugin-eval@3.2.3
- koishi-plugin-mongo@2.3.0
- koishi-plugin-mysql@3.4.0
- koishi-plugin-teach@2.2.2
- koishi-test-utils@6.1.0
- koishi@3.13.0
Features
- orm: support query expression and regex (#305) (657e4b2)
- orm: support IndexType as Shorthand (3cc390a)
- orm: support $regexFor (8e5fe1a)
- discord: send rest part when error occurs, fix #267 (7dd8292)
- eval: support to use await on the top level evaluation when using the coffee loader (#319) (b009642)
Bug Fixes
- cli: make 'koishi start' works with koishi.config.yml (#306) (bac8a01)
- teach: regexp should use unescaped segments, fix #309 (ce19057)
- mongo: unset the default port 27017 to avoid MongoParseError (#312) (11bbad7)
- eval: fix the conflict of useSpread and useBuiltIns (#316) (ad05b4e)
Other Changes
Koishi 3.12.3
- koishi-adapter-discord@1.3.2
- koishi-core@3.12.3
- koishi-plugin-adventure@0.3.2
- koishi-plugin-eval@3.2.2
- koishi-plugin-teach@2.2.1
- koishi-plugin-webui@4.6.3
- koishi@3.12.3
Features
- adventure: optimize typings (bfc5ded)
- adventure: support onTimeout for Phase.useItem (16a22f0)
- teach: remove compatibility checks for regexp, fix #299 (#300) (b3c5d73)
Bug Fixes
- webui: fix database incompatibility, fix #295 (cc27cd8)
- discord: do not re-identify with bot._sessionId, fix #297 (845afc0)
- eval: fix incorrect interpolation, fix #304 (616142b)
- teach: fix regexp matching for certain questions, fix #249 (20e6522)
- core: use Number.isFinite() to verify input, fix #302 (e625328)
Other Changes
Koishi 3.12.2
- koishi-adapter-discord@1.3.1
- koishi-adapter-kaiheila@1.2.1
- koishi-core@3.12.2
- koishi-plugin-adventure@0.3.1
- koishi-plugin-chess@3.0.5
- koishi-plugin-common@4.3.1
- koishi@3.12.2
Features
- common: separate plugin entries (12346ab)
- adventure: support item manip commands (73cf5bf)
- discord: optimize image send flow (8fb6912)
- discord: support handleMixedContent, fix #279 (253b0d6)
- discord: handleMixedContent auto mode (e96a920)
- kaiheila: support reaction events, fix #296 (173ce85)
- discord: support reaction events (21d06f2)
- discord: support reaction api (f0d9a61)
Bug Fixes
- adventure: Event.gain() should modify session._gains (58a290f)
- adventure: check $use before execute use (eb11cc1)
- adventure: use item callback with state (26621aa)
- common: optimize bind text (c654d66)
Other Changes
Koishi 3.12.1
- koishi-adapter-discord@1.3.0
- koishi-adapter-onebot@3.1.0
- koishi-core@3.12.1
- koishi-plugin-adventure@0.3.0
- koishi-plugin-chat@0.5.3
- koishi-plugin-common@4.3.0
- koishi-plugin-eval@3.2.1
- koishi-plugin-teach@2.2.0
- koishi-plugin-tools@2.1.3
- koishi-test-utils@6.0.1
- koishi-utils@4.2.3
- koishi@3.12.1
Features
- onebot: update to latest go-cqhttp api (90d9dc8)
- discord: add $setGroupName, $setGroupCard (#283) (83cfa2a)
- test-utils: do not use cache for tests (782d33f)
- discord: optimize image segment sending, fix #280 (#282) (12207bd)
- adventure: add more event hooks (126832a)
- adventure: Event.gain() enhancement (1981c0c)
- adventure: enhance item picker (4b01056)
- adventure: support phase.prepare() (b6c0527)
- adventure: enhance choose options (b22612c)
- adventure: support add-item -p (bd54c86)
Bug Fixes
- adventure: optimize ending output (b527e0e)
- adventure: use timer for phase lock (af73653)
- utils: use empty string for reference error in interpolation (0426a86)
- chat: fix debug output error (5f34a0e)
- common: fix assign & authorize command, fix #292 (c342ce0)
- core: support domain type for greedy args (2087b7c)
- core: support domain type for shortcuts (a055b26)
Other Changes
Koishi 3.12.0
- koishi-adapter-discord@1.2.0
- koishi-adapter-kaiheila@1.2.0
- koishi-core@3.12.0
- koishi-plugin-adventure@0.2.2
- koishi-plugin-chat@0.5.2
- koishi-plugin-common@4.2.7
- koishi-plugin-eval@3.2.0
- koishi-plugin-monitor@1.0.0-beta.31
- koishi-plugin-puppeteer@2.1.4
- koishi-plugin-tools@2.1.2
- koishi-plugin-webui@4.6.2
- koishi@3.12.0
Features
- core: support groupId of send events in discord/kaiheila (8976f25)
- eval: support config.serializer (58f8281)
- core: support type with greedy config (11e9fe3)
- dev-utils: init plugin helpers (fdd9541)
- dev-utils: support event helper (3ce5fc7)
- dev-utils: support this.config (26bcd3a)
- dev-utils: support selectors (fbae116)
- dev-utils: support @apply (79b8632)
- dev-utils: support commands (3bd9ed1)
- dev-utils: support @select, @Unselect (c1a90da)
Bug Fixes
- adventure: handle unknown endings (72d8ae7)
- puppeteer: rawtext support for selector (03507fa)
- core: fix typing issue for koa-bodyparser (5fd2228)
- eval: fix for SyntaxError with no location (ac7e67b)
- webui: fix status error without database (27717c9)
- chat: fix typing issue with other adapter (a5af832)
Other Changes
Koishi 3.11.2
- koishi-adapter-kaiheila@1.1.4
- koishi-core@3.11.2
- koishi-plugin-github@3.1.2
- koishi-plugin-webui@4.6.1
- koishi@3.11.2
Features
- cli: support loader cache (5f1860c)
- dice: support .r syntax (8a5f915)
- kaiheila: support markdown (f7d9dca)
- core: support ctx.broadcast() without database (cfca079)
Bug Fixes
- cli: fix object codegen in koishi init, fix #275 (2badfdf)
- webui: add missing dep, fix #277 (4053909)
- cli: fix reload failure (3a0d25d)
- github: support team review request (b60c890)
Other Changes
- chore: bump versions (c2a21be)