Version 1.4.2
[metaproxy-moved-to-github.git] / NEWS
1 --- 1.4.2 2013/11/15
2
3 session_shared: fix element-set handling in record caching. MP-499
4
5 document http_rewrite. MP-468
6
7 http_write: Honor X-Metaproxy-SkipLink MP-479 . Filter understands and
8 respects the header (which will normally come from the cproxy filter)
9
10 --- 1.4.1 2013/10/31
11
12 RPM: fix dependency for libmetaproxy5-devel MP-496. The libmetaproxy5-devel
13 RPM was unsable in version 1.4.0.
14
15 Remove log message about "backend classes". Appeared in version 1.4.0.
16
17 --- 1.4.0 2013/10/04
18
19 Build RPM/Deb packages with YAZ 5 and yazpp 1.5. Metaproxy still compiles
20 with older version from source, but packages now use YAZ 5 that supports
21 SRU 2.0.
22
23 sru_z3950: Fix SEGV for decoding invalid SRU requests
24 Incorrect reference to union (was explain response rather than
25 search response).
26
27 session_shared: match additionalSearchInfo (includes facets). In
28 layman's terms means that means that facets are properly handled
29 by this filter. Eg a change in requested facets will issue new
30 search and facets from exisiting result set are cached.
31
32 --- 1.3.62 2013/09/11
33
34 http_rewrite: better handling of <script> content in HTML parser. MP-486
35
36 http_rewrite: fix threading issue with regex. MP-482
37
38 bounce: don't use strdup for fixed length content. Error occurred in echo
39 mode only.
40
41 session_shared: expire backend class when no instances left. This
42 means memory clean up, but not really a leak fix.
43
44 virt_db: fix leak for naked ptr.
45
46 cql_rpn: use config relative path for cql2rpn file. MP-481
47
48 Updates for upcoming YAZ 5.
49
50 --- 1.3.61 2013/08/29
51
52 New configuration directories ports.d/routes.d for metaproxy
53 configuration. This allows 3rd party packages to install config
54 for ports and new routes. MP-477
55
56 --- 1.3.60 2013/08/21
57
58 Fix metaproxy-config --libs to return non-mt over mt libs.
59 The -mt versions do not exist as shared objects and cause
60 linker errors for applications linking with Metaproxy.
61 Problem present in versions 1.3.56 - 1.3.59. MP-475
62
63 HTML: clean up char checks. Add ptr to HTML parse spec
64
65 HTML parser stops eating tag when <-char is met  MP-473
66
67 rewrite: do not even compare content types, if we don't have any
68 the regex_match caused a segfault if we had no content-type in the
69 headers. MP-471
70
71 rewrite: within header=... matches only the header value
72 Used to match the whole header line, but we need to use
73 ^$ anchoring for host-relative regexps, and they need to
74 anchor at the ends of the value. MP-470.
75
76 rewrite: Ruleset functional MP-469
77
78 --- 1.3.59 2013/07/12
79
80 session_shared: negotiate init sz parameters.
81 By default, session_shared will honor the paramters given by client.
82 An alternative, but not implemented, algorithm would be to only
83 re-use sessions with same sz parameters. This however, could reduce
84 re-use of sessions a lot. Hence this, simple algorithm instead. The
85 negotiation to a maximum sz values can be enabled by using
86    <init maximum-record-size="sz1" preferred-message-size="sz2"/>
87 in configuration. This will make session_shared send those values
88 to backends and use returned init values in negotaition to
89 client before session_shared.
90
91 session_shared: resolve result-set references.
92 The reference is substitued with the query for old set if database
93 match and query type is Type-1. If not the reference will issue a
94 diagnostic.
95
96 sort filter: relays RecordComposition including elementSet in use for
97 search.
98
99 http_client: better diagnostics
100
101 http_client: disables HTTP redirect handling by default.
102 It can be configured with max-redirects in configuration.
103
104 --- 1.3.58 2013/06/12
105
106 Fix loading of filters cql_rpn and sru_z3950 . Was broken by 1.3.57.
107
108 --- 1.3.57 2013/06/12
109
110 Make RouterChain and RouterXML part of public API (libmetaproxy).
111
112 http_client: honor X-Metaproxy-Proxy as an alternative to
113 the "proxy" configuration. Allows proxy to be set per HTTP request.
114
115 sru_z3950: For SRU requests recognize x-client prefixes as a way
116 to ingest "database parameters".. The suffix of x-client- serves
117 as database argument name. Multiple may be given. For example:
118   http://path/db/?operation=searchRetrieve&x-client-user=a&x-client-password=b
119 is turned into Z39.50 database
120   db,user=a&password=b
121
122 --- 1.3.56 2013/05/27
123
124 New filter present_chunk. This filter allows splitting of present requests into smaller chunks.
125
126 New filter sd_remove, which replaces surrogate diagnostics with
127 SUTRS records. This filter tries to deal with clients that breaks
128 when receiving surrogate diagnostics.
129
130 new filter http_client. Same role as z3950_client, but just for
131 HTTP. Allows Metaproxy to operate as a HTTP proxy.
132
133 New filter http_rewrite1, which serves as purpose on how to rewrite
134 HTTP content with Metaproxy.
135
136 Use libboost-system if available, because newer versions of libboost-threads
137 requires libboost-system.
138
139 Allow frontend_net to serve SSL/HTTPS, because we can specify a server
140 certificate now.
141
142 --- 1.3.55 2013/04/10
143
144 zoom: Torus setting: authenticationMode which may hold values "basic"
145 and "url".
146
147 --- 1.3.54 2013/03/27
148
149 configure: check for Libxslt support in YAZ and rely on definitions
150 from yaz-config, rather than doing own xslt/xml2 checks.
151
152 Allow timestamp format for log lines to be given with option -m
153 for metaproxy. Similar to yaz-ztest/GFS option -m.
154
155 Document log category 'line' for log filter.
156
157 Solr configuration example in etc/config-solr.xml
158
159 multi: do not mess with request package. For scan and search,
160 database-names were modified and the request package was left with
161 dangling pointers that caused a log filter to fail (request package
162 inspected after multi was invoked).
163
164 Documentation: fix id of metaproxy-config ref .
165
166 Documentation: update for USEMARCON support.
167
168 --- 1.3.53 2013/01/31
169
170 record_transform: allow OPACXML to OPAC conversion
171
172 zoom: document content-proxy
173
174 zoom: document db parm content-{user,password}, torus_url. Also
175 <torus auth_url="..> which makes zoom operate in authenticated mode
176 via Torus lookup.
177
178 --- 1.3.52 2012/11/30
179
180 zoom: fix http://-check. SRU search broken in 1.3.51.
181
182 --- 1.3.51 2012/11/15
183
184 zoom: only append http:// for SRU if not already given . Makes it
185 possible to use https-URLs.
186
187 Use yazpp 1.4 or later due to new ABI.
188
189 frontend_net: allow max package size to be specified. Controlled by
190 attribute 'max_recv_bytes' of element 'port'.
191
192 --- 1.3.50 2012/10/29
193
194 For most generated diagnostics by filters, typically temporary
195 system error, augment addinfo message with filter name.
196
197 Add support for CentOS 6 packages.
198
199 sru_z3950: interpret Z39.50 diagnostics part of Init Response.
200
201 Add man page for metaproxy-config.
202
203 --- 1.3.49 2012/10/18
204
205 zoom: new config element passthru. This defines an element set that is
206 passed verbatim to the backend in pz2 mode.
207
208 auth_simple: allow both idPass and open auth. Also fix SEGV that could
209 occur for open auth.
210
211 --- 1.3.48 2012/10/08
212
213 z3950_client: fix string handling for init diagnostics in the case where
214 addinfo was absent.
215
216 query_rewrite: no charset conversion for error queries. Avoid performing
217 charset conversion for query conversion errors. The resulting Type-1
218 query is invalid in this case.
219
220 --- 1.3.47 2012/10/04
221
222 For graceful stop (SIGUSR1), metaproxy will kill children processes.
223
224 Log when metaproxy is invoked in test mode (-t).
225
226 Log PID for each log message.
227
228 multi: combine both NSDs and multiple NSDs into one (diagnostics).
229
230 z3950_client: fixup multiple NSD's too. Like surrogate diagnostics,
231 a (backend=target) is appended for each diagnostic so that can be
232 determined the origin of error.
233
234 multi: hideerrors also in use for present response.
235
236 Solr example in zoom man page.
237
238 Fix typo in query_rewrite config example.
239
240 Log at least first non surrogate diagnostic. Instead of
241 "Z_Records_multipleNSD"
242
243 multi: Fix check for opt Records in present response. A SEGV could occur
244 if a target did not return records and no diagnostics.
245
246 --- 1.3.46 2012/09/24
247
248 Yet another fix for graceful stop.
249
250 --- 1.3.45 2012/09/12
251
252 sru_z3950: relay surrogate diagnostics.
253
254 --- 1.3.44 2012/09/10
255
256 zoom: Honor extraArgs, strip # in zurl.
257
258 multi: fix SEGV for scan. Reported by Rustam T. Usmanov.
259
260 zoom: url_recipe allow %{var[reg]} substitutions.
261 It's like ${var[reg]} but does URI component encoding as well.
262
263 --- 1.3.43 2012/08/22
264
265 RPM/Deb: require yazpp 1.3.2, because it fixes a missing close of
266 non-keepalive HTTP sessions.
267
268 http_file: allow zero size files (bug fix)
269
270 Fix zoom schema: auth_url is optional
271
272 --- 1.3.42 2012/08/20
273
274 zoom: fix un-init memory (could result in SEGV at session close)
275
276 frontend_net: handle X-Forwarded-For. This is stored in package.origin()
277 and may be used in filters as usual.
278
279 zoom: authentication via Torus lookup
280 Enabled by new configuration setting: auth_url . If this is defined,
281 the zoom module will contact Torus for auth/IP lookup and that will
282 define realm to be used in session.
283
284 --- 1.3.41 2012/08/10
285
286 virt_db: Fix database name - first character we removed by mistake.
287 Bug introduced in 1.3.40.
288
289 --- 1.3.40 2012/08/06
290
291 virt_db: Don't use "unix path" as database for Unix sockets.
292
293 --- 1.3.39 2012/08/02
294
295 z3950_client: Don't tamper with / in zurl - fixes problems
296 using Unix sockets for backends.
297
298 session_shared: fix integer overflow problem with hit count.
299
300 session_shared: avoid long usage of cached queries.
301
302 zoom: New database argument , torus_url to set URL of Torus
303 record to be fetched.
304
305 --- 1.3.38 2012/07/04
306
307 Fixes for 'metaproxy reload' for RPM/Debian packages. 
308
309 zoom: Allow rpn2cql conversion to be augmented with a properties file.
310 Element rpn2cql can be specified per-target for the zoom filter.
311
312 log: New category "line" which is a single-line log message with
313 most important parts of a HTTP/Z39.50 request/response.
314
315 --- 1.3.37 2012/06/01
316
317 frontend_net: add facility to report live statistics about response
318 times and current thread usage. The report is an XML document
319 and is triggered for a specific URL path. This is set by <stat-req>
320 in the configuration of frontend_net. By default this report is
321 disabled (same as empty value for <stat-req>).
322
323 Fix reload problem in init.d script for RPM/Debian. 
324 The '/etc/init.d/metaproxy reload' in some cases would stop but not
325 start metaproxy - effectively stopping the service.
326
327 Don't display start log message when config testing (-t).
328
329 zoom: avoid CCL message limit of 1K in ZOOM filter.
330
331 --- 1.3.36 2012/05/10
332
333 metaproxy init script reacts to reload which does graceful stop +
334 start and is used by logrorate script.
335
336 --- 1.3.35 2012/05/09
337
338 Fixes for Windows compilation.
339
340 Metaproxy daemon reacts to SIGUSR1 in which case it will leave
341 existing sessions running but terminate the monitor process that is
342 used in keepalive mode.
343
344 Change start log message to 'metaproxy start'. Was 'Metaproxy start'
345 before. Consistent with 'metaproxy stop' message.
346
347 zoom: document zoom's proxy_timeout
348
349 z3950_client: fixup addinfo for init response
350
351 virt_db: return other diagnostic if init is rejected. Diagnostic 236:
352 "Access to specified database denied" is returned, but only if init
353 response from backend does not carry diagnostics already.
354
355 multi: relays user info for first rejected target. The other-information
356 field for init response for first rejected target is in common init
357 response. This ensures that some backend init diagnostics are returned to
358 the frontend.
359
360 --- 1.3.34 2012/04/25
361
362 frontend_log: extend logging (when message is given in config).
363
364 --- 1.3.33 2012/04/25
365
366 zoom: Fix check for proxy. Use diagnostic 1074 for proxy failures.
367
368 --- 1.3.32 2012/04/24
369
370 sru_z3950 filter passes through incoming Z39.50 requests again. Was
371 not handled by mistake in Metaproxy versions 1.3.29, 1.3.30 and 1.3.31.
372
373 --- 1.3.31 2012/04/24
374
375 zoom: fixes for retry/proxy failover logic. More logging.
376
377 --- 1.3.30 2012/04/23
378
379 zoom: return addinfo="proxy failure" for proxy failures. This also
380 changes the scheme for dealing with proxies a bit.  zoom now always
381 do proxy check, even if there's no failover. Fortunately, that's not
382 very expensive.
383
384 zoom: Init rejected wo diagnostics maps to Bib-1:1014.
385 Bib-1 1014, "Init/AC: Authentication System error", seems pretty
386 generic. We don't know why the init would fail; IP, user, block IP, etc.
387 sru_z3950 filter maps this to SRU diagnostic 3: "Authentication error".
388
389 zoom: guess if invalid SRU response was an auth failure
390
391 session_shared: disable session retry by default . Can be enabled by
392 restart="true" in resultset section.
393
394 --- 1.3.29 2012/04/18
395
396 zoom: may read cf-proxy's config settings.
397 This reduces manual configuration of the content proxy server host.
398 The ZOOM module will use the old style session.proxyhost if "server"
399 is given (deprecated) and use the new style proxyhost/session if
400 "config_file" is in use.
401
402 frontend_net: remove incoming requests that can not be handled
403 Requests in queue for filter frontend_net are removed if client
404 closes connection for the session and request is not yet handled.
405
406 sru_z3950: serialize requests. This is to ensure that pipelined
407 HTTP requests are handled properly.
408
409 --- 1.3.28 2012/04/04
410
411 New class, wrbuf, that wraps YAZ' WRBUF.
412
413 --- 1.3.27 2012/03/30
414
415 Metaproxy daemon is now running as user "metaproxy". This user is
416 managed by package maintainer scripts. The user information is stored
417 in /etc/metaproxy/metaproxy.user . 
418
419 --- 1.3.26 2012/03/20
420
421 New filter, sort, that allows sorting of XML records via Z39.50
422 retrieval.
423
424 Filter record_transform: USEMarcon support. For example:
425   <retrieval syntax="usmarc">
426      <backend syntax="unimarc" name="F">
427        <usemarcon stage1="/etc/usemarcon/uni2us/uni2us.ini"/>
428      </backend>
429   </retrieval>
430
431 Filter multi: empty route pattern uses route as default.
432   That is
433    <target route="z3950.indexdata.com">z3950.indexdata.com</route>
434   may use the shorter notation
435    <target route="z3950.indexdata.com"/>
436
437 Filter query_rewrite: use config path to locate XSLT.
438
439 Filter frontend_net:  log statistics.
440 If a custom message element in frontend_net configuration it makes
441 the frontend_net filter produce a log entry whenever an operation
442 is completed. The log is always written using yaz_log with the
443 custom message given, the package ID (session ID) , the time
444 the operation has been active (end-to-end) , the threads currently
445 active/total and the size of the request input/output queues.
446
447 query_rewrite: charset conversion of query terms.
448 This is an optional feature. Enabled by element <charset> in
449 configuration with attribute 'from' and 'to' that specifies
450 from/to encodings. The default 'from' encoding is UTF-8.
451
452 Filter record_transform: honor piggyback searches.
453
454 Filter zoom: re-connect when database is reused.
455 Re-connect is necessary if a connection is lost or a timeout occurs.
456 If not, we'll be seeing zero hits, when we shouldn't.
457
458 --- 1.3.25 2012/02/29
459
460 zoom: Change scheme for dealing with content proxy URLs. The module
461 now has its own common XSL transform that is enabled by record_xsl
462 attribute in the configuration. This XSL gets parameter cproxyhost
463 that holds the host for the content proxy session . The genearted-url
464 is created only if urlRecipe is enabled. In previous version default
465 value of urlRecipe was ${md-electronic-url}; it is now empty and
466 disabled by default. Also generated-url no longer includes the content
467 proxy host. Content proxying URLs is supposed to the handle in the record_xsl
468 stylesheet.
469
470 zoom: new setting timeout that specifies timeout for outgoing Z39.50/SRU
471 connections. Default value is 40 (seconds).
472
473 zoom: tune CCL to Z39.50 diagnostics mapping. Throw Bib-1: 108
474 "Malformed query" for syntax errors and related ones; throw
475 Bib-1: 3 "Unsupported search" for everything else. Details from
476 the CCL parser is provided as additional-info.
477
478 multi: new setting hideerrors that makes multi only relay diagnostics
479 to a client if all backends fail.
480
481 --- 1.3.24 2012/02/23
482
483 zoom: empty ccl_map field-mappings disables CCL map.
484
485 zoom: fix Explain search that could return error if session was
486 re-used.
487
488 --- 1.3.23 2012/02/10
489
490 zoom: returns Explain records for database IR-Explain---1. The
491 target profile records are converted to Explain records via XSLT.
492
493 session_shared: make error recovery configurable. Whether a search
494 is restarted on errors or not, is configurable by attribute "restart"
495 in element "resultset" in configuration.
496
497 session_shared: only relay init for first request. session_shared, for
498 each backend class, now only relays first init request (rather than all).
499 The module only needs to save init response info once. This avoids the
500 need to check for session max.
501
502 --- 1.3.22 2012/02/02
503
504 zoom: fix memory leaks.
505
506 session_shared: maximum number of sessons is configurable. Default
507 value is 100. Result-sets for backends without named result sets are
508 only re-used if databases is identical for a search. This is under the
509 assumption that performance may suffer for those backends when
510 changing the database for each search.
511
512 multi: combines diagnostics from all backends. All diagnostics from
513 backends are combined into multiple non-surrogate diagnostics; rather
514 than just one diagnostic from first backend.
515
516 --- 1.3.21 2011/12/27
517
518 zoom: relay realm to cproxy parameter file.
519
520 Configuration: Allow filter collection element inside route. This
521 makes it possible to include multiple filters at once.
522
523 zoom: nocproxy also disables urlRecipe.
524
525 --- 1.3.20 2011/12/21
526
527 zoom: return diagnostic if CQL sortby conv fails.  Diagnostic Bib-1 214
528 "Illegal sort relation" is returned. Gets translated to SRU diagnostic
529 90: "Unsupported direction value".
530
531 zoom: honor database argument nocproxy. This disables creating a content
532 connector session (for non-CF targets, usually) and also relays nocproxy
533 as database argument to a CF target.
534
535 --- 1.3.19 2011/12/16
536
537 zoom: Multiple proxy hosts may be given for proxy rich database 
538 parameter. List is comma separated.
539
540 http_file: decodes URI paths properly. Does not return 404: not found
541 if no prefix are matches. Instead packages are passed on.
542
543 --- 1.3.18 2011/12/08
544
545 zoom: content-{user,password,proxy} are passed on to content proxy
546 system and takes precedence over user,password,proxy .
547
548 sru_z3950: SRU extra argument x-log-enable=1 enables a search response
549 with a log element including log material from children filters. At
550 this point, only the zoom filter uses this log facility. It will
551 eventually be used by other filters as well. In particular it might be
552 useful for this feature to track all filters in used during a search.
553
554 zoom: for x-log-enable=1, APDUs sent by ZOOM C, records as received
555 and queries as they are manipulated are logged.
556
557 zoom:  extend addinfo with native diagnostics. Diagnostics as received
558 by ZOOM C are put into addinfo - including ZOOM, HTTP, SRU and Bib-1
559 diagnostics. This indicates both a backend diagnostic and the original
560 form.
561
562 zoom: default urlRecipe value is ${md-electronic-url}
563
564 zoom: target profile setting sruVersion is recognized.
565
566 --- 1.3.17 2011/11/17
567
568 zoom: log target profile record fetched (AKA Torus).
569
570 --- 1.3.16 2011/11/17
571
572 Change target profile parameter CfSubDb to CfSubDB.
573
574 --- 1.3.15 2011/11/12
575
576 zoom: bug fix: realm was relayed to CF targets by mistake (realm only
577 makes sense to the zoom module itself).
578
579 --- 1.3.14 2011/11/11
580
581 zoom: realm may be given as part of database.
582
583 --- 1.3.13 2011/10/26
584
585 Fix Origin class assigment method; was removd by mistake in 1.3.12.
586
587 --- 1.3.12 2011/10/26
588
589 zoom: database args x-name=value are passed through to backend database.
590
591 SRU filter: user may specify session ID that is passed to log entries
592 that follows. It is specified by using x-session-id in the SRU arguments.
593
594 zoom: fix null pointer reference which would occur for bad url parameter
595 inside "torus" or if url was not given.
596
597 --- 1.3.11 2011/09/09
598 Fix bug in filter session_shared where sessions would not expire
599 properly (session ttl). This in turn could make the target close the
600 connection before expected and session_shared would return diagnostic
601 2: system temporarily available.
602
603 --- 1.3.10 2011/09/09
604
605 zoom: new target profile setting: sortmap_field. If sortmap_field is given
606 the field is mapped to the value for the sortmap. Values not matching
607 sortmap_field are passed verbatim.
608   
609 zoom: new target profile setting: sortStrategy. One of: "z3950", "type7",
610 "cql", "sru11" or "embed". The "embed" chooses type-7 or CQL sortby
611 depending on whether RPN or CQL is actually sent to the target.
612
613 --- 1.3.9 2011/08/25
614
615 zoom: urlRecipe result is stored in <pz:metadata type="generated-url">.
616
617 zoom: For content proxy authentication is stored in param name
618 "auth", instead of "authentication".
619
620 --- 1.3.8 2011/08/22
621
622 zoom: relay schema in SRU mode. Previously recordSchema was not affected
623 by elementSet.
624
625 --- 1.3.6 2011/08/22
626
627 zoom: new target profile element literalTransform that holds XSLT
628 (encoded as string) for target. Only if present and non-zero length it is
629 considered present. This takes precedence over transform.
630
631 Don't rely on trang anymore for Git checkout builds. Configuration in etc
632 will only be properly validated if trang is available. From now on only
633 relax NC files are bundled with the source dist.
634
635 Updates to check for Boost unit test (autoconf stuff). On MacOSX this
636 component was not detected when it should be.
637
638 --- 1.3.5 2011/08/12
639
640 z3950_client: mark non-surrogate diagnostics from backend.
641
642 zoom: a proxy may be specified for HTTP fetch of target profiles.
643
644 --- 1.3.4 2011/08/01
645
646 Honor piggyback. Makes some SRU targets behave that insist on
647 maximumRecords > 0, but also increases performance.
648
649 --- 1.3.3 2011/08/01
650
651 Fix dlpath in installed metaproxy.xml for RPM/Deb package. The
652 file was not update for libdir/metaproxy4 in version 1.3.2.
653
654 --- 1.3.2 2011/08/01
655
656 Change location of Metaproxy modules from libdir/metaproxy to
657 libdir/metaproxy4. Directory libdir/metaproxy is also owned by 
658 libmetaproxy3 and, thus, should not be used by libmetaproxy4.
659
660 New facility to dump APDUs from zoom filter. Enabled by 
661 <log apdu="true"/> in the zoom filter configuation.
662
663 zoom filter bug fix: SRU diagnostics received from backend was
664 not properly converted to Bib-1 diagnostics.
665
666 Package metaproxy depends on libmetaproxy4, same version.
667
668 --- 1.3.1 2011/07/28
669
670 zoom: fix a bug WRT passing authentication parameters to backends.
671
672 --- 1.3.0 2011/07/27
673
674 Fixes for windows Makefile.
675
676 --- 1.2.10 2011/07/25 
677
678 Change major version of metaproxy library from 3 to 4. This in turn
679 makes new package names for Debian and RPM.
680
681 --- 1.2.9 2011/06/27
682
683 zoom: enable marc-8 encoding by default for usmarc and opac (in pz2
684 transforn mode).
685
686 zoom: configurable element sets for record transforms.
687     
688 zoom: the target profile based transform is specified by element_transform
689 in element torus of of the ZOOM filter configuration ; default value
690 is "pz2". Target profile based retrieval is specified by element_raw
691 in configuration. It will perform same steps, but omit the XSL transform.
692 Default value is "raw".
693
694 zoom: element set is omitted if not set in profile. But only if pz2
695 transform is in effect. Previously the default element set was to "F".
696
697 zoom: For non-CF targets database arguments are parsed. User may supply
698 db,user=myuser&password=mypass for non-CF targets. These values override
699 what's given the authentication from the target profile.
700
701 session_shared: fix reference to freed memory. Would occur if a search
702 response had non-surrogate diagnostics.
703
704 --- 1.2.8 2011/06/22
705
706 Route may be given for each port in frontend_net.
707
708 --- 1.2.7 2011/06/22
709
710 Documentation for zoom filter. Local target profiles may be specified.
711
712 Fixes for zoom filter.
713
714 --- 1.2.6 2011/06/15
715
716 First version with zoom filter.
717
718 --- 1.2.5 2011/05/06
719
720 Filter z3950_client may be configured to always send a close APDU
721 to backend target when connection/session is closed. This will only
722 happen if close APDU is not already sent. Enabled by configuration
723 for z3950_client (force_close).
724
725 Filter virt_db and multi: relay close APDU.
726
727 Filter virt_db and multi: relay init size parameters 
728 preferredMessageSize and maximumRecordSize.
729
730 Filter sru_z3950: increase init sz parameters from 1MB to 10 MB.
731
732 --- 1.2.4 2011/01/27
733
734 RPM package for Metaproxy works for both SLES11 and Centos 5.5.
735
736 metaproxy-config: exec_prefix, libdir, includedir. Use these variables
737 as determined by configure.
738
739 RPM: Release includes 'indexdata' name. Use indexdata in release name so
740 this package can be distinguished from other vendors.
741
742 --- 1.2.3 2010/10/04
743
744 Fix filter multi: relay idAuthentication parameters.
745
746 --- 1.2.2 2010/09/15
747
748 Add metaproxy-config for returning compiler flags, libraries.
749
750 --- 1.2.1 2010/08/18
751
752 Fix --with-boost=PREFIX .
753
754 --- 1.2.0 2010/07/09
755
756 session_shared: fix use of maintenance thread.
757
758 Introduce 'start' method for filters and routers. It gets called after
759 configure and after fork, but before processing. This changes API -
760 from libmetaproxy2 to libmetaproxy3.
761
762 --- 1.1.7 2010/06/30
763
764 session_shared: ensure backend session is closed if init rejected
765 is received.
766
767 z3950_client: fix NULL ptr reference that could occur if two clients
768 connected concurrently and if max-sockets was in effect.
769
770 --- 1.1.6 2010/06/21
771
772 Fix bug 3497 - Metaproxy unstable while stopping.
773
774 Fix bug 3495 - SEGV in SRU filter.
775
776 --- 1.1.5 2010/06/15
777
778 Filter multi throws diagnostic 'Present Out of Range' when
779 appropriate - rather than returning 0 records.
780
781 Filter virt_db: fix bad result reuse. Could happen if a result
782 was overriden and a backend did not supported named result sets.
783
784 --- 1.1.4 2010/05/11
785
786 Filter log: category access logs diagnostics even if searchStatus
787 or presentStatus is 'success'.
788
789 --- 1.1.3 2010/04/21
790
791 The SRU to Z39.50 filter does repeated Z39.50 present requests
792 to fetch all records. Needed when a Z39.50 server returns partial
793 results (due to message size limits).
794
795 --- 1.1.2 2010/03/18
796
797 Metaproxy now kills all child processes that are spawned by
798 modules (in case of fork, exec).
799
800 --- 1.1.1 2010/01/28
801
802 Debian package now installs /etc/metaproxy/metaproxy.xml which
803 includes all XML files /etc/metaproxy/filters-enabled .
804 The include facility uses YAZ' yaz_xml_include_simple (YAZ 4.0.1).
805
806 --- 1.1.0 2010/01/20
807
808 Package based on YAZ version 4 and YAZ++ 1.2.0. It now includes a
809 development package to facilitate 3rd party Metaproxy modules.
810
811 --- 1.0.23 2010/01/04
812
813 Filter virt_db: Close backend filter session when Init rejected is received
814 from it (in which case it's not really closed yet). This will ensure we don't
815 run out of resources such as FDs in this case.
816
817 sru_z3950 filter: Accept any database (including those not listed).
818
819 --- 1.0.22 2009/12/03
820
821 Prepare for 64-bit YAZ. yazproxy will still work with YAZ++ 1.1.4 or
822 later which means YAZ 3.0.47 or later.
823
824 --- 1.0.20 2009/11/19
825
826 For filter virt_db, the database is a glob pattern and the virtual
827 database sections are consulted in the order given.
828
829 --- 1.0.19 2009/07/08
830
831 For filter multi, the target (for routing) may be given as a glob-pattern.
832
833 More documentation for filters virt_db and multi.
834
835 Update schema to allow for no database in sru_z3950 filter.
836
837 --- 1.0.18 2009/06/30
838
839 Added limit filter to put sleep (penalty) for heavy use.
840
841 Filter frontend_net may be configured to limit the number of new connections
842 from same IP to some value (connect-max).
843
844 Fixed the load_balance filter.
845
846 --- 1.0.17 2009/06/16
847
848 Fix path for metaproxy executable for Debian init.d script.
849
850 --- 1.0.16 2009/06/10
851
852 SRU to Z39.50 filter honors x-username and x-password. If only
853 x-username is given that translates to open authentication (Z39.50v2). If
854 both x-username and x-password is present that translates to idPass
855 authentication (Z39.50v3).
856
857 New facility to change current working directory (-w).
858
859 Update to upstream skeleton of init.d script. Should fix bug #2619.
860
861 Filter session_shared now caches records (used to only cache connections
862 and result sets).
863
864 Filter session_shared now invalidates a Z39.50 session if a server
865 returns -1 hits. This facility was also part of yazproxy and gets around
866 a bug in Voyager-based Z39.50 servers.
867
868 --- 1.0.15 2008/11/18
869
870 Fixed reference counting bug in Z39.50 client module (could cause SEGV).
871
872 --- 1.0.14 2008/06/09
873
874 Fixed the value of SRU record schema in searchRetrieve response. It was set
875 to a fixed value of "dc" before.
876
877 Serialize identical SRU requests. This is useful if HTTP client software
878 fires identical requests against metaproxy.
879
880 Allow Z39.50 target to be specified for SRU requests by using SRU extra
881 parameter x-target. Allows SRU to contact arbitrary Z39.50 targets and
882 avoid static configuration. This facility is handled by the sru_z3950 module
883 and the z3950_client module.
884
885 Allow maximum number of sockets to be used for a Z39.50 client by the
886 use of SRU extra parameter x-max-sockets. This facility is handled by the
887 sru_z3950 module and the z3950_client module.
888
889 --- 1.0.13.1 2008/02/29
890
891 Simplified check for Boost libraries.
892
893 --- 1.0.13 2008/02/29
894
895 First Debian package.
896
897 The sru_z9350 filter now recognizes SRU parameter z-target as being
898 a ZURL of the form host/database . 
899
900 Mergetype may be specified for filter 'multi'.
901
902 --- 1.0.12 2007/09/19
903
904 Fixed problem in Makefile WRT library specifictions. This could produce
905 linker errors (when they should not happen).
906
907 Fixed bug #1341: MetaProxy returning different results. Problem was that
908 fix-up of record database did not normalize the database name.
909
910 Documentation updates for Windows compilation.
911
912 --- 1.0.11 2007/06/14
913
914 Fixed problem with logfile being truncated.
915
916 --- 1.0.10 2007/05/23
917
918 Fixed bug #1136: Access rights not enforced.
919
920 Extension for log module. The log category 'access' logs more details.
921 New category 'user-access' added which is simlar to 'access' but adds
922 the Z39.50 user as for all entries in a session.
923
924 Switched to GPL v2.
925
926 Added support for configurable default/force target/vhost for module Z39.50
927 client module.
928
929 --- 1.0.8 2007/01/25
930
931 Implemented filter, session_shared, which optimizes usage of Z39.50
932 sessions and result sets.
933
934 New filter, record_transform, which converts MARC/XML records.
935
936 New filter, sru_z3950, which converts SRU to Z39.50 packages.
937
938 New filter, load_balance, in development.
939
940 New filter, zeerex_xplain.
941
942 XML framework for config files started.
943
944 Master RelaxNG Compact schema's are found in xml/schema/*.rnc,
945 RelaxNG XML schemas and XML Schema's are generated from RNC syntax.
946 XML config files are checked against RNG and XML Schema's.
947
948 XSLT transformation framework added in xml/xslt/*.xsl, consisting mainly of 
949 LOC Marc21 stylesheets found at http://www.loc.gov/marcxml/xslt.
950 Added stylesheet explain2cqlpqftxt.xsl which transforms a standard SRU ZeeReX 
951 explain record to YAZ CQL-to-PQF text config file. 
952
953 --- 1.0.7 2006/11/07
954
955 Added 'timeout' setting for filter frontend_net which specifies the number
956 of seconds a session is idle before it is closed. Default timeout is
957 300 (5 minutes).
958
959 --- 1.0.6 2006/07/07
960
961 Database name in records returned set for virt_db/multi filters.
962
963 Filter session_shared now functional.
964
965 Log filter can be configured to write to a given file using 'filename'
966 element. Also information category can be specified with 'category'. If
967 filename is omitted, the log filter writes to stdout. See etc/config5.xml
968 for example.
969
970 --- 1.0.5 2006/05/16
971
972 Fixed compilation on Windows.
973
974 --- 1.0.4 2006/05/16
975
976 Added documentation for the hidenavailable option for the multi filter.
977
978 --- 1.0.3 2006/05/16
979
980 Fixed bug #573: Hide errors for individual servers. If the element
981 'hideunavailable' is given in the configuration, individual servers
982 being unavailable are hidden (unless all are unavailable). 
983
984 Fixed bug #574: Database names are recognised case-sensitively.
985
986 Fixed bug #567: Fix up database name in Name-Plus-Record.
987
988 Fixed bug #568: Update win/makefile for VS 2005.
989
990 Fixed bug #569: Some options throws unknown exception.
991
992 --- 1.0.2 2006/04/28
993
994 More information about virtual hosts. The 'etc' directory is part of the
995 distribution tar.
996
997 --- 1.0.1 2006/04/27
998
999 Build instructions for Windows. NMake makefile part of distribution tar.
1000
1001 --- 1.0.0 2006/04/24
1002
1003 More documentation.
1004
1005 Filters functional: auth_simple, backend_test, frontend_net, http_file,
1006  log, multi, query_rewrite, template, virt_db, z3950_client.
1007
1008 Filters in development: session_shared.
1009
1010 Pseudo-filters: template, dl
1011
1012 --- 0.9 2006/03/27