Skip to content

v0.9.1 - Critical Resource Delegation Fix

Choose a tag to compare

@avrabe avrabe released this 14 Aug 04:35
· 46 commits to main since this release

v0.9.1 - Emergency Patch Release

This is a critical bug fix release that addresses a fundamental issue with MCP resources in v0.9.0.

Critical Fix

  • Resource delegation bug: Fixed the mcp_server macro to properly delegate resource operations to the McpResourcesProvider trait
  • Resources are now fully functional and visible in MCP Inspector

What was broken in v0.9.0

The v0.9.0 release introduced a major regression where:

  • Resources were advertised in server capabilities but completely non-functional
  • The mcp_server macro was not delegating list_resources and read_resource calls to the trait implementation
  • This resulted in empty resource lists and "unknown resource" errors for all resource requests

Technical Details

  • Modified McpResourcesProvider trait to always be implemented (similar to McpToolsProvider)
  • Updated helper methods to properly delegate to trait implementations
  • Ensured compilation works for servers without resources defined

Breaking Changes

None - this is a pure bug fix that restores intended functionality.

Upgrade Instructions

Update your Cargo.toml dependencies from 0.9.0 to 0.9.1:

pulseengine-mcp-server = "0.9.1"
pulseengine-mcp-macros = "0.9.1"
# ... other framework crates

Resources that were defined but not working in v0.9.0 will now function correctly.

Note: Parameterized resources still use hardcoded values - this will be addressed in a future release.