Skip to content

Commit cf5bcab

Browse files
committed
fix(server): prefer write-clause type in extract_crud_info, bump to 1.4.3 (#121)
For Match + Insert/Put queries, extract_crud_info() was reporting the first matched entity as type_name instead of the actual write target. Separate match-clause type info into fallback variables so the Insert/Put statement always takes priority. Also refactor validation.rs match arms to use idiomatic match guards.
1 parent ce505a7 commit cf5bcab

12 files changed

Lines changed: 588 additions & 291 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to TypeBridge will be documented in this file.
44

55
## [Unreleased]
66

7+
## [1.4.3] - 2026-04-05
8+
9+
### Bug Fixes
10+
11+
##### Rust Server — `type-bridge-server`
12+
- **fix**: `extract_crud_info()` now reports the write-target type for Match + Insert/Put queries (#121)
13+
14+
##### Rust Core — `type-bridge-core-lib`
15+
- **refactor**: use idiomatic match guards in validation.rs
16+
717
## [1.4.2] - 2026-03-04
818

919
##### Rust Server — `type-bridge-server`

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "type-bridge"
7-
version = "1.4.2"
7+
version = "1.4.3"
88
description = "A modern, Pythonic ORM for TypeDB with an Attribute-based API"
99
readme = "README.md"
1010
requires-python = ">=3.13"
@@ -29,7 +29,7 @@ dependencies = [
2929
"lark>=1.1.9",
3030
"jinja2>=3.1.0",
3131
"typer>=0.15.0",
32-
"type-bridge-core>=1.4.2",
32+
"type-bridge-core>=1.4.3",
3333
]
3434

3535
[project.urls]

0 commit comments

Comments
 (0)