Skip to content

Releases: Safe-DS/Stub-Generator

v0.3.0

04 May 15:36
Compare
Choose a tag to compare

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

29 Mar 13:15
Compare
Choose a tag to compare

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

  • Some packages couldn't be analyzed (#51) (fa3d020), closes #48
  • Stub generation testing and fixing of miscellaneous bugs (#76) (97b0ab3)

v0.1.0

29 Nov 10:21
Compare
Choose a tag to compare

0.1.0 (2023-11-29)

Features

  • drop Python 3.10 and add Python 3.12 (#23) (091826d)
  • port code from library-analyzer (#16) (5e0b3b1)

Bug Fixes

  • Added handling for boolean default values for parameters (#25) (1ff250d)
  • deps-dev: bump urllib3 from 2.0.6 to 2.0.7 (#26) (ff1a33b), closes #3144
  • Fixed bugs for analyzing packages and api data creation. (#27) (80215a3)

v0.0.1

05 Jul 16:20
8310a0c
Compare
Choose a tag to compare

A dummy release to force semantic-release to start versioning at 0.0.1 instead of 1.0.0.