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