@@ -7,12 +7,39 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ ## [ v3.9.9] 2022-02-19
11
+
12
+ ### Added
13
+
14
+ - added ` ActiveUsersChartPayload ` class
15
+ - added ` DriveLocalChartPayload ` class
16
+ - added ` DriveRemoteChartPayload ` class
17
+ - added ` DriveChartPayload ` class
18
+ - added ` RawDriveLocalChart ` class
19
+ - added ` RawDriveRemoteChart ` class
20
+ - added ` RawDriveChart ` class
21
+ - added ` RawActiveUsersChart ` class
22
+ - added ` ChartManager ` class
23
+ - added ` get_user ` method to` FollowRequestManager ` class
24
+ - feat: ClientActionsクラスに` chart ` 変数を追加
25
+ - ` Context ` クラスを追加しました
26
+
27
+ ### Changed
28
+
29
+ - Changed the attribute ` i ` to ` user ` to access the bot itself
30
+ - モデルに ` __slots__ ` を定義しました
31
+ - 副次的な効果としてメモリの使用量などが低下します
32
+
33
+ ### Fixed
34
+
35
+ - ` FollowManager ` クラスの ` remove ` メソッドがうまく動かない
36
+
10
37
## [ v3.3.0] 2022-01-25
11
38
12
39
### Added
13
40
14
41
- ` get_files ` メソッドを追加しました。
15
- - ** It will be changed to a generator in the next update.**
42
+ - ** It will be changed to a generator in the next update.**
16
43
17
44
## [ v3.2.1] 2022-01-24
18
45
@@ -29,17 +56,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
29
56
### Fixed
30
57
31
58
- 以下の Note クラスのメソッドで note_id が必須になっていたのを修正
32
- - ` add_clips `
33
- - ` create_renote `
34
- - ` create_quote `
35
- - ` get_note `
36
- - ` get_replies `
37
- - ` get_reaction `
38
- - ` delete `
59
+ - ` add_clips `
60
+ - ` create_renote `
61
+ - ` create_quote `
62
+ - ` get_note `
63
+ - ` get_replies `
64
+ - ` get_reaction `
65
+ - ` delete `
39
66
- 以下の引数が正常な動作になりました
40
- - ` noExtractMentions `
41
- - ` noExtractHashtags `
42
- - ` noExtractEmojis `
67
+ - ` noExtractMentions `
68
+ - ` noExtractHashtags `
69
+ - ` noExtractEmojis `
43
70
44
71
## [ v3.1.0] 2022-01-23
45
72
@@ -90,28 +117,28 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
90
117
- 内部変更: ` UserActions ` や ` ClientActions ` のメソッドを別クラスに分割
91
118
- Allow only property-based access to most data classes.
92
119
- ** BREAKING CHANGE** : ` User ` クラスのプロパティーを以下のように変更
93
- - ` name ` -> ` nickname `
94
- - ` username ` -> ` name `
120
+ - ` name ` -> ` nickname `
121
+ - ` username ` -> ` name `
95
122
- ** BREAKING CHANGE** : ` User ` クラスの ` follow ` ` unfollow ` メソッドを削除
96
- - 今後は ` User ` クラスの ` action ` メソッドから ` add ` ` remove ` メソッドを使用できます
123
+ - 今後は ` User ` クラスの ` action ` メソッドから ` add ` ` remove ` メソッドを使用できます
97
124
- ** BREAKING CHANGE** : モデル名の変更 ` Following ` -> ` Follower `
98
125
- ** BREAKING CHANGE** : モデル名の変更 ` Follower ` -> ` Followee `
99
126
- ** BREAKING CHANGE** : モデルの\_ state 属性を\_\_ state に変更
100
127
- ** BREAKING CHANGE** : ` Following ` クラスのメソッドを以下のとおりに変更
101
- - ` accept_request ` -> ` accept `
102
- - ` reject_request ` -> ` reject `
103
- - ` follow ` -> ` add `
104
- - ` remove_follow ` -> ` remove `
128
+ - ` accept_request ` -> ` accept `
129
+ - ` reject_request ` -> ` reject `
130
+ - ` follow ` -> ` add `
131
+ - ` remove_follow ` -> ` remove `
105
132
106
133
## Removed
107
134
108
135
- Unused class UserDetails
109
- - from now on use ` RawUserDetails `
136
+ - from now on use ` RawUserDetails `
110
137
- Unused file view.py
111
138
- ** BREAKING CHANGE** : removed ` post_note ` method
112
- - from now on use ` self.client.note.send `
139
+ - from now on use ` self.client.note.send `
113
140
- ** BREAKING CHANGE** : removed ` note_delete ` method
114
- - from now on use ` self.client.note.delete `
141
+ - from now on use ` self.client.note.delete `
115
142
116
143
## [ v2.1.0-alpha] 2021-12-30
117
144
@@ -165,13 +192,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
165
192
### Changed
166
193
167
194
- The following classes no longer inherit from ` BaseModel `
168
- - Properties
169
- - Folder
170
- - File
171
- - Channel
172
- - PinnedNote
173
- - PinnedPage
174
- - FieldContent
195
+ - Properties
196
+ - Folder
197
+ - File
198
+ - Channel
199
+ - PinnedNote
200
+ - PinnedPage
201
+ - FieldContent
175
202
- internal change: optimizing import
176
203
- internal change: Renamed ` PinnedPage ` to ` PinnedNote `
177
204
- ** BREAKING CHANGE** : Moved the post_note method of ConnectionState to NoteActions
@@ -209,8 +236,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
209
236
- add ` favorite ` , ` add_to_clips ` , ` add_reaction ` and ` remove_favorite ` method to ` Note ` class
210
237
- add ` favorite ` , ` add_note_to_clips ` , ` add_reaction_to_note ` and ` remove_favorite ` method to ` NoteAction ` class
211
238
- add class
212
- - NoteActions
213
- - ClientActions
239
+ - NoteActions
240
+ - ClientActions
214
241
215
242
### Fixed
216
243
@@ -222,21 +249,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
222
249
223
250
- ` Note ` クラスに ` reply ` メソッドを追加しました
224
251
- 以下のクラスを追加
225
- - MisskeyWebSocket
226
- - MisskeyClientWebSocketResponse
227
- - Route
228
- - HTTPClient
252
+ - MisskeyWebSocket
253
+ - MisskeyClientWebSocketResponse
254
+ - Route
255
+ - HTTPClient
229
256
- Client に以下のメソッドを追加
230
- - post_chat
231
- - delete_chat
232
- - post_note
233
- - 今後のノート投稿はこちらを使用してください
234
- - delete_note
235
- - get_instance
236
- - fetch_instance
237
- - get_user
238
- - fetch_user
239
- - upload_file
257
+ - post_chat
258
+ - delete_chat
259
+ - post_note
260
+ - 今後のノート投稿はこちらを使用してください
261
+ - delete_note
262
+ - get_instance
263
+ - fetch_instance
264
+ - get_user
265
+ - fetch_user
266
+ - upload_file
240
267
- ` rich ` を使ったデバッグ機能を追加しました
241
268
- ` file_upload ` 関数を追加しました
242
269
- ` run ` メソッドに ` debug ` 引数を追加しました
@@ -253,11 +280,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
253
280
254
281
- api 周りでのエラー出力が分かりやすくなりました
255
282
- ~~ 今までの ` Note ` クラスに当たるものを ` NoteContent ` に変更し別途 ` Note ` クラスを作成させるようにしました~~
256
- - ~~ これは不要なデータなどを生成しないようにすることが目的です。~~
283
+ - ~~ これは不要なデータなどを生成しないようにすることが目的です。~~
257
284
- 部分的に Pydantic を廃止
258
- - 素直に使わないほうが部分的に楽だから
285
+ - 素直に使わないほうが部分的に楽だから
259
286
- ` Drive ` クラスの ` upload ` メソッドで例外 ` InvalidParameters ` を発生させるようにしました
260
- - これは` to_file ` , ` to_url ` の両方がないと変数が定義されず、` Drive ` クラスの生成に失敗する可能性があるからです。
287
+ - これは` to_file ` , ` to_url ` の両方がないと変数が定義されず、` Drive ` クラスの生成に失敗する可能性があるからです。
261
288
- ` get_user ` メソッドが 非同期になりました。
262
289
- 内部変更: ` utils.py ` の一部を Cython を用いたものに変更
263
290
- 内部変更: ` DriveAction ` を廃止し, ` file_upload ` を使用するように
@@ -275,8 +302,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
275
302
- ** 破壊的変更** : ` Reaction ` クラスと ` ReactionContent ` を結合させました
276
303
- ** 破壊的変更** : ` Chat ` クラスと ` ChatContent ` を結合させました
277
304
- ** 破壊的変更** : ` Drive ` クラスの ` upload ` メソッドで使用できる引数名を変更、キーワード引数を強制するようにしました。
278
- - 引数名の変更は次の通りです ` url ` => ` to_url ` , ` path ` => ` to_file `
279
- - 強制されるキーワード引数は次の通りです ` force ` , ` is_sensitive `
305
+ - 引数名の変更は次の通りです ` url ` => ` to_url ` , ` path ` => ` to_file `
306
+ - 強制されるキーワード引数は次の通りです ` force ` , ` is_sensitive `
280
307
281
308
### Fixed
282
309
@@ -287,21 +314,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
287
314
### Removed
288
315
289
316
- ` Router ` クラスから以下のメソッドを削除しました
290
- - main_channel
291
- - home_time_line
292
- - local_time_line
293
- - global_time_line
317
+ - main_channel
318
+ - home_time_line
319
+ - local_time_line
320
+ - global_time_line
294
321
- クラスの削除について
295
- - ` ChatContent `
296
- - ` ReactionContent `
297
- - ` NoteContent `
298
- - ` UserActions `
299
- - ` UserProfile `
300
- - ` UserProfile ` にあったものは ` User ` に統合され、詳細な情報は ` User ` クラスの details オブジェクト(` UserDetails ` ) から取得可能です
322
+ - ` ChatContent `
323
+ - ` ReactionContent `
324
+ - ` NoteContent `
325
+ - ` UserActions `
326
+ - ` UserProfile `
327
+ - ` UserProfile ` にあったものは ` User ` に統合され、詳細な情報は ` User ` クラスの details オブジェクト(` UserDetails ` ) から取得可能です
301
328
- ** 破壊的変更** : ` WebSocket ` クラスを削除しました
302
- - 今後は aiohttp の ` ws_connect ` メソッドを使用します
329
+ - 今後は aiohttp の ` ws_connect ` メソッドを使用します
303
330
- ** 破壊的変更** : ` requests ` ライブラリを削除しました
304
- - 今後は aiohttp の ` request ` メソッドを使用します
331
+ - 今後は aiohttp の ` request ` メソッドを使用します
305
332
306
333
## [ v0.2.5] 2021-10-07
307
334
@@ -321,7 +348,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
321
348
### Changed
322
349
323
350
- ** 破壊的変更** : ` commandFrameWork ` を使用しない場合の bot モジュールの名前を client に変更しました
324
- - 主にこれは Discord.py に近づけるためと ` commandFrameWork ` の bot モジュールとの差別化を目的としています
351
+ - 主にこれは Discord.py に近づけるためと ` commandFrameWork ` の bot モジュールとの差別化を目的としています
325
352
- ` on_mention ` イベントの ` .text ` に自分自身のメンションを含まないように、必要な場合は ` content ` をご利用ください
326
353
- デフォルトで接続するチャンネルを ` globalTimeline ` から ` main ` に変更しました。グローバルタイムラインを見る場合は ` Router ` をご利用ください
327
354
- ` add_poll ` の引数位置が変更されています。ご注意ください
@@ -463,8 +490,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
463
490
- Added Each event method.
464
491
465
492
[ v0.2.5 ] : https://github.com/yupix/mi.py/compare/v0.1.0-5...v0.2.5
493
+
466
494
[ v0.1.5 ] : https://github.com/yupix/mi.py/compare/v0.1.0-1a...v0.1.0-5
495
+
467
496
[ v0.1.0-1a ] : https://github.com/yupix/mi.py/compare/v0.1.0a...v0.1.0-1a
497
+
468
498
[ v0.1.0a ] : https://github.com/yupix/mi.py/compare/v0.0.1a...v0.1.0a
499
+
469
500
[ v0.0.1a ] : https://github.com/yupix/Mi.py/releases
501
+
470
502
[ unreleased ] : https://github.com/yupix/mi.py/compare/master...HEAD
0 commit comments