This repository has been archived by the owner on Sep 15, 2024. It is now read-only.
Releases: mysticfall/bpystubgen
Releases · mysticfall/bpystubgen
Release 0.2.7
- Fixed incorrect generation of
kwargs
arguments (#1). - Add support for Blender 3.1.
Release 0.2.6
- Add support for Blender 3.0 and UPBGE 0.3.
- Update to Python 3.10
Release 0.2.5
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
- 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
- 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
- Add CI workflow to publish
blender-stubs
module to PyPI. - Fixed a problem with stub generationg of
bpy.types
andbpy.ops
in Blender 2.8x. - Fixed a minor issue with local name resolution of modules (e.g. unnecessary
import bge
statement inbge.types.pyi
).
Release 0.2.1
Hot fix for the problem of missing patches/__init__.py
in distribution.
Release 0.2.0
- Implemented patch and blacklist system to deal with corner cases.
- Added missing "dunder" methods for
Matrix
,Quaternion
, andVector
. - Fixed wrong path for
bpy.data
module (wasbpy.data.data
). - Added support for
bpy_prop_collection
andEXP_ListValue
. - Added support for some union types.
- Miscellaneous bug fixes.
Release 0.1.8
Yet another change to the generated file structure. Now only root and leaf modules are generated as packages.
Release 0.1.7
- Make leaf modules have the same file names as themselves (e.g.
bge.types.pyi
instead ofbge.types.__init__.pyi
). - Handle ancestors when localising names (e.g.
bpy.types.Object
becomestypes.Object
when referenced frombpy/__init__.pyi
). - Fix progress reporting to show correct numbers.