Skip to content

Bump tika.version from 3.3.2 to 4.0.0 - #6655

Draft
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/maven/tika.version-4.0.0
Draft

Bump tika.version from 3.3.2 to 4.0.0#6655
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/maven/tika.version-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor

Bumps tika.version from 3.3.2 to 4.0.0.
Updates org.apache.tika:tika-core from 3.3.2 to 4.0.0

Changelog

Sourced from org.apache.tika:tika-core's changelog.

Release 4.1.0 - unreleased

  • The Kafka pipes iterator no longer stops at the first empty poll. A newly subscribed consumer spends its first poll(s) joining the group and returns empty even when the topic has a backlog, so the iterator could enqueue zero files and report success. It now waits for a partition assignment (bounded by the new assignmentTimeoutMs, default 30s) and requires a continuous quiet window (drainIdleMs, default 1s) before concluding the topic is drained. groupInitialRebalanceDelayMs is deprecated and no longer sent to the consumer: it is a broker setting that Kafka has always ignored (TIKA-4833).

  • Pipes IPC: carry inline document bytes as a raw binary field beside the tuple in the request envelope -- never inside the tuple or its ParseContext -- and disable Smile's 7-bit binary encoding. Tuple JSON serialized by 4.0.0 with an "inline-bytes" parse-context entry no longer loads; it is rejected with a tailored message (TIKA-4829).

  • Digesting embedded documents no longer buffers each embedded object to a temp file. Zip entries are re-read from the parent archive on rewind, and a new process-wide CacheMemoryBudget (seeded by the pipes forked server; default 256MB, clamped to a quarter of the fork's heap; tunable via -Dtika.pipes.cacheMemoryBudgetBytes in the config's forkedJvmArgs, <=0 disables) lets embedded objects stay in memory past the per-object 1MB threshold. New public API on TikaInputStream: get(IOSupplier,...), enableRewind(CacheMemoryBudget), getSeekableByteChannel(). Zip/7z/epub/odf parsing and zip container detection now read through seekable channels, so after detection/parsing a TikaInputStream may no longer be file-backed (hasFile() false); getPath()/getFile() still work and spool on demand (TIKA-4828).

  • Pipes now carries the caller-supplied Content-Type across the worker's fresh-metadata boundary as a soft detection hint, so every forked-parse endpoint (/tika, /meta, /rmeta, /unpack, /async, /pipes, plus tika-grpc and embedded PipesForkParser) can route on a client Content-Type, not only on the filename. Detection keeps the hint only when it equals or specializes the content-detected type (e.g. refining image/tiff to image/x-canon-cr2); for bytes with no magic it can select any type, matching the routing power the filename already had. The CONTENT_TYPE_USER_OVERRIDE key is deliberately not carried, so the hint cannot force an unrelated type (TIKA-4825).

  • OneNote extraction now follows document order, omits superseded page revisions, sorts author metadata, extracts embedded object BLOBs, and bounds malformed-input recursion and file-derived allocations. Parse warnings and embedded relationship IDs are exposed in metadata. Malformed or truncated files that cannot be fully parsed, and files whose walk yields no content, now fall back to the legacy string dump instead of failing or returning empty output. The legacy MS-ONESTORE walker bounds its recursion (depth caps plus file-node-list and fragment-chain cycle guards) and now honors shouldParseEmbedded for embedded file data

... (truncated)

Commits
  • 514e1b3 [maven-release-plugin] prepare release 4.0.0-rc1
  • 4e39e07 revert second rc1 attempt
  • 7975986 javadocs take 42
  • 95d4235 [maven-release-plugin] prepare for next development iteration
  • 666289b [maven-release-plugin] prepare release 4.0.0-rc1
  • c9f6585 TIKA-4808 - revert aborted 4.0.0-rc1 release commits; fix per-module javadoc ...
  • 41183e7 [maven-release-plugin] prepare for next development iteration
  • 5dd7fc7 [maven-release-plugin] prepare release 4.0.0-rc1
  • 4b231cf TIKA-4808 -- prep CHANGES.txt for release
  • 532a685 TIKA-4808 - remove access to the network parser from cli (#3036)
  • Additional commits viewable in compare view

Updates org.apache.tika:tika-parsers-standard-package from 3.3.2 to 4.0.0

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `tika.version` from 3.3.2 to 4.0.0.

Updates `org.apache.tika:tika-core` from 3.3.2 to 4.0.0
- [Changelog](https://github.com/apache/tika/blob/main/CHANGES.txt)
- [Commits](apache/tika@3.3.2...4.0.0)

Updates `org.apache.tika:tika-parsers-standard-package` from 3.3.2 to 4.0.0

---
updated-dependencies:
- dependency-name: org.apache.tika:tika-core
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.apache.tika:tika-parsers-standard-package
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 24, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 24, 2026 03:08
@dependabot dependabot Bot added java Issues or pull requests that change Java code or are related to the JVM dependencies Pull requests that update a dependency file labels Aug 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 XQTS result comparison

Comparison of this run against develop.

Warning

97 test cases were recorded in only one of the two runs (97 only in the previous run, 0 only in the current run). The runner's JUnit output is not fully deterministic (see eXist-db/exist-xqts-runner#74), so totals and per-category deltas include recording noise; the newly passing/failing lists count only tests recorded in both runs.

Metric develop this run Change
🔴 Passed 28,844 (90.66%) 28,764 (90.69%) -80 (+0.03 pp)
🟢 Failures 1,570 1,554 -16
🟢 Errors 134 133 -1
➖ Skipped 1,267 1,267 0
🧪 Total tests 31,815 31,718 -97

Relative to develop: 3 newly passing, 0 newly failing, 0 new errors, 0 newly skipped — counting only tests recorded in both runs whose outcome changed.

🟢 Newly passing tests (3)
  • Constr-inscope-2 (was failing)
  • Constr-inscope-1 (was failing)
  • Constr-inscope-4 (was failing)
⚪ Recorded only in `develop` (97)
  • K2-Serialization-34 (failing)
  • K2-Serialization-21 (failing)
  • Serialization-html-37 (failing)
  • Serialization-html-26 (failing)
  • Serialization-html-12 (failing)
  • Serialization-html-39 (failing)
  • Serialization-html-13 (failing)
  • raytracer (failing)
  • n_string_invalid-utf-8-in-escape (failing)
  • extvardeclwithtype-23 (failing)
  • fo-test-fn-error-002 (failing)
  • fo-test-fn-substring-after-004 (failing)
  • fo-test-math-pow-032 (failing)
  • K2-Serialization-31 (in error)
  • UnaryLookup-045 (passing)
  • default_namespace-007 (passing)
  • defaultnamespacedeclerr-1 (passing)
  • default_namespace-001 (passing)
  • defaultnamespacedeclerr-5 (passing)
  • Constr-text-string-1 (passing)
  • Constr-text-count-6 (passing)
  • K2-ConText-2 (passing)
  • K2-ConText-14 (passing)
  • annex-5 (passing)
  • annex-3 (passing)
  • generalexpression120 (passing)
  • generalexpression129 (passing)
  • generalexpression123 (passing)
  • Serialization-html-44a (passing)
  • Serialization-html-46 (passing)
  • Serialization-html-57 (passing)
  • Serialization-html-6 (passing)
  • Serialization-html-32 (passing)
  • K2-SeqExprCast-500 (passing)
  • K2-SeqExprCast-323 (passing)
  • K2-SeqExprCast-341 (passing)
  • K2-SeqExprCast-521 (passing)
  • K2-SeqExprCast-455 (passing)
  • K2-SeqExprCast-360 (passing)
  • K2-SeqExprCast-445 (passing)
  • K2-SeqExprCast-477 (passing)
  • K2-SeqExprCast-404 (passing)
  • K2-SeqExprCast-355 (passing)
  • K2-SeqExprCast-419 (passing)
  • K2-SeqExprCast-393 (passing)
  • K2-SeqExprCast-443 (passing)
  • K2-SeqExprCast-465 (passing)
  • K2-SeqExprCast-413 (passing)
  • K2-SeqExprCast-394 (passing)
  • K2-SeqExprCast-350 (passing)
  • … and 47 more

Runtime: 502.6s (+33.12s vs develop).

@duncdrum

Copy link
Copy Markdown
Contributor

Migration guide: https://tika.apache.org/docs/4.0.x/migration-to-4x/index.html

@dizzzz
dizzzz marked this pull request as draft August 24, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Issues or pull requests that change Java code or are related to the JVM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant