JasperReports Library Changelog

What's new in JasperReports Library 6.3.0

Oct 1, 2016
  • upgrade to Java 7; starting with this release, the binary distribution of the JR library is compiled for the Java 7 platform and is no longer guaranteed to be compatible with Java 6;
  • deprecation of DTD based validation for style template files (*.jrtx) and introduction of XML schema based validation;
  • minor bug fixes and improvements;

New in JasperReports Library 6.1.0 (May 26, 2015)

  • support for multiple JSON metadata export properties attached to same report element to allow more flexibility in report data exports;
  • improvements in QRCode barcodes rendering;
  • configuration property added to control the addition of a BOM character at the beginning of CSV export files;
  • minor bug fixes and improvements;

New in JasperReports Library 6.0.4 (Apr 18, 2015)

  • support for pluggable data file locations in file-based data adapters, with default implementations for remote HTTP data files;
  • new report data source implementation able to consume a list of JSON files provided as input;internationalization of exceptions raised by the JasperReports Library with the introduction of exception error codes that serve as message keys in translation bundles;
  • downgrade to iText version 2.1.7 and distribution of this third party library under the terms of the Mozilla Public License version 1.1;
  • support for gutter margins in PDF export with the introduction of export configuration properties to allow setting different left and right margins for odd and even pages;
  • ability to ignore text formatting in all Excel exporters using newly added export configuration property;
  • minor bug fixes and improvements;

New in JasperReports Library 6.0.3 (Feb 7, 2015)

  • minor bug fixes and improvements;

New in JasperReports Library 6.0.2 (Feb 5, 2015)

  • throw specific exception net.sf.jasperreports.export.ExportInterruptedException on all report export interruption events;
  • differentiate between text align properties and image align properties by adding specific properties and enumerations in object model and deprecating the existing ones; - support for QR Code barcodes in barcode4j component;
  • support for pluggable remote file provider in all file-based data adapters;
  • minor bug fixes and improvements;

New in JasperReports Library 6.0.0 (Nov 27, 2014)

  • New type of report template called "report book" was added, in which sections are made of parts instead of bands; parts are external report templates, similar to subreports, and allow creation of documents with variable page size and/or orientation; parts can be displayed on separate tabs by report viewers and simplify creation of "table of contents" structures in which parts that appear early in the document are actually filled/rendered later during the report filling process (see evaluationTime attribute of part);
  • New JSON metadata exporter added, similar to the XLS and CSV metadata exporters in which the values that need to be exported have to be marked-up using configuration properties at text element level;
  • Upgrade to iText version 5.5.0 in the PDF exporter;
  • Upgrade to POI version 3.10.1 in the XLS exporter and data source;
  • Minor bug fixes and improvements;

New in JasperReports Library 5.6.1 (Sep 9, 2014)

  • Minor bug fixes and improvements.

New in JasperReports Library 5.6.0 (May 29, 2014)

  • new overflowType attribute available for subreport elements to control subreport runtime stretch behavior.
  • minor bug fixes and improvements.

New in JasperReports Library 5.5.2 (Apr 29, 2014)

  • new API for setting exporter's input, output and configuration, which replaces the now deprecated parameter based exporter configuration;
  • The JRExporterParameter class and its subclasses are now deprecated and replaced by ExporterInput, ExporterOutput and ExporterConfiguration interfaces and their subinterfaces and convenience implementations;
  • new Apache POI based metadata XLS exporter (JRXlsMetadataExporter class), which replaces the now deprecated JExcelApi based metadata exporter (JExcelApiExporter class);
  • all JExcelApi based XLS exporters (JExcelApiExporter and JExcelApiMetadataExporter) are now deprecated and should no longer be used as they will no longer be maintained and will be completely removed from the library sometime in the future; The JRXlsExporter, JRXlsMetadataExporter (both Apache POI based) and JRXlsxExporter implementations should be used instead;
  • new Apache POI based XLS report data source (XlsDataSource class), which replaces the now deprecated JExcelApi based data source (JRXlsDataSource class);
  • new Excel data adapter implementation, with ability to auto-detect Excel file format (XLS 2003 or XLSX 2007); sample provided under the /demo/samples/exceldataadapter folder of the project source distro;
  • the older HTML and XHTML exporters (JRHtmlExporter and JRXhtmlExporter) are now deprecated and should no longer be used as they will no longer be maintained and will be completely removed from the library sometime in the future; The newer HtmlExporter implementation should be used instead;
  • new title cell added to crosstab element structure, to allow align content with dynamic width crosstabs;
  • added new PDF exporter configuration properties (net.sf.jasperreports.export.pdf.permissions.allowed and net.sf.jasperreports.export.pdf.permissions.denied) to control PDF file permissions from within the report template or globally, from JasperReports configuration context;
  • support for table-of-contents metadata build-up during report filling process, to be leveraged in document viewers that have the ability to display bookmark based table-of-contents that are not part of the document content itself.
  • new XMLA query executer based on olap4j;
  • support for loading report resource bundles from repository;
  • support for decimal font size in report templates;
  • richer Javadoc API documentation throughout the entire library source code;
  • minor bug fixes and improvements;

New in JasperReports Library 5.0.0 (Nov 20, 2012)

  • improved report filling performance by extending the use of the simplified text measurer
  • that was previously used only for single line text elements;
  • improved subreport filling performance by using a thread pooling mechanism;
  • minor bug fixes and improvements

New in JasperReports Library 4.8.0 (Nov 5, 2012)

  • enhanced interactivity in the table component, with support for conditional formatting
  • of values in a column;
  • support for style providers as pluggable extensions, to control report element styling
  • depending on report data at runtime; a default style provider implementation is available, allowing the use of expression based custom properties at report element level, to control each style attribute, including backcolor, forecolor, font, borders style, etc;
  • added support for markers to the built-in map component, along with other new map level settings such as type of map, image type and language (I18n support);
  • version support added to the JRXmlWriter utility class to allow generating source JRXML format for older versions of the library, including support for versioning of custom components markup;
  • support for custom $X{} functions in queries, which can be plugged in as extensions;
  • added support for relative date ranges used as input parameters in parametrized queries;
  • minor bug fixes and improvements

New in JasperReports Library 4.7.1 (Sep 24, 2012)

  • improved performance for the newly introduced Javascript report compiler;
  • configuration properties to control table component interactive features;
  • minor bug fixes and improvements;

New in JasperReports Library 4.7.0 (Jul 25, 2012)

  • Improved rendering performance for the table component;
  • enhanced interactive report viewer APIs;
  • new "net.sf.jasperreports.export.pdf.size.page.to.content" export configuration property added to allow for variable page size in PDF documents, by adapting page size to page content size;
  • better control over memory footprint in large XLSX exports, by allowing the temporary files buffer size to be configured locally through report custom properties;
  • minor bug fixes and improvements

New in JasperReports Library 4.1.3 (Oct 28, 2011)

  • new XLS/XLSX export configuration properties added for advanced features
  • including auto-filter, row outline collapse/expand grouping and custom column width
  • enhanced support for interactive sorting and filtering, with more filter criteria available depending on column data type and possibility to sort and filter on multiplecolumns at the same time
  • improved virtualization by consolidating styling information for repeating subreportsand by splitting large pages into smaller virtualized pieces for non-paginated reports
  • the XML exporter was changed to use namespaces and thus allow pluggable generic element parameter value handlers
  • minor bug fixes and improvements

New in JasperReports Library 4.1.2 (Sep 12, 2011)

  • support for PDF/A compliance added to the PDF exporter;
  • new sort/filter custom component added to allow non-table component reports to leverage
  • the interactive sorting and filtering feature when deployed inside the JR Web Framework;
  • minor bug fixes and improvements

New in JasperReports Library 4.1.1 (Aug 11, 2011)

  • deprecated code for JRReportFont, JRBox, graphic element pen property
  • and all deprecated byte-based properties were removed from the library's API;
  • the whole JR source code was overhauled to make use of Java5-style Generics;
  • value class property is now deprecated in expression objects; the type of
  • expression no longer needs to be specified;
  • the library's API was extented with a new repository API, which is used now
  • throughout the reporting engine to locate report resources such as images, fonts,
  • subreports, etc;
  • new parameter contributor interface was added to the engine to allow parameter
  • manipulation prior to query execution; parameter contributors can be plugged in as
  • extensions;
  • new data adapter concept was added to the library's API to allow the reporting engine
  • to connect to data directly, without the parent application providing the data the source
  • nor the query executer parameters, at report fill time;
  • new report executing servlet was added as part of a larger Web framework that
  • is now available in the library's core API, to simplify deployment of JR inside
  • Web applications and achieve higher degree of interactivity for reports;
  • details about how this new Web framework can be used can be seen in the new
  • /demo/samples/webapp-repo sample, which also makes use of the newly introduced
  • repository API, to locate the report templates and their additional resources;
  • the table component was enhanced so that it is more interactive by default,
  • when the reports are deployed in an application that makes use of the above mentioned
  • Web framework; by default, table columns are sortable, while text columns are filtrable
  • using a simple "contains" filter criteria; this can be seen in the TableReport
  • deployed in the /demo/samples/webapp-repo sample;
  • new map component added to the core library to simplify rendering of Google maps
  • inside reports;
  • new XLS metadata exporter added, similar to the CSV metadata exporter in which
  • columns that need to be exported have to be marked-up using configuration properties
  • at text element level;
  • new XLSX data source and query executer added; details about how it works
  • are found in the new /demo/samples/xlsxdatasource sample;
  • pattern expression added to text fields elements to allow for more flexible
  • dates and numbers formatting;
  • custom property "net.sf.jasperreports.export.xls.pattern" is now available to control
  • cell formatting patterns in XLS/XLSX exporters;
  • new custom properties are available in XLS/XLSX exporters to freeze panes;
  • new "net.sf.jasperreports.image.dpi" custom property added to allow specifying
  • the image resolution in dots-per-inch, for the images created by the engine when
  • rasterizing SVGs or when clipping other image renderers;
  • the "net.sf.jasperreports.export.pdf.force.linebreak.policy" configuration property
  • is now deprecated as the PDF text rendering code was refactored so that text is rendered
  • exactly like in AWT;
  • minor bug fixes and improvements;

New in JasperReports Library 4.0.0 (Jan 10, 2011)

  • new CSV query executer added to simplify to allow configuring CSV data sources from within report templates
  • using built-in paramters and config properties;
  • new CSV metadata exporter added to better control the CSV export by marking columns in the report template
  • using custom properties;
  • new chapters in the Sample Reference documentation have beed completed
  • (http://jasperreports.sf.net/sample.reference.html);
  • minor bug fixes and improvements.

New in JasperReports Library 3.7.6 (Oct 28, 2010)

  • enhancing the XLSX exporter so that it supports more exporter parameters
  • and configuration properties from the ones shared by all the XLS exporters;
  • various fixes in the XLS exporters;
  • added support for hidden text in the DOCX exporter;
  • new chapters added to the Sample Reference documentation;
  • minor bug fixes and improvements.

New in JasperReports Library 3.7.3 (Jun 1, 2010)

  • support for images and hyperlinks added to the XLSX exporter;
  • support for line spacing and hyperlinks added to the PPTX exporter;
  • support for hyperlinks and local anchors in the POI-based XLS exporter;
  • minor bug fixes and improvements.

New in JasperReports Library 3.7.2 (Apr 13, 2010)

  • new table component added to simplify designing tables with variable number of columns;
  • new PPTX exporter added to the core library to help creating PowerPoint 2007 documents
  • based on the Office Open XML format;
  • upgrade to Java 5.0; starting with this release, JasperReports is no longer compatible
  • with Java 1.4 and makes use of newer language features such as generics and typed enums;
  • simple XML-DOM-based font extension implementation added to eliminate the dependency on Spring
  • brought by the previous font extension default implementation;
  • code generating utility class added (JRApiWriter) to help users understand how to use
  • the JasperReports API and its report object model to create report templates at runtime (no JRXML);
  • the Flash viewer was added to the demo/samples/webapp sample;
  • minor bug fixes and improvement

New in JasperReports Library 3.7.1 (Feb 8, 2010)

  • new JRHtmlExporterParameter.ZOOM_RATIO exporter added to allow scaling the content generated
  • by the HTML and the XHTML/CSS exporters;
  • upgrade to POI 3.5 and iText 2.1.7;
  • the custom Ant task for batch updating report template files was moved from community project
  • to core library;
  • new custom Ant task for decompiling report templates; it allows regenerating the source JRXML files from compiled report templates files.
  • added support for documenting the samples and automatically create the Sample Reference document,
  • as part of the project build process;
  • minor bug fixes and improvements

New in JasperReports Library 3.6.2 (Dec 4, 2009)

  • new "footerPosition" attribute added to report groups to control the rendering
  • position of the group footer sections;
  • new "keepTogether" boolean flag added to report groups to prevent groups from
  • splitting accross two pages or columns, but only on their first break attempt;
  • new tag added to crosstab group definitions to allow
  • sorting the crosstab by measure totals;
  • axis tick labels in charts can now be rotated using the new "verticalTickLabels"
  • flag (for numeric or datetime axis) or at an angle, using the new "labelRotation"
  • numeric attribute (for category axis);
  • minor bug fixes and improvements;

New in JasperReports Library 3.5.1 (Jun 2, 2009)

  • list component added to simplify iteration through datasets
  • without using a subreport;
  • support for generic element PDF handlers to allow customizing
  • PDF output using generic elements;
  • the report template structure and syntax (JRXML) are now fully
  • documented using the comments from the source XSD file to produce
  • a complete and up-to-date HTML schema reference;
  • option to save line break positions at fill/measure time and
  • use them during HTML export in order to preserve word wrap;
  • minor bug fixes and improvements

New in JasperReports Library 3.5.0 (Mar 25, 2009)

  • new min/max expressions available for controlling the displayed values interval for both chart axis;
  • the pie dataset now supports multiple series; this is useful in cases where multiple categories are added to the pie dataset in one incrementation step;
  • new attributes and expressions where added to the pie dataset to allow limiting the number of slices displayed in the pie chart by grouping smaller slices under a single generic slice called "Other";
  • new "runToBottom" attribute available for subreport elements to specify if the subreport should consume all the available space on the current page;
  • the "net.sf.jasperreports.allow.element.overlap" property can be used globally, at report or element level to specify whether element overlapping verifications are performed at report compilation time; this is useful when designing reports that are to be exported using grid exporters such as HTML and XLS, where overlapping elements do not show up;
  • support for ordered lists added in the HTML markup text processor;
  • minor bug fixes and improvements;

New in JasperReports Library 3.1.4 (Feb 11, 2009)

  • allow any value as hyperlink target to support open hyperlinks into named frames;
  • custom hyperlink targets can be generated at runtime using hyperlink target producers;
  • custom hyperlink producers and hyperlink target producers can be deployed as extensions;
  • multiple scriptlet instances allowed per report execution;
  • support for report governors to prevent infinite loops caused by invalid report templates;
  • simple report governor implementations based on maximum number of pages and timeout;
  • new JASPER_REPORT built-in parameter to give access to the report template object in report expressions and scriptlets;
  • chart element live preview in design mode;
  • improved XML-based chart theme model to support the creation of a visual chart theme designer;
  • minor bug fixes and improvements;

New in JasperReports Library 3.1.3 (Jan 15, 2009)

  • font extensions support to allow using TTF files without the need to install them into the system; this also allows using different TTF files for the same logical font name, depending on the locale;
  • primitive type chart properties replaced with equivalent object type properties to allow chart theme implementations to check if they were set or not;
  • XML based chart theme implementations provided with the charts sample;
  • minor bug fixes and improvements;

New in JasperReports Library 3.1.2 (Nov 6, 2008)

  • new report compiler based on the Rhino library to support JavaScript
  • as the report expression language;
  • simplified configuration for custom query executers, which can register
  • themselves to a JasperReports deployment using the library's extensions support;
  • new custom properties available at report level and element level,
  • to mark document structure and produce produce PDF output that is compliant
  • with Section 508 Amendment to the Rehabilitation Act of 1973, which governs
  • accessibility of software solutions for people with disabilities.
  • new TrueType font files (DejaVu fonts) are shipped with the sample reports;
  • new chart theme implementation (name eye.candy.sixties) shipped with
  • the charts samples, to show how chart themes can be used to change the overall
  • appearance of charts generated with the build-in chart element;
  • minor bug fixes and improvements;