Upgrading graphviz 0.18 to 0.19
Unknown0.18.2 → 0.19.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.
In plain terms
- 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.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Python requirement changed in 0.19.2: >=3.6 → >=3.7.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
function set_default_engine(engine: str) -> str - removed:
function set_default_format(format: str) -> str - added:
export CalledProcessError - added:
export FileExistsError - added:
export FormatSuffixMismatchWarning - added:
export SUPPORTED_JUPYTER_FORMATS - added:
export UnknownSuffixWarning - added:
export set_default_engine - added:
export set_default_format - added:
export set_jupyter_format - added:
variable CalledProcessError - added:
variable FileExistsError - added:
variable FormatSuffixMismatchWarning - added:
variable SUPPORTED_JUPYTER_FORMATS - added:
variable UnknownSuffixWarning
- removed:
export RequiredArgumentError - added:
export CalledProcessError
- changed:
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=…, *… → function run_check(cmd: typing.Sequence[typing.Union[os.PathLike, str]], *, input_lines: typing.Optional[typing.Iterator[bytes]]=…, encoding: None=…, quiet: bool=…, **kwargs) -> subprocess.CompletedProcess | (cmd: typing.Sequence[typing.Union[os.PathLike, str]], *, input_lines: typing.Optional[typing.Iterator[str]]=…, encoding: str, quiet: bool=…, **kwargs) -> subprocess.CompletedProcess | (cmd:… - added:
class CalledProcessError(subprocess.CalledProcessError)
- changed:
function render(engine: str, format: str, filepath: typing.Union[os.PathLike, str], renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…) -> str → function render(engine: str, format: str, filepath: typing.Union[os.PathLike, str], renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…, *, outfile: typing.Union[os.PathLike, str, None]=…, raise_if_result_exists: bool=…, overwrite_filepath: bool=…) -> str | (engine: str, format: typing.Optional[str]=…, filepath: typing.Union[os.PathLike, str, None]=…, renderer: typi… - added:
function get_filepath(outfile: typing.Union[os.PathLike, str]) -> pathlib.Path - added:
function get_format(outfile: pathlib.Path, *, format: typing.Optional[str]) -> str
- changed:
function view(filepath, quiet: bool=…) -> None → function view(filepath: typing.Union[os.PathLike, str], quiet: bool=…) -> None
- removed:
function doctests(pytestconfig, doctest_namespace) - removed:
function pytest_addoption(parser) - removed:
variable SKIP_EXE
- added:
class FileExistsError(FileExistsError) - added:
class FormatSuffixMismatchWarning(UserWarning) - added:
class RequiredArgumentError(TypeError) - added:
class UnknownSuffixWarning(RuntimeWarning) - added:
export CalledProcessError - added:
export ExecutableNotFound
- removed:
class JupyterSvgIntegration(piping.Pipe) - added:
class JupyterIntegration(piping.Pipe) - added:
function get_jupyter_format_mimetype(jupyter_format: str) -> str - added:
variable DEFAULT_JUPYTER_FORMAT - added:
variable JUPYTER_FORMATS - added:
variable SUPPORTED_JUPYTER_FORMATS
- changed:
function escape(s: str) -> NoHtml → function escape(s: str) -> str - changed:
function nohtml(s: str) -> NoHtml → function nohtml(s: str) -> str
- changed:
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 → method Render.render(filename: typing.Union[os.PathLike, str, None]=…, directory: typing.Union[os.PathLike, str, None]=…, view: bool=…, cleanup: bool=…, format: typing.Optional[str]=…, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…, quiet: bool=…, quiet_view: bool=…, *, outfile: typing.Union[os.PathLike, str, None]=…, engine: typing.Optional[str]=…, raise_if_result_exists: bo… - changed:
method Render.view(filename=…, directory=…, cleanup: bool=…, quiet: bool=…, quiet_view: bool=…) -> str → method Render.view(filename: typing.Union[os.PathLike, str, None]=…, directory: typing.Union[os.PathLike, str, None]=…, cleanup: bool=…, quiet: bool=…, quiet_view: bool=…) -> str
- changed:
constructor Save(*, filename, directory=…, **kwargs) -> None → constructor Save(*, filename: typing.Union[os.PathLike, str], directory: typing.Union[os.PathLike, str, None]=…, **kwargs) -> None - changed:
field Save.directory → field Save.directory: str - changed:
method Save.save(filename=…, directory=…, *, skip_existing: typing.Optional[bool]=…) -> str → method Save.save(filename: typing.Union[os.PathLike, str, None]=…, directory: typing.Union[os.PathLike, str, None]=…, *, skip_existing: typing.Optional[bool]=…) -> str
- changed:
class Source(rendering.Render, saving.Save, jupyter_integration.JupyterSvgIntegration, piping.Pipe, unflattening.Unflatten) → class Source(rendering.Render, saving.Save, jupyter_integration.JupyterIntegration, piping.Pipe, unflattening.Unflatten) - changed:
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 → constructor Source(source: str, filename: typing.Union[os.PathLike, str, None]=…, directory: typing.Union[os.PathLike, str, None]=…, 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 - changed:
method Source.save(filename=…, directory=…, *, skip_existing: typing.Optional[bool]=…) -> str → method Source.save(filename: typing.Union[os.PathLike, str, None]=…, directory: typing.Union[os.PathLike, str, None]=…, *, skip_existing: typing.Optional[bool]=…) -> str - changed:
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 → static method Source.from_file(filename: typing.Union[os.PathLike, str], directory: typing.Union[os.PathLike, str, None]=…, format: typing.Optional[str]=…, engine: typing.Optional[str]=…, encoding: typing.Optional[str]=…, renderer: typing.Optional[str]=…, formatter: typing.Optional[str]=…) -> Source
- removed:
function attach(object: typing.Any, name: str) -> typing.Callable - removed:
function mapping_items(mapping) - removed:
function mkdirs(filename, *, mode: int=…) -> None
- changed:
method Unflatten.unflatten(stagger: typing.Optional[int]=…, fanout: bool=…, chain: typing.Optional[int]=…) → method Unflatten.unflatten(stagger: typing.Optional[int]=…, fanout: bool=…, chain: typing.Optional[int]=…) -> graphviz.Source