Skip to content

Commit 3154770

Browse files
committed
Release 5.3
1 parent cf7232b commit 3154770

File tree

1 file changed

+23
-28
lines changed

1 file changed

+23
-28
lines changed

CHANGELOG.md

+23-28
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
5.2
2-
===
1+
# 5.3
2+
3+
* Allowed registration of procedures of type `Gimp.ExportProcedure`, `Gimp.BatchProcedure` and `Gimp.VectorLoadProcedure`.
4+
* Further clarified the Readme.
5+
* The `generate-pdb-stubs.py` file is now executable.
6+
7+
8+
# 5.2
39

410
* Clarified contents of Readme for improved readability.
511

612

7-
5.1
8-
===
13+
# 5.1
914

1015
* The stub generator is now guaranteed to be accessible in GIMP even if no images are opened.
1116

1217

13-
5.0
14-
===
18+
# 5.0
1519

1620
* Updated the `pdb` object, script and the generated stubs according to changes in GIMP 3.0.0-RC3.
1721
* 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.File` parameters indicates whether they are files or folders for opening/saving, etc.
@@ -22,22 +26,19 @@
2226
* Arguments whose names match a Python keyword can now be passed with a trailing `_`, e.g. `lambda_` (passing `lambda=<value>` would result in a syntax error).
2327

2428

25-
4.2
26-
===
29+
# 4.2
2730

2831
* Fixed `CRITICAL` warnings issued by GIMP when applying layer effects.
2932

3033

31-
4.1
32-
===
34+
# 4.1
3335

3436
* Added allowed string values to the function documentation of the generated stub file for `Gimp.Choice` arguments or GEGL enums converted to `Gimp.Choice` arguments.
3537
* Default values for string arguments in the function documentation are now quoted for improved readability.
3638
* 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).
3739

3840

39-
4.0
40-
===
41+
# 4.0
4142

4243
* Added support for layer effects (filters, GEGL operations). These can be called via the `pdb` object. For example, the `gegl:gaussian-blur` effect can be called as `pdb.gegl__gaussian_blur(layer, std_dev_x=5.0, std_dev_y=5.0)`.
4344
* Procedures can now only be called with keyword arguments (i.e. it is no longer possible to call procedures with positional arguments). This change is meant to encourage plug-in developers to make the client code more readable. The only positional argument allowed is a `Gimp.Layer` instance for layer effects.
@@ -46,53 +47,47 @@
4647
* The generated stub file `pypdb.pyi` now also contains private attributes from the `_PyPDB` class, `PDBProcedure` class and all its subclasses. This avoids IDE warnings related to unrecognized attributes.
4748

4849

49-
3.2
50-
===
50+
# 3.2
5151

5252
* Fixed procedure registration if the same list of arguments was reused for multiple plug-in procedures.
5353

5454

55-
3.1
56-
===
55+
# 3.1
5756

5857
* Fixed calling PDB procedures with keyword arguments containing underscores.
5958

6059

61-
3.0
62-
===
60+
# 3.0
6361

6462
* Updated the script and the generated stubs to work with GIMP 3.0.0-RC1.
6563
* For the pre-generated stub, default values in descriptions are now only included for "basic" types, specifically `int`, `float`, `bool`, `str` and `bytes`.
6664
* For the pre-generated stub, fixed formatting of arguments and return values without a description (blurb).
6765

6866

69-
2.0
70-
===
67+
# 2.0
7168

7269
* Added a module to simplify registration of plug-ins.
7370
* Updated the script to work with GIMP 2.99.18. GIMP 2.99.16 is no longer supported.
7471
* Updated the signature of PDB procedures. All arguments can now be omitted and their default values will be used. However, note that the stub file will display `None` as the default value for all arguments even if it is not the default (since the user can save different defaults for a particular PDB procedure, the defaults displayed in the stub file would no longer be accurate).
7572

76-
1.3
77-
===
73+
74+
# 1.3
7875

7976
* Arguments to PDB procedures are now automatically wrapped with `GObject.Value()`.
8077
* Updated the stub file to remove `GObject.Value` as an accepted type for PDB arguments.
8178

82-
1.2
83-
===
79+
80+
# 1.2
8481

8582
* Prevented errors when importing the `pypdb` module when GIMP is not fully initialized.
8683

8784

88-
1.1
89-
===
85+
# 1.1
9086

9187
* Allowed access to PDB procedures via strings as `pdb['some-procedure-name']`.
9288
* Python exceptions are now raised if attempting to access non-existent procedure names.
9389

9490

95-
1.0
96-
===
91+
# 1.0
9792

9893
* Initial release.

0 commit comments

Comments
 (0)