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