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