Skip to content

Commit 09c70c8

Browse files
committed
feat(core,repository,docs): add developer guide, improve ID generation and SQL handling
Add comprehensive DEVELOPER_GUIDE.md Bump version to 1.7.17 and update related scripts and docs Support returning user-generated IDs when "generate"=true across MySQL, SQLite, SQLServer, and Redis Unify appendAndGetId behavior: fallback to DB-generated ID only if no custom ID is provided Improve SQL parameter binding and add support for LONGTEXT and BOOLEAN Fix auto-increment field skipping logic in prepared statements Tighten Action mode validation to prevent CLI/HTTP misuse @yyfyfyang Improve SQL formatting, Javadoc wrapping, and general code style Minor refactors and dependency upgrade (Jupiter 6.0.2)
1 parent b5469d5 commit 09c70c8

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

DEVELOPER_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Add the following dependency to your `pom.xml`:
2626
<dependency>
2727
<groupId>org.tinystruct</groupId>
2828
<artifactId>tinystruct</artifactId>
29-
<version>1.7.16</version>
29+
<version>1.7.17</version>
3030
</dependency>
3131
```
3232

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Installation and Getting Started Manually
2525
<dependency>
2626
<groupId>org.tinystruct</groupId>
2727
<artifactId>tinystruct</artifactId>
28-
<version>1.7.16</version>
28+
<version>1.7.17</version>
2929
<classifier>jar-with-dependencies</classifier> <!-- Optional -->
3030
</dependency>
3131
```
@@ -91,7 +91,7 @@ Execute in CLI mode
9191
$ bin/dispatcher --version
9292

9393
_/ ' _ _/ _ _ _/
94-
/ / /) (/ _) / / (/ ( / 1.7.16
94+
/ / /) (/ _) / / (/ ( / 1.7.17
9595
/
9696
```
9797
```tcsh

bin/dispatcher

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# ***************************************************************************
1818

1919
ROOT="$(pwd)"
20-
VERSION="1.7.16"
20+
VERSION="1.7.17"
2121
cd "$(dirname "$0")" || exit
2222
cd "../"
2323
# Navigate to the root directory

bin/dispatcher.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
set "MAVEN_REPO=%USERPROFILE%\.m2\repository\org\tinystruct\tinystruct"
2020
@REM Consolidate classpath entries, initialize ROOT and VERSION
2121
set "ROOT=%~dp0.."
22-
set "VERSION=1.7.16"
22+
set "VERSION=1.7.17"
2323

2424
@REM Define the paths for tinystruct jars in the Maven repository
2525
set "DEFAULT_JAR_FILE=%MAVEN_REPO%\%VERSION%\tinystruct-%VERSION%.jar"

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ elif [ -f "$HOME/.bash_profile" ]; then
2525
fi
2626

2727
# Define variables
28-
TARGET_JAR="./target/tinystruct-1.7.16.jar"
28+
TARGET_JAR="./target/tinystruct-1.7.17.jar"
2929
NATIVE_NAME="dispatcher-native"
3030
MAIN_CLASS="org.tinystruct.system.Dispatcher"
3131
CONFIG_DIR="./bin/.metadata"

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.tinystruct</groupId>
66
<artifactId>tinystruct</artifactId>
7-
<version>1.7.16</version>
7+
<version>1.7.17</version>
88
<name>tinystruct framework</name>
99
<description>A lightweight, modular Java application framework for web and CLI development,
1010
designed for AI integration and plugin-based architecture.
@@ -131,7 +131,7 @@
131131
<java.version>17</java.version>
132132
<jjwt.version>0.13.0</jjwt.version>
133133
<jna.version>5.18.1</jna.version>
134-
<jupiter.version>6.0.1</jupiter.version>
134+
<jupiter.version>6.0.2</jupiter.version>
135135
<kafka.version>4.1.1</kafka.version>
136136
<lettuce.version>7.2.1.RELEASE</lettuce.version>
137137
<maven.compiler.source>17</maven.compiler.source>

src/main/java/org/tinystruct/system/ApplicationManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.util.concurrent.ConcurrentHashMap;
2525

2626
public final class ApplicationManager {
27-
public static final String VERSION = "1.7.16";
27+
public static final String VERSION = "1.7.17";
2828
private static final ConcurrentHashMap<String, Application> applications = new ConcurrentHashMap<>();
2929
private static final ActionRegistry ROUTE_REGISTRY_INSTANCE = ActionRegistry.getInstance();
3030
private static Configuration<String> settings;

0 commit comments

Comments
 (0)