Skip to content

Commit 03712ba

Browse files
morealclaude
andcommitted
Update changelog for multi-bot instance support
Document the new multi-bot features in CHANGES.md: - createInstance() function and Instance interface - Bot profile and dispatcher types - Session.botInfo property - Repository scoping utilities - SQLite bot_id scoping with auto-migration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f595a03 commit 03712ba

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGES.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,25 @@ To be released.
88

99
### @fedify/botkit
1010

11+
- Added support for hosting multiple bots on a single instance. [[#16]]
12+
13+
- Added `createInstance()` function that creates a server instance capable
14+
of hosting multiple bots sharing infrastructure (KV store, message queue,
15+
HTTP handling).
16+
- Added `Instance` interface for managing multiple bots.
17+
- Added `Instance.createBot()` method for creating static bots with a fixed
18+
identifier and profile.
19+
- Added `Instance.createBot()` overload for creating dynamic bots using
20+
a dispatcher function.
21+
- Added `BotDispatcher` type for dynamic bot profile resolution.
22+
- Added `BotProfile` interface for bot profile configuration.
23+
- Added `BotInfo` interface for accessing bot identity from sessions.
24+
- Added `Session.botInfo` property for accessing current bot identity.
25+
- Added `CreateInstanceOptions` interface.
26+
- Added `createScopedPrefixes()` function for per-bot repository scoping.
27+
- The existing `createBot()` function continues to work for single-bot
28+
use cases.
29+
1130
- Added a remote follow button to the web interface.
1231
[[#10], [#14] by Hyeonseo Kim]
1332

@@ -24,6 +43,16 @@ To be released.
2443

2544
[#10]: https://github.com/fedify-dev/botkit/issues/10
2645
[#14]: https://github.com/fedify-dev/botkit/pull/14
46+
[#16]: https://github.com/fedify-dev/botkit/issues/16
47+
48+
### @fedify/botkit-sqlite
49+
50+
- Added bot-scoped data isolation support for multi-bot instances. [[#16]]
51+
52+
- Added `botId` option to `SqliteRepositoryOptions` for per-bot data scoping.
53+
- All database tables now include a `bot_id` column for data isolation.
54+
- Existing single-bot databases are automatically migrated with default
55+
empty bot ID for backward compatibility.
2756

2857

2958
Version 0.3.1

0 commit comments

Comments
 (0)