November 27th, 2024

Teams Toolkit for Visual Studio Code update – November 2024

Junjie Li
Product Manager

We’re excited to announce Teams Toolkit for Visual Studio Code v5.10.1 and the latest prerelease update. This patch brings impactful new features, enhancements, and critical bug fixes to improve your development experience. Let’s dive into what’s new.

Teams Toolkit v5.10.1

This patch version updates included several important bug fixes:

  • Terminology Update: The term Copilot Agent has been updated to Agent across the user interface. #12672
  • Debug Session Stability: Resolved issues where child processes didn’t terminate after a debug session stopped. #12673
  • Manifest Validation Fix: Addressed multi-line user instruction validation issues in declarative agents. #12677
  • Schema Validation Fix: Fixed schema validation errors for projects with API Plugins. #12679

Teams Toolkit November prerelease

As usual, our exciting new features will arrive in the latest prerelease.

Local authentication support for API ME and API Plugin

Say goodbye to anonymous API setups during local development! With this update, local authentication support has been introduced for API-ME and API Plugin application templates using Microsoft Entra and OAuth. This enhancement ensures you can fully test APIs locally, verifying how Teams and Microsoft 365 Copilot handle API invocations without proper authorization.

  • Includes built-in middleware for token validation.
  • Guided CodeTour explains how it works for seamless integration.

Local Authentication

Automatic process termination for port conflicts

Port conflicts during bot debugging are now a thing of the past! Teams Toolkit now terminates lingering processes automatically when debugging sessions stop, ensuring ports are released for future use. Port Conflicts

Microsoft Kiota integration for API plugin generation

We’ve integrated Microsoft Kiota into Teams Toolkit, enabling developers to easily create API Plugins by browsing public API catalogs. Kiota’s ability to handle large OpenAPI description documents is now available as an experimental feature.

To access this feature, enable Microsoft Kiota in Visual Studio Code Workspace Settings.

Build AI Agents with Assistant API on Azure OpenAI Service and TypeScript & JavaScript

Following the release of building AI Agents with Assistant API and Python, this capability is now extended to TypeScript and JavaScript. Developers can now build custom AI Agents on Microsoft 365 with greater flexibility across all popular programming languages.

Enhanced manifest schema validation

Localization and default language files are now included in manifest schema validation, ensuring all your app’s localization assets comply with Teams standards.

Enhancements

  • Upgraded Bot Templates: Migrated from restify to express for Node.js 20 compatibility.
  • Faster Tab Apps: Replaced react-scripts with Vite in Tab templates for improved performance and developer experience.
  • Node.js 20 Support: Updated application templates and pre-requisite checks for Node.js 20.
  • Latest Manifest Version: App templates now use the latest stable App Manifest version v1.19.

Bug fixes

  • Updated @azure/storage-blob to resolve AbortSignal errors when deploying static websites with Azure Storage. #12583
  • Fixed vulnerabilities by upgrading path-to-regexp and body-parser. #12610
  • Resolved issues with teamsapp.yml file generation when adding API Plugins to declarative agents. #12656

Ready to update?

To start using these new features, make sure to update your Teams Toolkit for Visual Studio Code to version 5.10.1 or Prerelease.

Your feedback is always appreciated! If you have questions or suggestions, connect with us via GitHub Discussions.

Happy coding with Teams Toolkit! 🚀

Author

Junjie Li
Product Manager

Product Manager @ Microsoft building dev tools for developers to extend Microsoft Teams, Outlook and the Microsoft 365 app.

0 comments