Releases: microsoft/semantic-link-labs
Releases · microsoft/semantic-link-labs
semantic-link-labs 0.13.1
New Functions
- sempy_labs.event_schema_set 🚀 New!
- sempy_labs.operations_agent 🚀 New!
- sempy_labs.rti 🚀 New package for Real Time Intelligence functions!
- sempy_labs.semantic_model
- enable_query_caching Enable query caching to potentially speed up results. See more details here.
- sempy_labs.surge_protection 🚀 New package for surge protection functions!
Updated Functions
- sempy_labs.directlake
- generate_direct_lake_semantic_model Now supports schema-enabled lakehouses.
- sempy_labs.lakehouse
- get_lakehouse_columns Added the 'Schema Name' column to the resulting dataframe.
Bug Fixes
semantic-link-labs 0.13.0
New Functions
- sempy_labs.daxlib 🚀 New! Semantic Link Labs now offers a seamless integration with DAXLib.org which allows you to easily view user-defined function packages from DAXLib.org as well as add/remove/update these packages in your semantic model. Kudos @edwardpcharles for the inspiration and SQLBI for their support of DAXLib.org.
- sempy_labs.directlake
- get_direct_lake_sources This function replaces the 'get_direct_lake_source' function and is able to retrieve all Direct Lake sources (#660).
- sempy_labs.kql_dashboard 🚀 New!
- list_kql_dashboards
- create_kql_dashboard
- delete_kql_dashboard
- create_workspace_monitoring_dashboard Creates a workspace monitoring dashboard based on this template.
- sempy_labs.report.ReportWrapper
- set_page_order Easily re-order pages (tabs) within a report.
Updated Functions
- sempy_labs
- model_bpa_rules Updated the rule for ensuring measures are formatted. This rule now accounts for format string expressions.
- get_item_definition now supports the EventSchemaSet item.
- sempy_labs.admin
- assign_domain_workspaces Now accepts either the workspace name or ID. Note that the parameter name has changed from 'workspace_names' to 'workspace' (#1040).
- sempy_labs.lakehouse
- optimize_lakehouse_tables Now supports schema-enabled lakehouses. Simply use the 'schema.table' format in the 'tables' parameter.
- vacuum_lakehouse_tables Now supports schema-enabled lakehouses. Simply use the 'schema.table' format in the 'tables' parameter.
- sempy_labs.report
- download_report This function now also supports paginated reports (in addition to Power BI reports). Thanks @MitchSS!
- sempy_labs.tom
- add_field_parameter This function now has the parameter 'hierarchy_names' which allows you to simulate hierarchies within a field parameter.
Functions moved to a new package
- sempy_labs.connection 🚀 New!
- Connection functions have been moved to this new package.
- sempy_labs.data_pipeline 🚀 New!
- Data Pipeline functions have been moved to this new package.
- sempy_labs.external_data_share 🚀 New!
- External Data Share functions have been moved to this new package.
- sempy_labs.gateway 🚀 New!
- Gateway functions have been moved to this new package.
- sempy_labs.git🚀 New!
- Git functions have been moved to this new package.
- sempy_labs.graphql 🚀 New!
- GraphQL functions have been moved to this new package.
- sempy_labs.kql_database 🚀 New!
- KQL Database functions have been moved to this new package.
- sempy_labs.kql_queryset 🚀 New!
- KQL Queryset functions have been moved to this new package.
- sempy_labs.managed_private_endpoint 🚀 New!
- Managed Private Endpoint functions have been moved to this new package.
- sempy_labs.mirrored_database 🚀 New!
- Mirrored Database functions have been moved to this new package.
- sempy_labs.mirrored_warehouse 🚀 New!
- Mirrored Warehouse functions have been moved to this new package.
- sempy_labs.ml_experiment 🚀 New!
- ML Experiment functions have been moved to this new package.
- sempy_labs.mounted_data_factory 🚀 New!
- Mounted Data Factory functions have been moved to this new package.
- sempy_labs.notebook 🚀 New!
- Notebook functions have been moved to this new package.
- sempy_labs.spark 🚀 New!
- Spark functions have been moved to this new package.
- sempy_labs.sql_endpoint 🚀 New!
- SQL Endpoint functions have been moved to this new package.
Bug Fixes
semantic-link-labs 0.12.10
New Functions
- sempy_labs
- list_favorites Lists all items you have marked as a favorite.
- list_endorsements Lists all items which have been endorsed.
- takeover_item_ownership Allows you to take over ownership of a report or semantic model.
- sempy_labs.variable_library
- update_variable Update the properties of a variable (within a variable library).
- update_variable_library Update the properties of a variable library.
- sempy_labs.dataflow 🚀 New!
- execute_query
- list_dataflows, list_dataflow_storage_accounts, assign_workspace_to_dataflow_storage, list_upstream_dataflows, upgrade_dataflow, get_dataflow_definition, discover_dataflow_parameters are now available in the dataflow package. They will remain in sempy_labs for a transition period.
- sempy_labs.eventhouse 🚀 New!
- Functions related to eventhouses are now available in this package. They will remain in sempy_labs for a transition period.
- sempy_labs.semantic_model 🚀 New!
- set_endorsement Sets a semantic model as endorsed (i.e. Promoted, Certified etc.).
- approved_for_copilot Mark a semantic model as approved for Copilot.
- make_discoverable Mark a semantic model as discoverable (must be endorsed first).
Updated Functions
- sempy_labs.report
- set_endorsement added new endorsement settings ('Certified', 'Master data'). (#1024)
Bug Fixes
semantic-link-labs 0.12.9
New Functions
- sempy_labs
- sempy_labs.admin
- sempy_labs.apache_airflow_job 🚀 New!
- sempy_labs.report
- set_endorsement Sets the endorsement for a given Power BI report (#1001).
- sempy_labs.variable_library
- create_variable_library Creates a new variable library in a simplified fashion.
- sempy_labs.warehouse_snapshot 🚀 New!
- sempy_labs.workspace 🚀 New!
- list_workspace_users
- update_workspace_user
- add_user_to_workspace
- delete_user_from_workspace
- assign_to_capacity
- unassign_from_capacity
- list_role_assignments
- delete_workspace
- get_network_communication_policy
- set_network_communication_policy
- get_git_outbound_policy
- set_git_outbound_policy
- get_outbound_cloud_connection_rules
- get_outbound_gateway_rules
- set_outbound_gateway_rules
Updated Functions
- sempy_labs
- get_tables_mirroring_status Added the 'Last Sync Latency In Seconds' column (#1005).
- get_item_definition Now supports the 'Ontology' and 'Lakehouse' items.
- sempy_labs.lakehouse
- create_shortcut_onelake Now supports additional source items (previously only supported lakehouses). Note that the parameter has changed from 'source_lakehouse' to 'source_item' and a new parameter has been added 'source_item_type'. (#501).
Bug Fixes
semantic-link-labs 0.12.8
New Functions
- sempy_labs
- sempy_labs.lakehouse
- is_schema_enabled identifies whether a lakehouse is schema-enabled.
- sempy_labs.snowflake_database
Updated Functions
- sempy_labs
- get_item_definition now supports Snowflake Databases, Cosmos DB Databases, and Operations Agents.
Bug Fixes
semantic-link-labs 0.12.7
New Functions
- sempy_labs
- list_domains This is the non-admin version. The admin version of this function already exists in the admin package.
- get_workspace_git_outbound_policy
- set_workspace_git_outbound_policy
- sempy_labs.deployment_pipeline
- sempy_labs.directlake
- set_autosync Sets whether a Direct Lake semantic model detects data changes in OneLake and automatically updates the Direct Lake tables that are included in the semantic model.
- sempy_labs.graph_model 🚀 New!
- sempy_labs.lakehouse
- list_schemas Lists all schemas within a given lakehouse.
- schema_exists Checks if a schema exists in a given lakehouse.
- sempy_labs.sql_database 🚀 New!
- sempy_labs.warehouse 🚀 New!
Updated Functions
- sempy_labs
- list_lakehouses Added new columns: Schema Enabled, Default Schema, Sensitivity Label Id
- sempy_labs.report.ReportWrapper
- list_bookmarks Added new columns: Current Page Selected, Apply Visual Display State, Apply To All Visuals (#944).
- sempy_labs.sql_database
- list_sql_databases, create_sql_database, delete_sql_database, get_sql_database_tables, get_sql_database_columns have been moved from sempy_labs to sempy_labs.sql_database.
- sempy_labs.lakehouse
- list_lakehouses is now in this package (it will remain in the sempy_labs package for a temporary period). Added new columns: Schema Enabled, Default Schema, Sensitivity Label Id
- get_lakehouse_tables Updated to use the OneLake APIs for schema-enabled lakehouses.
- sempy_labs.warehouse
- Moved the following functions to the sempy_labs.warehouse package (they will remain in sempy_labs for now) create_warehouse, delete_warehouse, list_warehouses, get_warehouse_tables, get_warehouse_columns
Bug Fixes
semantic-link-labs 0.12.6
Bug Fixes
semantic-link-labs 0.12.5
New Functions
- sempy_labs
- OneLake Settings
- Dataflows
- Managed Private Endpoints
- sempy_labs.deployment_pipeline
- sempy_labs.graph
Updated Functions
- sempy_labs.directlake
- Added the 'columns' parameter to the add_table_to_direct_lake_semantic_model (#814)
- sempy_labs.graph
- Added output column 'Department' and added optional parameter 'show_manager' to list_users and get_user (#925).
Bug Fixes
semantic-link-labs 0.12.4
New Functions
- sempy_labs
- get_sql_audit_settings
- update_sql_audit_settings
- set_audit_actions_and_group
- list_user_defined_functions Lists the user-defined functions within a semantic model.
- sempy_labs.admin
- sempy_labs.eventstream 🚀 New!
- list_eventstreams
- create_eventstream
- delete_eventstream
- get_eventstream_definition
- get_eventstream_destination
- get_eventstream_destination_connection
- get_eventstream_source
- get_eventstream_source_connection
- get_evenstream_topology
- pause_eventstream
- puase_eventstream_destination
- pause_evenstream_source
- resume_eventstream
- resume_eventstream_destination
- resume_eventstream_source
- sempy_labs.graph
- sempy_labs.tom
- set_compatibility_level Sets the compatibility level of the semantic model.
- set_user_defined_function Creates a new (or updates an existing) user-defined function in the semantic model.
- list_user_defined_functions Shows all user-defined functions.
Updated Functions
- sempy_labs
- list_semantic_model_errors Now shows errors from user-defined functions.
- sempy_labs.tom
- remove_object Now supports removing user-defined functions.
Bug Fixes
semantic-link-labs 0.12.3
New Functions
- sempy_labs
- get_connection_string This function replaces the 'get_warehouse_connection_string' and serves as generic function which supports Lakehouses, Warehouses, & SQL Endpoints.
- bind_semantic_model_connection
- unbind_semantic_model_connection
- sempy_labs.graph
Updated Functions
- sempy_labs
- refresh_sql_endpoint_metadata (#870) Removed the 'tables' parameter as it is no longer supported by the API. Added the 'timeout_unit' and 'timeout_value' parameters as they are now supported by the API.
- sempy_labs.tom