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
Driver.close(), GraphPipeline.close() and GraphTransaction.close() no longer declare IOException. Code that catches IOException around them, with nothing else in the try throwing it, no longer compiles ("exception IOException is never thrown in body of corresponding try statement"). That includes try (Driver d = ...) { ... } catch (IOException e), which was the only way to use try-with-resources with these types until now. Remove the catch, or catch a broader exception. A class implementing one of these interfaces whose close() declares throws IOException must drop the throws clause. A Mockito stub such as doThrow(new IOException()).when(driver).close() now fails with "Checked exception is invalid for this method": throw an unchecked exception instead. Compiled code keeps working: the change is binary compatible.
Query parameter names that aren't Cypher identifiers, such as 1, a b or é, used to make the query methods throw IllegalArgumentException; they are now backtick-quoted and sent. Names that are still rejected (empty, containing a backtick, a NUL character or an unpaired surrogate, or a null key) throw IllegalArgumentException with new messages. On FalkorDB 4.x the query text must refer to such a name quoted, as $`1`.
Features
add type-checked Record.getValue overloads, deprecate the unchecked ones (#523) (557e416)
Bug Fixes
accept query parameter names that aren't Cypher identifiers (#519) (1ee2fd1)
correct the public API's nullability where null actually occurs (#524) (4f5b973)
let Driver, GraphPipeline and GraphTransaction close without a checked exception (#522) (9fdd19f)
Performance Improvements
copy literal runs when encoding string query parameters (#520) (f145e1f)