Microsoft Fabric Updates Blog

Announcing the open-source release of Microsoft Fabric Extension for VS Code

We’re thrilled to announce that the Fabric Core extension for Visual Studio Code is now officially open source! We’re excited to take this step because it shows how committed we are to being open, collaborating with the community, and giving developers the tools they need to create amazing things with Microsoft Fabric.

Using Microsoft Fabric Git integration for User Data Functions

Microsoft Fabric offers native Git integration and deployment pipelines to facilitate version control, collaboration, and automated releases for workspace items like user data functions. This guide explains how to set up and manage Git integration for user data functions within a Fabric workspace. • Workspace preparation and Git linking: Users start by selecting or creating a Fabric workspace containing user data functions, then enable Git integration via workspace settings by connecting to a Git provider and repository branch, optionally specifying a folder for organization. • Branching strategy configuration: Teams are advised to adopt branching strategies such as main/develop, feature, and release branches, along with pull request and code review policies to maintain code quality and collaboration. • Managing user data functions in Git: Each data function is stored in a function_app.py file; users clone the repository locally, edit or add functions, and update the definition.json file to reflect new functions and required libraries like numpy. • Committing, syncing, and publishing changes: After committing changes in VS Code, users sync with the Fabric portal, update the function via source control, and publish to deploy the new or updated functions, making them available for invocation.

User Data Functions now support async functions and pandas DataFrame, Series types

Microsoft Fabric has introduced new features for its User Data Functions (UDFs), enhancing Python-based data processing capabilities within the platform. These updates include support for asynchronous functions and the use of pandas DataFrame and Series types for input and output, enabling more efficient handling of large-scale data. • Async function support: Developers can now write async functions in Fabric UDFs to improve responsiveness and efficiency, especially for managing high volumes of I/O-bound operations, such as reading files asynchronously from a Lakehouse. • Pandas DataFrame and Series integration: UDFs can accept and return pandas DataFrames and Series, allowing batch processing of rows with improved speed and performance in data analysis tasks. An example function calculates total revenue by driver using pandas groupby operations. • Usage in notebooks: These functions can be invoked directly from notebooks using pandas objects, facilitating efficient aggregation and analysis of large datasets interactively within Microsoft Fabric. • Getting started and benefits: Users can enable these features by updating the fabric-user-data-functions library to version 1.0.0. The enhancements reduce I/O operations, enable concurrent task handling, and improve performance on datasets with millions of rows.

Announcing new features for Microsoft Fabric Extension in VS Code

The Microsoft Fabric Extension for VS Code introduces two new features that enhance the management of Fabric items directly within the editor. Users can now perform CRUD operations on Fabric items and switch between multiple tenants easily. These updates aim to improve workflow efficiency and are based on customer feedback, inviting further suggestions for enhancement.