Skip to content

Commit a02e4be

Browse files
committed
Release 0.14.0
1 parent 77efb98 commit a02e4be

File tree

6 files changed

+24
-15
lines changed

6 files changed

+24
-15
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,17 @@
2626
- Support simple SQL inner join
2727
- Support RBTREE index for exact match, range match and leftmost match
2828
29-
## 0.14.0 <small>(2025-05-07)</small>
29+
-->
30+
31+
## 0.14.0 <small>(2025-05-21)</small>
3032

3133
**Features**
3234

33-
- Support `REGEXP`,`RLIKE` operator
35+
- Support regular expression operator: `REGEXP`,`RLIKE`
3436
- Support new statements: `FLUSH` `REPAIR`
3537
- Support `TTL` feature
38+
- Support `UNSIGNED` `TINYINT/SMALLINT/INT/BIGINT` and new APIs `xdb_column_uint`, `xdb_column_uint64`
39+
- Support basic `JSON` type and query
3640

3741
**Improvements**
3842

@@ -42,9 +46,6 @@
4246

4347
**Test**
4448

45-
46-
-->
47-
4849
## 0.13.0 <small>(2025-05-07)</small>
4950

5051
**Features**

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
55
add_library(crossdb src/crossdb.c)
66
add_executable(xdb-cli src/xdb-cli.c)
77
IF (CMAKE_SYSTEM_NAME MATCHES "Windows")
8-
target_link_libraries(xdb-cli pthread ws2_32)
9-
target_link_libraries(crossdb pthread ws2_32)
8+
target_link_libraries(xdb-cli pthread ws2_32 regex)
9+
target_link_libraries(crossdb pthread ws2_32 regex)
1010
ELSE ()
1111
target_link_libraries(xdb-cli pthread dl)
1212
ENDIF ()
@@ -32,7 +32,7 @@ add_custom_command(
3232

3333
set(CPACK_PACKAGE_NAME crossdb)
3434
set(CPACK_PACKAGE_VERSION_MAJOR 0)
35-
set(CPACK_PACKAGE_VERSION_MINOR 13)
35+
set(CPACK_PACKAGE_VERSION_MINOR 14)
3636
set(CPACK_PACKAGE_VERSION_PATCH 0)
3737
set(CPACK_PACKAGE_CONTACT "crossdb <[email protected]>")
3838
#set(CPACK_GENERATOR DEB NSIS RPM)

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ endif
2222
cp include/crossdb.h build/
2323

2424
debug:
25-
$(CC) -o build/libcrossdb.so -fPIC -lpthread -shared -g -DXDB_DEBUG2 src/crossdb.c
25+
$(CC) -o build/libcrossdb.so -fPIC -lpthread -shared -g -DXDB_DEBUG src/crossdb.c
2626
$(CC) -o build/xdb-cli src/xdb-cli.c -lpthread -g
2727
cp include/crossdb.h build/
2828

@@ -59,6 +59,14 @@ else
5959
ldconfig
6060
endif
6161

62+
winpack:
63+
mkdir -p build/crossdb-win64/include
64+
mkdir -p build/crossdb-win64/bin
65+
mkdir -p build/crossdb-win64/lib
66+
cp build/crossdb.h build/crossdb-win64/include
67+
cp build/xdb-cli.exe build/crossdb-win64/bin
68+
cp build/libcrossdb.dll build/libcrossdb.lib build/crossdb-win64/lib
69+
6270
uninstall:
6371
rm -rf /usr/local/bin/xdb-cli
6472
ifeq ($(shell uname -s), Darwin)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
---- | ----
1414
Description | Ultra High-performance Lightweight Embedded and Server OLTP RDBMS✨
1515
Primary database model | Relational DBMS
16-
Secondary database models | Document store(TBD)<br>Key-value store(TBD)
16+
Secondary database models | Document store(JSON)<br>Key-value store(TBD)
1717
Website | crossdb.org
1818
Technical documentation | crossdb.org/intro
1919
Initial release | 2023
@@ -22,9 +22,9 @@
2222
Implementation language | C
2323
Server operating systems | Server-Less Mode<br>Embedded Server Mode<br>Standalone Server Mode<br>Linux/MacOS/Windows/FreeBSD<br>32-bit or 64-bit X86, ARM, PowerPC, MIPS, etc
2424
Data scheme | yes
25-
Typing | yes<br>BOOL<br>TINYINT, SMALLINT, INT, BIGINT<br>TIMESTAMP<br>FLOAT, DOUBLE<br>CHAR, VARCHAR<br>BINARY, VARBINARY<br>INET(IPv4/IPv6 host and subnet), MAC address
25+
Typing | yes<br>BOOL<br>TINYINT, SMALLINT, INT, BIGINT<br>UNSIGNED TINYINT, SMALLINT, INT, BIGINT<br>TIMESTAMP<br>FLOAT, DOUBLE<br>CHAR, VARCHAR<br>BINARY, VARBINARY<br>INET(IPv4/IPv6 host and subnet), MAC address<br>JSON
2626
XML support | no
27-
Secondary indexes | yes<br>HASH, RBTREE
27+
Secondary indexes | yes<br>HASH, RBTREE(TBD)
2828
SQL | yes, many extensions from MySQL
2929
APIs and other access methods | Proprietary native APIs<br>Multi-statement APIs<br>Prepared statement APIs
3030
Supported programming languages | C, C++, Python, GO, Rust<br>More bindings(TBD)

src/core/xdb_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
CrossDB Config
1717
******************************************************************************/
1818

19-
#define XDB_VERSION "0.13.0"
19+
#define XDB_VERSION "0.14.0"
2020

2121
#define XDB_MAX_DB 1024 // at most 4096
2222
#define XDB_MAX_TBL 4095 // per DB

winbuild.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
IF not exist build (mkdir build)
2-
gcc -o build/libcrossdb.dll src/crossdb.c -fPIC -shared -lws2_32 -lpthread -static -O2 -Wl,--out-implib,build/libcrossdb.lib
3-
gcc -o build/xdb-cli src/xdb-cli.c -lws2_32 -lpthread -static -O2
2+
gcc -o build/libcrossdb.dll src/crossdb.c -fPIC -shared -lws2_32 -lpthread -lregex -static -O2 -Wl,--out-implib,build/libcrossdb.lib
3+
gcc -o build/xdb-cli src/xdb-cli.c -lws2_32 -lpthread -lregex -static -O2
44
copy /Y include\crossdb.h build\
55
xcopy /ehiqy build\* c:\crossdb\

0 commit comments

Comments
 (0)