Skip to content

Tags: tinystruct/tinystruct

Tags

v1.7.25

Toggle v1.7.25's commit message
Update application.properties

v1.7.24

Toggle v1.7.24's commit message
Add StringEscapeTest.java to test some cases.

v1.7.23

Toggle v1.7.23's commit message
Correct the typo error

v1.7.22

Toggle v1.7.22's commit message
Release 1.7.22: Redis implementations, data type fixes, and generator…

… updates

- Bumped version to 1.7.22 in POM, scripts, and documentation.
- Implemented full CRUD operations and config-based connection in RedisServer.
- Updated SQL-to-Java FieldType mappings and added missing primitive parsers.
- Fixed pathing and package naming bugs in H2 and MSSQL code generators.

v1.7.21

Toggle v1.7.21's commit message
chore: bump version to 1.7.21

v1.7.20

Toggle v1.7.20's commit message
Refactor session management: unify repository initialization in Sessi…

…onManager and move storage/event logic to repositories

v1.7.19

Toggle v1.7.19's commit message
fix: update version to 1.7.19 and upgrade dependencies

- Version: Bump project version from 1.7.18 to 1.7.19 across pom.xml, scripts, and documentation.
- Documentation: Update version references in README.md and DEVELOPER_GUIDE.md.
- Application: Update VERSION constant in ApplicationManager.java.
- Scripts: Update version variables in bin/dispatcher, bin/dispatcher.cmd, and build.sh.
- Dependencies: Upgrade lettuce.version to 7.5.0.RELEASE.
- Dependencies: Upgrade sqlite.version to 3.51.3.0.
- Dependencies: Upgrade mockito.version to 5.23.0.

v1.7.18

Toggle v1.7.18's commit message
chore: release 1.7.18

v1.7.17

Toggle v1.7.17's commit message
feat(core,repository,docs): add developer guide, improve ID generatio…

…n 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)

v1.7.16

Toggle v1.7.16's commit message
Release version 1.7.16 of the tinystruct framework

feat: improve session management and refactor MCP implementation

BREAKING CHANGES:
- Renamed MCPServerApplication to MCPServer for consistency
- Made AbstractMCPResource.executeLocally() abstract, requiring implementations
- Removed registerToolMethods() - now integrated into registerTool()

Session Management:
- Add multi-session support with session-specific state tracking
- Implement ThreadLocal-based session ID management
- Add Mcp-session-id header handling for session persistence
- Replace single sessionState with per-session state map
- Properly cleanup session context in finally blocks

Client Improvements:
- Refactor HTTP communication to use URLRequest/URLResponse
- Improve SSE event stream handling with functional approach
- Add session ID capture and reuse across requests
- Better error handling and connection management

Protocol & Standards:
- Update protocol version constant to PROTOCOL_VERSION
- Standardize server name to "tinystruct-mcp"
- Add SESSION_ID constant to Http class
- Use Header enum for standard HTTP headers
- Remove TOKEN_PARAM in favor of Authorization header

Code Quality:
- Add missing executeLocally() implementations in MCPDataResource and MCPTool
- Improve documentation and formatting
- Remove unused mimeType variable in resource discovery
- Better separation of concerns in request handling

Examples & Documentation:
- Update README with new API usage patterns
- Add batch request and error handling examples
- Document session management features
- Update all code examples to use MCPServer
- Add comprehensive usage examples for CLI client