You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Fixed
- Added missing `import traceback` in `__init__.py`.
This resolves a `NameError` when using `register_exception_handlers` with traceback logging enabled.
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -410,10 +410,17 @@ Benchmark scripts and raw Locust reports are available in the [benchmark](https:
410
410
411
411
## 📜 Changelog
412
412
413
-
**v0.1.20 - 2025-08-18**
413
+
##v0.1.21 - 2025-08-18**
414
414
✅ **Initial stable and suggested version**
415
415
416
416
417
+
### Fixed
418
+
- Added missing `import traceback` in `__init__.py`.
419
+
This resolves a `NameError` when using `register_exception_handlers` with traceback logging enabled.
420
+
421
+
422
+
**v0.1.20 - 2025-08-18**
423
+
417
424
#### Changed
418
425
- Restructured `__init__.py` to use **relative imports** (`from .module import ...`) instead of absolute imports for cleaner packaging and IDE compatibility.
419
426
- Unified all public exports under `__all__` so that consumers can simply `from api_exception import ...` without needing sub-module paths.
Copy file name to clipboardExpand all lines: docs/changelog.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,17 @@
3
3
All notable changes to APIException will be documented here.
4
4
This project uses *Semantic Versioning*.
5
5
6
-
## [0.1.20] - 2025-08-18
6
+
## [0.1.21] - 2025-08-18
7
7
✅ Stable release!
8
8
✅ **Initial stable and suggested version**
9
9
10
+
### Fixed
11
+
- Added missing `import traceback` in `__init__.py`.
12
+
This resolves a `NameError` when using `register_exception_handlers` with traceback logging enabled.
13
+
14
+
15
+
## [0.1.20] - 2025-08-18
16
+
10
17
#### Changed
11
18
- Refactored `__init__.py` to use relative imports (`from .module import ...`) for cleaner packaging and better IDE compatibility.
12
19
- Unified and simplified `__all__` so developers can import everything directly from `api_exception` (e.g. `from api_exception import ResponseModel, APIException`).
0 commit comments