Skip to content

Commit

Permalink
Prepare release 1.3.27
Browse files Browse the repository at this point in the history
- initial script for automating release process
- pom.xml is prepared script
- README.md updated for release 1.3.27
- Contributors updated
  • Loading branch information
asturio committed Mar 5, 2022
1 parent 8e4109b commit 5943187
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 25 deletions.
61 changes: 37 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ and bugreports to this GitHub repository.
[![Join the chat at https://gitter.im/LibrePDF/OpenPDF](https://badges.gitter.im/LibrePDF/OpenPDF.svg)](https://gitter.im/LibrePDF/OpenPDF)
[![Join the chat at https://gitter.im/LibrePDF/code_of_conduct](https://badges.gitter.im/LibrePDF/code_of_conduct.svg)](https://gitter.im/LibrePDF/code_of_conduct)

## OpenPDF version 1.3.26 released 2021-05-02 ##
## OpenPDF version 1.3.27 released 2022-02-22 ##

Get version 1.3.26 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.26
Get version 1.3.27 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.27

- [Previous releases](https://github.com/LibrePDF/OpenPDF/releases)

Expand All @@ -28,7 +28,7 @@ Add this to your pom.xml file to use the latest version of OpenPDF:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.3.26</version>
<version>1.3.27</version>
</dependency>
```

Expand Down Expand Up @@ -108,7 +108,6 @@ jar. If you want to use the bundled UTF-8 fonts, please add the following depend
and use the class `org.librepdf.openpdf.fonts.Liberation`.

```xml

<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-fonts-extra</artifactId>
Expand All @@ -117,19 +116,21 @@ and use the class `org.librepdf.openpdf.fonts.Liberation`.
```

### Supporting complex glyph substitution/ Ligature substitution: ###
OpenPDF supports glyph substitution which is required for correct rendering of fonts ligature substitution requirements.
FOP dependency is required to enable this feature.
Refer following wiki for details: [wiki](https://github.com/LibrePDF/OpenPDF/wiki/Multi-byte-character-language-support-with-TTF-fonts)

OpenPDF supports glyph substitution which is required for correct rendering of fonts ligature substitution requirements.
FOP dependency is required to enable this feature. Refer following wiki for
details: [wiki](https://github.com/LibrePDF/OpenPDF/wiki/Multi-byte-character-language-support-with-TTF-fonts)

### Supporting OpenType layout, glyph positioning, reordering and substitution: ###
OpenPDF supports OpenType layout, glyph positioning, reordering and substitution which is e.g. required for correct positioning
of accents, the rendering of non-Latin and right-to-left scripts. OpenPDF supports DIN 91379.

OpenPDF supports OpenType layout, glyph positioning, reordering and substitution which is e.g. required for correct
positioning of accents, the rendering of non-Latin and right-to-left scripts. OpenPDF supports DIN 91379.
See: [wiki](https://github.com/LibrePDF/OpenPDF/wiki/Accents,-DIN-91379,-non-Latin-scripts)

### Optional: ###

- [BouncyCastle](https://www.bouncycastle.org/) (BouncyCastle is used to sign PDF files, so it's a
recommended dependency)
- [BouncyCastle](https://www.bouncycastle.org/) (BouncyCastle is used to sign PDF files, so it's a recommended
dependency)
- Provider (`org.bouncycastle:bcprov-jdk15on` or `org.bouncycastle:bcprov-ext-jdk15on` depending
on which algorithm you are using)
- PKIX/CMS (`org.bouncycastle:bcpkix-jdk15on`)
Expand All @@ -150,47 +151,59 @@ In GitHub User alphabetical order.
* [@tlxtellef](https://github.com/tlxtellef) - Tellef

### Contributors ###

* [@abdullahcevik](https://github.com/abdullahcevik) - Abdullah Çevik
* [@albfernandez](https://github.com/albfernandez) - Alberto Fernández
* [@andreasrosdal](https://github.com/andreasrosdal) - Andreas Røsdal - Maintainer of OpenPDF from 1.0 to 1.3.15, now retired from OpenPDF development.
* [@andreasrosdal](https://github.com/andreasrosdal) - Andreas Røsdal - Maintainer of OpenPDF from 1.0 to 1.3.15, now
retired from OpenPDF development.
* [@applikationsprogramvara](https://github.com/applikationsprogramvara)
* [@armin-weber](https://github.com/armin-weber)
* [@bradh](https://github.com/bradh) - Brad Hards
* [@bsanchezb](https://github.com/bsanchezb) - Aleksandr Beliakov
* [@bsmelo](https://github.com/bsmelo) - Bruno Melo
* [@chrismaster](https://github.com/chrismaster) - Chris Master
* [@codecracker2014](https://github.com/codecracker2014)
* [@codecracker2014](https://github.com/codecracker2014) - Gajendra Kumar
* [@dandybudach](https://github.com/dandybudach) - Dandy Budach
* [@entrix](https://github.com/entrix)
* [@glarfs](https://github.com/glarfs)
* [@harrati](https://github.com/harrati)
* [@harrati](https://github.com/harrati) - Youssef Harrati
* [@jeffrey-easyesi](https://github.com/jeffrey-easyesi)
* [@jherkel](https://github.com/jherkel)
* [@jokimaki](https://github.com/jokimaki)
* [karolbe](https://github.com/karolbe) - Karol Bryd
* [@Kindrat](https://github.com/Kindrat)
* [@jherkel](https://github.com/jherkel) - Jakub Herkel
* [@jokimaki](https://github.com/jokimaki) - Juha Jokimäki
* [@karolbe](https://github.com/karolbe) - Karol Bryd
* [@Kindrat](https://github.com/Kindrat) - Oleksii
* [@kwart](https://github.com/kwart) - Josef Cacek
* [@lapo-luchini](https://github.com/lapo-luchini) - Lapo Luchini
* [@laurerunser](https://github.com/laurerunser) - Laure Runser
* [@macromogic](https://github.com/macromogic)
* [@mahdilamb](https://github.com/mahdilamb)
* [@mahdilamb](https://github.com/mahdilamb) - Mahdi Lamb
* [@MartinKocour](https://github.com/MartinKocour) - Martin Kocour
* [@mluppi](https://github.com/mluppi) - M. Luppi
* [@mluppi](https://github.com/mluppi) - Matthias Luppi
* [@mppperez](https://github.com/mppperez) - Marco Postigo Perez
* [@MrSkip](https://github.com/MrSkip) - Dmytro Mula
* [@nfmueller](https://github.com/nfmueller)
* [@noavarice](https://github.com/noavarice)
* [@PalAditya](https://github.com/PalAditya) - Aditya Pal
* [@prashantbhat](https://github.com/prashantbhat) - Prashant Bhat
* [@rammetzger](https://github.com/rammetzger)
* [@RangerMak](https://github.com/RangerMak)
* [@razilein](https://github.com/razilein) - Sita Geßner
* [@salsolatragus](https://github.com/salsolatragus) - Sven Amann
* [@sa-sh](https://github.com/sa-sh)
* [@sixdouglas](https://github.com/sixdouglas) - Douglas Six
* [@suiaing](https://github.com/suiaing)
* [@sullis](https://github.com/sullis)
* [@SuperPat45](https://github.com/SuperPat45)
* [@syakovyn](https://github.com/syakovyn)
* [@syakovyn](https://github.com/syakovyn) - Serhiy Yakovyn
* [@tia-99](https://github.com/tia-99)
* [@Tonny-Gu](https://github.com/Tonny-Gu) - NekoDaemon
* [@Transzendental](https://github.com/Transzendental)
* [@ubermichael](https://github.com/ubermichael) - Michael Joyce
* [@VedranSlankovic](https://github.com/VedranSlankovic)
* [@V-F](https://github.com/V-F)
* [@vic0075](https://github.com/vic0075)
* [@vk-github18](https://github.com/vk-github18)
* [@weiyeh](https://github.com/weiyeh)
* [@vic0075](https://github.com/vic0075) - Vikash Tiwari
* [@vk-github18](https://github.com/vk-github18) - Volker Kunert
* [@weiyeh](https://github.com/weiyeh) - Wei-Yeh Lee
* [@Wugengxian](https://github.com/Wugengxian)
* [@ymasory](https://github.com/ymasory)

Expand Down
47 changes: 47 additions & 0 deletions changelogs/1.3.27.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# 1.3.27

## Changes

- Add reference to LayoutProcessor to README
- Balancing market content operators when using without properties
- Extend HeaderFooter functionality to create without before Phrase part
- Fix #300: codewords padding for Macro PDF417-macro barcodes
- Fix #392 updated: FontSelector.Process should NOT skip characters
- Fix #408: ConcurrentModificationException in FontFactory
- Fix #513: attach file with unicode name
- Fix #534: Justified Text not supporting RTL
- Fix #536: setSkipFirstHeader not working
- Fix #556: Example Manually positioning text on the pdf
- Fix #573: Example Adding bookmarks for lists and list items
- Fix #580: NullPointerException in SimpleBookmark.getBookmark()
- Fix #584: Add motivations to add FOP
- Fix #587: Set Font in PdfGraphics2D not working/PdfGraphics2D manipulates set Font
- Fix #610: Remove ITXT from PdfName
- Fix #623: Make BaseFont subset prefix generation deterministic
- Fix #629: Infinite loop in xref table causes OOM
- Fix NPE in PdfSmartCopy for some maybe corrupted files
- Fix possible ArrayIndexOutOfBoundsException
- Fix (related to LibrePDF/OpenPDF5#7: LineSeparator prints out OBJECT_REPLACEMENT_CHARACTER
- HTTP Proxy in OCSP and TSA clients and other config for TSA
- Minor code cleanups
- Prevent ClassCastExceptions for PdfNull object during signing PDF docs
- Remove dependency on javax.annotation
- Update PdfDocument skipFirstHeader fixed
- Corrected some license issues
- Minor example changes

## Updated dependencies:

- Bump assertj-core from 3.19.0 to 3.22.0
- Bump bouncycastle.version from 1.68 to 1.69
- Bump checkstyle from 8.42 to 9.3
- Bump commons-io from 2.8.0 to 2.11.0
- Bump junit.version from 5.7.1 to 5.8.2
- Bump maven-bundle-plugin from 5.1.2 to 5.1.4
- Bump maven-compiler-plugin from 3.8.1 to 3.10.0
- Bump maven-gpg-plugin from 1.6 to 3.0.1
- Bump maven-jar-plugin from 3.2.0 to 3.2.2
- Bump maven-javadoc-plugin from 3.2.0 to 3.3.2
- Bump mockito-core from 3.9.0 to 4.3.1
- Bump nexus-staging-maven-plugin from 1.6.8 to 1.6.11
- Bump pitest-junit5-plugin from 0.14 to 0.15
67 changes: 67 additions & 0 deletions createRelease.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#!/bin/bash

if [ "x$LIBREPDF_ORIGIN" == "x" ]
then
echo "Please set LIBREPDF_ORIGIN to the origin-name of the librepdf repository on github."
echo "This could be 'origin' or any name you declared to be that origin."
exit
fi

if [ $# -ne 1 ]
then
echo "Please give the NEXT SNAPSHOT version number (without -SNAPSHOT)"
exit
fi

VERSION=$(grep "<version>" pom.xml | head -1 | sed "s/.*<version>\([0-9.]*\)-SNAPSHOT<\/version>.*/\1/")
NEW_VERSION=${1}-SNAPSHOT

cat << EOD
Will set Version to ${VERSION} and next Snapshot to ${NEW_VERSION}.
Things to do before you continue:
- Update the README.md, so the new Release is mentioned there
- Create a ChangeLog for this release
- Update the contributors and credits
Press ENTER to continue. Ctrl-C to stop.
EOD
read ignored

echo "1. Setting release version: ${VERSION}"
mvn versions:set -DnewVersion="${VERSION}"

echo "2. Test build"
mvn clean install
[ $? -eq 0 ] || echo "Errors. Exiting." && exit

echo "3. Commit changes and tag"
git commit -a -m "Set version to ${VERSION}" && git tag "${VERSION}"

echo "4. Make a staging release"
mvn clean deploy
RC=$?

if [ $RC -eq 0 ]
then
cat << EOD
Staging Release seems to be created. Please review it at https://oss.sonatype.org/#stagingRepositories
if everything seems fine, hit ENTER. Else break this script with Ctrl-C.
EOD
else
echo "Something went wrong. Please switch to manual deploy."
echo "(look at https://github.com/LibrePDF/OpenPDF/wiki/Release-Process)"
exit
fi

echo "5. Deploy release."
mvn nexus-staging:release

echo "6. Finishing."
echo " - set next SNAPSHOT to $NEW_VERSION"
mvn versions:set -DnewVersion="$NEW_VERSION"
echo " - commit changes"
git commit -a -m "Set new Snapshot to $NEW_VERSION"
echo " - push all to github"
git push "${LIBREPDF_ORIGIN}" --tags

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.librepdf</groupId>
<artifactId>openpdf-parent</artifactId>
<version>1.3.27-SNAPSHOT</version>
<version>1.3.27-SNAPSHOT</version> <!-- artifact.version -->
<packaging>pom</packaging>

<!-- please run mvn tidy:pom once in a while -->
Expand Down

0 comments on commit 5943187

Please sign in to comment.