Releases: python-ellar/ellar-throttler
Releases · python-ellar/ellar-throttler
0.1.7
What's Changed
- Bump ruff from 0.3.0 to 0.3.4 by @dependabot in #46
- Update pytest-cov requirement from <5.0.0,>=2.12.0 to >=2.12.0,<6.0.0 by @dependabot in #45
- Bump mypy from 1.8.0 to 1.9.0 by @dependabot in #44
- Bump codecov/codecov-action from 4.1.0 to 4.1.1 by @dependabot in #43
- Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 by @dependabot in #42
- Bump codecov/codecov-action from 4.1.1 to 4.3.0 by @dependabot in #49
- Bump mypy from 1.9.0 to 1.10.0 by @dependabot in #48
- Bump ruff from 0.3.4 to 0.4.2 by @dependabot in #47
- Bump ruff from 0.4.2 to 0.4.7 by @dependabot in #51
- Bump codecov/codecov-action from 4.3.0 to 4.4.1 by @dependabot in #50
- Bump ruff from 0.4.7 to 0.5.0 by @dependabot in #55
- Bump mypy from 1.10.0 to 1.10.1 by @dependabot in #54
- Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot in #53
- Bump codecov/codecov-action from 4.4.1 to 4.5.0 by @dependabot in #52
- Bump mypy from 1.10.1 to 1.11.1 by @dependabot in #57
- Bump ruff from 0.5.0 to 0.5.5 by @dependabot in #56
- Ellar 081 upgrade by @eadwinCode in #58
Full Changelog: 0.1.5...0.1.7
0.1.5
What's Changed
- Support more advance throttling technique by @eadwinCode in #41
Full Changelog: 0.1.3...0.1.5
0.1.3
What's Changed
- Bump ruff from 0.2.1 to 0.3.0 by @dependabot in #39
- Bump mypy from 1.7.1 to 1.8.0 by @dependabot in #38
- Bump codecov/codecov-action from 4.0.0 to 4.1.0 by @dependabot in #37
- Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 by @dependabot in #36
- rearrangement lib dependencies by @eadwinCode in #40
Full Changelog: 0.1.2...0.1.3
0.1.2
What's Changed
- Update pytest requirement from <8.0.0,>=7.1.3 to >=7.1.3,<9.0.0 by @dependabot in #33
- Bump ruff from 0.1.7 to 0.1.15 by @dependabot in #32
- Bump codecov/codecov-action from 3.1.4 to 4.0.0 by @dependabot in #31
- Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 by @dependabot in #30
- Bump actions/setup-python from 4 to 5 by @dependabot in #29
- Bump mypy from 1.7.1 to 1.8.0 by @dependabot in #27
- Bump ruff from 0.1.15 to 0.2.1 by @dependabot in #35
- Ellar 0.7.0 support by @eadwinCode in #34
Full Changelog: 0.1.0...0.1.2
0.1.0
0.0.9
What's Changed
- Bump ruff from 0.0.291 to 0.1.6 by @dependabot in #22
- Bump black from 23.9.1 to 23.11.0 by @dependabot in #23
- Bump mypy from 1.5.1 to 1.7.1 by @dependabot in #24
- Bump up Ellar version by @eadwinCode in #25
Full Changelog: 0.0.7...0.0.9
0.0.7
What's Changed
- Bump black from 23.3.0 to 23.7.0 by @dependabot in #14
- Bump mypy from 1.4.1 to 1.5.1 by @dependabot in #13
- Bump ruff from 0.0.275 to 0.0.286 by @dependabot in #12
- Bump codecov/codecov-action from 3.1.1 to 3.1.4 by @dependabot in #11
- Bump ruff from 0.0.286 to 0.0.291 by @dependabot in #18
- Bump actions/checkout from 3 to 4 by @dependabot in #17
- Bump black from 23.7.0 to 23.9.1 by @dependabot in #16
New Contributors
- @dependabot made their first contribution in #14
Full Changelog: 0.0.6...0.0.7
0.0.6
What's Changed
- Linting with ruff by @eadwinCode in #9
- upgraded to black 23.3 by @eadwinCode in #10
- Bump up ellar version
Full Changelog: 0.0.4...0.0.6
0.0.4
What's Changed
- Fixed bugs caused by Ellar package dependencies refactor by @eadwinCode in #6
Full Changelog: 0.0.2...0.0.4
0.0.2
Throttling Feature for Ellar
Setup with Module
from ellar.common import Module
from ellar_throttler import ThrottlerModule
@Module(modules=[
ThrottlerModule.setup(ttl=60, limit=10)
])
class ApplicationModule:
passApply to Controller
# project_name/controller.py
from ellar.common import Controller, guards
from ellar_throttler import throttle, ThrottlerGuard
@Controller()
class AppController:
@guards(ThrottlerGuard)
@throttle(limit=5, ttl=30)
def normal(self):
passFull Changelog: https://github.com/eadwinCode/ellar-throttler/commits/0.0.2