KoolReport 2.41.3 Released
March 2, 2018We have released new version of KoolReport 2.41.3. In this version, we added new processes AccumulatedColumn
and ColumnRename
, made KoolReport work with composer
's autoload and fixed several bugs.
Autoload
As you may know that in previous version, although KoolReport
can be installed through composer
but it was not able to use the default autoload provided by composer
. As a result, we still need to include the koolreport/autoload.php
file to make KoolReport
work. Not anymore in the new version! Now after installing KoolReport package though composer, all classes will be loaded automatically without any extra work.
AccumulatedColumn
AccumulatedColumn
is a process to help you generate a accumulated result from a column. Let say you have a sale_amount
column, you may create a sale_balance
with be easily with following code
->pipe(new AccumulatedColumn(array(
"sale_balance"=>"sale_amount"
)))
So you will have this result
date | sale_amount | sale_balance |
---|---|---|
2018-01-01 | 50 | 50 |
2018-01-02 | 100 | 150 |
2018-01-03 | 50 | 200 |
2018-01-04 | 200 | 400 |
2018-01-04 | 100 | 500 |
ColumnRename
Although you may rename the column using ColumnMeta
process, we have made new process called ColumnRename
to do this job. Renaming a column is common task so it is deserved a separated process. Below is an example to rename column from cName
to customerName
:
->pipe(new ColumnRename(array(
"cName"=>"customerName",
)))
Bug fixed
The Group
process has a bug which happens when we count row in a group that has only one row. This error has been fixed so if you use Group
process, please upgrade to this version.
KoolReport Pro
Together with the release of KoolReport core, We also released KoolReport Pro 2.41.3 containing the latest core and all available packages. In this new version, there is following updated versions Pivot 3.3.0, Export 3.5.0 and QueryBuilder 1.1.0. If you own the KoolReport Pro license, you may login and download now. If not, please please consider to get one since it is the most valuable package you have ever found.
Summary
In this version, we continue to perfect KoolReport
to make it the best reporting framework for PHP and we will continue doing so. We thank you very much for using KoolReport
, for your trust and your endless support along the way.
<3 koolreport team