Skip to content

Upgrading graphviz 0.17 to 0.18

Unknown0.17 → 0.18.2

Fetching 3 releases from GitHub…0 / 3
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export DOT_BINARY
  • added: export UNFLATTEN_BINARY
  • added: export pipe_lines
  • added: export pipe_lines_string
  • added: export pipe_string
  • added: function set_default_engine(engine: str) -> str
  • added: function set_default_format(format: str) -> str
  • added: variable DOT_BINARY
  • added: variable UNFLATTEN_BINARY
  • removed: class ExecutableNotFound(RuntimeError)
  • removed: class RequiredArgumentError(Exception)
  • removed: constructor ExecutableNotFound(args)
  • removed: function pipe(engine: str, format: str, data: bytes, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> bytes
  • removed: function render(engine: str, format: str, filepath, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> str
  • removed: function unflatten(source: str, stagger: typing.Optional[int]=…, fanout: bool=…, chain: typing.Optional[int]=…, encoding: str=…) -> str
  • removed: function version() -> typing.Tuple[int, ...]
  • removed: function view(filepath, quiet: bool=…) -> None
  • removed: variable ENGINES
  • removed: variable FORMATS
  • removed: variable FORMATTERS
  • removed: variable RENDERERS
  • added: export DOT_BINARY
  • added: export ExecutableNotFound
  • added: export Pipe
  • added: export Render
  • added: export RequiredArgumentError
  • added: export UNFLATTEN_BINARY
  • added: export Unflatten
  • added: export View
  • added: export pipe
  • added: export pipe_lines
  • added: export pipe_lines_string
  • added: export pipe_string
  • added: export render
  • added: export unflatten
  • added: export version
  • added: export view
  • added: function command(engine: str, format_: str, *, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…) -> typing.List[typing.Union[os.PathLike, str]]
  • added: variable DOT_BINARY
  • added: class ExecutableNotFound(RuntimeError)
  • added: constructor ExecutableNotFound(args) -> None
  • added: function run_check(cmd: typing.Sequence[typing.Union[os.PathLike, str]], *, input_lines: typing.Optional[typing.Iterator[bytes]]=…, encoding: None=…, capture_output: bool=…, quiet: bool=…, **kwargs) -> subprocess.CompletedProcess | (cmd: typing.Sequence[typing.Union[os.PathLike, str]], *, input_lines: typing.Optional[typing.Iterator[str]]=…, encoding: str, capture_output: bool=…, quiet: bool=…, *…
  • added: class Pipe(parameters.Parameters)
  • added: class Render(parameters.Parameters)
  • added: class Unflatten
  • added: class View
  • added: function pipe(engine: str, format: str, data: bytes, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> bytes
  • added: function pipe_lines(engine: str, format: str, input_lines: typing.Iterator[str], *, input_encoding: str, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> bytes
  • added: function pipe_lines_string(engine: str, format: str, input_lines: typing.Iterator[str], *, encoding: str, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> str
  • added: function pipe_string(engine: str, format: str, input_string: str, *, encoding: str, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> str
  • added: function render(engine: str, format: str, filepath: typing.Union[os.PathLike, str], renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> str
  • added: function unflatten(source: str, stagger: typing.Optional[int]=…, fanout: bool=…, chain: typing.Optional[int]=…, encoding: str=…) -> str
  • added: variable UNFLATTEN_BINARY
  • added: function version() -> typing.Tuple[int, ...]
  • added: variable VERSION_PATTERN
  • added: variable log
  • added: function view(filepath, quiet: bool=…) -> None
  • added: class Base(LineIterable, copying.CopyBase)
  • added: property Base.source -> str
  • added: function doctests(pytestconfig, doctest_namespace)
  • added: function pytest_addoption(parser)
  • added: variable SKIP_EXE
  • added: class CopyBase
  • added: method CopyBase.copy()
  • removed: class Digraph(Dot)
  • removed: class Graph(Dot)
  • removed: property Digraph.directed
  • removed: property Graph.directed
  • added: class DigraphSyntax
  • added: class Dot(quoting.Quote, base.Base)
  • added: class GraphSyntax
  • added: constructor Dot(*, name: typing.Optional[str]=…, comment: typing.Optional[str]=…, graph_attr=…, node_attr=…, edge_attr=…, body=…, strict: bool=…, **kwargs) -> None
  • added: field Dot.directed: bool
  • added: method Dot.attr(kw: typing.Optional[str]=…, _attributes=…, **attrs) -> None
  • added: method Dot.clear(keep_attrs: bool=…) -> None
  • added: method Dot.edge(tail_name: str, head_name: str, label: typing.Optional[str]=…, _attributes=…, **attrs) -> None
  • added: method Dot.edges(tail_head_iter) -> None
  • added: method Dot.node(name: str, label: typing.Optional[str]=…, _attributes=…, **attrs) -> None
  • added: method Dot.subgraph(graph=…, name: typing.Optional[str]=…, comment: typing.Optional[str]=…, graph_attr=…, node_attr=…, edge_attr=…, body=…)
  • added: class Encoding(copying.CopyBase)
  • added: constructor Encoding(*, encoding: typing.Optional[str]=…, **kwargs) -> None
  • added: property Encoding.encoding -> str
  • added: variable DEFAULT_ENCODING
  • removed: class File(Base)
  • removed: class Source(File)
  • removed: constructor File(filename=…, directory=…, format=…, engine=…, encoding=…)
  • removed: constructor Source(source, filename=…, directory=…, format=…, engine=…, encoding=…)
  • removed: field File.directory
  • removed: method File.pipe(format=…, renderer=…, formatter=…, quiet=…)
  • removed: method File.render(filename=…, directory=…, view=…, cleanup=…, format=…, renderer=…, formatter=…, quiet=…, quiet_view=…)
  • removed: method File.save(filename=…, directory=…)
  • removed: method File.unflatten(stagger=…, fanout=…, chain=…)
  • removed: method File.view(filename=…, directory=…, cleanup=…, quiet=…, quiet_view=…)
  • removed: property File.filepath
  • removed: static method Source.from_file(filename, directory=…, format=…, engine=…, encoding=…)
  • added: class Digraph(dot.DigraphSyntax, BaseGraph)
  • added: class Graph(dot.GraphSyntax, BaseGraph)
  • added: property Digraph.directed -> bool
  • added: property Graph.directed -> bool
  • added: class JupyterSvgIntegration(piping.Pipe)
  • removed: function a_list(label: typing.Optional[str]=…, kwargs=…, attributes=…) -> str
  • removed: function attr_list(label: typing.Optional[str]=…, kwargs=…, attributes=…) -> str
  • removed: function escape(s: str) -> NoHtml
  • removed: function nohtml(s: str) -> NoHtml
  • removed: function quote(identifier: str, is_html_string=…, is_valid_id=…, dot_keywords=…, escape_unescaped_quotes=…) -> str
  • removed: function quote_edge(identifier: str) -> str
  • added: export ENGINES
  • added: export FORMATS
  • added: export FORMATTERS
  • added: export Parameters
  • added: export RENDERERS
  • added: export verify_engine
  • added: export verify_format
  • added: export verify_formatter
  • added: export verify_renderer
  • added: class ParameterBase(copying.CopyBase)
  • added: class Engine(base.ParameterBase)
  • added: constructor Engine(*, engine: typing.Optional[str]=…, **kwargs) -> None
  • added: function verify_engine(engine: str, *, required: bool=…) -> None
  • added: property Engine.engine -> str
  • added: variable ENGINES
  • added: class Format(base.ParameterBase)
  • added: constructor Format(*, format: typing.Optional[str]=…, **kwargs) -> None
  • added: function verify_format(format: str, *, required: bool=…) -> None
  • added: property Format.format -> str
  • added: variable FORMATS
  • added: class Formatter(base.ParameterBase)
  • added: constructor Formatter(*, formatter: typing.Optional[str]=…, **kwargs) -> None
  • added: function verify_formatter(formatter: typing.Optional[str], *, required: bool=…) -> None
  • added: property Formatter.formatter -> typing.Optional[str]
  • added: variable FORMATTERS
  • added: class Parameters(engines.Engine, formats.Format, renderers.Renderer, formatters.Formatter)
  • added: class Renderer(base.ParameterBase)
  • added: constructor Renderer(*, renderer: typing.Optional[str]=…, **kwargs) -> None
  • added: function verify_renderer(renderer: typing.Optional[str], *, required: bool=…) -> None
  • added: property Renderer.renderer -> typing.Optional[str]
  • added: variable RENDERERS
  • added: class Pipe(encoding.Encoding, base.Base, backend.Pipe)
  • added: method Pipe.pipe(format: typing.Optional[str]=…, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…, *, engine: typing.Optional[str]=…, encoding: None=…) -> bytes | (format: typing.Optional[str]=…, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…, *, engine: typing.Optional[str]=…, encoding: str) -> str | (format: typing.Optional[s…
  • added: function a_list(label: typing.Optional[str]=…, kwargs=…, attributes=…) -> str
  • added: function attr_list(label: typing.Optional[str]=…, kwargs=…, attributes=…) -> str
  • added: function escape(s: str) -> NoHtml
  • added: function nohtml(s: str) -> NoHtml
  • added: function quote(identifier: str, is_html_string=…, is_valid_id=…, dot_keywords=…, escape_unescaped_quotes=…) -> str
  • added: function quote_edge(identifier: str) -> str
  • added: class Render(saving.Save, backend.Render, backend.View)
  • added: method Render.render(filename=…, directory=…, view: bool=…, cleanup: bool=…, format: typing.Optional[str]=…, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…, quiet_view: bool=…, *, engine: typing.Optional[str]=…) -> str
  • added: method Render.view(filename=…, directory=…, cleanup: bool=…, quiet: bool=…, quiet_view: bool=…) -> str
  • added: class Save(encoding.Encoding, base.Base)
  • added: constructor Save(*, filename, directory=…, **kwargs) -> None
  • added: field Save.directory
  • added: method Save.save(filename=…, directory=…, *, skip_existing: typing.Optional[bool]=…) -> str
  • added: property Save.filepath -> str
  • added: class Source(rendering.Render, saving.Save, jupyter_integration.JupyterSvgIntegration, piping.Pipe, unflattening.Unflatten)
  • added: constructor Source(source: str, filename=…, directory=…, format: typing.Optional[str]=…, engine: typing.Optional[str]=…, encoding: typing.Optional[str]=…, *, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, loaded_from_path: typing.Optional[os.PathLike]=…) -> None
  • added: method Source.save(filename=…, directory=…, *, skip_existing: typing.Optional[bool]=…) -> str
  • added: property Source.source -> str
  • added: static method Source.from_file(filename, directory=…, format: typing.Optional[str]=…, engine: typing.Optional[str]=…, encoding: typing.Optional[str]=…, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…) -> Source
  • changed: function mkdirs(filename, mode: int=…) -> None → function mkdirs(filename, *, mode: int=…) -> None
  • added: class Unflatten(encoding.Encoding, base.Base, backend.Unflatten)
  • added: method Unflatten.unflatten(stagger: typing.Optional[int]=…, fanout: bool=…, chain: typing.Optional[int]=…)