Releases: kamilburda/gimp-python-wrappers
Releases · kamilburda/gimp-python-wrappers
6.1
- pypdb: It is now possible to create config objects for layer effects (
Gimp.DrawableFilterConfig), i.e.GeglProcedure.create_config()now properly creates a proper instance. This e.g. allows usingGimpUi.prop_choice_combo_box_newfor choice arguments for layer effects. Note the implementation is slow as it requires creating a temporary image and layer.
6.0
- Bumped up the GIMP version requirement to 3.2 (due to a critical bug preventing plug-in registration from working for GIMP 3.2 or later).
- Updated the generated stubs to include new features introduced in GIMP 3.2.
- pypdb: Added support for layer effects introduced in GIMP 3.1.4.
- pypdb: Added support for several
gimp:*layer effects for GIMP versions earlier than 3.1.4. - pypdb: Added
must_be_mergedproperty to indicate that a layer effect cannot be applied non-destructively. - pypdb: Several GEGL operations are no longer available as layer effects as they were also hidden in GIMP 3.2 (due to being redundant or not useful).
- Fixed a critical bug preventing plug-in registration from working for GIMP 3.2 or later.
- Fixed a bug in stub generator causing incompatibility with Python 3.11 and below.
5.5
- pypdb: Fixed handling of enum values if a GIMP installation contains PyGObject version 3.50.0 or later.
- pypdb: Fixed GEGL operations containing
_in their names not being accessible. - pypdb: Passing positional arguments to GIMP PDB procedures now yields a clearer error message.
- procedure: Added
init_geglparameter that allows toggling automatic calling ofGegl.init()when a procedure starts.
5.4
- Provided a workaround for registration of procedure arguments or return values whose type represents a GIMP-related object, e.g.
Gegl.Color.
5.3
- Allowed registration of procedures of type
Gimp.ExportProcedure,Gimp.BatchProcedureandGimp.VectorLoadProcedure. - Further clarified the Readme.
- The
generate-pdb-stubs.pyfile is now executable.
5.2
- Clarified contents of Readme for improved readability.
5.1
- The stub generator is now guaranteed to be accessible in GIMP even if no images are opened.
5.0
- Updated the
pdbobject, script and the generated stubs according to changes in GIMP 3.0.0-RC3. - Added more information to several parameter types in the generated stub file. For example, the description for numeric parameters now contains minimum and maximum values (if different from the default minimum and maximum values), the description for
Gio.Fileparameters indicates whether they are files or folders for opening/saving, etc. - Object array parameters (images, drawables, ...) are now annotated in the stub file as lists.
- Updated type annotations for parameters that can be
None(e.g.Gimp.ImageorGimp.Layer) in the stub file. - Slightly optimized access to PDB procedures and GEGL operations via the
pdbobject. - Improved GUI for the output directory for the stub generator.
- Arguments whose names match a Python keyword can now be passed with a trailing
_, e.g.lambda_(passinglambda=<value>would result in a syntax error).
4.2
- Fixed
CRITICALwarnings issued by GIMP when applying layer effects.
4.1
- Added allowed string values to the function documentation of the generated stub file for
Gimp.Choicearguments or GEGL enums converted toGimp.Choicearguments. - Default values for string arguments in the function documentation are now quoted for improved readability.
- Fixed a potential bug where certain GEGL enums were unnecessarily converted to a string (since GIMP converts many of these enums to strings for readability).