Skip to content

Release v0.5.0

Compare
Choose a tag to compare
@DJDuque DJDuque released this 05 Jan 06:52
· 1 commit to main since this release
b8e734b

This new release introduces some breaking changes (they are 100% worth it in my biased opinion):

  • The API for compiling and showing a figure has simplified significantly when the tectonic feature is not enabled. This will not break old code that ran e.g. pdflatex directly using the standalone_string(), but it provides a much easier way of compiling a pdf (Picture::from(plot).to_pdf(Engine::PdfLatex)) and showing (Picture::from(plot).show_pdf(Engine::PdfLatex)).

    This will break old code that used the inclusive feature in the following ways:

    1. The inclusive feature no longer exists. It has been renamed to tectonic.
    2. You will need to change plot.show() for Picture::from(plot).show_pdf(Engine::Tectonic). This is a little bit more verbose, but is consistent with the non-tectonic way of viewing a plot.
  • Additionally error handling is now done properly using the thiserror crate.