Releases: THEGOLDENPRO/aghpb-api
v1.4.12
I’ve come back after a year to modernise and align the codebase more with FastAPI's idiomatic patterns.
No breaking changes for API clients. Just improved stability, updated images and dependencies, and new anime girls if you haven't restarted the API in a while to perform a git pull. 👍
Let me know how the docker image goes.
Features
- Switched to UV for the docker image.
- Added a lock file (
uv.lock) for improved reproducibility and consistent dependencies. - Dropped all older Python versions to prioritised Python 3.12+ support (the docker image also now uses
3.12). - Replaced the unmaintained
slowapirate-limiting library withfastapi-limiter(slowapi blocked me from making the codebase more idiomatic). - Removed
GIT_REPO_xenvironment variables as they make no sense to use. - Removed my archived
devgoldyutilsdependency andtyping-extensions. - Bumped and updated all dependencies to their latest (including FastAPI).
- Added
tyfor type checking and to improve maintainability. - Enabled passing http proxy (nginx, caddy, etc) headers to the API to help with rate-limiting (I think this was already enabled before, but now it's explicit).
- Refactored and improved parts of the codebase (more improvements to come later).
- Updated README instructions and removed makefile commands.
Contributors
Full Changelog: 1.4.7...v1.4.12
v1.4.12-alpha.2
Full Changelog: v1.4.12-alpha.1...v1.4.12-alpha.2
v1.4.12-alpha.1
Full Changelog: 1.4.7...v1.4.12-alpha.1
1.4.7
⭐ New Features
- Updated docker image python version to
3.12.10. - Updated initial git repo in docker image to the latest aghpb commit.
🐞 Bug fixes
git_reposhould not have been listed in the categories list from/categories
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: 1.4.6...1.4.7
1.4.6
🔃 Small little mini tiny micro rewrite of some of the codebase.
⭐ New Features
- Add
repo_hashandrepo_last_updatedkey to/infoendpoint. #17, e9fc7ef - Drop official support for python 3.8. e9fc7ef (The API may still carry on to run with 3.8 but we are no longer maintaining it for 3.8)
- Rewrote error handling. 926973e
- Removed unused dependencies. 926973e
- Switched to fastapi cli for development. 926973e
- Smol rewrite #19 (restructure API codebase and etc)
- Updated repository in the docker image.
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: 1.4...1.4.6
1.4
v1.4 🍮 Just some small quality-of-life improvements.
⭐ New Features
- Made rate limits configurable in environment variables. (
RANDOM_BOOK_RATE_LIMIT,GET_BOOK_RATE_LIMIT) - Added info endpoint that returns: how many books are available and what version the API is on.
- Improved caching for
/get/id/. - Books are now cached for faster start-up. #7
- Add the
book-commit-hashheader. - Removed submodules.
- Migrated to pyproject.toml.
- The repository now updates on API launch.
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: 1.3.6...1.4
1.3.6
v1.3.6 🪶 Git repo and docker image size reduction.
⭐ New Features
- Significantly reduced git repo size by cleaning up accidental commits.
(the repo was soo fucking big you don't understand) - Reduced docker image size from 3.76GB to 2.04GB.
- WE ARE NOW BACK ON 🐬 DOCKER HUB --> https://hub.docker.com/r/devgoldy/aghpb_api
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: 1.3.5...1.3.6
1.3.5
v1.3.5 🦥 Rate Limiting
⭐ New Features
- Improved docs description markdown.
- Added
/getand/randomrate limiting. >> #8 (Check out #6 for more info)
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
- @r3tr0ananas
- @THEGOLDENPRO
Full Changelog: 1.3.2...1.3.5
1.3.2
v1.3.2 💊 Patch for author encoding bug that caused some books to not fetch.
🐞 Bug Fixes:
- fixed book author encoding bug
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: 1.3-1...1.3.2
1.3
v1.3 A revamp ⚡
⭐ New Features
- Improved fuzzy searching in the search endpoint.
- You can now filter searches by category and limit the amount of results.
- The API now returns the author who committed the book and the URL to the commit with the headers
Book-Commit-AuthorandBook-Commit-URLor their relevant keys. (sometimes will be inaccurate like in the case a maintainer renames the book)
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
Full Changelog: v1.2...1.3-1