1.09
[simpleserver-moved-to-github.git] / Changes
1 $Id: Changes,v 1.46 2007-09-10 14:54:51 mike Exp $
2
3 Revision history for Perl extension Net::Z3950::SimpleServer
4
5 1.09  Mon Sep 10 15:54:38 BST 2007
6         - *Argh*  Another mixed statement/declaration.
7
8 1.08  Mon Sep 10 12:15:29 BST 2007
9         - *Sigh*  Fix mixed statement/declaration.
10
11 1.07  Sat Sep  1 10:31:26 BST 2007
12         - When the scan-handler callback returns, do not attempt to
13           copy the terms from Perl structures if the error-code is
14           non-zero (i.e. if an error has occurred).  This protects
15           against a segmentation fault when the Perl callback does not
16           explicitly set $args->{NUMBER} = 0 on error.
17         - Correct transcription of string-valued attributes in
18           $args->{RPN}.
19         - Scan handler is now passed RPN as well as TERM, a tree of
20           Perl structures representing the entire scan clause
21           including access-points and other attributes (which are
22           discarded from TERM).
23         - The various classes used to represent nodes in the RPN query
24           tree (Net::Z3950::APDU::Query, Net::Z3950::RPN::And,
25           Net::Z3950::RPN::Or, Net::Z3950::RPN::AndNot,
26           Net::Z3950::RPN::Term and Net::Z3950::RPN::RSID) now all
27           share a newly introduced superclass Net::Z3950::RPN::Node,
28           making it possible to write methods that apply to all node
29           types.
30         - A utility method toPQF() is provided for
31           Net::Z3950::RPN::Node, enabling the RPN tree to be converted
32           back into a flat PQF query.
33         - Add support for the Delete Result Set service.
34         - Add documentation for the Sort service.
35         - Some clarifications to documentation.
36
37 1.06  Fri Aug 10 23:30:00 BST 2007
38         - New global-handle element can be specified when creating a
39           simple-server object and will be passed to all callback
40           functions.  This allows global state to be eliminated from
41           SimpleServer applications ... finally!
42         - Search handler now deals correctly with undefined addinfo:
43           previously a (harmless) error message was emitted.
44         - Add Perl API to yaz_diag_srw_to_bib1(), which SimpleServer
45           applications will need if they access SRU/SRW back-end
46           databases and need to report errors.
47         - Add Perl API to yaz_diag_bib1_to_srw(), because it would
48           seem churlish not to.
49
50 1.05  Wed Dec 27 13:19:13 CET 2006
51         - Taking new naming convention for YAZ constants into account.
52
53 1.04  Fri Dec  1 10:48:32 CET 2006
54         - Build such that SimpleServer links to new yaz shared object.
55
56 1.03  Tue Aug  8 17:27:16 BST 2006
57         - Rely on version 2.1.14 or later of YAZ; this is the first
58           version that reliably passes through the additional
59           information associated with errors generated while serving
60           SRU/W requests.  No functional differences since 1.02.
61
62 1.02  Wed Jul 26 12:09:50 BST 2006
63         - Better support for Open and User/Password authentication.
64         - SimpleServer.xs's rpn2pquery() is now discarded, and YAZ's
65           yaz_rpnquery_to_wrbuf() used instead.  This is more robust
66           in dealing with unusual cases such as string-valued
67           attributes.
68         - Support for SCHEMA element when fetching records.
69
70 1.01  Fri Mar 24 12:09:32 GMT 2006
71         - Documentation of release 1.00's SRU/SRW facilities.
72         - Makefile.PL now fails if YAZ version is earlier than 2.0.0,
73           which was the first with SRU/SRW support.
74
75 1.00  Fri Mar 24 01:20:24 GMT 2006
76         - Support for SRU and SRW.  Mostly this is provided by the YAZ
77           GFS, but changes are needed to allow for the case where
78           there is no RPN query (due to absent on invalid <cql2rpn>
79           element in GFS configuration) so that CQL is passed through
80           natively; and also to fake up an {REQ_FORM} and {REP_FORM}
81           parameters set to the "text/xml" OID when this information
82           is not specified by the GFS.
83           (The jump in version number is due to the SRU/W support.)
84         - Include "logging-server.pl" in the distribution: the
85           simplest possible SimpleServer application, which merely
86           logs the client-request data structures.
87         - Makefile.PL is more helpful if yaz-config isn't found.
88         - Explicitly disable prototypes in SimpleServer.xs: makes no
89           difference but suppresses an error message for a cleaner
90           build.
91
92 0.08  Mon Jun 14 14:51:01 2004
93         - SimpleServer is now perl 5.8 thread proof 
94         - Support for IMP_ID parameter in Init responses.  This was
95           actually written a long time ago, but left commented out as
96           the underlying YAZ back-end server didn't support
97           implementation-ID setting.  Now that it does (and has done
98           for eighteen months -- since YAZ release 1.8.6 of
99           2002/03/25!), I've finally removed the comments.
100         - Init handler now understands the setting of {ERR_CODE} as
101           more than a boolean success indicator, and also {ERR_STR}.
102           They are now passed back to the client (thanks to recent
103           changes to the YAZ generic front-end server) in accordance
104           with Z39.50 Implementor Agreement 5, found at
105                 http://lcweb.loc.gov/z3950/agency/agree/initdiag.html
106
107 0.07  Fri Jan 03 10:12:15 2003
108         - Applied Dave Mitchell's (davem@fdgroup.com) GRS-1 parsing patch.
109           Thanks Dave, and sorry it didn't find its way to release 0.06,
110           completely my fault.
111
112 0.06  Thu Jan 02 11:15:01 2003
113         - Added support for authentication
114         - Add documentation for the object tree passed as the RPN
115           member of the search-handler's argument hash.
116         - We actually removed the vacuous Changelog and TODO files
117           back in 0.05.  They should never have been here :-)
118
119 0.05  Tue Feb 05 21:54:30 2002
120         - Add brief documentation of the new handling
121           of RPN.
122
123 0.04  Tue Feb 05 21:49:56 2002
124         - Add Changelog (Why?  We already have this file!)
125         - Add TODO file (although it's empty!)
126         - Change interface to constructor, and fix test.pl script to
127           use the new interface.
128         - Add support for Scan.
129         - Add support for building GRS-1 records.
130         - Add grs_test.pl test suite for new GRS-1 code.
131         - Add RPN structure to search-handler argument hash.
132         - Add PID element to init, search, fetch and present-handler
133           argument hashes (but not the sort, scan and close-handlers,
134           for some reason.)
135         - Fix typos in documentation.
136
137 0.03  Thu Nov 09 16:22:00 2000
138         - Add the INSTALL file.
139         - Add support for a present-handler (distinct from fetch).
140         - Remove `$args->{LEN} = length($record)' from the example
141           fetch-handler in the documentation.
142         - Minor corrections to documentation, e.g. add commas after
143           elements in anonymous hash of arguments.
144         - Record syntaxes (formats) are now specified as ASCII OIDs
145           (e.g. "1.2.840.10003.5.10") rather than human-readable
146           strings (e.g. "usmarc")
147         - Add some XS code to support sorting, though it doesn't seem
148           to be finished yet, and is not wired out.
149         - Use symbolic constants (e.g. Z_ElementSetNames_generic
150           instead of hard-wired magic number 1).
151         - Add PEER_NAME element to init-handler argument hash.
152         - Minor changes to ztest.pl.
153
154 0.02  Mon Sep 11 12:32:00 2000
155         - First released versions
156
157 0.01  Wed Aug 30 14:54:01 2000
158         - original version; created by h2xs 1.19
159