Skip to content

Commit

Permalink
🔖 bump version 2.0.0-beta.5 (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Aug 4, 2022
1 parent 8420add commit bb1b94e
Show file tree
Hide file tree
Showing 80 changed files with 56 additions and 10,989 deletions.
2 changes: 1 addition & 1 deletion nonebot/drivers/fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Config(BaseSettings):
"""开启/关闭冷重载"""
fastapi_reload_dirs: Optional[List[str]] = None
"""重载监控文件夹列表,默认为 uvicorn 默认值"""
fastapi_reload_delay: Optional[float] = None
fastapi_reload_delay: float = 0.25
"""重载延迟,默认为 uvicorn 默认值"""
fastapi_reload_includes: Optional[List[str]] = None
"""要监听的文件列表,支持 glob pattern,默认为 uvicorn 默认值"""
Expand Down
2 changes: 1 addition & 1 deletion nonebot/drivers/quart.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Config(BaseSettings):
"""开启/关闭冷重载"""
quart_reload_dirs: Optional[List[str]] = None
"""重载监控文件夹列表,默认为 uvicorn 默认值"""
quart_reload_delay: Optional[float] = None
quart_reload_delay: float = 0.25
"""重载延迟,默认为 uvicorn 默认值"""
quart_reload_includes: Optional[List[str]] = None
"""要监听的文件列表,支持 glob pattern,默认为 uvicorn 默认值"""
Expand Down
312 changes: 50 additions & 262 deletions poetry.lock

Large diffs are not rendered by default.

13 changes: 4 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot2"
version = "2.0.0-beta.4"
version = "2.0.0-beta.5"
description = "An asynchronous python bot framework."
authors = ["yanyongyu <[email protected]>"]
license = "MIT"
Expand All @@ -26,13 +26,13 @@ python = "^3.7.3"
yarl = "^1.7.2"
loguru = "^0.6.0"
pygtrie = "^2.4.1"
fastapi = "^0.78.0"
fastapi = "^0.79.0"
tomlkit = ">=0.10.0,<1.0.0"
typing-extensions = ">=3.10.0,<5.0.0"
Quart = { version = "^0.17.0", optional = true }
websockets = { version="^10.0", optional = true }
pydantic = { version = "~1.9.0", extras = ["dotenv"] }
uvicorn = { version = "^0.17.0", extras = ["standard"] }
uvicorn = { version = "^0.18.0", extras = ["standard"] }
aiohttp = { version = "^3.7.4", extras = ["speedups"], optional = true }
httpx = { version = ">=0.20.0, <1.0.0", extras = ["http2"], optional = true }

Expand All @@ -43,7 +43,7 @@ nonemoji = "^0.1.2"
pytest-cov = "^3.0.0"
pre-commit = "^2.16.0"
pytest-xdist = "^2.5.0"
pytest-asyncio = "^0.18.1"
pytest-asyncio = "^0.19.0"
nonebug = { git = "https://github.com/nonebot/nonebug.git" }
nb-autodoc = { git = "https://github.com/nonebot/nb-autodoc.git" }

Expand All @@ -54,11 +54,6 @@ aiohttp = ["aiohttp"]
websockets = ["websockets"]
all = ["quart", "aiohttp", "httpx", "websockets"]

# [[tool.poetry.source]]
# name = "aliyun"
# url = "https://mirrors.aliyun.com/pypi/simple/"
# default = true

[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov=nonebot --cov-report=term-missing"
Expand Down
49 changes: 0 additions & 49 deletions website/versioned_docs/version-2.0.0-beta.4/README.md

This file was deleted.

207 changes: 0 additions & 207 deletions website/versioned_docs/version-2.0.0-beta.4/advanced/README.md

This file was deleted.

This file was deleted.

Loading

0 comments on commit bb1b94e

Please sign in to comment.