Translations:Release notes/1.1/156/en

From Inkscape Wiki
Jump to navigation Jump to search
  • Breaking change: Python 2 is no longer supported, extensions require at least Python 3.6 (Bug extensions#351)
  • Breaking change: Element.description() is now Element.desc. The new form now includes Element.desc = "some value" for setting the attribute, and Element.title, which works the same way as desc (only for the title/tooltip) and didn't exist before.
  • Element selections API has been improved, the API in 1.0 of using self.svg.selected is deprecated in favour of the new self.svg.selection interface. The previous API will continue to work for the time being but should be updated to the new API. Selection is now a type of ElementList which provides filtering, ordering and other generalised functionality. If you need an element list, for example to make a bounding box, this is the way to do it.
  • New: