docs: update version to 0.3.0 and sync changelog with CHANGELOG.md

This commit is contained in:
2026-03-19 21:36:14 +00:00
parent f3453cb0fc
commit f65bb25bc4
2 changed files with 26 additions and 11 deletions

View File

@@ -6,22 +6,37 @@ All notable changes to FastAPI Traffic are documented here.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.1.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
[0.2.1] - 2026-03-07
[0.3.0] - 2026-03-17
--------------------
Added
^^^^^
- Expanded example scripts with improved docstrings and usage patterns
- New ``00_basic_usage.py`` example for getting started quickly
Changed
^^^^^^^
- Improved config loader validation using Pydantic schemas
- Added pydantic>=2.0 as a core dependency
- Fixed sync wrapper in decorator to properly handle rate limiting
- Updated pyright settings for stricter type checking
- Fixed repository URL in pyproject.toml
- Refactored Redis backend connection handling for improved reliability
- Updated algorithm implementations with cleaner type annotations
- Improved config loader validation with stricter Pydantic schemas
- Enhanced decorator and middleware error handling
- Reorganized examples directory structure (removed legacy ``basic_usage.py``)
Removed
^^^^^^^
Fixed
^^^^^
- Removed unused main.py
- Redis backend connection pool management edge cases
- Type annotation inconsistencies across core modules
[0.2.1] - 2026-03-12
--------------------
Fixed
^^^^^
- Test assertion bug in ``test_load_rate_limit_config_from_env_missing_limit`` test case within ``test_config_loader.py``.
[0.2.0] - 2026-02-04
--------------------

View File

@@ -13,8 +13,8 @@ sys.path.insert(0, str(Path(__file__).parent.parent.resolve()))
project = "fastapi-traffic"
copyright = "2026, zanewalker"
author = "zanewalker"
release = "0.2.1"
version = "0.2.1"
release = "0.3.0"
version = "0.3.0"
# -- General configuration ---------------------------------------------------
extensions = [