Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Releases: mysticfall/bpystubgen

Release 0.2.7

11 Apr 10:46
Compare
Choose a tag to compare
  • Fixed incorrect generation of kwargs arguments (#1).
  • Add support for Blender 3.1.

Release 0.2.6

09 Jan 04:31
Compare
Choose a tag to compare
  • Add support for Blender 3.0 and UPBGE 0.3.
  • Update to Python 3.10

Release 0.2.5

11 Oct 09:39
Compare
Choose a tag to compare

A hot fix for the recent regression with failing to generate some types, including KX_GameObject.

Also, this version also supports parsing the "One of... (multiple lines of type)" pattern.

Release 0.2.4

26 Sep 06:47
Compare
Choose a tag to compare
  • Fixed the problem of functions with *args or **kwargs missing arguments.
  • Support for bgl module's function variant expressions (e.g. "B{func1, func2}").
  • Added support for "iterable of T" type expression.
  • Added support for "pair of T" type expression.
  • Now it recognises most of matrix related expressions (e.g. "4x4 matrix [[float]]").

Release 0.2.3

25 Sep 11:12
Compare
Choose a tag to compare
  • Fix the problem of stubs for top-level leaf modules (e.g. bgl) not getting generated.
  • Improve type hinting for mathutils.Vector/Quaternion/Matrix/Euler.
  • Support simple tuple type expressions.
  • Generate function variants for bgl module (i.e. B{fun_v1, fun_v2, ...}).
  • Miscellaneous bug fixes and improvements.

Release 0.2.2

22 Sep 08:36
Compare
Choose a tag to compare
  • Add CI workflow to publish blender-stubs module to PyPI.
  • Fixed a problem with stub generationg of bpy.types and bpy.ops in Blender 2.8x.
  • Fixed a minor issue with local name resolution of modules (e.g. unnecessary import bge statement in bge.types.pyi).

Release 0.2.1

21 Sep 20:30
Compare
Choose a tag to compare

Hot fix for the problem of missing patches/__init__.py in distribution.

Release 0.2.0

21 Sep 08:37
Compare
Choose a tag to compare
  • Implemented patch and blacklist system to deal with corner cases.
  • Added missing "dunder" methods for Matrix, Quaternion, and Vector.
  • Fixed wrong path for bpy.data module (was bpy.data.data).
  • Added support for bpy_prop_collection and EXP_ListValue.
  • Added support for some union types.
  • Miscellaneous bug fixes.

Release 0.1.8

19 Sep 03:52
Compare
Choose a tag to compare

Yet another change to the generated file structure. Now only root and leaf modules are generated as packages.

Release 0.1.7

18 Sep 22:55
Compare
Choose a tag to compare
  • Make leaf modules have the same file names as themselves (e.g. bge.types.pyi instead of bge.types.__init__.pyi).
  • Handle ancestors when localising names (e.g. bpy.types.Object becomes types.Object when referenced from bpy/__init__.pyi).
  • Fix progress reporting to show correct numbers.