1 Revision history for Perl extension Net::Z3950::SimpleServer
3 1.17 Tue Feb 12 13:30:52 CET 2013
4 - Scan and Search handler gets EXTRA_ARGS . It's represented as
5 a hash. It holds the extra arguments for SRU (URL).
6 - Scan and Search handler may return extra response data in
7 EXTRA_RESPONSE_DATA. That's an XML fragment for SRU extra
9 - Scan Term may include a DISPLAY_TERM (Z39.50 / SRU display term).
10 Thanks to Simon Jacob for patch.
12 1.16 Thu Jan 10 13:22:01 CET 2013
13 - Create packages for Ubuntu quantal precise oneiric.
14 - Add support for GFS start handler (START) to allow handling
15 of GFS config file (-c).
16 - Handler search now gets PRESENT_NUMBER - a hint for how many
17 records are to be fetched following search (piggyback).
19 1.15 Fri Oct 14 14:01:18 CEST 2011
20 - Fix decoding of OUTPUTFACETS (optinal) ; crashed on some Perl
23 1.14 Thu Aug 18 08:47:13 UTC 2011
24 - Support for facets in search handler
25 - Corrections to manual, kindly supplied by Ben Webb
26 <bjwebb67@googlemail.com>
27 - Resolve contradictory licence terms: SimpleServer is now
28 definitely distrbuted under the Revised BSD licence, whereas
29 earlier versions claimed in the source code to be Revised
30 BSD but in the README to be under the same terms as Perl.
32 1.13 Wed Mar 16 17:07:10 GMT 2011
33 - The SimpleServer test-script now uses a Unix-domain socket,
34 with a filename generated from the process-ID, rather than
35 the default Inet-document socket on port 9999. Hopefully
36 this should resolve the race-condition problems that have
37 been affecting the "make test" part of the build cycle when
38 building packages for four systems simultaneously under
41 1.12 Thu Feb 4 16:33:19 GMT 2010
42 - Remove handling of "hits" parameter in the present handler.
43 That should never have been there (and was probably sloppy
44 copy), and prevents compilation under YAZ 4, which has
45 removed the member from the bend_present_rr structure.
47 1.11 Wed Mar 4 15:12:53 GMT 2009
48 - Add explicit statement of license (same terms as Perl).
49 No functional changes.
51 1.10 Tue Mar 3 22:47:16 GMT 2009
52 - Document the init-handler's PEER_NAME argument.
53 - Update URL into YAZ documentation.
54 - bend_delete() no longer returns without value.
55 - Route around ActivePerl's damage to the "open" symbol.
57 1.09 Mon Sep 10 15:54:38 BST 2007
58 - *Argh* Another mixed statement/declaration.
60 1.08 Mon Sep 10 12:15:29 BST 2007
61 - *Sigh* Fix mixed statement/declaration.
63 1.07 Sat Sep 1 10:31:26 BST 2007
64 - When the scan-handler callback returns, do not attempt to
65 copy the terms from Perl structures if the error-code is
66 non-zero (i.e. if an error has occurred). This protects
67 against a segmentation fault when the Perl callback does not
68 explicitly set $args->{NUMBER} = 0 on error.
69 - Correct transcription of string-valued attributes in
71 - Scan handler is now passed RPN as well as TERM, a tree of
72 Perl structures representing the entire scan clause
73 including access-points and other attributes (which are
75 - The various classes used to represent nodes in the RPN query
76 tree (Net::Z3950::APDU::Query, Net::Z3950::RPN::And,
77 Net::Z3950::RPN::Or, Net::Z3950::RPN::AndNot,
78 Net::Z3950::RPN::Term and Net::Z3950::RPN::RSID) now all
79 share a newly introduced superclass Net::Z3950::RPN::Node,
80 making it possible to write methods that apply to all node
82 - A utility method toPQF() is provided for
83 Net::Z3950::RPN::Node, enabling the RPN tree to be converted
84 back into a flat PQF query.
85 - Add support for the Delete Result Set service.
86 - Add documentation for the Sort service.
87 - Some clarifications to documentation.
89 1.06 Fri Aug 10 23:30:00 BST 2007
90 - New global-handle element can be specified when creating a
91 simple-server object and will be passed to all callback
92 functions. This allows global state to be eliminated from
93 SimpleServer applications ... finally!
94 - Search handler now deals correctly with undefined addinfo:
95 previously a (harmless) error message was emitted.
96 - Add Perl API to yaz_diag_srw_to_bib1(), which SimpleServer
97 applications will need if they access SRU/SRW back-end
98 databases and need to report errors.
99 - Add Perl API to yaz_diag_bib1_to_srw(), because it would
100 seem churlish not to.
102 1.05 Wed Dec 27 13:19:13 CET 2006
103 - Taking new naming convention for YAZ constants into account.
105 1.04 Fri Dec 1 10:48:32 CET 2006
106 - Build such that SimpleServer links to new yaz shared object.
108 1.03 Tue Aug 8 17:27:16 BST 2006
109 - Rely on version 2.1.14 or later of YAZ; this is the first
110 version that reliably passes through the additional
111 information associated with errors generated while serving
112 SRU/W requests. No functional differences since 1.02.
114 1.02 Wed Jul 26 12:09:50 BST 2006
115 - Better support for Open and User/Password authentication.
116 - SimpleServer.xs's rpn2pquery() is now discarded, and YAZ's
117 yaz_rpnquery_to_wrbuf() used instead. This is more robust
118 in dealing with unusual cases such as string-valued
120 - Support for SCHEMA element when fetching records.
122 1.01 Fri Mar 24 12:09:32 GMT 2006
123 - Documentation of release 1.00's SRU/SRW facilities.
124 - Makefile.PL now fails if YAZ version is earlier than 2.0.0,
125 which was the first with SRU/SRW support.
127 1.00 Fri Mar 24 01:20:24 GMT 2006
128 - Support for SRU and SRW. Mostly this is provided by the YAZ
129 GFS, but changes are needed to allow for the case where
130 there is no RPN query (due to absent on invalid <cql2rpn>
131 element in GFS configuration) so that CQL is passed through
132 natively; and also to fake up an {REQ_FORM} and {REP_FORM}
133 parameters set to the "text/xml" OID when this information
134 is not specified by the GFS.
135 (The jump in version number is due to the SRU/W support.)
136 - Include "logging-server.pl" in the distribution: the
137 simplest possible SimpleServer application, which merely
138 logs the client-request data structures.
139 - Makefile.PL is more helpful if yaz-config isn't found.
140 - Explicitly disable prototypes in SimpleServer.xs: makes no
141 difference but suppresses an error message for a cleaner
144 0.08 Mon Jun 14 14:51:01 2004
145 - SimpleServer is now perl 5.8 thread proof
146 - Support for IMP_ID parameter in Init responses. This was
147 actually written a long time ago, but left commented out as
148 the underlying YAZ back-end server didn't support
149 implementation-ID setting. Now that it does (and has done
150 for eighteen months -- since YAZ release 1.8.6 of
151 2002/03/25!), I've finally removed the comments.
152 - Init handler now understands the setting of {ERR_CODE} as
153 more than a boolean success indicator, and also {ERR_STR}.
154 They are now passed back to the client (thanks to recent
155 changes to the YAZ generic front-end server) in accordance
156 with Z39.50 Implementor Agreement 5, found at
157 http://lcweb.loc.gov/z3950/agency/agree/initdiag.html
159 0.07 Fri Jan 03 10:12:15 2003
160 - Applied Dave Mitchell's (davem@fdgroup.com) GRS-1 parsing patch.
161 Thanks Dave, and sorry it didn't find its way to release 0.06,
164 0.06 Thu Jan 02 11:15:01 2003
165 - Added support for authentication
166 - Add documentation for the object tree passed as the RPN
167 member of the search-handler's argument hash.
168 - We actually removed the vacuous Changelog and TODO files
169 back in 0.05. They should never have been here :-)
171 0.05 Tue Feb 05 21:54:30 2002
172 - Add brief documentation of the new handling
175 0.04 Tue Feb 05 21:49:56 2002
176 - Add Changelog (Why? We already have this file!)
177 - Add TODO file (although it's empty!)
178 - Change interface to constructor, and fix test.pl script to
179 use the new interface.
180 - Add support for Scan.
181 - Add support for building GRS-1 records.
182 - Add grs_test.pl test suite for new GRS-1 code.
183 - Add RPN structure to search-handler argument hash.
184 - Add PID element to init, search, fetch and present-handler
185 argument hashes (but not the sort, scan and close-handlers,
187 - Fix typos in documentation.
189 0.03 Thu Nov 09 16:22:00 2000
190 - Add the INSTALL file.
191 - Add support for a present-handler (distinct from fetch).
192 - Remove `$args->{LEN} = length($record)' from the example
193 fetch-handler in the documentation.
194 - Minor corrections to documentation, e.g. add commas after
195 elements in anonymous hash of arguments.
196 - Record syntaxes (formats) are now specified as ASCII OIDs
197 (e.g. "1.2.840.10003.5.10") rather than human-readable
198 strings (e.g. "usmarc")
199 - Add some XS code to support sorting, though it doesn't seem
200 to be finished yet, and is not wired out.
201 - Use symbolic constants (e.g. Z_ElementSetNames_generic
202 instead of hard-wired magic number 1).
203 - Add PEER_NAME element to init-handler argument hash.
204 - Minor changes to ztest.pl.
206 0.02 Mon Sep 11 12:32:00 2000
207 - First released versions
209 0.01 Wed Aug 30 14:54:01 2000
210 - original version; created by h2xs 1.19
213 - When invoking Init callback, set initial values of IMP_ID,
214 IMP_NAME and IMP_VER from the client's Init request.