Releases: MrConsoleka/aiogram-bot-template
Releases · MrConsoleka/aiogram-bot-template
v1.1
v1.1 — Production-readiness update for aiogram-bot-template.
Highlights
- Safer database lifecycle: no destructive resets on startup.
- Better developer experience: pre-commit, tests, and CI.
- Refactoring and cleanup to reduce duplication and improve maintainability.
Fixed
- Removed destructive DB resets from the normal startup path (no
drop_tables()on restart). - Alembic configuration now targets the real database via project settings (instead of in-memory SQLite).
- Minor typing issues and small logic issues.
Changed
- Database setup consolidated around a single DI-managed engine/sessionmaker (no duplicated DB managers).
- Repository/service API cleanup to reduce duplicated methods and unify call patterns.
- Throttling middleware improved/standardized for different update types.
Added
- Pre-commit hooks (Ruff + formatting and optional checks).
- Base unit tests and pytest configuration.
- GitHub Actions CI (lint/type checks/tests).
- Extra dev tooling (docs/scripts/docker-compose for dev) where applicable.
Upgrade notes
- Ensure your
.envmatches.env.example. - Use Alembic migrations as the primary way to manage DB schema going forward.
v1.0
v1.0 — Initial public release of aiogram-bot-template.
This tag is kept as a legacy baseline (archive point) so you can always reference the original template state.
Recommended version: v1.1+.