Skip to content

Commit

Permalink
Bump to v0.5.5 and oauth remark in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanhed committed Mar 5, 2024
1 parent ffa85e6 commit 943aa54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ Tenslotte, via de commandline kan je de module ook als volgt aanroepen:
## Opmerkingen

- **Authenticatie**. Inloggen bij de bibliotheek.be website gebeurt standaard
via een webformulier. Het is ook mogelijk om de snellere `oauth` manier te
gebruiken; dit is nog experimenteel.
via een webformulier. Het is ook mogelijk om de `oauth` manier te gebruiken;
maar dit is nog experimenteel.

mb = MijnBibliotheek(username, password, login_by="oauth")
accounts = mb.get_accounts()

! Opmerking: De oauth flow is sinds maart 2024 broken, en vereist nog een aanpassing.

- **Foutafhandeling**. Afhankelijk van de toepassing, kan het aangeraden zijn om
foutafhandeling te voorzien. Het bestand `errors.py` bevat de lijst van
Mijnbib-specifieke exceptions. De docstrings van de publieke methods bevatten
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

new: new feature / impr: improvement / fix: bug fix

## v0.5.5 - 2024-03-05

- fix: broken login (form) because of change at site.
Note: alternative oauth login still broken.

## v0.5.4 - 2024-02-21

- impr: improve extensibility of oauth login handler
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mijnbib"
version = "0.5.4"
version = "0.5.5"
description = "Python API voor de website mijn.bibliotheek.be"
readme = "README.md"
authors = [{ name = "Ward Van Heddeghem", email = "[email protected]" }]
Expand Down

0 comments on commit 943aa54

Please sign in to comment.