Merge pull request #120 from laurentS/prepare-release-0-1-7

This commit is contained in:
Laurent Savaete
2022-11-28 13:17:32 +03:00
committed by GitHub
4 changed files with 627 additions and 137 deletions

View File

@@ -18,9 +18,9 @@ jobs:
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies for requests in python 3.9
@@ -30,7 +30,7 @@ jobs:
uses: snok/install-poetry@v1
with:
# Version of Poetry to use
version: 1.1.11
version: 1.2.2
- name: Install dependencies
run: |
poetry install

View File

@@ -1,5 +1,13 @@
# Change Log
## [0.1.7] - 2022-11-09
### Added
- Added ASGI middleware alternative (thanks @thentgesMindee)
- Added support for custom cost per hit (thanks @nootr)
- Added `key_style` parameter to choose between endpoint or url (thanks @thentgesMindee)
## [0.1.6] - 2022-08-20
### Added

747
poetry.lock generated
View File

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "slowapi"
version = "0.1.6"
version = "0.1.7"
description = "A rate limiting extension for Starlette and Fastapi"
authors = ["Laurent Savaete <laurent@where.tf>"]
license = "MIT"
@@ -33,6 +33,7 @@ mkautodoc = "^0.1.0"
types-redis = "^3.5.6"
coverage = "^6.3"
flake8 = "^4.0.1"
setuptools = "^65.5.0"
[tool.black]
line-length = 88