chromic_pdf v0.6.0 Release Notes

Release Date: 2020-11-16 // over 3 years ago
  • ๐Ÿ”„ Changed

    • โš  Elixir version housekeeping. Fixed a warning on Elixir 1.11 by adding :eex to :extra_applications. ChromicPDF now requires Elixir >= 1.10 for its use of Application.compile_env/3.
    • Dropped poolboy in favour of nimble_pool. This renders the max_overflow poolboy option without effect.
    • 0๏ธโƒฃ Made "online mode" the default. Chrome will resolve all URL references unless the global option offline: false is set.

    โž• Added

    • โž• Added telemetry events for the PDF generation & PDF/A conversion.
    • "On Demand" mode allows to start & stop Chrome as needed, much like puppeteer does. This helps in development to prevent leaving behind zombie processes when the BEAM is aborted with Ctrl+C.
    • ๐Ÿ†• New global option discard_stderr allows to enable Chrome's stderr logging which is by default piped to /dev/null.

    ๐Ÿ›  Fixed

    • Graceful shutdown is now actually graceful in that it waits for Chrome to clean up the debugging sessions and close the pipe on its end.