Quote:
....(gimp-edit-fill drawable 0),this will succeed in past and present gimps the same applies to layer-modes...
Indeed it does and I have done that myself in the past. I believe this is generally considered bad practice.
While Gimp 2.10.20 is the best so far for backward compatibility, taking gimp-edit-fill as the example.
Gimp 2 is usually (but not always) compiled with --pdb-compat-mode=on as default
Procedure browser shows it is deprecated, new plugins/scripts should not use it but we are talking old plugins/scripts here.
Attachment:
mode-on.jpg [ 152.24 KiB | Viewed 3712 times ]
This procedure gimp-edit-fill does not actually exist, run Gimp with --pdb-compat-mode=off and see what you get.
Attachment:
mode-off.jpg [ 55.17 KiB | Viewed 3712 times ]
Even then not quite the same as Gimp 2.8 although where you might use 'NO-FILL(5)' I do not know
Attachment:
mode-28.jpg [ 124.48 KiB | Viewed 3712 times ]
As MareroQ wrote above, nothing is future proof.