Service may be POSTed for command=init.
[pazpar2-moved-to-github.git] / NEWS
1 A service may be posted for command=init. This service will be used
2 during the session. The service may have its own target settings,
3 ICU config, timeout, etc. In order to be recognized, the POST request
4 must use Content-Type=text/xml.
5
6 Timeout values may be given per-service. That's element 'timeout' 
7 which takes three attribute values (a subset may be given): 'session',
8 'z3950_connect', 'z3950_session'. Option -T is no longer supported
9 - used to specify session timeout.
10
11 Option -t tests the Pazpar2 configuration and returns exit code
12 (0=success, non-zero=failure). In previous version of Pazpar2, -t
13 specified local settings.
14
15 In version 1.2.0 the configuration file - after include processing -
16 was dumped to stdout. Now, the configuration is only dumped to the
17 yaz log file if option -d is given.
18
19 --- 1.2.0 2009/09/10
20
21 Configuration may now have multiple server areas. This means that a
22 Pazpar2 instance may listen on multiple ports. Virtual hosting is not
23 yet supported - on a server basis. Configuration may also have multiple
24 services .. That is repeating service elements inside a server. Each
25 has an attribute 'id' which serves as service ID. This ID in turn may
26 be used in a Pazpar2 session, by specifying parameter service=ID for
27 command init. There can be at most one unnamed service inside a server
28 which can be referred to by not specifying an service ID for command
29 init (backwards compatible). In order to partition multiple servers and
30 services a new include directive has been added. This takes an attribute
31 'src' which specifies one or more sub-files. For example to include
32 service files, one might use:
33   <server >.. <include src=/"etc/pazpar2/conf.d/*.xml"/> .. </server>.
34 It is the intention that that completely makes the settings directive
35 redundant.
36
37 Fix problem where the record command would wait forever if there were
38 no targets to wait for (activeclients == 0).
39
40 --- 1.1.1 2009/08/28
41
42 One result set is created per session (last search) rather than for
43 each connection which happen to be shared (bug #3009).
44
45 marc21 stylesheets changed for efficiency.
46
47 --- 1.1.0 2009/08/19
48
49 Session timeout may be specified on the command-line as option -T.
50
51 Pazpar2 may now be operated in a no-merged mode for records.. All records
52 will be considered unique. This mode is enabled if no mergekey is
53 generated by the normalization stylesheet (pz:xslt). 
54
55 Pazpar2 caches original records from each target and the 'record' command
56 with offset returns the original record if 'syntax' and 'esn' are NOT
57 specified. This speeds up retrieval of original records but also means
58 that Pazpar2 uses more memory. The cached records will be freed when the
59 session terminates or a new search is executed.
60
61 Pazpar2 no longer uses its own ICU wrapper. Instead the ICU wrapper
62 library part of YAZ is used.
63
64 Added SRU client support.
65
66 Automatically computes pz:nativesyntax if not provided. Works for XML and
67 MARC.
68
69 --- 1.0.13 2008/11/24
70
71 Command bytarget returns name of target (if defined).
72
73 --- 1.0.12 2008/11/04
74
75 Fixed bug #2021.. location now holds all brief elements.
76
77 --- 1.0.11 2008/10/15
78
79 Fixed check for application/x-www-form-urlencoded parameters.
80
81 --- 1.0.10 2008/10/14
82
83 Fixes for IE in pz2.js.
84
85 Fixed bug #2021: non-merged, brief meta data NOT included for command=show.
86
87 --- 1.0.9 2008/05/23
88
89 Changed the JS library pz2.js to use POST for long URL (+ params).
90
91 Added installation instructions for Windows. Note: NT services is
92 NOT available until we make a new release of YAZ.
93
94 Preserve order of repeated metadata fields (they were reversed before).
95
96 More MARC21 information extracted for metadata.
97
98 --- 1.0.8 2008/04/22
99
100 Fixed bug #1162: HTML entities are not escaped properly.
101
102 Native Windows port of Pazpar2. Makefile for Visual Studio provided.
103
104 --- 1.0.7 2008/04/14
105
106 Marc21 stylesheet updated to reflect multiple full text fields
107
108 --- 1.0.6 2008/03/12
109
110 Fixed bug in pz2.js WRT DOMElement attributes on IE.
111
112 Fixed bug 2100: Database wildcards not working
113
114 --- 1.0.5 2007/11/09
115
116 Added support for retrieval of records in binary.
117
118 Fixed bug 1794: Pazpar2 does not return valid XML.
119
120 Deal with ICU not returning sortkey (resulted in SEGV before).
121
122 --- 1.0.4 2007/09/28
123
124 JavaScript library pzw2.js throws error if WS response (from Pazpar2 or
125 other) is malformed (non-wellformed XML or missing Pazpar2 OK status).
126
127 Improved diagnostics when Pazpar2 HTTP decoding fails.
128
129 Pazpar2 requests may be POSTed as using Content-Type
130 application/x-www-form-urlencoded.
131
132 Pazpar2 honors LF in HTTP headers.
133
134 Handle targets that handle negative hit counts (should not happen, but it
135 does).
136
137 --- 1.0.3 2007/09/19
138
139 ICU is used for tokenization and normalization of the following: mergekey,
140 sorting, relevance terms.
141
142 Debian package now enables ICU tokenization and normalization by default.
143
144 --- 1.0.2 2007/08/22
145
146 Exposed user setting values (i.e. non-pz: names) to the record systems in two
147 ways: Either as parameters to the normalization stylesheets (which would allow the
148 programmer to postprocess or use the values in any way) or after the normalization
149 step, in which case values are made part of the normalized record (and available for
150 sorting, termlists, display, or other interface-related use.
151
152 Implemented sorting by year.
153
154 Option -d dumps records to the current log file instead of stderr.
155
156 Fixes for compilation on cygwin.
157
158 Z39.50 client code uses pz:elements. pz:elements was recognized in
159 earlier Pazpar2 versions but it was not used for anything.
160
161 icu_chain_test is using fgets instead of getline - fixes compilation
162 on MacOSX .
163
164 Loosen the CCL query parsing so that Pazpar2 only returns error if _all_
165 query conversions fail (rather than _any_). This means targets that do
166 not support some fields are ignored in a search.
167
168 --- 1.0.1 2007/07/03
169
170 Improved handling of socket timeout for Z39.50 connections. 
171
172 Misc documentation updates and spell fixes.
173
174 Debian package pazpar2 creates log rotate entry.
175
176 Debian package pazpar2-apache2 reloads Apache2.
177
178 jsdemo included in distribution. It illustrates the use of the js/pz2.js
179 JavaScript library.
180
181 --- 1.0.0 2007/06/20
182
183 First public release.
184