Skip to content

v1.1.2

Choose a tag to compare

@github-actions github-actions released this 03 May 14:38
· 54 commits to main since this release

Release v1.1.2

Release type: stable
Release line: 1.1.x
Branch: release/1.1.x

Installation

npm install @frontmcp/sdk@1.1.2

What's New

CHANGELOG

Features

  • ExplainCalcPrompt: Introduced a new prompt, ExplainCalcPrompt, which allows users to perform basic arithmetic operations and receive explanations of the results. This enhances the CLI's ability to handle multi-argument prompts effectively.

Improvements

  • Cloudflare Adapter Validation: Enhanced validation for Cloudflare deployments to ensure that Node-only storage providers are correctly gated, preventing runtime errors and ensuring compatibility with serverless environments.
  • Lambda Adapter Module Format: Switched the Lambda adapter's module format from 'esnext' to 'commonjs', improving compatibility with the Node runtime and eliminating extensionless-import errors.
  • Vercel Adapter Module Format: Updated the Vercel adapter to use 'commonjs' instead of 'esnext', aligning with the cloudflare adapter's stable configuration and preventing extensionless-import issues.
  • Prompt Argument Registration: Improved the CLI's prompt handling by registering all known prompt-argument names, which prevents errors related to unrecognized arguments and enhances user feedback.

Bug Fixes

  • Serverless Express Peer Dependency: Added validation to ensure @codegenie/serverless-express is installed, preventing runtime errors in Lambda environments.
  • Config File Loading: Fixed an issue where .ts config files were not prioritized over stale .js files, ensuring that the most up-to-date configurations are used.

What's Changed

  • feat: add ExplainCalcPrompt to handle multi-argument prompts and enhance CLI functionality by @frontegg-david in #385
  • feat: switch module format from esnext to commonjs for lambda and vercel adapters to resolve ESM issues by @frontegg-david in #387

Full Changelog: v1.1.1...v1.1.2