@@ -47,6 +47,30 @@ To be released.
4747 deployments and preserves their behavior, including the web pages served
4848 at the root.
4949
50+ - Added inbound support for consent-respecting quote posts using
51+ [ FEP-044f] . [[ #27 ]] [[ #28 ]] [[ #31 ]]
52+
53+ BotKit now serializes quote policies on outgoing messages, handles
54+ incoming ` QuoteRequest ` activities, automatically accepts or rejects them
55+ according to each message's policy, and stores ` QuoteAuthorization ` stamps
56+ for accepted quotes. Applications can set a default
57+ ` CreateBotOptions.quotePolicy ` , override it per message with
58+ ` Session.publish() ` or ` AuthorizedMessage.update() ` , and moderate pending
59+ requests with the new ` Bot.onQuoteRequest ` event handler.
60+
61+ - Added ` QuotePolicy ` , ` QuotePolicyOption ` , ` QuoteRequest ` , and
62+ ` QuoteRequestEventHandler ` types. [[ #27 ]] [[ #28 ]] [[ #31 ]]
63+ - Added ` Bot.onQuoteRequest ` event handler. [[ #27 ]] [[ #28 ]] [[ #31 ]]
64+ - Added ` ReadonlyBot.quotePolicy ` , ` CreateBotOptions.quotePolicy ` , and
65+ ` BotProfile.quotePolicy ` properties. [[ #27 ]] [[ #28 ]] [[ #31 ]]
66+ - Added ` SessionPublishOptions.quotePolicy ` and
67+ ` AuthorizedMessageUpdateOptions.quotePolicy ` options. [[ #27 ]]
68+ [[ #28 ]] [[ #31 ]]
69+ - Added ` AuthorizedMessage.unauthorizeQuote() ` method for revoking an
70+ existing quote authorization stamp by the quoted message or its URI.
71+ [[ #27 ]] [[ #28 ]] [[ #31 ]]
72+ - Added ` @fedify/botkit/quote ` module. [[ #27 ]] [[ #28 ]] [[ #31 ]]
73+
5074 - The ` Repository ` interface now stores data for multiple bot actors:
5175 every method takes the identifier of the owning bot actor as its first
5276 parameter, and data belonging to different identifiers are isolated from
@@ -56,6 +80,11 @@ To be released.
5680 - Added ` identifier ` parameter to all ` Repository ` methods.
5781 - Added ` Repository.findFollowedBots() ` method, a reverse lookup
5882 answering which bots follow a given actor.
83+ - Added quote authorization storage methods:
84+ ` Repository.addQuoteAuthorization() ` ,
85+ ` Repository.getQuoteAuthorization() ` ,
86+ ` Repository.findQuoteAuthorization() ` , and
87+ ` Repository.removeQuoteAuthorization() ` .
5988 - Added optional ` Repository.migrate() ` method for adopting data
6089 stored by BotKit 0.4 or earlier.
6190 - Added ` Repository.forIdentifier() ` method and ` ActorScopedRepository `
@@ -85,11 +114,18 @@ To be released.
85114 - Upgraded Fedify to 2.3.1, Hono to 4.12.27, LogTape to 2.2.3,
86115 and Markdown It to 14.3.0.
87116
117+ [ FEP-044f ] : https://w3id.org/fep/044f
88118[ #16 ] : https://github.com/fedify-dev/botkit/issues/16
89119[ #24 ] : https://github.com/fedify-dev/botkit/pull/24
120+ [ #27 ] : https://github.com/fedify-dev/botkit/issues/27
121+ [ #28 ] : https://github.com/fedify-dev/botkit/issues/28
122+ [ #31 ] : https://github.com/fedify-dev/botkit/pull/31
90123
91124### @fedify/botkit-sqlite
92125
126+ - Added a ` quote_authorizations ` table for [ FEP-044f] quote authorization
127+ stamps. [[ #27 ]] [[ #28 ]] [[ #31 ]]
128+
93129 - All tables now have a ` bot_id ` column and composite primary keys, so
94130 a single database stores the data of multiple bots. Opening a database
95131 created by version 0.4 or earlier rebuilds the affected tables in place,
@@ -101,6 +137,9 @@ To be released.
101137
102138### @fedify/botkit-postgres
103139
140+ - Added a ` quote_authorizations ` table for [ FEP-044f] quote authorization
141+ stamps. [[ #27 ]] [[ #28 ]] [[ #31 ]]
142+
104143 - All tables now have a ` bot_id ` column and composite primary keys, so
105144 a single schema stores the data of multiple bots. Initializing a schema
106145 created by version 0.4 upgrades it in place, and
0 commit comments