Skip to content

Commit 46ce868

Browse files
committed
Prepare 0.60.11 release
1 parent b2ea0b3 commit 46ce868

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
## [Unreleased]
66
- No unreleased changes so far
77

8+
## [0.60.11] - 2025-11-30
9+
### Fixed
10+
- Fixes typo from backporting AuthentificationError/AuthenticationError
11+
812
## [0.60.10] - 2025-11-29
913
### Fixed
1014
- Fixes refresh token handling that was broken in 0.60.9 due to typo when backporting changes
@@ -886,7 +890,8 @@ Minor fix in observer interface
886890
## [0.1.0] - 2021-05-26
887891
Initial release
888892

889-
[unreleased]: https://github.com/tillsteinbach/WeConnect-python/compare/v0.60.10...HEAD
893+
[unreleased]: https://github.com/tillsteinbach/WeConnect-python/compare/v0.60.11...HEAD
894+
[0.60.11]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.60.11
890895
[0.60.10]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.60.10
891896
[0.60.9]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.60.9
892897
[0.60.8]: https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.60.8

weconnect/auth/vw_web_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def _handle_new_auth_flow(self, url: str) -> str:
279279
str: The redirect URL after successful authentication.
280280
281281
Raises:
282-
AuthenticationError: If authentication fails.
282+
AuthentificationError: If authentication fails.
283283
APICompatibilityError: If there are issues with the authentication flow.
284284
"""
285285
import re
@@ -334,7 +334,7 @@ def _handle_new_auth_flow(self, url: str) -> str:
334334
response = self.websession.post(login_url, data=login_form, allow_redirects=False)
335335

336336
if response.status_code not in (requests.codes['found'], requests.codes['see_other']):
337-
raise AuthenticationError(f'Login failed with status code: {response.status_code}')
337+
raise AuthentificationError(f'Login failed with status code: {response.status_code}')
338338

339339
if 'Location' not in response.headers:
340340
raise APICompatibilityError('No Location header in login response')

weconnect/auth/we_connect_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def refreshTokens(
197197
refresh_token = self.token.get('refresh_token')
198198

199199
if not refresh_token:
200-
raise AuthenticationError('No refresh token available. Please log in again.')
200+
raise AuthentificationError('No refresh token available. Please log in again.')
201201

202202
# Create headers matching the examples format
203203
tHeaders = {

0 commit comments

Comments
 (0)