Skip to content

Releases: m-xim/aiogram-webhook

v2.0.1

21 Feb 20:20

Choose a tag to compare

v2.0.1 (2026-02-21)

This release is published under the MIT License.

Bug Fixes

  • BotConfig: Replace pydantic BaseModel with dataclass for BotConfig (e492e31)

Detailed Changes: v2.0.0...v2.0.1

v2.0.0

21 Feb 19:52

Choose a tag to compare

v2.0.0 (2026-02-21)

This release is published under the MIT License.

Bug Fixes

  • Remove WebAdapter import (07a6498)

  • token: Move BotConfig import from TYPE_CHECKING (82bb210)

Features

  • base_mapping: Implement len and iter in mapping interface (bc50c41)

Refactoring

  • Move on_startup (519c7d2)

  • Remove WebAdapter from public API exports (1ef8bbd)

  • Unify response creation via WebAdapter and update BoundRequest interface (3f30edc)

  • adapters: Cache headers and query params mappings in BoundRequest implementations (72c0216)

  • adapters: Unify BoundRequest interface and introduce framework-specific mappings (ca3693c)

  • ip: Refactoring (3292a0f)

  • security: Remove redundant security checks and default to Security instance (5214a65)

  • security: Update type hints for BoundRequest and clarify SecretToken docstring (e5a0509)

  • tests: Introduce DummyRequest and update DummyBoundRequest (abba2a0)

  • token: Use BotConfig instance for bot initialization (aedd111)

  • WebhookEngine: Make security optional and update secret token handling (e0d8fb3)

  • WebhookEngine: Pass parsed update dict instead of BoundRequest to handler methods (c50af89)


Detailed Changes: v1.1.0...v2.0.0

v1.1.0

15 Feb 15:46

Choose a tag to compare

v1.1.0 (2026-02-15)

This release is published under the MIT License.

Bug Fixes

  • IPCheck: IPCheck and tests (f6de7d6)

  • security: Check to SecurityCheck (8952893)

  • webhook: Only set secret_token param if not None (7dbe835)

Chores

  • build: Remove packages field from pyproject.toml (12cc4dd)

  • build: Switch to uv_build backend and migrate ruff config to ruff.toml (25dcc43)

  • pyproject: Add support for Python 3.14 (cb5e710)

Documentation

  • core: Add and improve docstrings for adapters, routing, security, and checks (fee7007)

Features

  • secret_token: Add secret token format validation and update tests (fb46f4d)

  • webhook_config: Add WebhookConfig for default webhook parameters and update engine interfaces (1b319e1)

Refactoring

  • ip: Unify IPAddress and IPNetwork types, update adapters and checks (8c26d7e)

  • security: Rename Check protocol to SecurityCheck (f95ad95)


Detailed Changes: v1.0.0...v1.1.0

v1.0.0

13 Feb 18:33

Choose a tag to compare

v1.0.0 (2026-02-13)

This release is published under the MIT License.

Bug Fixes

  • query routing: Replace extend_query with update_query for parameter override (e2da44b)

  • readme: Update web adapter for aiohttp (4eac869)

  • token: Update on_startup method to use keyword-only arguments (9633886)

  • webhook: Implement set_webhook method in base (94bd9dc)

Chores

  • ci: Update actions/checkout and astral-sh/setup-uv versions in workflows (1e1468b)

  • pyproject: Remove allow_zero_version setting (1ba993d)

Documentation

  • CONTRIBUTING: Add contributing guidelines (a0171c2)

  • example: Add startup function to register webhook on bot initialization (d010e67)

  • README: Correct (c3e8465)

Features

  • ip: Add support for X-Forwarded-For header (3c80341)

  • routing: Add default parameter name for PathRouting and QueryRouting (22b5379)

  • routing: Introduce TokenRouting and StaticRouting, refactor PathRouting and QueryRouting to inherit from TokenRouting (3a02200)

  • tests: Add Python 3.15 (322859b)

  • tests: Add StaticRouting tests and refactor PathRouting and QueryRouting tests (f45bb99)

  • tests: Add tests (edb4cec)

  • tests: Add tests for IPCheck with X-Forwarded-For header (a4b9517)

Refactoring

  • bot: Rename resolve_bot_from_request to _get_bot_from_request and update related methods (f31bd8c)

  • docs: Add about new routing (8c62ad9)

  • ip: Unify IP retrieval methods and enhance X-Forwarded-For extraction (9e84588)

  • routing: Enhance URL handling and token extraction in routing classes (bc6f656)

  • routing: Improve initialization and token handling in routing classes (84491ca)

  • security: Simplify security parameter handling in constructors (f134fd0)

  • startup: Update on_startup and on_shutdown methods to accept app argument (a4e624b)

  • webhook: Simplify signature of on_startup and on_shutdown methods; add _build_workflow_data helper (a3ef6b6)

  • webhook: Streamline payload building and enhance file handling in webhook response (900ec00)


Detailed Changes: v0.2.0...v1.0.0

v0.2.0

31 Jan 12:46

Choose a tag to compare

v0.2.0 (2026-01-31)

This release is published under the MIT License.

Chores

  • pyproject: Relax aiogram and yarl version requirements (b8eb941)

Code Style

  • simple, token: Condense dispatcher event calls to single lines (55e997b)

Features

  • aiohttp, docs: Add aiohttp optional dependency, update adapter import, and expand README with aiohttp usage and engine details (fbd7247)

Detailed Changes: v0.1.0...v0.2.0

v0.1.0

15 Jan 14:40

Choose a tag to compare

v0.1.0 (2026-01-15)

This release is published under the MIT License.

Chores

  • pyproject: Add per-file ignores for ruff linting in tests and create package init file (9b7dc1a)

Documentation

Features

  • aiohttp: Add aiohttp integration (da2dd02)

Testing

  • security, routing: Add tests for security checks and routing logic with dummy adapter (5c3a449)

Detailed Changes: v0.0.3...v0.1.0

v0.0.3

28 Dec 16:58

Choose a tag to compare

v0.0.3 (2025-12-28)

This release is published under the MIT License.


Detailed Changes: v0.0.2...v0.0.3

v0.0.2

27 Dec 23:41

Choose a tag to compare

v0.0.2 (2025-12-27)

This release is published under the MIT License.


Detailed Changes: v0.0.1...v0.0.2

v0.0.1

27 Dec 23:29

Choose a tag to compare

v0.0.1 (2025-12-27)

This release is published under the MIT License.

  • Initial Release