12 Commits

Author SHA1 Message Date
79cb209da3 chore: bump version to 0.3.2 2026-03-19 22:00:35 +00:00
da9f0569b3 chore: bump version to 0.3.1 2026-03-19 21:38:29 +00:00
f3453cb0fc release: bump version to 0.3.0
- Refactor Redis backend connection handling and pool management
- Update algorithm implementations with improved type annotations
- Enhance config loader validation with stricter Pydantic schemas
- Improve decorator and middleware error handling
- Expand example scripts with better docstrings and usage patterns
- Add new 00_basic_usage.py example for quick start
- Reorganize examples directory structure
- Fix type annotation inconsistencies across core modules
- Update dependencies in pyproject.toml
2026-03-17 21:04:34 +00:00
492410614f refactor: improve config loader validation with Pydantic schemas
- Replace manual field type validation with Pydantic model schemas
- Add pydantic>=2.0 as core dependency
- Fix sync wrapper in decorator to properly handle rate limiting
- Update pyright settings for stricter type checking
- Fix repository URL in pyproject.toml
- Remove unused main.py
- Update test assertions for new validation error format
2026-03-07 15:43:25 +00:00
fe07912040 docs: update install instructions and bump version to 0.2.0 2026-02-04 01:49:53 +00:00
2900fca30a fix: add ruff per-file-ignores for tests and re-exports 2026-02-04 01:26:06 +00:00
a8b3319d14 fix: disable pyright false positives for FastAPI route handlers 2026-02-04 01:23:02 +00:00
c966fdfe21 fix: exclude .venv and .cache from source distribution 2026-02-04 01:13:34 +00:00
ac90ac4141 chore: update project URLs to GitLab and add black to dev deps 2026-02-04 01:07:14 +00:00
6c5584c6b4 Switch from MIT to Apache 2.0 license 2026-01-09 01:11:07 +00:00
9fe700296d Add get_stats to MemoryBackend and update pytest config
Added get_stats() method for consistency with RedisBackend. Also added
httpx and pytest-asyncio as dev dependencies.
2026-01-09 00:50:43 +00:00
da496746bb Initial commit: fastapi-traffic rate limiting library
- Core rate limiting with multiple algorithms (sliding window, token bucket, etc.)
- SQLite and memory backends
- Decorator and dependency injection patterns
- Middleware support
- Example usage files
2026-01-09 00:26:19 +00:00