--- 1.6.1 2026/11/23

* Fix native library initialization when queries are used before a
Connection is created. Loading now takes place in the generated JNI
class, allowing standalone CQLQuery and PrefixQuery operations to work
without first initializing a connection.

* Fix NegativeArraySizeException when retrieving records for which YAZ
returns a negative length, including Record.get("ext"). Return an empty
byte array when there is no byte buffer or the length is nonpositive.
Add regression coverage for the "ext" record type.

* Make CharStarByteArray.data read-only in the generated JNI bindings.
The pointer refers to storage owned by YAZ and must not be assigned from
Java. This removes the generated setData method, prevents its potential
memory leak, and eliminates SWIG warning 451.

* Support building with YAZ development packages that do not provide
yaz-config, including Debian's libyaz-dev. Use a wrapper that falls back
to pkg-config to obtain YAZ compiler and linker flags.

* Fix passing multiple YAZ compiler flags to SWIG. Expand yaz.cflags as
separate command-line arguments instead of passing the entire string as
one argument, so multiple include paths and defines are handled correctly.

* Fix Windows native build configuration. Preserve the YAZ include flags,
define WIN32 correctly, and use the configurable jdk.include property for
JNI headers, defaulting to the include directory beneath java.home.

* Update the Maven compiler plugin and compile with release 8 to retain
Java 8 API and bytecode compatibility when building with newer JDKs.
Suppress obsolete compiler-option warnings while retaining deprecation
and other compiler warnings.

* Update Debian packaging for Debian bookworm and trixie, and Ubuntu
jammy, noble and resolute. Use debhelper compatibility level 13 and the
distribution's JUnit 4.x version. Package builds are limited to amd64
until cross-compilation is supported.

* Add and modernize GitHub Actions testing with Java 11, 21 and 25.
Run query tests separately to catch native initialization problems that
could otherwise be hidden by test order. Update network tests to use
z3950.indexdata.com and tolerate different connection-failure messages.

* Refresh installation instructions and project links, including HTTPS
URLs for the Maven repository and package downloads. Clarify that the
YAZ runtime library is still required when using the Maven artifact.

--- 1.6.0 2021/01/02

* One pom.xml instead of 4. The consequence is that yaz4j uses
maven-antrun-plugin to run yaz-config, swig, compilers etc. However,
we'll have to figure out compilation options ourselves. Only Windows
and Linux supported now.

* yaz4j no longer uses finalize. This makes it more difficult to prevent
leaks for ZOOM objects such as Record. To ease the use of the API, most
objects supports Closeable interface. Connections manages result sets,
scan sets and packages. Result sets manages returned records.. This means
that in normal operations users of the API will primarily just have to
do RAII for Connection. Rest will be taken care of. Query is a standalone
managed object in YAZ. It will never be stored in object state, just
constructed temporarily. If a closed object is used, IllegalStateException
is thrown.

* PrefixQuery and CQLQuery may throw ZoomException.

* Native shared object may be bundled with jar. Enable with profile `bundle`.

--- 1.5 2015/05/21

* breaking API change: Package#send throws ZoomException
* add ConnectionExtended tests

--- 1.4 2014/06/26

* bugfix: fix multiple JVM segv on null pointers
* API: ScanSet is iterable
* API: Connection is closeable
* build: support Oracle JVM on OS X
* build: support older YAZ5 releases on Debian/Ubuntu

--- 1.3 2013/04/16

* new API class: Query (CQLQuery, PrefixQuery) allows sorting prior to search,
  adds CQL scan queries
* new API method: ResultSet#sort allows sort after search
* new API method: ResultSet#getRecords allows fething records in bundles
* API sugar: ResultSet is now iterable
* API deprecation: string arg versions of Connection#search and Connection#scan
  are now deprecated
* win32/64 build files included in the source (requires Windows SDK)
* improved API docs

Bug fixes:

* avoid redundant buffer copies in Record#get
* memory leak in Connection#search


--- 1.2 2010/04/22

Changes to the API:

* add Connection close that shutdowns socket without destroying the object
* rename ResultSet getSize to getHitCount

Bug fixes:

* #3115 - fix JVM crash when fetching records in unsupported syntax caused
  by null ptr dereference, handle record errors during search and in-record 
  errors
* properly deallocate records not managed by a result set


--- 1.1 2010/02/22

Major changes to the API:

* using Java naming conventions
* simplified/removed less used classes
* using standard Java container types instead of of binded natives
* use checked exceptions for all app/protocol layer errors

Major changes to the code layout, using Maven to manage build.

Bug fixes:

* #3122 - out of memory bug caused by ResultSet using memory proportional 
  to the number of hits

--- 1.0 2009/09/22

Initial version after receiving the code from Talis.

Added JUnit test cases. 
