You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
7
+
## [0.9.0]
8
+
9
+
### Changed
10
+
11
+
+ Updated to Grobid version 0.9.0
12
+
+ Bumped Java toolchain from 17 to 21 (required by Grobid 0.9.0)
13
+
+ Bumped Gradle wrapper from 7.2 to 9.0.0
14
+
+ Bumped Kotlin from 1.8.21 to 2.0.21
15
+
+ Migrated Shadow plugin from `com.github.johnrengelman.shadow:7.1.0` to `com.gradleup.shadow:8.3.10` (new coordinates after the original repo was archived)
16
+
+ Bumped Dropwizard from 4.0.13 to 4.0.17, dropwizard-guicey from 7.0.0 to 7.3.1, dropwizard-metrics from 4.2.22 to 4.2.38
17
+
+ Bumped Jackson from 2.14.3 to 2.21.1
18
+
+ Bumped Guava from 31.0.1-jre to 33.5.0-jre, commons-io from 2.14.0 to 2.21.0, commons-lang3 from 3.12.0 to 3.20.0, commons-collections4 from 4.4 to 4.5.0, httpclient from 4.5.13 to 4.5.14
19
+
+ Bumped JEP from 4.0.2 to 4.3.1
20
+
+ Bumped JUnit BOM from 5.10.2 to 5.14.1, EasyMock from 5.2.0 to 5.6.0, MockK from 1.13.9 to 1.13.17
21
+
+ Migrated `application` block to use `mainClass` (Gradle 9 compatibility) and corrected the main class to `org.grobid.service.main.GrobidQuantitiesApplication`
22
+
+ Updated CI workflows and Dockerfile builder image to JDK 21
23
+
+ Removed the abandoned `com.github.kt3k.coveralls` Gradle plugin (unmaintained since 2020 and unable to detect GitHub Actions as a CI service). Coverage is already uploaded by the `coverallsapp/github-action@v2` step in the CI workflows, which reads the Jacoco XML report directly.
24
+
25
+
### Fixed
26
+
27
+
+ Spelling fix in exception messages ("occured" → "occurred")
28
+
+ Worked around a Kotlin 2.0.21 K2 compiler `StackOverflowError` in `IrConstDeclarationAnnotationTransformer` that surfaced when compiling `LabellingUtilsTest.kt` on CI runners with small default JVM stacks (the test file has seven methods with nested string-concatenation chains that produce a deeply nested `IrCall` tree). Bumped the Kotlin compiler daemon stack via `kotlin.daemon.jvmargs=-Xmx2g -Xss4m` in `gradle.properties`. To be removed once upstream Kotlin fixes the recursive visitor bug.
29
+
+ Fixed Docker build failure in the `installModels` step. The `downloadModelsGit` Gradle task was using `org.ajoberstar.grgit:5.3.0` (embedded jgit 6.10.x), whose Smart HTTP v2 protocol parser is incompatible with HuggingFace's git server and fails with `TransportException: Short read of block` during the initial `lsRefs` handshake. Even a working `git clone` would have left LFS/Xet pointer stubs instead of real model weights for files >10MB, requiring a follow-up `git lfs pull` / `git xet checkout` with their own failure modes. Replaced `Grgit.clone(...)` with the official HuggingFace CLI: `hf download sciencialab/grobid-quantities-models --local-dir <path>` invoked via a Gradle `Exec` task. Added Python 3.11 to the Docker builder image via the `ppa:deadsnakes/ppa` repository (matching the parent grobid runtime image's Python version) and installed the `hf` CLI via `https://hf.co/cli/install.sh`. The builder cleans up the HuggingFace cache, pip cache, venv, and `hf` wrapper after `installModels` finishes. Removed the `org.ajoberstar.grgit` plugin and the `git-lfs` apt package from the builder.
30
+
31
+
### Notes
32
+
33
+
+ PowerMock 2.0.9 is intentionally retained for now: 5 test classes still depend on it. Java 21 compatibility is achieved via additional `--add-opens` JVM flags in the `test` and `integration` Gradle tasks. The Mockito migration of these tests is tracked as deferred work.
0 commit comments