chore: pin commons v0.2.1 (v0.1.2)
bump the commons dependency pin to v0.2.1 (retry attempts-floor fix). no code change; the aretry migration is unaffected. verified: 18/18 migration harness passes against commons 0.2.1. Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
@@ -11,13 +11,13 @@ and swap the HTTP client while inheriting everything else.
|
||||
`requirements.txt`:
|
||||
|
||||
```
|
||||
aioweb @ git+ssh://git@git.rethinkstudios.io/rethink-public/aioweb.git@v0.1.0
|
||||
aioweb @ git+ssh://git@git.rethinkstudios.io/rethink-public/aioweb.git@v0.1.1
|
||||
```
|
||||
|
||||
Direct:
|
||||
|
||||
```bash
|
||||
pip install "aioweb @ git+ssh://git@git.rethinkstudios.io/rethink-public/aioweb.git@v0.1.0"
|
||||
pip install "aioweb @ git+ssh://git@git.rethinkstudios.io/rethink-public/aioweb.git@v0.1.1"
|
||||
```
|
||||
|
||||
Requires `aiohttp` and `yarl` (pulled transitively).
|
||||
@@ -128,6 +128,23 @@ Two changes can't be shimmed without re-introducing the bugs they fix:
|
||||
`await s.close()`; a leaked session emits a `ResourceWarning`. The old finalizer-based
|
||||
auto-close was unsafe and was removed.
|
||||
|
||||
## Changelog
|
||||
|
||||
### v0.1.2
|
||||
|
||||
- Pinned `commons` to v0.2.1 (retry `attempts` floor fix).
|
||||
|
||||
### v0.1.1
|
||||
|
||||
- **JSON list bodies** now route to `json=` (were wrongly form-encoded via `data=` —
|
||||
only dicts went to `json=` before).
|
||||
- **Exhausted retries return the real last response.** When every attempt hit a
|
||||
retryable status (429/5xx), the loop discarded it and returned a synthetic
|
||||
`FailureResponse` (status 0); now the real last 4xx/5xx `Response` is returned (only a
|
||||
pure-exception failure yields `FailureResponse`).
|
||||
- Retry/backoff moved onto `commons.aretry` (shared engine); backoff schedule unchanged.
|
||||
Adds a `commons` dependency.
|
||||
|
||||
## Versioning
|
||||
|
||||
Tagged `vX.Y.Z`. Pin the tag in `requirements.txt`.
|
||||
|
||||
Reference in New Issue
Block a user