Releases: Safe-DS/Stub-Generator
Releases · Safe-DS/Stub-Generator
v0.3.0
0.3.0 (2024-05-04)
Features
- Added handling for sequence classes (#127) (cb061ab), closes #126
- DocString result names for Safe-DS stub results (#101) (fe163e3), closes #100
- Examples from docstrings are also taken over to stub docstrings (#116) (6665186), closes #115
- Replace the docstring_parser library with Griffe (#79) (9b2f802)
Bug Fixes
Self
types as results are translated to class names (#110) (4554a56), closes #86- Creating stubs with relative paths for source and output directories (#128) (b4493c9), closes #125
- Docstrings have the correct indentation for nested classes (stubs) (#114) (c7b8550), closes #113
- Fixed a bug where double ? would be generated for stubs (#103) (c35c6ac), closes #87 #87
- Fixed a bug where imports would not check reexports for shortest path (#112) (48c5367), closes #82
- Fixed a bug where results in stubs would not be named (#131) (4408c84), closes #100
- Fixed a bug which prevented mypy version update (#107) (501d2cd)
- Fixed the stubs generator (#108) (9ad6df6), closes #80
- Generated names of callback results start with result, not with param (#104) (6e696e9), closes #85
- Include lines of examples that start with
...
(#130) (3477b4a), closes #129 - No "// TODO ..." if return type is explicitly
None
(#111) (08e345f), closes #83 - Removed the Epydoc parser (#89) (684a101)
- Replaced tabs with 4 spaces (#105) (8e7aa5d), closes #84
- The file structure of stubs resembles the "package" path. (#106) (ff1800e), closes #81
- Translation of callable (#102) (c581e6a), closes #88 #88
v0.2.0
0.2.0 (2024-03-29)
Features
- Added generation for Safe-DS stubs files (#33) (ab45b45)
- Correct stubs for TypeVars (#67) (df8c5c9), closes #63
- Create stubs for public methods of inherited internal classes (#69) (71b38d7), closes #64
- Rework import generation for stubs. (#50) (216e179), closes #38 #24 #38 #24
- Safe-DS stubs also contain docstring information. (#78) (bdb43bd)
- Stubs are created for referenced declarations in other packages (#70) (522f38d), closes #66
Bug Fixes
v0.1.0
v0.0.1
A dummy release to force semantic-release
to start versioning at 0.0.1
instead of 1.0.0
.