diff --git a/Changes b/Changes index 1503a26..6cf5c66 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,59 @@ See the bottom of this file for a list of things still to do. The work for releases 1.0, 1.2 and 1.2.1 was sponsored by the National Library of Australia, whose help we gratefully acknowledge. +1.14.0 Mon 23 Nov 2026 14:08:10 CET + - Add getStart() and getEnd() to CQLNode, Modifier, ModifierSet and + CQLLexer, exposing source ranges for parsed nodes, modifiers, sort + keys and tokens. Ranges preserve quotes, escapes, internal whitespace, + subtrees and enclosing parentheses, using zero-based UTF-16 offsets + with an inclusive start and exclusive end. Objects without a source + location return -1; ranges are not updated after tree modifications. + Existing public signatures and CQLTokenizer remain unchanged. + Based on the proposal in PR #19. + + - Fix case-sensitive relation checks in the parser. Built-in relations + and registered custom relations are now recognized regardless of + letter case. Fixes #17. + + - Preserve backslash escape sequences in the lexer instead of removing + them prematurely. Later translation stages can now distinguish + escaped characters and apply the appropriate masking rules. Fixes #5. + + - Fix quoting when generating CQL, including double quotes following + escaped backslashes and terms ending in an unmatched backslash. + Handle whitespace and operator characters consistently when deciding + whether an index or term needs quoting, with regression tests for + these cases. + + - Target Java 8 and enforce Java 8 API compatibility when compiling + with newer JDKs by using the compiler's release option. Retain source + and target settings for builds running on JDK 8. Fixes #20. + + - Upgrade and pin Maven lifecycle, compiler, release, Javadoc and site + plugins, and update the SSH Wagon extensions. Replace obsolete + Javadoc options and move report configuration into the reporting + section to avoid Maven configuration warnings. + + - Modernize API documentation generation and site navigation. Pin the + project-info reports plugin, use the Fluido skin, and add a direct + Java API link. Update Javadoc markup for HTML 5 and refresh project, + repository and issue-tracker links. + + - Update publishing to use external SSH for Maven artifacts and the + idsoft account on software.indexdata.com for documentation. Preserve + the existing cql-java documentation and apidocs paths, disable chmod + on the root-owned site directory, and document publishing in the POM. + + - Add GitHub Actions verification and run the build on Java 11 and 21. + Upgrade JUnit to 4.13.1, add source-position and escaping regression + tests, and replace noisy test output with contextual failure messages. + Standardize Java source indentation with EditorConfig. + + - Correct the Maven license metadata to LGPL-2.1-only and link to the + corresponding license text. This aligns the machine-readable metadata + with the existing license stated in the README; it is not a license + change. + 1.13 Wed 10 May 2017 14:44:44 CET - add classes for visitor traversal - truncation attribute right/left/both/none (thanks to Rustam Usmanov) diff --git a/pom.xml b/pom.xml index 234a8e7..ad7c4a3 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.z3950.zing cql-java jar - 1.14-SNAPSHOT + 1.15.0-SNAPSHOT cql-java https://www.indexdata.com/cql-java @@ -49,6 +49,11 @@ + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.9.0 + org.apache.maven.plugins maven-javadoc-plugin @@ -57,6 +62,13 @@ UTF-8 none + + + + javadoc + + + @@ -153,16 +165,27 @@ test + false id-maven-repo Index Data Maven Repository - scp://maven.indexdata.com/var/www/maven/repository + scpexe://maven.indexdata.com/var/www/maven/repository id-website - scpexe://www.indexdata.com/var/www/software/cql-java/ + scpexe://idsoft@software.indexdata.com/home/indexdata/software-site/htdocs/cql-java/ @@ -173,6 +196,8 @@ UTF-8 + + false 3.12.0 diff --git a/src/site/site.xml b/src/site/site.xml new file mode 100644 index 0000000..8c49f49 --- /dev/null +++ b/src/site/site.xml @@ -0,0 +1,19 @@ + + + + + + org.apache.maven.skins + maven-fluido-skin + 2.0.1 + + + + + + + +