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