All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Clean up published files
- Can list holds (reservations) with
holds list
- Switch to UV.
The goal was to be able to run the project using pipx.
Yes, it would have been possible with Poetry, but I also wanted to simplify the project thanks to UV.
In the end, switching to UV was not that easy: the pyproject.toml format is different between UV and Poetry (the author, the license fields...), I upgraded Pydantic to V2 which breaks stuff (and old code is hard to remember)...
itemcallnumberis optional, indeed not all books have that type of identifier
- Add barcode and call number to loans list
- Add command to renew loans, with
loans renew. The new loans will be printed after the renewal.
- Print the soonest due date of the users' loans in the table. This helps to find the date you have to go to the library.
- Print loans of each user sequentially (previously, only the first user's loans were displayed)
- Authentication was not properly working due to a new Session being created, thus losing cookies
- Add CLI (command-line interface) to create a sample config, show the config and get loans
- Display loans in a pretty table
- Print the username when getting loans ("Loans of John Doe")
- Display due dates as date, not date with time
- Ability to get the current loans of a user
- Drop support for Python 3.7 - 3.9. Only support Python 3.10
- Initial release