Skip to content

Releases: DJDuque/pgfplots

Release v0.5.1

08 Jan 08:59
a121b43
Compare
Choose a tag to compare

Small quality-of-life improvement. I just noticed that I construct the PathBuf to the newly-generated PDF every time after calling Picture::to_pdf. Just return the path from the function instead.

Release v0.5.0

05 Jan 06:52
b8e734b
Compare
Choose a tag to compare

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.

Release v0.4.1

01 Dec 01:40
5ab78bd
Compare
Choose a tag to compare

Fix opening PDF figures on macOS with the inclusive feature to use the default PDF viewer correctly.

Release v0.4.0

20 Jun 00:51
d05b626
Compare
Choose a tag to compare

What's Changed

This release introduces a small "breaking" change on the public API. Almost all code should still compile correctly, otherwise a trivial type annotation will make code compile correctly again.

After constantly using the library for multiple private projects, I believe that the public API is unlikely to change again (apart from adding new features, and supporting more PGFPlots keys).

Full Changelog: v0.3.1...v0.4.0

Release v0.3.1

05 Jun 22:45
2d72ecb
Compare
Choose a tag to compare

Quick fix to README figures in crates.io

Release v0.3.0

05 Jun 22:23
26ce095
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.3.0

New `inclusive` feature

26 May 05:23
ae1a04f
Compare
Choose a tag to compare

Thanks to the tectonic crate, this will allow users to generate figures without having a LaTeX distribution installed in their system. Tectonic is a big project, orders of magnitude more complex than this PGFPlots code generator. For this reason, the tectonic crate is "hidden" behind the inclusive feature for people that want to view plots directly. For people that already have a LaTeX distribution, it is recommended to compile the LaTeX code directly (it reduces significantly compilation and processing times).

What's Changed

Full Changelog: v0.1.0...v0.2.0

Release v0.1.0

24 May 01:35
Compare
Choose a tag to compare