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
## Changes
### TypeQL 3.8.0 Built-in Functions
- Add `iid()` and `label()` built-in function expressions for fetching entity IIDs and type labels directly in queries
- Add math functions: `abs_()`, `ceil()`, `floor()`, `round_()`
- Add collection functions: `len_()`, `max_()`, `min_()`
- New `type_bridge/expressions/builtin.py` module with unit and integration tests
### Query Improvements
- Use `iid($e)` and `label($t)` in fetch clauses instead of dual-query patterns
- Use `$e isa! $t; $t sub {type}` pattern to bind exact type for label()
- Fix `_Value` concept extraction using `.get()` instead of `.as_value()`
- Handle new dict format from TypeDB driver in aggregation/group_by results
### Unicode Identifier Validation
- Add Unicode XID_START/XID_CONTINUE validation for identifiers
- Update TypeQL grammar to support Unicode identifiers
### Bug Fixes
- Fix "Failed to initialize logging" warning by suppressing stderr fd 2 during driver creation
- Fix hardcoded port 1729 in test files (now uses configurable TEST_DB_ADDRESS)
- Fix pyright errors for `__dict__` item assignment
### CI/Infrastructure
- Update TypeDB version to 3.8.0-rc0 in docker-compose.yml and CI workflow
- Add `expressions` test group to CI matrix
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
-`@key`, `@unique`, `@card` constraints (including on `plays` and `relates`)
250
251
-`@regex` and `@values` constraints
@@ -265,6 +266,7 @@ See [docs/api/generator.md](docs/api/generator.md) for full documentation.
265
266
-**[docs/TYPEDB.md](docs/TYPEDB.md)** - TypeDB concepts, driver API, and TypeQL syntax
266
267
-**[docs/ABSTRACT_TYPES.md](docs/ABSTRACT_TYPES.md)** - Abstract types and interface hierarchies in TypeDB
267
268
-**[docs/INTERNALS.md](docs/INTERNALS.md)** - Internal type system and architecture
269
+
-**[docs/SKILL.md](docs/SKILL.md)** - AI assistant skill for using type-bridge (for Claude, GPT, etc.)
268
270
269
271
### API Reference
270
272
@@ -375,10 +377,12 @@ uv run pytest -m "" -v # Run all tests
375
377
## What's New in v1.2.2 (2025-12-25)
376
378
377
379
**Critical Bug Fixes:**
380
+
378
381
- 🐛 **Fixed RelationManager IID correlation** (Issue #78) - `RelationManager.all()` now correctly assigns unique IIDs to role players instead of duplicating the same IIDs across all relations
379
382
- 🐛 **Fixed stack overflow in `__in` lookups** (Issue #76) - Large `__in` queries (75+ values) now work reliably without causing TypeDB query planner crashes
0 commit comments