Skip to content

Rename html_to_pdf APIs to render and render_to_file - #15

Merged
dixpac merged 1 commit into
mainfrom
dix/rename_methods_for_nicer_api
Aug 15, 2026
Merged

Rename html_to_pdf APIs to render and render_to_file#15
dixpac merged 1 commit into
mainfrom
dix/rename_methods_for_nicer_api

Conversation

@dixpac

@dixpac dixpac commented Aug 15, 2026

Copy link
Copy Markdown
Member

BREAKING CHANGE: PagePrint.html_to_pdf_string is now PagePrint.render. PagePrint.html_to_pdf is now PagePrint.render_to_file. No aliases.

These are Ruby names for a Ruby gem. PlutoBook still uses load_html plus write_to_pdf; this wrapper never needed to echo that.

BREAKING CHANGE: PagePrint.html_to_pdf_string is now PagePrint.render.
PagePrint.html_to_pdf is now PagePrint.render_to_file. No aliases.

These are Ruby names for a Ruby gem. PlutoBook still uses load_html plus
write_to_pdf; this wrapper never needed to echo that.
@dixpac
dixpac merged commit 3bbe4ee into main Aug 15, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant