Minor update for Kuzu 0.9.0 release.
FossilOrigin-Name: c215238d4ec01e47721f6786183244a71ab2befaad28416633f0fe41ba88a974
This commit is contained in:
parent
08f49331b4
commit
a628abca2a
7 changed files with 18 additions and 5 deletions
10
History.md
10
History.md
|
|
@ -1,5 +1,15 @@
|
||||||
# Release History for nim-kuzu
|
# Release History for nim-kuzu
|
||||||
|
|
||||||
|
---
|
||||||
|
## v0.2.0 [2025-04-01] Mahlon E. Smith <mahlon@martini.nu>
|
||||||
|
|
||||||
|
Well that didn't take long! Update for Kuzu 0.9.0.
|
||||||
|
|
||||||
|
No practical changes, but there was a prepared statements
|
||||||
|
binding bugfix in the underlying lib that was biting us,
|
||||||
|
so update version to reflect the 0.9.0 release.
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
## v0.1.0 [2025-03-31] Mahlon E. Smith <mahlon@martini.nu>
|
## v0.1.0 [2025-03-31] Mahlon E. Smith <mahlon@martini.nu>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ For more information about Kuzu itself, see its
|
||||||
|
|
||||||
$ nimble install kuzu
|
$ nimble install kuzu
|
||||||
|
|
||||||
The current version of this library is built for Kuzu v0.8.2.
|
The current version of this library is built for Kuzu v0.9.0.
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
||||||
1
USAGE.md
1
USAGE.md
|
|
@ -32,6 +32,7 @@ versions might work. Don't count too heavily on it. :-)
|
||||||
| Kuzu Library Version | Nim Kuzu Version |
|
| Kuzu Library Version | Nim Kuzu Version |
|
||||||
| -------------------- | ---------------- |
|
| -------------------- | ---------------- |
|
||||||
| v0.8.2 | v0.1.0 |
|
| v0.8.2 | v0.1.0 |
|
||||||
|
| v0.9.0 | v0.2.0 |
|
||||||
|
|
||||||
You can use the `kuzuVersionCompatible()` function (along with the
|
You can use the `kuzuVersionCompatible()` function (along with the
|
||||||
`kuzuGetVersion()` and the `KUZU_VERSION` constant) to quickly check if things
|
`kuzuGetVersion()` and the `KUZU_VERSION` constant) to quickly check if things
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ weird prepared statement binding behavior?
|
||||||
|
|
||||||
I don't know. Maybe it's just me.
|
I don't know. Maybe it's just me.
|
||||||
|
|
||||||
|
NOTE: This was verified and fixed in Kuzu 0.9.0!
|
||||||
|
|
||||||
https://docs.kuzudb.com/get-started/prepared-statements/
|
https://docs.kuzudb.com/get-started/prepared-statements/
|
||||||
|
|
||||||
% clang -lkuzu -o prepared-test prepared-test.c
|
% clang -lkuzu -o prepared-test prepared-test.c
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,10 @@ when defined( futharkWrap ):
|
||||||
import futhark, os
|
import futhark, os
|
||||||
|
|
||||||
importc:
|
importc:
|
||||||
outputPath currentSourcePath.parentDir / "kuzu" / "0.8.2.nim"
|
outputPath currentSourcePath.parentDir / "kuzu" / "0.9.0.nim"
|
||||||
"kuzu.h"
|
"kuzu.h"
|
||||||
else:
|
else:
|
||||||
include "kuzu/0.8.2.nim"
|
include "kuzu/0.9.0.nim"
|
||||||
|
|
||||||
import
|
import
|
||||||
std/strformat,
|
std/strformat,
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ type
|
||||||
kuzu_data_type_id_570425859 = enum_kuzu_data_type_id_570425858 ## Generated based on /usr/include/kuzu.h:319:3
|
kuzu_data_type_id_570425859 = enum_kuzu_data_type_id_570425858 ## Generated based on /usr/include/kuzu.h:319:3
|
||||||
kuzu_state_570425863 = enum_kuzu_state_570425862 ## Generated based on /usr/include/kuzu.h:324:49
|
kuzu_state_570425863 = enum_kuzu_state_570425862 ## Generated based on /usr/include/kuzu.h:324:49
|
||||||
struct_tm_570425865 {.pure, inheritable, bycopy.} = object
|
struct_tm_570425865 {.pure, inheritable, bycopy.} = object
|
||||||
tm_sec*: cint ## Generated based on /usr/include/bits/types/struct_tm.h:7:8
|
tm_sec*: cint ## Generated based on /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8
|
||||||
tm_min*: cint
|
tm_min*: cint
|
||||||
tm_hour*: cint
|
tm_hour*: cint
|
||||||
tm_mday*: cint
|
tm_mday*: cint
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# vim: set et sta sw=4 ts=4 :
|
# vim: set et sta sw=4 ts=4 :
|
||||||
|
|
||||||
const KUZU_VERSION* = "0.1.0"
|
const KUZU_VERSION* = "0.1.0"
|
||||||
const KUZU_EXPECTED_LIBVERSION* = "0.8.2"
|
const KUZU_EXPECTED_LIBVERSION* = "0.9.0"
|
||||||
|
|
||||||
let KUZU_DEFAULT_CONFIG* = kuzu_default_system_config()
|
let KUZU_DEFAULT_CONFIG* = kuzu_default_system_config()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue