Skip to content

Commit e68e72f

Browse files
committed
chore: bump version to 4.0.6
- Update CHANGELOG with Elixir publish and PHP fixes - Sync version across all package manifests - Fix cargo publish version requirements - Fix Elixir Hex.pm checksum generation - Fix PHP ext-php-rs class registration panic
1 parent aa2b731 commit e68e72f

File tree

63 files changed

+130
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+130
-118
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
---
99

10+
## [4.0.6] - 2026-01-14
11+
12+
### Fixed
13+
14+
#### Publish Workflow
15+
- **Cargo publish version requirements**: Added version specifications to path dependencies in `kreuzberg` and `kreuzberg-cli` crates to resolve crates.io publishing failures
16+
- `kreuzberg-tesseract` now includes `version = "4.0"` alongside path dependency
17+
- `kreuzberg` dependency in CLI now includes version requirement
18+
- Resolves "all dependencies must have a version requirement specified when publishing" error
19+
20+
#### Elixir
21+
- **Hex.pm publish checksums**: Fixed checksum file generation for precompiled NIFs during Hex.pm publishing
22+
- Renamed checksum file to `checksum-Elixir.Kreuzberg.Native.exs` to match rustler_precompiled expectations
23+
- Added `mix compile --force` step before checksum generation to create required metadata
24+
- Updated `mix.exs` to reference correct checksum filename
25+
- Resolves "precompiled NIF file does not exist in the checksum file" error during Hex.pm publish
26+
27+
#### PHP
28+
- **ext-php-rs class registration**: Fixed runtime panic by registering missing `ChunkMetadata` and `Keyword` classes
29+
- Both classes are now properly registered in `get_module()` before their containing types
30+
- Resolves "Attempted to retrieve class entry before it has been stored" panic
31+
- Users can now access chunk metadata and keyword objects in PHP without errors
32+
33+
---
34+
1035
## [4.0.5] - 2026-01-14
1136

1237
### Added

Cargo.lock

Lines changed: 17 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ kreuzberg = { path = "crates/kreuzberg" }
2222
kreuzberg-tesseract = { path = "crates/kreuzberg-tesseract" }
2323

2424
[workspace.package]
25-
version = "4.0.5"
25+
version = "4.0.6"
2626
edition = "2024"
2727
rust-version = "1.91"
2828
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "kreuzberg/kreuzberg",
33
"description": "High-performance document intelligence for PHP. Extract text, metadata, and structured information from PDFs, Office documents, images, and 56 formats. Powered by Rust core for 10-50x speed improvements.",
4-
"version": "4.0.5",
4+
"version": "4.0.6",
55
"type": "php-ext",
66
"license": "MIT",
77
"keywords": [

crates/kreuzberg-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ keywords = ["document", "extraction", "cli", "tool", "parser"]
1313
categories = ["command-line-utilities", "text-processing"]
1414

1515
[dependencies]
16-
kreuzberg = { path = "../kreuzberg", version = "4.0", features = ["cli", "bundled-pdfium"] }
16+
kreuzberg = { path = "../kreuzberg", version = "4.0.6", features = ["cli", "bundled-pdfium"] }
1717
clap = { workspace = true }
1818
tokio = { workspace = true }
1919
anyhow = { workspace = true }

crates/kreuzberg-node/npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kreuzberg/node-darwin-arm64",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"cpu": [
55
"arm64"
66
],

crates/kreuzberg-node/npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kreuzberg/node-darwin-x64",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"cpu": [
55
"x64"
66
],

crates/kreuzberg-node/npm/linux-arm-gnueabihf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kreuzberg/node-linux-arm-gnueabihf",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"cpu": [
55
"arm"
66
],

crates/kreuzberg-node/npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kreuzberg/node-linux-arm64-gnu",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"cpu": [
55
"arm64"
66
],

crates/kreuzberg-node/npm/linux-x64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kreuzberg/node-linux-x64-gnu",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"cpu": [
55
"x64"
66
],

0 commit comments

Comments
 (0)