{"id":23482,"date":"2024-11-27T07:00:00","date_gmt":"2024-11-27T15:00:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=23482"},"modified":"2024-12-04T04:36:22","modified_gmt":"2024-12-04T12:36:22","slug":"teams-toolkit-for-visual-studio-code-update-november-2024","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/teams-toolkit-for-visual-studio-code-update-november-2024\/","title":{"rendered":"Teams Toolkit for Visual Studio Code update \u2013 November 2024"},"content":{"rendered":"<p>We\u2019re excited to announce <strong>Teams Toolkit for Visual Studio Code v5.10.1 <\/strong>and the latest prerelease update.\u00a0This patch brings impactful new features, enhancements, and critical bug fixes to improve your development experience. Let\u2019s dive into what\u2019s new.<\/p>\n<h2>Teams Toolkit v5.10.1<\/h2>\n<p>This patch version updates included several important bug fixes:<\/p>\n<ul>\n<li><strong>Terminology Update<\/strong>: The term Copilot Agent has been updated to Agent across the user interface. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12672\">#12672<\/a><\/li>\n<li><strong>Debug Session Stability<\/strong>: Resolved issues where child processes didn\u2019t terminate after a debug session stopped. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12673\">#12673<\/a><\/li>\n<li><strong>Manifest Validation Fix<\/strong>: Addressed multi-line user instruction validation issues in declarative agents. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12677\">#12677<\/a><\/li>\n<li><strong>Schema Validation Fix<\/strong>: Fixed schema validation errors for projects with API Plugins. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12679\">#12679<\/a><\/li>\n<\/ul>\n<h2>Teams Toolkit November prerelease<\/h2>\n<p>As usual, our exciting new features will arrive in the latest prerelease.<\/p>\n<h3>Local authentication support for API ME and API Plugin<\/h3>\n<p>Say goodbye to anonymous API setups during local development! With this update, <strong>local authentication support<\/strong> has been introduced for API-ME and API Plugin application templates using <strong>Microsoft Entra<\/strong> and OAuth. This enhancement ensures you can fully test APIs locally, verifying how Teams and Microsoft 365 Copilot handle API invocations without proper authorization.<\/p>\n<ul>\n<li>Includes built-in middleware for token validation.<\/li>\n<li>Guided <strong>CodeTour<\/strong> explains how it works for seamless integration.<\/li>\n<\/ul>\n<p><img decoding=\"async\" width=\"1440\" height=\"960\" class=\"wp-image-23483\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/local-authentication.png\" alt=\"Local Authentication\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/local-authentication.png 1440w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/local-authentication-300x200.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/local-authentication-1024x683.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/local-authentication-768x512.png 768w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/p>\n<h3>Automatic process termination for port conflicts<\/h3>\n<p>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.\n<img decoding=\"async\" width=\"1440\" height=\"960\" class=\"wp-image-23484\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/port-conflicts.png\" alt=\"Port Conflicts\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/port-conflicts.png 1440w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/port-conflicts-300x200.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/port-conflicts-1024x683.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2024\/11\/port-conflicts-768x512.png 768w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/p>\n<h3>Microsoft Kiota integration for API plugin generation<\/h3>\n<p>We\u2019ve integrated <a href=\"https:\/\/learn.microsoft.com\/openapi\/kiota\/overview\"><strong>Microsoft Kiota<\/strong><\/a> into Teams Toolkit, enabling developers to easily create API Plugins by browsing public API catalogs. Kiota\u2019s ability to handle large OpenAPI description documents is now available as an <strong>experimental feature<\/strong>.<\/p>\n<p>To access this feature, enable <strong>Microsoft Kiota<\/strong> in <a href=\"https:\/\/code.visualstudio.com\/docs\/getstarted\/settings#_workspace-settings\">Visual Studio Code Workspace Settings<\/a>.<\/p>\n<h3>Build AI Agents with Assistant API on Azure OpenAI Service and TypeScript &amp; JavaScript<\/h3>\n<p>Following the release of building AI Agents with Assistant API and Python, this capability is now extended to <strong>TypeScript<\/strong> and <strong>JavaScript<\/strong>. Developers can now build custom AI Agents on Microsoft 365 with greater flexibility across all popular programming languages.<\/p>\n<h3>Enhanced manifest schema validation<\/h3>\n<p>Localization and default language files are now included in <strong>manifest schema validation<\/strong>, ensuring all your app\u2019s localization assets comply with Teams standards.<\/p>\n<h2>Enhancements<\/h2>\n<ul>\n<li><strong>Upgraded Bot Templates<\/strong>: Migrated from restify to express for Node.js 20 compatibility.<\/li>\n<li><strong>Faster Tab Apps<\/strong>: Replaced react-scripts with <strong>Vite<\/strong> in Tab templates for improved performance and developer experience.<\/li>\n<li><strong>Node.js 20 Support<\/strong>: Updated application templates and pre-requisite checks for Node.js 20.<\/li>\n<li><strong>Latest Manifest Version<\/strong>: App templates now use the latest stable <a href=\"https:\/\/learn.microsoft.com\/microsoftteams\/platform\/resources\/schema\/manifest-schema#sample-app-manifest\">App Manifest<\/a> version v1.19.<\/li>\n<\/ul>\n<h2>Bug fixes<\/h2>\n<ul>\n<li>Updated @azure\/storage-blob to resolve AbortSignal errors when deploying static websites with Azure Storage. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12583\">#12583<\/a><\/li>\n<li>Fixed vulnerabilities by upgrading path-to-regexp and body-parser. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12610\">#12610<\/a><\/li>\n<li>Resolved issues with teamsapp.yml file generation when adding API Plugins to declarative agents. <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/pull\/12656\">#12656<\/a><\/li>\n<\/ul>\n<h2>Ready to update?<\/h2>\n<p>To start using these new features, make sure to update your Teams Toolkit for Visual Studio Code to version <strong>5.10.1 or Prerelease<\/strong>.<\/p>\n<p>Your feedback is always appreciated! If you have questions or suggestions, connect with us via <a href=\"https:\/\/github.com\/OfficeDev\/teams-toolkit\/discussions\">GitHub Discussions<\/a>.<\/p>\n<p>Happy coding with Teams Toolkit! \ud83d\ude80<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Explore the latest Teams Toolkit for Visual Studio Code updates to learn about new features, enhancements, and bug fixes.<\/p>\n","protected":false},"author":43243,"featured_media":23487,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,128],"tags":[251,383,23,44],"class_list":["post-23482","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer","category-microsoft-teams","tag-microsoft-365-copilot","tag-microsoft-kiota","tag-teams-toolkit","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>Explore the latest Teams Toolkit for Visual Studio Code updates to learn about new features, enhancements, and bug fixes.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/23482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/43243"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=23482"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/23482\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/23487"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=23482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=23482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=23482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}