The Apache Jena development community is pleased to
announce the release of Apache Jena 4.0.0
In this release:
* Require Java11 runtime.
* RDF-star implementation up-to-date with community work.
* IRIx abstraction
See notes about future changes.
* Add support for scripting languages other than _javascript_
JENA-1951 - Pavel Mikhailovskii
* Model API fix Alt, Seq, Bag (Containers)
JENA-2075
* jena-core: rename RDFReader as RDFReaderI
and RDFWriter a RDFWriterI to avoid name clashes
JENA-2038
* Upgrade to Apache Lucene 8.8.0
See notes.
* Remove property functions:
list:listMember list:listIndex, list:listLength
Use list:member, list:index, list:length
* Retire modules SDB, jena-text-es, and jena-elephas
* The default git branch is 'main'
* Deprecation cleanup
62 tickets this release:
https://s.apache.org/jena-4.0.0-jira
==== Notes
Lucene:
This is a major version number upgrade. Apache Lucene policy is generally "two major versions" so if your text index was created awhile ago, you may need to reload even if you have been upgrading Jena itself.
https://lucene.apache.org/core/8_8_0/MIGRATE.html
IRIs:
There is a new internal API for working with different IRI implementations.
The implementation in Jena 4.0.0 is the same as Jena3 jena-iri.
There a some areas to be aware of for future changes:
+ %ZZ (%-and non-hex digits) are illegal syntax in IRIs.
It has never been legal in the RFCs but could be read in.
+ urn: The correct form of a URN, by the RFC definition, is
urn:NID:NSS where NID is at least two characters and NSS is at least
one character.
<urn:x:abcd> is illegal as is <urn:abc:>
These are not rejected by Jena 4.0.0 but be warned!
If you have custom URIs schemes, please ensure they match the syntax of RFC 3986/3987.
== Obtaining Apache Jena 4.0.0
* Via central.maven.org
The main jars and their dependencies can used with:
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
<type>pom</type>
<version>4.0.0</version>
</dependency>
Full details of all maven artifacts are described at:
http://jena.apache.org/download/maven.html
* As binary downloads
Apache Jena libraries are available as a binary distribution of
libraries. For details of a global mirror copy of Jena binaries please see:
http://jena.apache.org/download/
* Source code for the release
The signed source code of this release is available at:
http://www.apache.org/dist/jena/source/
and the signed master source for all Apache Jena releases is available
at: http://archive.apache.org/dist/jena/
== Contributing
If you would like to help out, a good place to look is the list of
unresolved JIRA at:
http://s.apache.org/jena-jira-current
or review pull requests at
https://github.com/apache/jena/pulls
or drop into the dev@ list.
We use github pull requests and other ways for accepting code:
https://github.com/apache/jena/blob/master/CONTRIBUTING.md