Releases: codeboyzhou/mcp-declarative-java-sdk
Releases · codeboyzhou/mcp-declarative-java-sdk
v0.9.0
Features
- Enhance i18n support with configurable resource bundle base name.
- Change default metadata values to use name attribute instead of
Not specified. - Add profile support for multi-environments development.
- Refactor configuration loading and validation.
- Add builder pattern support for configuration record classes.
- Add
subscribe-resourcecapability support inMcpServerCapabilities. - Add
getDefault()methods for configuration record classes. - Add prompt and resource
completionsupport with annotations and server components.
Dependencies
- Update official MCP Java SDK from
0.14.0to0.16.0
Full Changelog
v0.8.6
v0.8.5
Dependencies
- Update official MCP Java SDK from 0.13.1 to 0.14.0
- Update
org.junit.jupiter:junit-jupiterfrom 5.13.4 to 6.0.0
Full Changelog
v0.8.4
Docs
- Add Java doc for all classes
Dependencies
- Update official MCP Java SDK from 0.13.0 to 0.13.1
- Update
org.jetbrains:annotationsfrom 26.0.2 to 26.0.2-1 - Update
org.eclipse.jetty.ee10:jetty-ee10-servletfrom 12.1.0 to 12.1.1 - Update
org.mockito:mockito-corefrom 5.19.0 to 5.20.0
Full Changelog
v0.8.3
Enhancement
- IllegalArgumentException: object is not an instance of declaring class (when split the tool methods into different classes) (#7)
Dependencies
- Update official MCP Java SDK from 0.12.1 to 0.13.0
Full Changelog
v0.8.2
v0.8.1
What's Changed
- Update official MCP Java SDK version to 0.11.3 for integrating some bug fixes.
Full Changelog
v0.8.0
Feature
- Add default mcp-server configuration file with streamable settings.
Dependencies
- Update
org.jetbrains:annotationsfrom24.0.0to26.0.2 - Update
com.google.inject:guicefrom6.0.0to7.0.0 - Update
com.fasterxml.jackson.dataformat:jackson-dataformat-yamlfrom2.18.3to2.19.2 - Update
org.eclipse.jetty.ee10:jetty-ee10-servletfrom12.0.18to12.1.0 - Update
org.junit.jupiter:junit-jupiterfrom5.10.2to5.13.4 - Update
org.mockito:mockito-corefrom5.18.0to5.19.0
Breaking Changes
Warning
The deprecated APIs in v0.7.0 have been removed in this version, new APIs are recommended to use.
Also see https://github.com/codeboyzhou/mcp-declarative-java-sdk/releases/tag/v0.7.0 for more details.
Deprecated & Removed
@Deprecated(since = "0.8.0", forRemoval = true)
public @interface McpResources {}
@Deprecated(since = "0.8.0", forRemoval = true)
public @interface McpPrompts {}
@Deprecated(since = "0.8.0", forRemoval = true)
public @interface McpTools {}
Full Changelog
v0.7.0
Features
- Add support for Streamable HTTP server.
- Add SpotBugs plugin for static code analysis.
Dependencies
- Update native MCP Java SDK from 0.11.1 to 0.11.2
Breaking Changes
Warning
The deprecated APIs in v0.6.0 have been removed in this version, new APIs are recommended to use.
Also see https://github.com/codeboyzhou/mcp-declarative-java-sdk/releases/tag/v0.6.0 for more details.
Deprecated
public record McpServerConfiguration(
@Deprecated(since = "0.7.0", forRemoval = true)
@JsonProperty("stdio") boolean stdio // use new field `mode` instead
)Full Changelog
v0.6.0
Features
- Introduce google-java-format to unify code style.
- Add project documents and site powered by Material for MkDocs.
- Add
titleattribute to MCP prompt, resource and tool specifications. - Introduce
McpI18nEnabledannotation to enable/disable i18n support. - Introduce
McpServerApplicationannotation to replaceMcpComponentScanannotation.
Dependencies
- Add spotless-maven-plugin 2.46.1
- Add maven-compiler-plugin 3.14.0
- Update native MCP Java SDK from 0.10.0 to 0.11.1
Breaking Changes
Warning
The deprecated APIs in v0.5.0 have been removed in this version, new APIs are recommended to use.
Also see https://github.com/codeboyzhou/mcp-declarative-java-sdk/releases/tag/v0.5.0 for more details.
Deprecated
@Deprecated(since = "0.6.0", forRemoval = true)
public @interface McpComponentScan // Use @McpServerApplication instead@Deprecated(since = "0.6.0", forRemoval = true)
String descriptionI18nKey() default StringHelper.EMPTY; // Use description() instead