Skip to content

Commit cc9a6a7

Browse files
committed
1.4.0 Types, linting, auto-formatting, better release pipeline, upgraded edu mode output. Big thanks to @OutSquareCapital
1 parent 3a36f90 commit cc9a6a7

37 files changed

+630
-288
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

3+
## [1.4.0] - 2026-03-24
4+
5+
### Added
6+
* Educational mode now includes clear return output:
7+
* `(function) returned (value)` style formatting for better readability
8+
* Integrated Ruff for consistent formatting and linting
9+
* Added basedpyright for static type checking
10+
* Introduced initial type annotations across the codebase
11+
* Improved educational mode examples in README and demos
12+
13+
### Changed
14+
* Improved consistency of call and return formatting
15+
* Updated publishing pipeline:
16+
* automatic Ruff formatting
17+
* lint + type checks during release
18+
* Internal refactors to support typing and future maintainability
19+
20+
### Fixed
21+
* Various formatting inconsistencies between full and educational modes
22+
* Edge cases in return logging output
23+
* Minor issues in logging behaviour uncovered during type integration
24+
25+
### Developer Experience
26+
* Added Ruff integration for standardised code style
27+
* Added basedpyright integration for type safety
28+
* Improved contribution workflow and code consistency
29+
30+
### Plans
31+
* Multithreading support!
32+
333
## [1.3.2] - 2026-03-24
434

535
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![PyPI](https://img.shields.io/pypi/v/logeye?cachebust=1774332497)
1+
![PyPI](https://img.shields.io/pypi/v/logeye?cachebust=1774375071)
22
![Python](https://img.shields.io/pypi/pyversions/logeye)
33
![License](https://img.shields.io/github/license/MattFor/LogEye)
44

@@ -703,5 +703,5 @@ MIT License © 2026
703703

704704
See [LICENSE](LICENSE) for details.
705705

706-
Version 1.3.2
706+
Version 1.4.0
707707

demo/demo1.py renamed to demos/demo1.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ def total(a, b):
1616
y = log(10)
1717

1818
log("test is $x")
19-
File renamed without changes.
File renamed without changes.

demo/demo4.py renamed to demos/demo4.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
from logeye import log
22

3-
obj = log({
4-
"x": 4,
5-
"y": {
6-
"z": 5
7-
}
8-
})
3+
obj = log({"x": 4, "y": {"z": 5}})
94

105
obj.x = 4
116
obj.y.z = 5
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)