Commit graph

7 commits

Author SHA1 Message Date
c4205fc4f1
(3.1.0)
Some checks failed
Actions / Build (push) Failing after 19s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 22s
Actions / Build Documentation (push) Successful in 25s
- improved version logic - now using hatch and hatch-vcs to automatically generate versions based on git tag / git commit / distance from last tag
- raise an error if the voices cache is not populated correctly
- lint with mypy in actions
- use pyproject.toml for pylint configuration
2024-11-15 11:14:33 -05:00
fde5dad155
(3.0.0) cleaned up uv dependencies for pep 735, made a backwards incompatible change in the FloweryApiConfig model, and set up ruff formatting
Some checks failed
Actions / Build (push) Successful in 10s
Actions / Lint with Ruff & Pylint (push) Failing after 12s
Actions / Build Documentation (push) Failing after 6s
2024-11-15 00:10:38 -05:00
798b551138
(2.1.0) fix running inside of async loops and made user_agent mandatory
All checks were successful
Actions / lint (push) Successful in 12s
Actions / build (push) Successful in 15s
Actions / docs (push) Successful in 21s
this release finishes the usage.md page on the documentation, makes specifying a `user_agent` mandatory when instantiating a `FloweryAPIConfig` class, and fixes a bug that would prevent the `FloweryAPI` class from being instantiated inside of an async event loop
2024-09-18 13:49:36 -04:00
f5bef8acc8
fix some minor typehinting issues 2024-09-18 12:11:04 -04:00
33b63fecc4
(1.0.3) retry handlers and more
Some checks failed
Actions / lint (push) Failing after 16s
Actions / build (push) Successful in 19s
added automatic retry handlers for 429 and 5xx error codes, as well as custom exceptions for ratelimiting, client errors, and server errors
also added a more advanced user agent string constructor. previously, setting FloweryAPIConfig.user_agent would override the default user_agent. so, if you set user_agent to `foobar`, the user agent string would be `foobar` in requests. now, the user agent string sent by requests would be the following on my development machine:
`'User-Agent': 'PyFlowery/1.0.3 PyFloweryTests (Python 3.12.6 (main, Sep  8 2024, 13:18:56) [GCC 14.2.1 20240805])'`
2024-09-17 23:24:14 -04:00
997fd5437e
pylint fixes
All checks were successful
Actions / build (push) Successful in 11s
Actions / lint (push) Successful in 18s
2024-09-15 23:18:56 -04:00
4becff70e6
version 1.0.0
Some checks failed
Actions / lint (push) Failing after 11s
Actions / build (push) Successful in 13s
2024-09-15 23:12:30 -04:00