Upgrading graphviz 0.3 to 0.4
Breaking0.3.5 → 0.4.10Breaking2Platform1New11Changed2Fixed3Other6
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- Code that passed dry=True to render() must call save() instead.
- The append() and extend() helpers are gone; modify the body attribute yourself if needed.
- The package can now be used on Python 2.6.
Must act 3 items need code or config changes
What you must change
Breaking2
Replaces the dry option on render() with a separate save() method.
render()drysave()Removes undocumented append() and extend() methods; edit the body attribute directly instead.
append()extend()bodyPlatform1
Adds Python 2.6 support.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
export Subgraph - added:
export Source
- removed:
class Subgraph(Digraph)
- changed:
method File.render(filename=…, directory=…, view=…, dry=…) → method File.render(filename=…, directory=…, view=…, cleanup=…) - added:
class Source(File) - added:
constructor Source(source, filename=…, directory=…, format=…, engine=…, encoding=…) - added:
method File.pipe(format=…) - added:
method File.save(filename=…, directory=…)
- changed:
function quote(identifier, valid_id=…, dot_keyword=…) → function quote(identifier, valid_id=…, dot_keyword=…, html=…) - added:
function quote_edge(identifier)