Submitted by Bruno Lowagie on Wed, 06/08/2011 - 08:46.
iText is no longer compiled using the JDK 1.4, but with Java 5 (introduction of generics).
All com.lowagie.* packages have been renamed to com.itextpdf.*.
In 5.0.0, we've removed all RTF, XML and HTML support. XML/HTML parsing is reintroduced in the 5.1.x versions in combination with XML Worker. Everything before XML Worker 1.0.0 should be considered beta.
Table and Cell have been removed in favor of PdfPTable and PdfPCell.
HeaderFooter has been removed in favor of page events.
The use of java.awt.Color has been reduced; we've introduced our own BaseColor class.
We've introduced "sanity checks" for unbalanced saveState()/restoreState() and beginText()/endText() sequences (if you had such unbalanced sequences, there was a bug in your application, but you may not have noticed it).
And last but not least: The LGPL/MPL changed into AGPL.
Submitted by Bruno Lowagie on Tue, 06/14/2011 - 08:18.
If you're upgrading from older versions, make sure you have the BouncyCastle jars in your CLASSPATH. The BouncyCastle classes used to be shipped with the iText jar, but they were removed in iText 2.0.0.
Overview of major changes
Submitted by Bruno Lowagie on Wed, 06/08/2011 - 08:46.iText is no longer compiled using the JDK 1.4, but with Java 5 (introduction of generics).
All
com.lowagie.*packages have been renamed tocom.itextpdf.*.In 5.0.0, we've removed all RTF, XML and HTML support. XML/HTML parsing is reintroduced in the 5.1.x versions in combination with XML Worker. Everything before XML Worker 1.0.0 should be considered beta.
TableandCellhave been removed in favor ofPdfPTableandPdfPCell.HeaderFooterhas been removed in favor of page events.The use of
java.awt.Colorhas been reduced; we've introduced our ownBaseColorclass.We've introduced "sanity checks" for unbalanced
saveState()/restoreState()andbeginText()/endText()sequences (if you had such unbalanced sequences, there was a bug in your application, but you may not have noticed it).And last but not least: The LGPL/MPL changed into AGPL.
BouncyCastle
Submitted by Bruno Lowagie on Tue, 06/14/2011 - 08:18.If you're upgrading from older versions, make sure you have the BouncyCastle jars in your CLASSPATH. The BouncyCastle classes used to be shipped with the iText jar, but they were removed in iText 2.0.0.