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