Exploring new features of Apache TinkerPop 3.8.x in Amazon Neptune
Database Blog
This article explores the new features and breaking changes in Apache TinkerPop 3.8.x available in Amazon Neptune 1.5.0.0, which refines Gremlin language semantics and significantly expands Data Flow Engine (DFE) coverage.
- Date type changes from java.util.Date to java.time.OffsetDateTime; dateDiff() now returns milliseconds instead of seconds
- Numeric type auto-promotion on overflow instead of wrapping; floating-point literals default to double
- Steps removed or renamed: none() renamed to discard(), has(String,Traversal) removed, store() and aggregate(Scope,String) removed
- repeat() changes: cap() and inject() prohibited inside repeat(); limit/skip/range now apply per-iteration; order becomes globally consistent
- choose() now processes only first matching option; unproductive traversers pass through instead of erroring
- Collection output consistency: range/limit/tail with Scope.local always return lists, not unwrapped single items
- New capabilities: P.typeOf(GType) for type filtering, asNumber() and asBool() for type conversion
- DFE engine significantly expands Gremlin support with new steps and query patterns now fully optimized
Upgrading requires deliberate review of existing queries, testing against representative workloads, and updating drivers to TinkerPop 3.8.x for cleaner, more predictable Gremlin behavior.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
2024
2026
2026
2026
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.