author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
718,838
22.12.2020 14:28:32
-10,800
23e7d44d252a402a916e6d82d74c4130bce2947c
fix token type for bot
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -2,7 +2,7 @@ from asyncio import AbstractEventLoop, get_event_loop\nfrom typing import Optional, NoReturn\nfrom typing import Union\n-from vkbottle.api import ABCAPI, API\...
Python
MIT License
vkbottle/vkbottle
fix token type for bot
718,838
26.12.2020 16:26:51
-10,800
d16f7dfe22bfb2f724750da795185cdd10a96d63
add kwargs to answer and message.get_user shortcut
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "@@ -70,7 +70,7 @@ async def test_bot_polling():\nelif \"!SERVER!\" in data[\"url\"]:\nreturn EXAMPLE_EVENT\nelif \"messages.send\" in data[\"url\"]:\n- return json.dumps({\"response\": 100})\n+ retu...
Python
MIT License
vkbottle/vkbottle
add kwargs to answer and message.get_user shortcut
718,838
26.12.2020 16:46:21
-10,800
61bbef6c044b0e0fce3a953d4031ed72cdfd5551
add kwargs to get_user shortcut
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/mini_types/bot/message.py", "new_path": "vkbottle/tools/dev_tools/mini_types/bot/message.py", "diff": "@@ -17,9 +17,12 @@ class MessageMin(MessagesMessage):\ndef ctx_api(self) -> Union[\"ABCAPI\", \"API\"]:\nreturn getattr(self, \"unpr...
Python
MIT License
vkbottle/vkbottle
add kwargs to get_user shortcut
718,848
27.12.2020 20:07:20
-18,000
3bae5377336f5a6bbb53f781916b7d6af8346a8e
fix ConsistentTokenGenerator
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/token_generator/consistent.py", "new_path": "vkbottle/api/token_generator/consistent.py", "diff": "@@ -9,5 +9,5 @@ class ConsistentTokenGenerator(ABCTokenGenerator):\nasync def get_token(self) -> str:\ni = self.index\n- self.index = i + 1 if i < l...
Python
MIT License
vkbottle/vkbottle
fix ConsistentTokenGenerator (#295)
718,838
28.12.2020 23:28:40
-10,800
9d5ef8780aca5f6dc1d64bf1ef5af5f3a25055c1
improve PayloadMapRule
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "@@ -45,7 +45,7 @@ EXAMPLE_EVENT = {\n\"carousel\": False,\n\"lang_id\": 0,\n},\n- \"message\": {\"id\": 100, \"from_id\": 1,},\n+ \"message\": {\"id\": 100, \"from_id\": 1},\n},\n},\n],\n@@ -134,6 +...
Python
MIT License
vkbottle/vkbottle
improve PayloadMapRule
718,844
30.12.2020 21:46:16
-10,800
a026ead7737ece6221d9bd842f4d77dbcf624074
Add context manager for clients
[ { "change_type": "MODIFY", "old_path": "vkbottle/http/client/abc.py", "new_path": "vkbottle/http/client/abc.py", "diff": "@@ -37,3 +37,9 @@ class ABCHTTPClient(ABC):\n@abstractmethod\nasync def close(self) -> typing.NoReturn:\npass\n+\n+ async def __aenter__(self) -> \"ABCHTTPClient\":\n+ pass\n+\n+...
Python
MIT License
vkbottle/vkbottle
Add context manager for clients (#299)
718,838
04.02.2021 12:57:20
-10,800
1558f9bf46f4d1d39f1bcbe828948dacf2fa4e0f
cleanup; some tests
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "@@ -87,9 +87,11 @@ async def test_bot_polling():\nassert message.id == 100\nassert message.from_id == 1\nassert await message.answer() == {\"peer_id\": message.peer_id, \"r\": 1}\n- assert await mes...
Python
MIT License
vkbottle/vkbottle
cleanup; some tests
718,844
21.03.2021 16:25:27
-10,800
86024acee10254a7f945c40ebc6f30c64ed08fb4
Update error handlers
[ { "change_type": "MODIFY", "old_path": "vkbottle/exception_factory/abc.py", "new_path": "vkbottle/exception_factory/abc.py", "diff": "@@ -2,7 +2,7 @@ import typing\nfrom abc import ABC, abstractmethod\n-class ABCExceptionFactory(ABC, BaseException):\n+class ABCExceptionFactory(ABC, Exception):\n\"\"...
Python
MIT License
vkbottle/vkbottle
Update error handlers (#317)
718,859
23.03.2021 01:35:38
-18,000
0c07140ac34963d4d62ec56ddb6c2429bc87522b
Change list to itertools.cycle close `itertools.cycle` gives you an option not to calculate the index
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/token_generator/consistent.py", "new_path": "vkbottle/api/token_generator/consistent.py", "diff": "+import itertools\nfrom typing import List\nfrom .abc import ABCTokenGenerator\n@@ -5,10 +6,7 @@ from .abc import ABCTokenGenerator\nclass Consisten...
Python
MIT License
vkbottle/vkbottle
Change list to itertools.cycle (#318 close #315) `itertools.cycle` gives you an option not to calculate the index
718,838
11.04.2021 11:40:20
-10,800
8a48da259f921f6ff298a836ed18b423fd57f376
start tutorial pt.1 First bot
[ { "change_type": "MODIFY", "old_path": "docs/index.md", "new_path": "docs/index.md", "diff": "* [VKScript](tools/vkscript.md)\n* [Loop Wrapper](tools/loop-wrapper.md)\n* [Auth Flows](tools/auth.md)\n+\n+# [Tutorial](tutorial/index.md)\n\\ No newline at end of file\n" }, { "change_type": "ADD...
Python
MIT License
vkbottle/vkbottle
start tutorial pt.1 First bot
718,838
11.04.2021 17:13:54
-10,800
cdbc05b066de00cb52a33d3e14db1bf8594f4815
rules tutorial; improve CommandRule
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "@@ -173,6 +173,15 @@ async def test_rules(api: API):\n(\"a\", int),\n(\"b\", [(\"c\", str), (\"d\", dict)]),\n]\n+ assert await rules.CommandRule(\"cmd\", [\"!\", \".\"], 2).check(fake_message(api, ...
Python
MIT License
vkbottle/vkbottle
rules tutorial; improve CommandRule
718,838
11.04.2021 18:35:12
-10,800
9ad5138fefdb13ff1ae453b0347746f1d56faea3
code separation tutorial
[ { "change_type": "MODIFY", "old_path": "docs/tutorial/rules.md", "new_path": "docs/tutorial/rules.md", "diff": "@@ -55,7 +55,7 @@ from vkbottle.bot import rules\nfrom typing import Union\nclass MyRule(rules.ABCMessageRule):\n- async def check(self, message: Message) -> Union[dict, bool]:\n+ async de...
Python
MIT License
vkbottle/vkbottle
code separation tutorial
718,838
13.04.2021 10:22:07
-10,800
a742a68597b9f160d37d186e4b89be5b18eaeb83
Uploaders feature
[ { "change_type": "MODIFY", "old_path": "docs/index.md", "new_path": "docs/index.md", "diff": "* [VKScript](tools/vkscript.md)\n* [Loop Wrapper](tools/loop-wrapper.md)\n* [Auth Flows](tools/auth.md)\n+* [Uploaders](tools/uploaders.md)\n# [Tutorial](tutorial/index.md)\n" }, { "change_type": "M...
Python
MIT License
vkbottle/vkbottle
Uploaders feature (#255) Co-authored-by: Ne0shka <neosha.73@gmail.com> Co-authored-by: Polina <54182599+nomilkinmyhome@users.noreply.github.com> Co-authored-by: Michael Mironov <60360956+krilifon@users.noreply.github.com> Co-authored-by: FeeeeK <krmrclemens@gmail.com>
718,838
13.04.2021 11:24:09
-10,800
6cb2ce1b199eed7832ded08477a0f6c3fae4cf39
integrate `macro`: add `MacroRule`
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -360,6 +360,28 @@ class StateGroupRule(ABCMessageRule):\nreturn type(message.state_peer.state) in self.state_group\n+try:\n+ import macro\n+except ImportError:\n+ macro ...
Python
MIT License
vkbottle/vkbottle
integrate `macro`: add `MacroRule`
718,838
13.04.2021 13:20:42
-10,800
c602020865deee3204072e07fbfaf8ca0261dfa4
add middleware tutorial and blank line 0_0
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -365,6 +365,7 @@ try:\nexcept ImportError:\nmacro = None\n+\nclass MacroRule(ABCMessageRule):\ndef __init__(self, pattern: Union[str, List[str]]):\nif macro is None:\n" ...
Python
MIT License
vkbottle/vkbottle
add middleware tutorial and blank line 0_0
718,842
13.04.2021 18:33:38
-10,800
6b5cc40fa5bcad9cb5eff2be17fb13c85a131e21
Refactored Makfile and pre-commit config Formatted examples with black to follow flake8 Updated contribution guide Removed autoflake and unused autopep8 and reorder-python-imports Added .vscode to .gitignore
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -139,3 +139,5 @@ dmypy.json\n# poetry lock files\npoetry.lock\n+\n+.vscode\n" }, { "change_type": "MODIFY", "old_path": ".pre-commit-config.yaml", "new_path": ".pre-commit-config.yaml", "di...
Python
MIT License
vkbottle/vkbottle
Refactored Makfile and pre-commit config (#321) Formatted examples with black to follow flake8 Updated contribution guide Removed autoflake and unused autopep8 and reorder-python-imports Added .vscode to .gitignore
718,838
21.04.2021 15:45:36
-10,800
1fb55b4ffa1f23c8b7f6f6e3e7ba7e3a24a831a8
add `VKAPIError.raw_error`
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/response_validator/vk_api_error_validator.py", "new_path": "vkbottle/api/response_validator/vk_api_error_validator.py", "diff": "@@ -28,4 +28,4 @@ class VKAPIErrorResponseValidator(ABCResponseValidator):\nif ctx_api.ignore_errors:\nreturn None\n- ...
Python
MIT License
vkbottle/vkbottle
add `VKAPIError.raw_error`
718,838
25.04.2021 16:49:19
-10,800
d31acde8cc66fc1633645fc24e426af1d5138981
rename `path_like`-> `file_source`
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/uploader/audio.py", "new_path": "vkbottle/tools/dev_tools/uploader/audio.py", "diff": "@@ -10,10 +10,10 @@ class AudioUploader(BaseUploader):\nreturn (await self.api.request(\"audio.getUploadServer\", {}))[\"response\"]\nasync def uplo...
Python
MIT License
vkbottle/vkbottle
rename `path_like`-> `file_source`
718,838
29.04.2021 15:50:48
-10,800
7bb1073725d7a96f2505da6844e6ddabdcec448f
mkdocs appearance changes
[ { "change_type": "DELETE", "old_path": "docs/migration.md", "new_path": null, "diff": "-# Migrate from VKBottle v2\n-\n" } ]
Python
MIT License
vkbottle/vkbottle
mkdocs appearance changes
718,842
01.05.2021 20:26:46
-10,800
0fb2487b4cc8112d6e349ee031f974928fd2fdf0
Fixed fixed usage of set `.middlewares` Updated examples Fixed flake8 issues
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -32,16 +32,16 @@ check: check-venv ## Run tests and linters\n@echo \"flake8\"\n@echo \"======\"\n@$(interpreter) flake8\n- @echo \"\\nblack\"\n+ @echo -e \"\\nblack\"\n@echo \"=====\"\n@$(interpreter) black --chec...
Python
MIT License
vkbottle/vkbottle
Fixed #335, fixed usage of set `.middlewares` (#336) Updated examples Fixed flake8 issues
718,838
03.05.2021 08:23:38
-10,800
b607df9b115f32a85cfb6f862b62f43ed18ba844
middleware: and are optional
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/middlewares/abc.py", "new_path": "vkbottle/dispatch/middlewares/abc.py", "diff": "@@ -53,11 +53,9 @@ class BaseMiddleware(ABC):\nraise ValueError(\"Context update value should be an instance of dict\")\nself._new_context.update(context_update...
Python
MIT License
vkbottle/vkbottle
middleware: and are optional
718,839
12.05.2021 08:09:43
-10,800
d96fe42dbe489461baa92945b22c6936698a8f03
Fix typos, update example
[ { "change_type": "MODIFY", "old_path": "examples/high-level/middleware_example.py", "new_path": "examples/high-level/middleware_example.py", "diff": "@@ -21,7 +21,7 @@ class RegistrationMiddleware(BaseMiddleware):\nif user is None:\nuser = (await bot.api.users.get(self.event.from_id))[0]\ndummy_db.s...
Python
MIT License
vkbottle/vkbottle
Fix typos, update example (#340) Co-authored-by: A. Timoniq <timonik.ch@gmail.com>
718,838
12.05.2021 17:50:52
-10,800
ffaaa25577d3c499b29648c318ec305fb27de0f0
update middleware example
[ { "change_type": "MODIFY", "old_path": "examples/high-level/middleware_example.py", "new_path": "examples/high-level/middleware_example.py", "diff": "@@ -12,7 +12,8 @@ dummy_db = CtxStorage()\nclass NoBotMiddleware(BaseMiddleware):\nasync def pre(self):\n- return self.event.from_id > 0 # True / Fals...
Python
MIT License
vkbottle/vkbottle
update middleware example
718,838
13.05.2021 15:22:11
-10,800
73c402dc21ba5ddc51dc76f3c2fc344ceba1d576
`dataclass` may take str
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/bot/raw.py", "new_path": "vkbottle/dispatch/views/bot/raw.py", "diff": "-from typing import Any, Dict, List, NamedTuple, Type\n+from typing import Any, Dict, List, NamedTuple, Callable\n-from vkbottle_types.events import BaseGroupEvent,...
Python
MIT License
vkbottle/vkbottle
`dataclass` may take str
718,838
13.05.2021 20:58:11
-10,800
078ffb957500a5e0c0ab71294e6c44db01cdcd8c
add docs for view
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/bot/message.py", "new_path": "vkbottle/dispatch/views/bot/message.py", "diff": "@@ -44,7 +44,7 @@ class ABCMessageView(ABCDispenseView, ABC):\nfor middleware in self.middlewares:\nresponse = await middleware.pre(message)\nif response ==...
Python
MIT License
vkbottle/vkbottle
add docs for view
718,838
30.05.2021 20:54:12
-10,800
f758c992c3d4ed466daf1d7e7748617ee4454437
task_each_event is default to True
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -23,7 +23,7 @@ class Bot(ABCFramework):\nrouter: Optional[\"ABCRouter\"] = None,\nlabeler: Optional[\"ABCBotLabeler\"] = None,\nerror_handler: Optional[\"ABCErrorHandler\"...
Python
MIT License
vkbottle/vkbottle
task_each_event is default to True
718,838
31.05.2021 08:35:13
-10,800
e4828646a84cccf332920b2e19d8f7f74d933038
fix event id unwrap
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/user/message.py", "new_path": "vkbottle/dispatch/views/user/message.py", "diff": "@@ -25,7 +25,7 @@ class ABCMessageView(ABCDispenseView, ABC):\nself.handler_return_manager = UserMessageReturnHandler()\nasync def process_event(self, eve...
Python
MIT License
vkbottle/vkbottle
fix event id unwrap
718,838
31.05.2021 08:35:44
-10,800
9d67ea91ddc3a5e678ad92bb9fd2c2b166d69928
fix task_each_event defaults
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -23,7 +23,7 @@ class Bot(ABCFramework):\nrouter: Optional[\"ABCRouter\"] = None,\nlabeler: Optional[\"ABCBotLabeler\"] = None,\nerror_handler: Optional[\"ABCErrorHandler\"...
Python
MIT License
vkbottle/vkbottle
fix task_each_event defaults
718,842
03.06.2021 19:26:04
-10,800
625e00954923e8f485b49cbfb3ef392d0be79437
fixed `BotMessageView.get_state_key`
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -13,8 +13,6 @@ help:\ninterpreter := $(shell poetry env info --path > /dev/null 2>&1 && echo \"poetry run\")\nextract_ignores = $(shell awk '/.*.py/{split($$1,a,\":\"); print a[1]}' .flake8 | tr '\\n' ',')\n-flake...
Python
MIT License
vkbottle/vkbottle
fixed `BotMessageView.get_state_key` (#352)
718,850
05.06.2021 17:24:26
-10,800
ede92e7571d41a2aa91eb15886ad7088a40be74a
fix blueprints load
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/user/labeler/default.py", "new_path": "vkbottle/framework/user/labeler/default.py", "diff": "@@ -171,9 +171,9 @@ class UserLabeler(ABCUserLabeler):\ndef load(self, labeler: \"UserLabeler\"):\nself.message_view.handlers.extend(labeler.message...
Python
MIT License
vkbottle/vkbottle
fix blueprints load (#353)
718,876
15.06.2021 20:35:48
-18,000
3d8b6fa850b644e6bf3b65262874aec60991d2b1
Fix misspelling in `generate_keyboard.py` example
[ { "change_type": "MODIFY", "old_path": "examples/high-level/generate_keyboard.py", "new_path": "examples/high-level/generate_keyboard.py", "diff": "from vkbottle import Keyboard, KeyboardButtonColor, Text\n# Simplest way of generating keyboard is non-builder interface\n-# Use <.raw()> to add raw\n-#...
Python
MIT License
vkbottle/vkbottle
Fix misspelling in `generate_keyboard.py` example (#358)
718,842
23.06.2021 19:01:31
-10,800
c605c9de3de3d7b5ce330315d050375121899221
Fix isort skips, same as black's force-exclude
[ { "change_type": "MODIFY", "old_path": ".pre-commit-config.yaml", "new_path": ".pre-commit-config.yaml", "diff": "@@ -30,7 +30,7 @@ repos:\n- id: isort\nname: isort\n- entry: poetry run isort\n+ entry: poetry run isort --filter-files\nlanguage: system\ntypes: [ python ]\nstages: [ commit ]\n" } ]
Python
MIT License
vkbottle/vkbottle
Fix isort skips, same as black's force-exclude (#360)
718,838
25.06.2021 12:37:48
-10,800
e6a56fa8916a9da0714be46b20d668451d36e497
readable exception for deprecated longpoll versions
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/mini_types/bot/message.py", "new_path": "vkbottle/tools/dev/mini_types/bot/message.py", "diff": "@@ -60,6 +60,10 @@ MessageMin.update_forward_refs()\ndef message_min(event: dict, ctx_api: \"ABCAPI\") -> \"MessageMin\":\nupdate = MessageNew(*...
Python
MIT License
vkbottle/vkbottle
readable exception for deprecated longpoll versions
718,844
28.06.2021 11:51:28
-10,800
51e934154abd3784dc1b47d874c30f5113de6f2a
Some changes in default bot labeler
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/labeler/default.py", "new_path": "vkbottle/framework/bot/labeler/default.py", "diff": "@@ -53,6 +53,7 @@ DEFAULT_CUSTOM_RULES: Dict[str, Type[ABCRule]] = {\n\"state\": StateRule,\n\"state_group\": StateGroupRule,\n\"regexp\": RegexRule,\...
Python
MIT License
vkbottle/vkbottle
Some changes in default bot labeler (#362)
718,844
28.06.2021 11:53:22
-10,800
f5946b6ceadc48ea362c49243c201cde2f748b8d
Added overload for `&` and `|` in the rules close
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/__init__.py", "new_path": "vkbottle/dispatch/__init__.py", "diff": "from .abc import ABCRouter\nfrom .bot_router import BotRouter\nfrom .dispenser import ABCStateDispenser, BuiltinStateDispenser\n-from .filter import ABCFilter, AndFilter, OrF...
Python
MIT License
vkbottle/vkbottle
Added overload for `&` and `|` in the rules close #361 (#363)
718,838
15.07.2021 17:58:51
-10,800
bcc3ec25700567d052282e698e3af67cc1f286e4
fix video upload for groups
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/uploader/video.py", "new_path": "vkbottle/tools/dev_tools/uploader/video.py", "diff": "@@ -12,9 +12,12 @@ class VideoUploader(BaseUploader):\nreturn self.with_name or self.NAME\nasync def upload(\n- self, file_source: Optional[Union[st...
Python
MIT License
vkbottle/vkbottle
fix video upload for groups
718,886
16.07.2021 00:45:13
-25,200
6811891871236017ef5855d8ae480e7810dfc89a
fix attachment strings for video uploader
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/uploader/video.py", "new_path": "vkbottle/tools/dev_tools/uploader/video.py", "diff": "@@ -34,7 +34,7 @@ class VideoUploader(BaseUploader):\nvideo = await self.upload_files(server[\"upload_url\"], {\"video_file\": file})\nif self.gener...
Python
MIT License
vkbottle/vkbottle
fix attachment strings for video uploader (#370)
718,844
06.08.2021 12:28:50
-10,800
d2d55b5766e7d927f8362a2f4df12b841a167a73
Some cosmetic rule changes
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/base.py", "new_path": "vkbottle/dispatch/rules/base.py", "diff": "@@ -169,32 +169,24 @@ class AttachmentTypeRule(ABCMessageRule[Message], Generic[Message]):\nasync def check(self, message: Message) -> bool:\nif not message.attachments:\...
Python
MIT License
vkbottle/vkbottle
Some cosmetic rule changes
718,844
07.08.2021 03:35:56
-10,800
5f964e81c51517979c49da24a297702450d8013b
Add `state_dispenser` param for Bot and User init
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -2,7 +2,7 @@ from asyncio import AbstractEventLoop, get_event_loop\nfrom typing import NoReturn, Optional, Union\nfrom vkbottle.api import ABCAPI, API, Token\n-from vkbott...
Python
MIT License
vkbottle/vkbottle
Add `state_dispenser` param for Bot and User init
718,844
14.08.2021 09:39:06
-10,800
62737fa97f1c7865c05ab30ade95042d5da0d80b
Fixed a bug with overriding raw_event handlers for the same events.
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/abc/raw.py", "new_path": "vkbottle/dispatch/views/abc/raw.py", "diff": "@@ -10,7 +10,7 @@ from .view import ABCView\nclass ABCRawEventView(ABCView):\n@abstractmethod\n- def get_handler_basement(self, event):\n+ def get_handler_basements...
Python
MIT License
vkbottle/vkbottle
Fixed a bug with overriding raw_event handlers for the same events. (#382)
718,866
27.08.2021 01:55:27
-10,800
fef4a6584f104772b71f447845f02afb99a2c22f
style: format code with `black`
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/abc/view.py", "new_path": "vkbottle/dispatch/views/abc/view.py", "diff": "@@ -30,7 +30,9 @@ class ABCView(ABC):\npass\nasync def pre_middleware(\n- self, event: \"Event\", context_variables: Optional[dict] = None,\n+ self,\n+ event: \"E...
Python
MIT License
vkbottle/vkbottle
style: format code with `black`
718,866
27.08.2021 13:05:03
-10,800
09f0b6c22ac11f4dba442fd3f4bd7b36a3ddbf2d
docs: fix `ErrorHandler` example
[ { "change_type": "MODIFY", "old_path": "examples/low-level/error_handler_example.py", "new_path": "examples/low-level/error_handler_example.py", "diff": "@@ -11,14 +11,14 @@ error_handler = ErrorHandler()\n# async def exc_h(exc: RuntimeError, a, b): ...\n+@error_handler.register_error_handler(Runtim...
Python
MIT License
vkbottle/vkbottle
docs: fix `ErrorHandler` example
718,838
01.09.2021 15:25:11
-10,800
d20019eb7ddcfef2293a4bdbddc29f2b9e729f68
fix failure event crash
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/user/user.py", "new_path": "vkbottle/framework/user/user.py", "diff": "@@ -62,7 +62,7 @@ class User(ABCFramework):\nasync for event in polling.listen(): # type: ignore\nlogger.debug(f\"New event was received: {event}\")\n- for update in even...
Python
MIT License
vkbottle/vkbottle
fix failure event crash
718,838
09.09.2021 15:55:39
-10,800
8010c3069e1d977f3ffe88bda1767ea2a68065da
fix blueprint load
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/labeler/default.py", "new_path": "vkbottle/framework/bot/labeler/default.py", "diff": "@@ -187,7 +187,7 @@ class BotLabeler(ABCBotLabeler):\ndef load(self, labeler: \"BotLabeler\"):\nself.message_view.handlers.extend(labeler.message_view...
Python
MIT License
vkbottle/vkbottle
fix blueprint load
718,838
09.09.2021 16:21:43
-10,800
9c486473b9a3373d9ccef7eef183ed1fda31e83f
fix raw event view
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/abc/raw.py", "new_path": "vkbottle/dispatch/views/abc/raw.py", "diff": "@@ -48,7 +48,7 @@ class ABCRawEventView(ABCView):\nlogger.debug(\"Handler {} returned {}\".format(handler_basement.handler, result))\nif result is False:\n- return\...
Python
MIT License
vkbottle/vkbottle
fix raw event view
718,844
23.09.2021 21:09:51
-10,800
6b1a604b85c1037d6acd0d974874b81eab8a7a71
Remove old filter converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/labeler/default.py", "new_path": "vkbottle/framework/bot/labeler/default.py", "diff": "import re\n-from typing import Any, Callable, Dict, List, Set, Tuple, Type, Union\n+from typing import Any, Callable, Dict, List, Type, Union\nimport ...
Python
MIT License
vkbottle/vkbottle
Remove old filter converter
718,844
23.09.2021 21:36:30
-10,800
b5329f8028e2c09b4e4141e04663eebfa425e1ac
Add NotFilter
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/__init__.py", "new_path": "vkbottle/dispatch/__init__.py", "diff": "@@ -4,5 +4,5 @@ from .dispenser import ABCStateDispenser, BuiltinStateDispenser\nfrom .handlers import ABCHandler\nfrom .middlewares import BaseMiddleware, MiddlewareError\nf...
Python
MIT License
vkbottle/vkbottle
Add NotFilter
718,844
02.10.2021 13:50:47
-10,800
fa6dae7cb0a70695f7d2366eedc8c4eb1cb1a1a5
Add message splitter
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/mini_types/bot/message.py", "new_path": "vkbottle/tools/dev/mini_types/bot/message.py", "diff": "+from io import StringIO\nfrom typing import TYPE_CHECKING, Any, List, Optional, Union\nfrom vkbottle_types import StatePeer\n@@ -60,7 +61,15 @@...
Python
MIT License
vkbottle/vkbottle
Add message splitter
718,844
10.10.2021 20:16:33
-10,800
7c85d5e30c1a1debe41c6c1f8c0801c9de97b6cf
Add user direct auth
[ { "change_type": "MODIFY", "old_path": "examples/low-level/exception_manager.py", "new_path": "examples/low-level/exception_manager.py", "diff": "-import os\nimport asyncio\n+import os\n-from vkbottle.exception_factory import VKAPIError\nfrom vkbottle.api import API\n+from vkbottle.exception_factory...
Python
MIT License
vkbottle/vkbottle
Add user direct auth (#403)
718,844
10.10.2021 21:11:15
-10,800
157e858e745d0af322bee8f5318bf246623cf112
Fix for undefined user_lp events
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -40,7 +40,7 @@ aiohttp = \"^3.6.2\"\nchoicelib = \"^0.1.1\"\npydantic = \"^1.8.2\"\nvbml = \"^1.0\"\n-vkbottle-types = \"^5.131\"\n+vkbottle-types = \"^5.131.119.2\"\nwatchgod = \"^0.7\"\n[tool.poetry....
Python
MIT License
vkbottle/vkbottle
Fix for undefined user_lp events (#408)
718,844
15.10.2021 09:47:01
-10,800
afa02587e8d0e2b030e90b13ae0a00bbe44cc7c4
Fix blueprints load on windows
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/utils.py", "new_path": "vkbottle/tools/dev/utils.py", "diff": "@@ -30,7 +30,7 @@ def load_blueprints_from_package(package_name: str) -> Iterator[\"ABCBlueprint\"]:\nyield from load_blueprints_from_package(os.path.join(package_name, filename)...
Python
MIT License
vkbottle/vkbottle
Fix blueprints load on windows
718,844
15.10.2021 09:59:03
-10,800
dbc5a1608daaaae72b1d521504a232ae22edb94e
Fix bp_importer test
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/tests/test_tools.py", "new_path": "vkbottle/tools/tests/test_tools.py", "diff": "@@ -157,7 +157,7 @@ def test_bp_importer(mocker: MockerFixture):\nelse [\"bp3.py\", \"bp4.py\", \"__init__.py\"],\n)\nmocker.patch(\n- \"builtins.open\", lambda fln...
Python
MIT License
vkbottle/vkbottle
Fix bp_importer test
718,844
21.10.2021 20:41:10
-10,800
6695dcde32eb7416c49c6009610d7749f671c093
Fix message view event processing without handlers
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/user/message.py", "new_path": "vkbottle/dispatch/views/user/message.py", "diff": "@@ -25,6 +25,8 @@ class ABCUserMessageView(ABCMessageView, ABC):\nreturn await message_min(event[1], ctx_api)\nasync def process_event(self, event: list) ...
Python
MIT License
vkbottle/vkbottle
Fix message view event processing without handlers
718,844
24.10.2021 11:59:41
-10,800
d293d3301f39427260328c1b6d6164d9d24776de
Fix request error with wrong mimetype
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -61,7 +61,7 @@ class API(ABCAPI, APICategories):\ndata = await self.validate_request(data)\nasync with self.token_generator as token:\n- response = await self.http_client.request_json(\n+ res...
Python
MIT License
vkbottle/vkbottle
Fix request error with wrong mimetype
718,844
24.10.2021 20:13:55
-10,800
031e1950cdfae53ac81cc4d019cff2cb19b08074
Another fix for wrong mimetype
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/uploader/base.py", "new_path": "vkbottle/tools/dev/uploader/base.py", "diff": "@@ -2,6 +2,8 @@ from abc import ABC, abstractmethod\nfrom io import BytesIO\nfrom typing import TYPE_CHECKING, Callable, Optional, Union\n+from vkbottle.modules i...
Python
MIT License
vkbottle/vkbottle
Another fix for wrong mimetype
718,844
27.10.2021 18:28:44
-10,800
f760fe1ce6a2fbe5c1a1bf50c4b9a210067438fd
Fix for new vkbottle-types
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -41,7 +41,7 @@ aiohttp = \"^3.6.2\"\nchoicelib = \"^0.1.1\"\npydantic = \"^1.8.2\"\nvbml = \"^1.0\"\n-vkbottle-types = \"^5.131.119.2\"\n+vkbottle-types = \"^5.131.119.3\"\nwatchgod = \"^0.7\"\n[tool.p...
Python
MIT License
vkbottle/vkbottle
Fix for new vkbottle-types
718,844
28.10.2021 03:03:07
-10,800
886d61cbcb34f111c69b73523a2ab6cef8606a50
Fix wrong user raw_event dataclass
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/user/raw.py", "new_path": "vkbottle/dispatch/views/user/raw.py", "diff": "@@ -26,7 +26,7 @@ class RawUserEventView(ABCRawEventView):\nreturn self.handlers[UserEventType(self.get_event_type(event))]\ndef get_event_model(self, handler_bas...
Python
MIT License
vkbottle/vkbottle
Fix wrong user raw_event dataclass
718,844
29.10.2021 02:51:03
-10,800
9f0dcf55e11f3c04b4c8a2ecf4aa4d5a233738fb
Fix wrong user raw_event dataclass (again)
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -41,7 +41,7 @@ aiohttp = \"^3.6.2\"\nchoicelib = \"^0.1.1\"\npydantic = \"^1.8.2\"\nvbml = \"^1.0\"\n-vkbottle-types = \"^5.131.119.3\"\n+vkbottle-types = \"^5.131.119.4\"\nwatchgod = \"^0.7\"\n[tool.p...
Python
MIT License
vkbottle/vkbottle
Fix wrong user raw_event dataclass (again)
718,844
29.10.2021 03:45:07
-10,800
37808c9292cc056c4d6c21f1a050ee6b8c0a299c
Added `mode` for user polling
[ { "change_type": "MODIFY", "old_path": "vkbottle/polling/user_polling.py", "new_path": "vkbottle/polling/user_polling.py", "diff": "@@ -20,6 +20,7 @@ class UserPolling(ABCPolling):\napi: Optional[\"ABCAPI\"] = None,\nuser_id: Optional[int] = None,\nwait: Optional[int] = None,\n+ mode: Optional[int] ...
Python
MIT License
vkbottle/vkbottle
Added `mode` for user polling
718,844
31.10.2021 13:29:30
-10,800
145fa7bf23e983e50152fef76b36421a5eec218b
Generalize `ConsistentTokenGenerator` checkup
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/token_generator/util.py", "new_path": "vkbottle/api/token_generator/util.py", "diff": "+from typing import Iterable\nfrom .abc import ABCTokenGenerator, Token\nfrom .consistent import ConsistentTokenGenerator\nfrom .single import SingleTokenGenera...
Python
MIT License
vkbottle/vkbottle
Generalize `ConsistentTokenGenerator` checkup
718,844
31.10.2021 13:40:41
-10,800
84ec0ef3bee299df58713eeccd1156e3bd399c23
Fix typing in `ConsistentTokenGenerator`
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/token_generator/consistent.py", "new_path": "vkbottle/api/token_generator/consistent.py", "diff": "import itertools\n-from typing import List\n+from typing import Iterable\nfrom .abc import ABCTokenGenerator\nclass ConsistentTokenGenerator(ABCToke...
Python
MIT License
vkbottle/vkbottle
Fix typing in `ConsistentTokenGenerator`
718,844
31.10.2021 14:24:50
-10,800
39e59c614556078434b379f58b4412e2f369ef9a
Fix `VBMLRule` init without config
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/base.py", "new_path": "vkbottle/dispatch/rules/base.py", "diff": "@@ -10,6 +10,7 @@ from typing import (\nCoroutine,\nDict,\nGeneric,\n+ Iterable,\nList,\nOptional,\nPattern,\n@@ -85,26 +86,23 @@ class CommandRule(ABCMessageRule[Message...
Python
MIT License
vkbottle/vkbottle
Fix `VBMLRule` init without config
718,873
03.11.2021 22:17:58
-10,800
da5553623a1591e5bf9d4df77c42395c08430bb2
Add `state_dispenser` param for Bot
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -3,6 +3,7 @@ from typing import NoReturn, Optional, Union\nfrom vkbottle.api import ABCAPI, API, Token\nfrom vkbottle.dispatch import ABCRouter, BotRouter, BuiltinStateDis...
Python
MIT License
vkbottle/vkbottle
Add `state_dispenser` param for Bot (#422)
718,844
06.11.2021 21:27:07
-10,800
c7fc029f606c0a8c0515fff240a95088f96f7bfc
Some fixes in rules
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/base.py", "new_path": "vkbottle/dispatch/rules/base.py", "diff": "@@ -3,6 +3,7 @@ import re\nimport types\nfrom abc import abstractmethod\nfrom typing import (\n+ TYPE_CHECKING,\nAny,\nAwaitable,\nCallable,\n@@ -21,7 +22,7 @@ from typin...
Python
MIT License
vkbottle/vkbottle
Some fixes in rules
718,844
08.11.2021 21:33:58
-10,800
dd4ab3d750b7ca20ec048433a4a2a9cfd9ecae6b
Fix noqa comments
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "@@ -48,6 +48,6 @@ from .exception_factory import (\nfrom .framework import ABCBlueprint, ABCFramework, Bot, BotBlueprint\nfrom .http import ABCHTTPClient, AiohttpClient, SingleAiohttpClient\nf...
Python
MIT License
vkbottle/vkbottle
Fix noqa comments
718,844
22.11.2021 16:26:32
-10,800
0a18d4ccc85c7e561ab8f25308934f0d3660d72d
Add rules to bot and user
[ { "change_type": "MODIFY", "old_path": "vkbottle/bot.py", "new_path": "vkbottle/bot.py", "diff": "+from .dispatch.rules import base as rules\nfrom .dispatch.views import bot as views\nfrom .framework.bot import ABCBotLabeler, Bot, BotBlueprint, BotLabeler, run_multibot\nfrom .tools.dev.mini_types.bo...
Python
MIT License
vkbottle/vkbottle
Add rules to bot and user
718,844
23.11.2021 18:02:20
-10,800
782de84fc8c89bf6b84e72a70c9718100ab638c2
Fix uploaders for User
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/uploader/base.py", "new_path": "vkbottle/tools/dev/uploader/base.py", "diff": "@@ -2,6 +2,8 @@ from abc import ABC, abstractmethod\nfrom io import BytesIO\nfrom typing import TYPE_CHECKING, Callable, Optional, Union\n+from vkbottle.exception...
Python
MIT License
vkbottle/vkbottle
Fix uploaders for User
718,844
23.11.2021 19:34:42
-10,800
967adffb626d8ab548fa392e29d9bb357e97d0f0
fix photo favicon uploader
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/uploader/photo.py", "new_path": "vkbottle/tools/dev/uploader/photo.py", "diff": "@@ -66,7 +66,8 @@ class PhotoWallUploader(PhotoUploader):\nclass PhotoFaviconUploader(PhotoUploader):\nasync def upload(self, file_source: Union[str, \"Bytes\"]...
Python
MIT License
vkbottle/vkbottle
fix photo favicon uploader
718,844
04.12.2021 20:59:26
-10,800
f59d562113883c595b408090703f849962a9eaed
Just some fixes
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -36,7 +36,7 @@ exclude = [\"**/tests/*\", \"**/test_*\"]\n\"Bug Tracker\" = \"https://github.com/vkbottle/vkbottle/issues\"\n[tool.poetry.dependencies]\n-python = \"^3.7\"\n+python = \"^3.7.2\"\naiohtt...
Python
MIT License
vkbottle/vkbottle
Just some fixes
718,844
06.12.2021 00:35:35
-10,800
dfc7979f102d541c62c250f16d17bdbd504e802c
Update docs; fix `request_json` method
[ { "change_type": "DELETE", "old_path": "docs/logo.jpg", "new_path": "docs/logo.jpg", "diff": "Binary files a/docs/logo.jpg and /dev/null differ\n" }, { "change_type": "ADD", "old_path": "docs/logo.png", "new_path": "docs/logo.png", "diff": "Binary files /dev/null and b/docs/logo....
Python
MIT License
vkbottle/vkbottle
Update docs; fix `request_json` method
718,838
09.12.2021 00:56:00
-10,800
c48821492f261d88cb5880449c353955166fbc07
add captcha handler
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "+import typing\nfrom typing import (\nTYPE_CHECKING,\n- Any,\nAsyncIterator,\nIterable,\nList,\n@@ -15,6 +15,7 @@ from vkbottle_types.categories import APICategories\nfrom vkbottle.http import S...
Python
MIT License
vkbottle/vkbottle
add captcha handler
718,838
09.12.2021 01:56:31
-10,800
dc7eb28034954ae76c6f49f6e28e072f8fb8ce33
add classy jpg logo for old md pages
[ { "change_type": "ADD", "old_path": "docs/logo.jpg", "new_path": "docs/logo.jpg", "diff": "Binary files /dev/null and b/docs/logo.jpg differ\n" }, { "change_type": "MODIFY", "old_path": "vkbottle/api/response_validator/vk_api_error_validator.py", "new_path": "vkbottle/api/response_va...
Python
MIT License
vkbottle/vkbottle
add classy jpg logo for old md pages
718,844
13.12.2021 22:46:46
-10,800
936e9b8719ce4d29c927cef40257802a5e6d2a2f
Fix vkscript converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/vkscript_converter/base_converter.py", "new_path": "vkbottle/tools/dev/vkscript_converter/base_converter.py", "diff": "@@ -30,8 +30,8 @@ class Converter:\ndef scriptify(self, func: Callable, **values) -> str:\n\"\"\"Translate function to VKS...
Python
MIT License
vkbottle/vkbottle
Fix vkscript converter
718,844
13.12.2021 22:49:22
-10,800
d41e409a98ca2f1b33af2e201ee0b35fb181d9e9
Fix test for vkscript converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/tests/test_vkscript_converter.py", "new_path": "vkbottle/tools/tests/test_vkscript_converter.py", "diff": "from vkbottle import vkscript\nBASIC_CYCLE = \"var a=%A%;var some_list=[];while(a<100){API.users.get({user_id:a});a = a + 1;some_list.push...
Python
MIT License
vkbottle/vkbottle
Fix test for vkscript converter
718,844
13.12.2021 23:00:40
-10,800
a946048aa243564ba82d0ee98994a82814e1ef68
Add access_key to attachment strings
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/uploader/audio.py", "new_path": "vkbottle/tools/dev/uploader/audio.py", "diff": "@@ -30,7 +30,7 @@ class AudioUploader(BaseUploader):\nif self.generate_attachment_strings:\nreturn self.generate_attachment_string(\n- \"audio\", await self.get...
Python
MIT License
vkbottle/vkbottle
Add access_key to attachment strings
718,844
14.12.2021 20:34:03
-10,800
2789a8a9f2e03eb4b48883fabee366858f7cd3b0
Fix error when VK is dead
[ { "change_type": "MODIFY", "old_path": "vkbottle/polling/bot_polling.py", "new_path": "vkbottle/polling/bot_polling.py", "diff": "+import asyncio\nfrom typing import TYPE_CHECKING, AsyncIterator, Optional\nfrom vkbottle.exception_factory import ErrorHandler\n@@ -52,16 +53,24 @@ class BotPolling(ABCP...
Python
MIT License
vkbottle/vkbottle
Fix error when VK is dead
718,860
15.12.2021 20:56:26
-18,000
70c225faea4fd5d0cfdd586aa4f0bc442d74d9f9
Add index to access_key response
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/uploader/photo.py", "new_path": "vkbottle/tools/dev/uploader/photo.py", "diff": "@@ -103,7 +103,7 @@ class PhotoMessageUploader(PhotoUploader):\nif self.generate_attachment_strings:\nreturn self.generate_attachment_string(\n- \"photo\", phot...
Python
MIT License
vkbottle/vkbottle
Add index to access_key response (#450)
718,844
16.12.2021 22:46:09
-10,800
88776599071176ff98870290ea6fa09412fcf41e
Fix template generator (close
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/template/element.py", "new_path": "vkbottle/tools/dev/template/element.py", "diff": "@@ -20,7 +20,7 @@ class TemplateElement:\nif isinstance(buttons, str):\nbuttons = json.loads(buttons)\n- elif isinstance(buttons, dict):\n+ if isinstance(bu...
Python
MIT License
vkbottle/vkbottle
Fix template generator (close #449)
718,844
17.12.2021 20:24:35
-10,800
7e71dfe31572961a2bd5f15a8f89c2560d31fe35
Added `mention` property for `MessageMin`
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/base.py", "new_path": "vkbottle/dispatch/rules/base.py", "diff": "@@ -35,6 +35,7 @@ from .abc import ABCRule\n__all__ = (\n\"PeerRule\",\n+ \"MentionRule\",\n\"CommandRule\",\n\"VBMLRule\",\n\"StickerRule\",\n@@ -70,6 +71,14 @@ class Pe...
Python
MIT License
vkbottle/vkbottle
Added `mention` property for `MessageMin`
718,844
17.12.2021 21:05:19
-10,800
13d168ee881f56a0e2089c6b5ccde5be41b7599f
v4.1 release
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.0.1\"\n+version = \"4.1.0\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
v4.1 release
718,844
17.12.2021 21:51:01
-10,800
2b926afbde8f64cfaec6c6bed6231df09a927e23
Fix `MentionRule`
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/base.py", "new_path": "vkbottle/dispatch/rules/base.py", "diff": "@@ -76,7 +76,10 @@ class MentionRule(ABCRule[BaseMessageMin]):\nself.mention_only = mention_only\nasync def check(self, event: BaseMessageMin) -> bool:\n- return self.men...
Python
MIT License
vkbottle/vkbottle
Fix `MentionRule`
718,844
18.12.2021 20:33:13
-10,800
29abfb0796d6e1b33ab3b1d844504a298f98e342
Fixed states and changed get_user response object
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.1\"\n+version = \"4.1.2\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
Fixed states and changed get_user response object
718,844
18.12.2021 22:47:42
-10,800
c9bad3c7907a8af71066eb93c7078cfe0df86585
Fix `request_content` method in `AiohttpClient`
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.2\"\n+version = \"4.1.3\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
Fix `request_content` method in `AiohttpClient`
718,844
19.12.2021 15:40:58
-10,800
00b720c2a09faa45b23c1aad7117da85d7f661de
Fix request validators
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.3\"\n+version = \"4.1.4\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
Fix request validators
718,844
19.12.2021 17:05:50
-10,800
95a1624405335710f92d415a78547197393664a8
Another update for the default request validator
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/request_validator/translate_friendly_types_validator.py", "new_path": "vkbottle/api/request_validator/translate_friendly_types_validator.py", "diff": "@@ -6,12 +6,15 @@ from vkbottle.modules import json\nclass TranslateFriendlyTypesRequestValidato...
Python
MIT License
vkbottle/vkbottle
Another update for the default request validator
718,844
22.12.2021 22:33:15
-10,800
b027b8b8d53c55e127f0e3786e145cbfd0128c2a
Added exception logs for error_handler
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.4\"\n+version = \"4.1.5\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
Added exception logs for error_handler
718,844
27.12.2021 13:00:54
-10,800
7e6b802e0a75e3295bfa146b19ee7e78eae21f6d
Fix wrong mention regex
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.5\"\n+version = \"4.1.6\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
Fix wrong mention regex
718,884
30.12.2021 17:34:12
-7,200
9759e8e799c2e336f44c78bc92cc8b8029da73aa
Update vk api docs links
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/views/abc/message.py", "new_path": "vkbottle/dispatch/views/abc/message.py", "diff": "@@ -42,7 +42,7 @@ class ABCMessageView(ABCDispenseView[T_contra, F_contra], ABC, Generic[T_contra,\nself, event: T_contra, ctx_api: \"ABCAPI\", state_dispen...
Python
MIT License
vkbottle/vkbottle
Update vk api docs links (#456)
718,844
04.01.2022 07:05:40
-10,800
6d98931b9b6adb1a929c19d1fab4a633c61b6f8c
Add api categories to `ABCAPI`
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.6\"\n+version = \"4.1.7\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
Add api categories to `ABCAPI`
718,844
06.01.2022 03:54:45
-10,800
4088137db257bd07bc49276b370f8afe87e37ca9
Update docs for states
[ { "change_type": "MODIFY", "old_path": "docs/high-level/handling/state-dispenser.md", "new_path": "docs/high-level/handling/state-dispenser.md", "diff": "@@ -31,9 +31,9 @@ from vkbottle.bot import Message, Bot\nbot = Bot(\"t\")\nclass SuperStates(BaseStateGroup):\n- AWKWARD_STATE = 0\n- CONFIDENT_ST...
Python
MIT License
vkbottle/vkbottle
Update docs for states
718,844
06.01.2022 03:59:29
-10,800
5d5519466c0da02bb25c57e07c5b4ebae88433bc
Change `BaseStateGroup` enum type
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/dispenser/base.py", "new_path": "vkbottle/dispatch/dispenser/base.py", "diff": "-from enum import IntEnum\n+from enum import Enum\nfrom typing import Union\nfrom pydantic import BaseModel, validator\n-class BaseStateGroup(IntEnum):\n+class Ba...
Python
MIT License
vkbottle/vkbottle
Change `BaseStateGroup` enum type
718,844
08.01.2022 05:26:47
-10,800
72ff31176a62335c65a6a01dcbf2996c86f70da8
Fix error validation for list responses
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.8\"\n+version = \"4.1.9\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoniq...
Python
MIT License
vkbottle/vkbottle
Fix error validation for list responses
718,844
08.01.2022 05:46:51
-10,800
0c504fa5c86d510cea8b4d2ec3ad89933d59902a
Another fix for response validator
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/response_validator/vk_api_error_validator.py", "new_path": "vkbottle/api/response_validator/vk_api_error_validator.py", "diff": "@@ -24,19 +24,22 @@ class VKAPIErrorResponseValidator(ABCResponseValidator):\nctx_api: Union[\"ABCAPI\", \"API\"],\n) ...
Python
MIT License
vkbottle/vkbottle
Another fix for response validator
718,844
08.01.2022 17:25:28
-10,800
681619fdde845569586a227efd40d2d3ae6c9c9b
just another one fix for error validator and tests
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.9\"\n+version = \"4.1.10\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timoni...
Python
MIT License
vkbottle/vkbottle
just another one fix for error validator and tests
718,844
09.01.2022 09:53:17
-10,800
b26dd95a0d373e99ca772097a4008f093833035a
Remove useless re.MULTILINE flag
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/base.py", "new_path": "vkbottle/dispatch/rules/base.py", "diff": "@@ -116,7 +116,7 @@ class VBMLRule(ABCRule[BaseMessageMin]):\npatcher: Optional[\"vbml.Patcher\"] = None,\nflags: Optional[re.RegexFlag] = None,\n):\n- flags = flags or s...
Python
MIT License
vkbottle/vkbottle
Remove useless re.MULTILINE flag
718,844
27.01.2022 20:09:26
-10,800
f90dfa56a41c0e2b3f45ae156690bbe3b4414fc2
Add aiofiles to dependencies
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -43,13 +43,14 @@ pydantic = \"^1.8.2\"\nvbml = \"^1.0\"\nvkbottle-types = \"^5.131.131.12\"\nwatchgod = \"^0.7\"\n+aiofiles = \"^0.8.0\"\n[tool.poetry.dev-dependencies]\n# Lint\nblack = {version = \"^2...
Python
MIT License
vkbottle/vkbottle
Add aiofiles to dependencies
718,844
27.01.2022 20:46:20
-10,800
3076dd4e9e0a93d6b3ac1691f553fc7d12d2f168
Fix payload rule; fix typing in state rules
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/base.py", "new_path": "vkbottle/dispatch/rules/base.py", "diff": "@@ -29,7 +29,7 @@ from vkbottle.tools.validator import (\n)\nif TYPE_CHECKING:\n- from vkbottle_types import BaseStateGroup\n+ from vkbottle.dispatch.dispenser.base impor...
Python
MIT License
vkbottle/vkbottle
Fix payload rule; fix typing in state rules
718,844
27.01.2022 20:57:44
-10,800
fe399bcc1538411be2d9e68fbecf10350f6a8f26
Deprecate params like `user_id` or `peer_id` in `Message.answer()`, closes closes
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev/mini_types/base/message.py", "new_path": "vkbottle/tools/dev/mini_types/base/message.py", "diff": "@@ -7,7 +7,7 @@ from pydantic import BaseModel, root_validator\nfrom vkbottle_types.objects import MessagesMessage, UsersUserFull\nfrom vkbott...
Python
MIT License
vkbottle/vkbottle
Deprecate params like `user_id` or `peer_id` in `Message.answer()`, closes #469, closes #468
718,844
29.01.2022 17:27:24
-10,800
6050ccabab75bb740b7f256d26f6468e9af72394
Fix typing.Protocol compatibility with python3.7
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -44,6 +44,7 @@ vbml = \"^1.0\"\nvkbottle-types = \"^5.131.134\"\nwatchgod = \"^0.7\"\naiofiles = \"^0.8.0\"\n+typing-extensions = \"^4.0.1\"\n[tool.poetry.dev-dependencies]\n# Lint\n" }, { "cha...
Python
MIT License
vkbottle/vkbottle
Fix typing.Protocol compatibility with python3.7
718,844
29.01.2022 18:37:29
-10,800
c7c7243b488825a481fd12a498e7fe7f214e918e
Update requirements; small fix in MessageEvent
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "[tool.poetry]\nname = \"vkbottle\"\n-version = \"4.1.12\"\n+version = \"4.1.13\"\ndescription = \"Homogenic! Customizable asynchronous VK API framework implementing comfort and speed\"\nauthors = [\"timon...
Python
MIT License
vkbottle/vkbottle
Update requirements; small fix in MessageEvent