danfickle / openhtmltopdf

An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.91k stars 355 forks source link

Upload to maven central via bintray. #7

Open danfickle opened 8 years ago

danfickle commented 8 years ago

Created Jira support ticket to claim com.openhtmltopdf group id today.

danfickle commented 8 years ago

OK, I uploaded the release (0.0.1-RC2) to bintray. The next step is to request inclusion in Jcenter which I have done. Once it is there, it can be synced to maven central.

On a side note, NPM (the Node.js package manager) is perhaps too easy to publish to but maven and bintray unfortunately take the difficulty to a whole new level.

danfickle commented 8 years ago

The commands to prepare a release and then cunduct a deployment are below for reference:

mvn -DdryRun=false -Dusername=ghusername -Dpassword=ghpassword -DautoVersionSubmodules=true release:prepare

mvn -DdryRun=false -Dusername=ghusername -Dpassword=ghpassword release:perform
danfickle commented 8 years ago

OK, jars are now in jcenter and the sonatype releases staging repository. The next step is for sonatype to sync them with maven central repository. Nearly there.

The version which should soon appear in maven central is 0.0.1-RC2.

danfickle commented 8 years ago

We are in maven!

danfickle commented 8 years ago

@scoldwell @aleksandr-m The latest maven version is 0.0.1-RC3

danfickle commented 8 years ago

@scoldwell - As promised, 0.0.1-RC4 should soon appear in maven central.

scoldwell commented 8 years ago

@danfickle thanks so much. We will be testing this today

aleksandr-m commented 8 years ago

@danfickle New version of Struts2 PDF Stream Plugin is released, which uses openhtmltopdf 0.0.1-RC4. Thank you for your work. Looking forward to see more releases of openhtmltopdf.

danfickle commented 7 years ago

OK, 0.0.1-RC5 was just synced to maven central. It could take a few hours before it appears.

danfickle commented 7 years ago

0.0.1-RC7 was just synced to maven central. RC6 was skipped because of problems with the maven release plugin working with git. PLEASE NOTE: This is a SECURITY release. If you are allowing arbitrary XHTML from untrusted users, you may be at risk. Please see issue #44 for more details.

danfickle commented 7 years ago

@achuinard

0.0.1-RC8 was just synced to maven central. This is a small release, with just initial support for CSS3 transform property and max-width and max-height support for images.

danfickle commented 7 years ago

Another small release, RC9 is now on Maven Central. This mainly fixes issue #52 (Abode Reader prompts for saving on close).

danfickle commented 7 years ago

RC10 has been released to Maven. Added features are:

Most of the work for this release was by @rototor so huge thanks.

danfickle commented 7 years ago

RC11 has been released to Maven. Added features and fixes:

Big thanks again to @rototor

danfickle commented 6 years ago

RC-12 has been released. There is a fair bit going on in this release so please test before use. Change log in readme. Another thanks to PR contributors.

danfickle commented 6 years ago

RC-13 has been released. Big thanks to contributors! This is a big release (I'll try to do releases more often in the future) and the change-log sits below. Also remember to have your say on roadmap for version 1.

Note: Shaped links only work in Acrobat Reader. All other PDF reader seem to ignore them.

danfickle commented 6 years ago

RC-14 was just released with the latest version of PDF-BOX. Release notes below:

0.0.1-RC14

danfickle commented 6 years ago

RC15 was just released to maven central:

0.0.1-RC15

danfickle commented 5 years ago

RC16 was just released to Maven Central:

0.0.1-RC16

danfickle commented 5 years ago

We’re also thinking of moving to a java 8 requirement. If you object, please make your case in the java 8 issue. Thanks.

danfickle commented 5 years ago

RC17 released due to security issue with Apache Batik:

0.0.1-RC17

danfickle commented 5 years ago

RC18 finally released with fast renderer!

0.0.1-RC18 (2019-March-10)

Thanks to these people for pull-requests:

Finally, a big thanks to all issue reporters and extra thanks to those who help out in issues.

danfickle commented 5 years ago

RC19 was just released. This release was brought forward to deal with #336.

0.0.1-RC19 (2019-March-18)

danfickle commented 5 years ago

RC20 released!

0.0.1-RC20 (2019-April-26)

IMPORTANT: This release was brought forward due to a CVE in PDFBOX. While not directly affecting this project (it affects parsing of untrusted PDFs), it is better not to have a vulnerable library on your classpath.

danfickle commented 5 years ago

RC21 has arrived:

0.0.1-RC21 (2019-June-29)

Also documented Latex support on Wiki.

danfickle commented 5 years ago

Finally, by special request (#367), I've just released version 1.0.0 to maven central. It should be noted that the 1.0.0 version moniker is suitable for the PDF output side which is what most users are using. The much lesser used Java2D output still needs some work to get to 1.0.0 standard.

Notes

1.0.0 (2019-July-23)

ieugen commented 5 years ago

Since we do have version 1, we could have that pushed to master ? It is a good practice to have master track latest stable. A nice workflow is described here https://nvie.com/posts/a-successful-git-branching-model/ . It is very well suited for collaboration. We use it successfully in our internal project.

danfickle commented 4 years ago

Hi all, I just released 1.0.1. Big thanks to @syjer for fixing many longstanding issues.

1.0.1 (2019-November-18)

danfickle commented 4 years ago

Hi everyone, just released 1.0.2. Enjoy.

1.0.2 (2020-February-25)

danfickle commented 4 years ago

Released 1.0.3. Consider this a security release (see below). Thank you all.

1.0.3 (2020-May-25)

danfickle commented 4 years ago

IMPORTANT: Another endless loop bug has been found with break-word and certain fonts (#491). We're trying to make this more robust and will do another release in coming days. In the meantime, I'm advising against the use of break-word in production.

danfickle commented 4 years ago

Just synced to maven:

1.0.4 (2020-July-25)

danfickle commented 3 years ago

Release day is finally here. Thanks to all contributors, debuggers and issue reporters.

1.0.5 (2020-November-30)

SECURITY: #609 Updates Apache Batik SVG renderer to latest version to avoid security issue. If you are using this project to render untrusted SVGs (advised against), you should update immediately. Thanks a lot @halvorbmundal.

IMPORTANT: The fast renderer is now the default in preparation of removing the old slow renderer. To temporarily use the slow renderer, you can call the deprecated method builder.useSlowMode() (PDF output only).

IMPORTANT: #543 This version stays on PDFBOX version 2.0.20 due to a bug with non-breaking spaces in version 2.0.21. Please make sure version 2.0.21 is not on your classpath. This bug has been fixed in the upcoming 2.0.22.

danfickle commented 3 years ago

Sorry to release this late in the year but it addresses a serious bug with break-word and floating elements.

1.0.6 (2020-December-22)

IMPORTANT: #615 This is a bug fix release for an endless loop issue when using break-word with floating elements with a top/bottom margin.

danfickle commented 3 years ago

1.0.7 released finally!

1.0.7 (2021-March-19)

paulterinho commented 3 years ago

Thanks Dan!

On Fri, Mar 19, 2021 at 07:56 danfickle @.***> wrote:

1.0.7 released finally! 1.0.7 (2021-March-19)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/danfickle/openhtmltopdf/issues/7#issuecomment-802781352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLE2AFXBQCDM2RFLERL5PLTEM3W3ANCNFSM4B2Q5DOA .

stechio commented 3 years ago

Thank you, @danfickle!

I'm sorry, but I belatedly discovered an issue about #666: it doesn't work in case of absolutely-positioned elements.

danfickle commented 3 years ago

Just rushed to release this:

1.0.8 (2021-March-22)

SECURITY RELEASE

NOTE: These CVEs relate to the loading of untrusted PDFs in PDFBOX and thus this project is not directly affected. However, it is not a good idea to have CVEs on your classpath.

vader commented 3 years ago

Thanks so much!

You are amazing.

danfickle commented 3 years ago

Just released:

1.0.9 (2021-June-18)

SECURITY RELEASE: This release was brought forward due to security releases of the PDFBOX and Batik dependencies.

NOTE: PDFBOX CVEs relate to the loading of untrusted PDFs in PDFBOX and thus this project is not directly affected. However, it is not a good idea to have CVEs on your classpath.

GENERAL:

danfickle commented 3 years ago

Just released. There is a lot of work gone into footnote support so I hope it is useful for someone! You can try footnotes at the sandbox.

1.0.10 (2021-September-13)

NOTE: After this release the old slow renderer will be deleted. Fast mode has been the default (since 1.0.5) so you only have to check your code if you are calling the useSlowMode method which will be removed.