1Public Releases of XML_Query2XML
2================================
3Version: $Id: RELEASES 309914 2011-04-03 11:16:28Z lukasfeiler $
4
5
6v1.7.2
7------
8Release date: 2011-03-04
9Release notes: This is a minor release:
10- Bug #17724 fixed: avoiding split, using explode.
11- XML_Query2XML::registerPrefix(): new method that allows you to register
12  your own prefixes that can be used in all value specifications.
13  unregisterPrefix() and unregisterAllPrefixes() allow you to unregister
14  a particular or all prefixes (including default prefixes).
15- Now comes with 244 unit tests.
16
17v1.7.1
18------
19Release date: 2009-03-08
20Release notes: This release implements the following additions:
21- Caching is now implemented as a saparate driver that is automatically
22  wrapped around any other driver if caching is activated.
23  This reduces the codebase of Query2XML.php.
24- Refactoring of internal classes.
25Note: No changes were introduced since 1.7.1RC1.
26
27v1.7.1RC1
28---------
29Release date: 2009-03-01
30Release notes: This release implements the following additions:
31- Caching is now implemented as a saparate driver that is automatically
32  wrapped around any other driver if caching is activated.
33  This reduces the codebase of Query2XML.php.
34- Refactoring of internal classes.
35
36v1.7.0
37------
38Release date: 2008-05-02
39Release notes: This feature release brings the following additions:
40- new driver for PEAR Net_LDAP2: XML_Query2XML_Driver_LDAP2
41- options 'limit' and 'offset' now supported by the MDB2 and DB drivers;
42  thanks to Johnny Cheng from openflyers.org for this feature request
43- improved logging: now also logs the variables with which a prepared
44  statement is executed
45- consolidation of unit tests for different database drivers; use
46  the environment variable PHP_PEAR_XML_QUERY2XML_TEST_DBLAYER to
47  set the database driver to be used (MDB2,DB,PDO,ADOdbDefault,
48  ADOdbPEAR or ADOdbException). Also use the environment variable
49  PHP_PEAR_XML_QUERY2XML_TEST_LDAPLAYER to set the LDAP driver
50  to be used (LDAP or LDAP2). Then simply run
51  'pear run-tests -p XML_Query2XML'
52Note: no changes were introduced since 1.7.0RC1.
53
54v1.7.0RC1
55---------
56Release date: 2008-04-18
57Release notes: This feature release brings the following additions:
58- new driver for PEAR Net_LDAP2: XML_Query2XML_Driver_LDAP2
59- options 'limit' and 'offset' now supported by the MDB2 and DB drivers;
60  thanks to Johnny Cheng from openflyers.org for this feature request
61- improved logging: now also logs the variables with which a prepared
62  statement is executed
63- consolidation of unit tests for different database drivers; use
64  the environment variable PHP_PEAR_XML_QUERY2XML_TEST_DBLAYER to
65  set the database driver to be used (MDB2,DB,PDO,ADOdbDefault,
66  ADOdbPEAR or ADOdbException). Also use the environment variable
67  PHP_PEAR_XML_QUERY2XML_TEST_LDAPLAYER to set the LDAP driver
68  to be used (LDAP or LDAP2). Then simply run
69  'pear run-tests -p XML_Query2XML'
70
71v1.6.0
72------
73Release date: 2008-01-06
74Release notes: This stable release implements the following new features:
75- LDAP support: the new LDAP driver uses PEAR Net_LDAP
76  see http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#ldap
77- new open driver architecture allows you to implement your own drivers
78  see http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#yourdriver
79- $options['sql']['driver'] now allows you to use different drivers for each query
80- fixed documentation bug #12568
81- PEAR Coding Standard fixes
82- correction of copyright notice
83- XML_Query2XML now comes with 1159 phpt unit tests
84Note: No changes were introduced since 1.6.0RC1.
85
86v1.6.0RC1
87---------
88Release date: 2008-01-02
89Release notes: This release candidate contains the following new features:
90- LDAP support: the new LDAP driver uses PEAR Net_LDAP
91  see http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#ldap
92- new open driver architecture allows you to implement your own drivers
93  see http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#yourdriver
94- $options['sql']['driver'] now allows you to use different drivers for each query
95- fixed documentation bug #12568
96- PEAR Coding Standard fixes
97- correction of copyright notice
98- XML_Query2XML now comes with 1159 phpt unit tests
99
100v1.5.0
101---------
102Release date: 2007-10-07
103Release notes: This seventh stable release comes after extensive re-factoring:
104- XML_Query2XML now does a lot of internal pre-processing
105- this improves performance by at least 30%
106- all exceptions now contain information that relates to the
107  configuration option that caused the exception to be thrown
108- caching is now deactivated by default as is not needed in
109  most cases; see $options['sql_options']['cached']
110- XML_Query2XML now comes with 1144 phpt unit tests
111Note: No changes were introduced since 1.5.0RC1.
112
113v1.5.0RC1
114---------
115Release date: 2007-09-30
116Release notes: This release candidate comes after extensive re-factoring:
117- XML_Query2XML now does a lot of internal pre-processing
118- this improves performance by at least 30%
119- all exceptions now contain information that relates to the
120  configuration option that caused the exception to be thrown
121- caching is now deactivated by default as is not needed in
122  most cases; see $options['sql_options']['cached']
123- XML_Query2XML now comes with 1144 phpt unit tests
124Note: if 1.5.0RC1 does not cause any problems for early adopters
125(which I consider very unlikely) 1.5.0 will be released next weekend.
126
127v1.4.0
128------
129Release date: 2007-09-03
130Release notes: This sixth stable release contains a couple of new features:
131- PDO support - this also adds support for SQLite 3 (thanks to
132  John P. McCaskey for pointing out the lack of SQLite 3 support)
133- all unit tests now run with SQLite 2 by default; unit tests
134  for PDO and PEAR MDB2 will therefore work out of the box
135- XML_Query2XML now comes with 1084 phpt unit tests
136
137v1.3.0
138------
139Release date: 2007-08-26
140Release notes: This fith stable release contains a couple of new features:
141- enhanced support for CDATA sections
142  (see the CDATA SECTION prefix)
143- enhanced support for binary data via base64 encoding
144  (see the BASE64 ENCODING prefix; thanks to Thomas Haslbeck
145  for making me implement this feature)
146- support for dynamic XML element names determined at run time
147  (see the dynamicRowTag option; thanks to John P. McCaskey for
148  requesting this feature)
149- XML_Query2XML now comes with 913 phpt unit tests
150
151v1.2.1
152------
153Release date: 2007-05-26
154Release notes: This fourth stable release contains only some small enhancements:
155- dumping the data of all the tables in your database is now easier;
156  there is also a new section in the tutorial that describes how to do this:
157  http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#dumpdatabase
158  Thanks to vikram dot melonfire at gmail dot com for raising the issue of database dumps
159- $sql and $options['idColumn'] now also accept a value of false
160- XML_Query2XML now comes with 803 phpt unit tests
161
162v1.2.0
163------
164Release date: 2007-04-15
165Release notes: This third stable release contains a new feature and some minor
166coding-style related changes.
167- it is now possible to handle data sources that use another character encoding
168  than ISO-8859-1; see the 'encoder' option:
169  http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#query2xml_getxml.options_encoder
170  Thanks to Mickael Guerin for making me implement this feature that has been sitting on my
171  todo list for quite some time now.
172- other character encodings than UTF-8 can now also be used for XML encoding; see
173  http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#encoding
174- unit tests are now correctly skipped if the database connection fails
175- XML_Query2XML now comes with 783 phpt unit tests
176
177v1.1.0
178------
179Release date: 2007-02-03
180Release notes: This second stable release contains a couple of great new features:
181- it's now possible to integrate other XML data sources (e.g. XML stored in the DB)
182  - XML unserialization support: see the ampersand prefix
183  - you can now return DOMNode instances from callback functions
184- non-static methods can now be used as callbacks by
185  implementing the new XML_Query2XML_Callback interface
186
187The smaller changes include:
188- cleaned up API docs
189- hidden_container_prefix can now be set using setGlobalOption()
190- numerous CS fixes in the tutorial
191- now using MDB2 instead of DB in all examples
192- documented multi-column primary key support
193- now comes with 678 unit tests (tested with MySQL and PostgreSQL)
194
195v1.0.0
196------
197Release date: 2006-12-04
198Release notes: I am very proud to announce the first stable
199release of XML_Query2XML.
200
201This release introduces only one minor change. It's not
202a bug fix but just a matter of clean code. The patch
203was anonymously submitted via the project's sourceforge site
204(Note: pear.php.net should be used instead).
205
206If you are upgrading from v0.6.x or v0.7.x, please read
207http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#migration
208
209v0.8.0
210------
211Release date: 2006-11-04
212Release notes: This release is *NOT BACKWARD COMPATIBLE*.
213I'm sorry for the BC break, but due to security considerations XML_Query2XML
214does not use the native function eval() anymore. Therefore
215- the "!" prefix is not supported anymore
216- the behaviour of the "condition" option was changed
217- the new callback prefix "#" was added (use it instead of the "!" prefix)
218
219A migration strategy is documented at
220http://query2xml.sf.net/docs/html/XML_Query2XML/tutorial_XML_Query2XML.pkg.html#migration
221
222Also:
223- unit tests were migrated from PHPUnit2 to phpt
224- XML_Query2XML now comes with 433 unit tests
225- migrated from package.xml version 1.0 to version 2.0
226
227v0.7.0
228------
229Release date: 2006-10-14
230Release notes:
231This release adds support for ADOdb (adodb.sf.net).
232ADOdb can be used with different error handling mechanisms:
233- default: methods return false on failure; these errors
234  will be caught by XML_Query2XML and an XML_Query2XML_DBException
235  will be thrown
236- PEAR_Error: methods return PEAR_Error on failure (or false
237  and require ADODB_Pear_Error() to be called);
238  XML_Query2XML will catch these errors and throw an
239  XML_Query2XML_DBException that contains the information provided
240  by the PEAR_Error instance.
241- exceptions: if an ADODB_Exception is thrown by ADOdb
242  XML_Query2XML will catch it and throw an XML_Query2XML_DBException
243
244This means that no matter which error handling mechanism is used within
245ADOdb, XML_Query2XML will behave the same. It will throw an
246XML_Query2XML_DBException in case of a database error.
247
248v0.6.1
249------
250Release date: 2006-09-28
251Release notes:
252This release fixes a minor bug with PHP5 prior to 5.1.0.
253Thanks a lot to Christophe Laratte <christophe dot laratte at openflyers dot org>;
254for reporting this!
255
256Bug fixes:
257- Fixed Bug #8799 "DB/common.php required": compatibility fix for
258  PHP5 &lt; 5.1.0: added class_exists() calls before using instanceof
259  operator in XML_Query2XML constructor;
260  see also: http://bugs.php.net/bug.php?id=29736
261
262v0.6.0
263------
264Release date: 2006-04-23
265Release notes:
266This release includes all changes recommeded during the PEPr voting process.
267Major changes:
268- asterisk shortcut that expands to all columns in the result set;
269  the tutorial was updated to document this feature and a new
270  case study (case 07) was added to provide a good example
271- implementation of ISO/IEC 9075-14:2005 for mapping SQL identifiers to
272  XML names; the tutorial was updates to document this feature and
273  a new case study (case 08) was added to provide lots of examples
274- new complex attribute specifications (from my own wish list)
275
276Minor changes:
277- simplification of the inner workings of the methods _hasDOMChild()
278  and _getDOMChild()
279- using foreach($array as $key => $value) instead of
280  while(list($key, $value) = each($array))
281- now comes with 168 unit tests
282
283v0.5.1
284------
285Release date: 2006-03-17
286Release notes:
287This release includes a couple of minor changes:
288- all lines now have a maximum length of 85 characters
289- no () with require_once
290- always using {} with code blocks
291- no silencing of any calls using @
292- using /* ... */ for all multi-line comments
293- enhanced documentation for private methods
294- code enhancements inside XML_Query2XML::getXML()
295
296v0.5.0
297------
298Release date: 2006-03-14
299Release notes:
300This release includes a couple of major changes:
301- full MDB2 support
302- all new exception handling: just three different
303  exceptions that all extend XML_Query2XML_Exception.
304- now comes with 99 PHPUnit2 unit tests
305- every exception that is thrown or bubbles up is
306  documented in the API-docs; the tutorial has a
307  new "Exception Handling" section.
308This release implements all recommendations made by
309PEAR developers during a first proposal.
310
311Minor changes include:
312- using ' instead of " where-ever possible
313- as PHP5 uses references for objects by default & (such as
314  in =&) is now only used where necessary.
315- the tutorial now renders just fine in all common browsers
316
317v0.4.0
318------
319Release date: 2006-02-28
320Release notes:
321This release includes one major change:
322- Public methods will now only throw exceptions that extend PEAR_Exception.
323  No PEAR errors or special XML will be returned anymore.
324  Therefore the public method XML_Query2XML::factory() now
325  only knows one argument.
326
327v0.3.0
328------
329Release date: 2006-02-25
330Release notes:
331This release includes two major changes:
332- XML_Query2XML now uses PHP5's DOM XML extension. Therefore
333  DomDocument, DomNode, etc are now used in favor of XML_Query2XML_XMLElement.
334  XML_Query2XML does not come with XML_Query2XML_XMLElement anymore!
335- Back to the roots! XML_Query2XML concentrates on its core features and
336  therefore drops the functionality of generating an XML schema from XML data.
337
338Minor changes:
339- reduction of unit tests (fewer public methods to test): 20
340- complete review of the tutorial and the API documentation
341- changes of testCases.sh: schema validation is not supported
342  anymore
343
344
345v0.2.0
346------
347Release date: 2006-02-08
348Release notes:
349The first public release v0.2.0 is available!
350Just download the package and run `pear install <package_file>'.
351Alternatively you can also directly run
352`pear install http://query2xml.sourceforge.net/releases/XML_Query2XML-0.2.0.tgz'.
353
354This release includes
355- in-depth documentation: tutorials and API documentation
356- 6 case studies: from very simple to highly complex scenarios
357- 104 unit tests for PHPUnit
358- minor bug fixes
359- development was moved to sourceforge's CVS server
360