ChangeLog.txt: Added new feature

This commit is contained in:
Christian Bläul
2018-03-07 09:40:43 +01:00
parent 1142ef2611
commit 7168cb15e3

View File

@@ -1,272 +1,282 @@
ParseCSV 1.0.0 ParseCSV dev-master
----------------------------------- -----------------------------------
Date: 3-March-2018 Date: unreleased
- Renamed class from parseCSV to Csv and added name- - New function getTotalDataRowCount() - useful if
space "ParseCsv" for PSR compliance. $limit is set - see pull request #122.
- Added support for MS Excel's "sep=" to detect the -----------------------------------
delimiter (Issue #60).
- Added data type detection - function getDatatypes() ParseCSV 1.0.0
guesses the type of each column. -----------------------------------
Date: 3-March-2018
- MIME: output() sends correct MIME type to browser
if the separator is a tab tab (Issue #79). - Renamed class from parseCSV to Csv and added name-
space "ParseCsv" for PSR compliance.
- Added support for mb_convert_encoding() instead of
iconv() - see issue #109. - Added support for MS Excel's "sep=" to detect the
delimiter (Issue #60).
- A number of minor bug fixes - see GitHub issues.
- Added data type detection - function getDatatypes()
- Added many more unit tests. guesses the type of each column.
----------------------------------- - MIME: output() sends correct MIME type to browser
if the separator is a tab tab (Issue #79).
parseCSV 0.4.3 beta - Added support for mb_convert_encoding() instead of
----------------------------------- iconv() - see issue #109.
Date: 1-July-2008
- A number of minor bug fixes - see GitHub issues.
- Issue #4. Added an option for setting sorting
type behavior when sorting data. - Added many more unit tests.
Simply set $csv->sort_type to "regular", "numeric",
or "string". -----------------------------------
- Issue #6. Raw loaded file data is now cleared from
file_data property when it has been successfully parseCSV 0.4.3 beta
parsed to keep parseCSV's memory footprint to a -----------------------------------
minimum. Specifically handy when using multiple Date: 1-July-2008
instances of parseCSV to process large files.
- Issue #4. Added an option for setting sorting
----------------------------------- type behavior when sorting data.
Simply set $csv->sort_type to "regular", "numeric",
or "string".
parseCSV 0.4.2 beta
----------------------------------- - Issue #6. Raw loaded file data is now cleared from
Date: 31-May-2008 file_data property when it has been successfully
parsed to keep parseCSV's memory footprint to a
- IMPORTANT! If you're using the output(), minimum. Specifically handy when using multiple
method please note that the first parameter instances of parseCSV to process large files.
has been completely removed as it was
technically just useless. Instead, the second -----------------------------------
parameter (filename) doubles as its replacement.
Simply put, if filename is not set or null, the
output() method will not output a downloadable parseCSV 0.4.2 beta
file. Please update your existing code -----------------------------------
when using 0.4.2 and later :) Date: 31-May-2008
- Small fix to the headers sent by the output() - IMPORTANT! If you're using the output(),
method. method please note that the first parameter
has been completely removed as it was
- Added a download example using the output() technically just useless. Instead, the second
method to the examples folder. parameter (filename) doubles as its replacement.
Simply put, if filename is not set or null, the
----------------------------------- output() method will not output a downloadable
file. Please update your existing code
when using 0.4.2 and later :)
parseCSV 0.4.1 beta
----------------------------------- - Small fix to the headers sent by the output()
Date: 29-May-2008 method.
- Fixed a small bug in how the output() method - Added a download example using the output()
handles input data. method to the examples folder.
----------------------------------- -----------------------------------
parseCSV 0.4 beta parseCSV 0.4.1 beta
----------------------------------- -----------------------------------
Date: 11-Apr-2008 Date: 29-May-2008
- Error reporting for files/data which is corrupt - Fixed a small bug in how the output() method
or has formatting errors like using double handles input data.
quotes in a field without enclosing quotes. Or
not escaping double quotes with a second one. -----------------------------------
- parse() method does not require input anymore
if the "$object->file" property has been set. parseCSV 0.4 beta
-----------------------------------
I'm calling this a beta release due to the heavy Date: 11-Apr-2008
modifications to the core parsing logic required
for error reporting to work. I have tested the - Error reporting for files/data which is corrupt
new code quite extensively, I'm fairly confident or has formatting errors like using double
that it still parses exactly as it always has. quotes in a field without enclosing quotes. Or
not escaping double quotes with a second one.
The second reason I'm calling it a beta release
is cause I'm sure the error reporting code will - parse() method does not require input anymore
need more refinements and tweaks to detect more if the "$object->file" property has been set.
types of errors, as it's only picking two types
or syntax errors right now. However, it seems I'm calling this a beta release due to the heavy
these two are the most common errors that you modifications to the core parsing logic required
would be likely to come across. for error reporting to work. I have tested the
new code quite extensively, I'm fairly confident
----------------------------------- that it still parses exactly as it always has.
The second reason I'm calling it a beta release
parseCSV 0.3.2 is cause I'm sure the error reporting code will
----------------------------------- need more refinements and tweaks to detect more
Date: 1-Apr-2008 types of errors, as it's only picking two types
or syntax errors right now. However, it seems
This is primarily a bug-fix release for a critical these two are the most common errors that you
bug which was brought to my attention. would be likely to come across.
- Fixed a critical bug in conditions parsing which -----------------------------------
would generate corrupt matching patterns causing
the condition(s) to not work at all in some
situations. parseCSV 0.3.2
-----------------------------------
- Fixed a small code error which would cause PHP to Date: 1-Apr-2008
generate a invalid offset notice when zero length
values were fed into the unparse() method to This is primarily a bug-fix release for a critical
generate CSV data from an array. bug which was brought to my attention.
Notice: If you have been using the "parsecsv-stable" - Fixed a critical bug in conditions parsing which
branch as an external in any of your projects, would generate corrupt matching patterns causing
please use the "stable/parsecsv" branch from this the condition(s) to not work at all in some
point on as I will eventually remove the former due situations.
to it's stupid naming.
- Fixed a small code error which would cause PHP to
----------------------------------- generate a invalid offset notice when zero length
values were fed into the unparse() method to
generate CSV data from an array.
parseCSV 0.3.1
----------------------------------- Notice: If you have been using the "parsecsv-stable"
Date: 1-Sep-2007 branch as an external in any of your projects,
please use the "stable/parsecsv" branch from this
- Small change to default output settings to point on as I will eventually remove the former due
conform with RFC 4180 (http://rfc.net/rfc4180.html). to it's stupid naming.
Only the LF (line feed) character was used
by default to separate rows, rather than -----------------------------------
CRLF (carriage return & line feed).
----------------------------------- parseCSV 0.3.1
-----------------------------------
Date: 1-Sep-2007
parseCSV 0.3.0
----------------------------------- - Small change to default output settings to
Date: 9-Aug-2007 conform with RFC 4180 (http://rfc.net/rfc4180.html).
Only the LF (line feed) character was used
- Changed to the MIT license. by default to separate rows, rather than
CRLF (carriage return & line feed).
- Added offset and limit options.
-----------------------------------
- Added SQL-like conditions for quickly
filtering out entries. Documentation on the
condition syntax is forthcoming. parseCSV 0.3.0
-----------------------------------
- Small parsing modification to comply Date: 9-Aug-2007
with some recent changes to the specifications
outlined on Wikipedia's Comma-separated values - Changed to the MIT license.
article.
- Added offset and limit options.
- Minor changes and optimizations, and a few
spelling corrections. Oops :) - Added SQL-like conditions for quickly
filtering out entries. Documentation on the
- Included more complex code examples in the condition syntax is forthcoming.
parseCSV download.
- Small parsing modification to comply
----------------------------------- with some recent changes to the specifications
outlined on Wikipedia's Comma-separated values
article.
parseCSV 0.2.1
----------------------------------- - Minor changes and optimizations, and a few
Date: 8-Aug-2007 spelling corrections. Oops :)
- Fixed stupid code which caused auto function - Included more complex code examples in the
to not work in some situations. parseCSV download.
----------------------------------- -----------------------------------
parseCSV 0.2.0 beta parseCSV 0.2.1
----------------------------------- -----------------------------------
Date: 2-Jan-2007 Date: 8-Aug-2007
- Added auto() function to automatically detect - Fixed stupid code which caused auto function
delimiter character. to not work in some situations.
Useful for user upload in case delimiter is
comma (,), tab, or semi-colon (;). Some -----------------------------------
versions of MS Excel for Windows use
semi-colons instead of commas when saving to
CSV files. parseCSV 0.2.0 beta
It uses a process of elimination to eliminate -----------------------------------
characters that can not be the delimiter, Date: 2-Jan-2007
so it should work on all CSV-structured files
almost no matter what the delimiter is. - Added auto() function to automatically detect
delimiter character.
- Generally updated some of the core workings Useful for user upload in case delimiter is
to increase performance, and offer better comma (,), tab, or semi-colon (;). Some
support for large (1MB and up) files. versions of MS Excel for Windows use
semi-colons instead of commas when saving to
- Added code examples to header comment. CSV files.
It uses a process of elimination to eliminate
----------------------------------- characters that can not be the delimiter,
so it should work on all CSV-structured files
almost no matter what the delimiter is.
parseCSV 0.1.6 beta
----------------------------------- - Generally updated some of the core workings
Date: 22-Dec-2006 to increase performance, and offer better
support for large (1MB and up) files.
- Updated output() function.
- Added code examples to header comment.
-----------------------------------
-----------------------------------
parseCSV 0.1.5 beta
----------------------------------- parseCSV 0.1.6 beta
Date: 22-Dec-2006 -----------------------------------
Date: 22-Dec-2006
- Added output() function for easy output to
browser, for downloading features for example. - Updated output() function.
----------------------------------- -----------------------------------
parseCSV 0.1.4 beta parseCSV 0.1.5 beta
----------------------------------- -----------------------------------
Date: 17-Dec-2006 Date: 22-Dec-2006
- Minor changes and fixes - Added output() function for easy output to
browser, for downloading features for example.
-----------------------------------
-----------------------------------
parseCSV 0.1.3 beta
----------------------------------- parseCSV 0.1.4 beta
Date: 17-Dec-2006 -----------------------------------
Date: 17-Dec-2006
- Added GPL v2.0 license.
- Minor changes and fixes
-----------------------------------
-----------------------------------
parseCSV 0.1.2 beta
----------------------------------- parseCSV 0.1.3 beta
Date: 17-Dec-2006 -----------------------------------
Date: 17-Dec-2006
- Added encoding() function for easier character
encoding configuration. - Added GPL v2.0 license.
----------------------------------- -----------------------------------
parseCSV 0.1.1 beta parseCSV 0.1.2 beta
----------------------------------- -----------------------------------
Date: 24-Nov-2006 Date: 17-Dec-2006
- Added support for a PHP die command on first - Added encoding() function for easier character
line of csv files if they have a .php extension encoding configuration.
to protect secure data from being displayed
directly to the browser. -----------------------------------
-----------------------------------
parseCSV 0.1.1 beta
-----------------------------------
parseCSV 0.1 beta Date: 24-Nov-2006
-----------------------------------
Date: 23-Nov-2006 - Added support for a PHP die command on first
line of csv files if they have a .php extension
- Initial release to protect secure data from being displayed
directly to the browser.
-----------------------------------
-----------------------------------
parseCSV 0.1 beta
-----------------------------------
Date: 23-Nov-2006
- Initial release
-----------------------------------