What's new

Metabase 66

Before you upgrade, back up your Metabase application database!

Check out our upgrading instructions.

Get the most out of Metabase. Learn more about advanced features, managed cloud, and first-class support.

Metabase 66.0-beta

NOTE: This is a beta release. We don’t recommend running this in production without testing it in a staging environment first. If you encounter any issues with this beta, please report them on GitHub.

Metabase v66 adds the Motherduck driver, embedded data apps, remote sync worktrees, improved Metabot capabilities, new authentication options, more visualization configurations (you can hide legends now!), and more!

Upgrading | 66.0-beta

Metabase Open Source | 66.0-beta

Metabase Enterprise | 66.0-beta

Breaking changes | 66.0-beta

  • Embeddding SDK no longer supports Reach 18 as of v66. Please upgrade your app to React 19, or use Metabase LTS version 64.
  • Agent API is disabled and deprecated in v66 and will be removed in v67.
    • In v66, admins can still temporarily reenable Agent API in Admin > AI settings. In v67, this will be removed.
    • Please use the Metabase official MCP server instead.
  • Serialization and remote sync format changes
    • no created_at and a few other instance-specific timestamps; serdes/meta now only has a model entry, not other properties; visibility_type is replaced by data_layer
    • if you use remote sync or serialization in your workflows, you will get a one-time diff.
  • collection_preview parameter has been removed.
    • POST /api/card/:id/query no longer treats collection_preview: true as a request to strip a metric’s saved breakouts.
    • APIs for Cards, collection items, and dashboard items no longer return collection_preview.
    • Serialization exports no longer include collection_preview.
  • GET /api/card/:id no longer supports the legacy-mbql option; requests with legacy-mbql=true still succeed but always return dataset_query in MBQL 5. Update API clients that expect the legacy dataset_query format. #87751

AI updates | 66.0-beta

Agent API has been disabled and deprecated

  • Use the MCP server instead

Metabot can create and edit dashboards. #68960

  • Add, edit, move, remove charts, headers, and links. Changes are saved right away.
  • Work with dashboard filters and tabs
  • To get started, just ask Metabot to create a dashboard.

Prompt caching for Metabot

  • Metabot now reuses its cache much more often. Before, Metabot wrote the full history to the cache at the start of each turn. Now it reads the history from the cache.
  • This means cheaper and faster replies, most noticeably in long conversations
  • Metabot writes less than half as many tokens to the cache, and the run costs about 15% less.

New providers and models

  • Generic OpenAI-compatible provider.
    • Metabot can use any server that speaks OpenAI’s Chat Completions API with tool calling, including Grok.
    • Go to Admin > AI and select “OpenAI-compatible API” as the provider.
  • New models: Claude Haiku 5.5 with reasoning (Anthropic, Azure, Bedrock and Google), Gemini 3.8 Flash (Google and OpenRouter), and GLM-5.3-Flash (Z.AI and OpenRouter).

Improved error handling for Metabot

  • When a step fails, Metabot tries something else instead of stopping with “Something went wrong”.
  • This includes bad SQL, missing tables, failed searches etc.
  • Clearer reporting for errors like missing aggregations, full context, provider outage, subscription errors etc.
More AI updates
  • Add a JSON download to the AI auditing conversation page #87490
  • Metabot in the SQL editor can find and reuse your SQL snippets, and understands snippet references in your queries. #86016
  • Lower Metabot’s query time limit to 90 seconds #87828
  • Curated-only Metabot now lists uncurated metrics built on curated content in collection items, recents, dashboards and filter connections. #86664
  • Metabot no longer misreads query result and glossary tables when values contain pipes or line breaks, and search index update counts include every batch. #86873
  • Metabot can now take up to 20 steps per turn, up from 15, so complex requests are less likely to stop early. #86898
  • Metabot sees the columns of the unsaved notebook question you’re viewing, including model, custom and joined columns, so it can use them without asking. #86194
  • Metabot no longer opens the SQL editor when it writes a SQL query only to read results for your question. #86474
  • Metabot keeps the user’s edited SQL when it edits a chart built from that query #86519
  • Metabot answers a question across two databases with one query per database #86652
  • Metabot no longer claims a query is saved when it isn’t, and links to its queries and charts now open correctly. #86444
  • Run the edited SQL when Metabot edits and runs a query in one step #86281
  • Metabot answers requests to analyze a table or single number from the query already on screen, without building a new query #86279
  • Metabot now tells you it can’t combine data from two databases in one query, instead of trying workarounds in notebook or SQL. #86121
  • Metabot can edit the SQL of a saved model open in the model editor, showing edits as a proposal to accept or reject. #86120
  • Metabot now handles text columns that hold numbers by suggesting the right cast or a case bucket, instead of falling back to SQL. #86192
  • Metabot in Documents can list databases and read their tables, so it can build SQL and model charts without an @-mentioned database. #86118
  • Metabot in Documents can now build SQL charts without an @-mentioned database by choosing a suitable database itself, instead of ending its turn. #85899
  • Stop Metabot writing SQL for the Internal Metabase Database #86123
  • Show failed Metabot tool calls as failed in Slack #85130
  • Metabot search keeps partial results when one query fails and explains empty or truncated results. #85174
  • MCP dashboard responses now show a parameter’s default #85801
  • Toggle for Metabot to read the data in tables and questions #76601
  • Pace Metabot reasoning only while the user can see it #84969
  • Metabot’s SQL tools return cleaner syntax errors, report multiple statements as their own error, and suggest rewriting in standard SQL when needed. #85049
  • Keep SQL and stack traces out of MCP errors #85087
  • Metabot converts whole-day date bounds into ranges in CountIf, SumIf and DistinctIf aggregations instead of rejecting them #84853
  • Metabot recovers from unknown query or chart IDs and unsupported chart types #85091
  • Metabot reports failed alert, dashboard subscription and Slack chart requests as errors with recovery guidance #84857
  • Metabot’s X-ray links for queries and metrics now open working dashboards, with permission checks on queries, and unsaved SQL queries are refused with a clear error. #84868
  • Drop the upstream LLM connection when a Metabot stream closes #85023
  • MCP no longer reports app database failures as mistakes in the query, and no longer leak raw database error text. #84904
  • Show the right clause positions in MCP’s validation errors #84962
  • Stop pacing Metabot text while the browser tab is hidden #84859
  • Check source permissions before Metabot returns X-ray links #84624
  • Metabot can run any saved question or model you can read by its ID, instead of only the one you’re viewing. #84582
  • Metabot can build a notebook query to read a value without showing the user a chart. #84477
  • Stop Metabot’s queries when canceled or after timeout #84360
  • Metabot shows a “full” notice with a New chat button when a conversation overflows the model’s context window, instead of failing repeatedly. #83989
  • Stop the inline SQL prompt from rethrowing generation errors #84395
  • The inline SQL prompt shows a “Working on it…” indicator while Metabot generates SQL. #84385
  • Metabot runs the SQL it writes when a question can’t be built in the notebook #83623
  • Metabot can run queries it builds and read the results #83413
  • Let users disconnect their Slack accounts from Metabot in Slack #83918

Embedded Analytics updates | 66.0-beta

React 19 is now required

  • Metabase v66 does not support apps on Reach 18. Please upgrade your app to React 19, or use Metabase LTS version 64.

Embedded data apps (Pro/Enterprise only)

  • Data apps (new in v65) can now be embedded using modular embedding with SSO auth.
  • New DataApp and metabase-data-app components, new option in the embedding wizard
  • Tenant groups can be given permissions to the data app
  • Go to Embedding hub > New embed and select Data app.

Metrics and semantic layer in modular embedding data picker (Pro/Enterprise only)

  • Data picker in embedded questions now supports metrics, and can be restricted to semantic layer
  • Use entityTypes={["semantic-layer"]} or add metric entity type.

Allow public and guest access to router database #73899 #76242 (Pro/Enterprise only)

  • When using database routing, admins can now turn on “Allow anonymous access” on the main DB connection
  • This will allow viewers of guest and public embeds, as well as public links, to see the data on the main router DB when DB routing is enabled. Previously, when DB routing is enabled, guest embeds would silently using the main DB and public links/embeds would fail.
  • Go to Admin > Database and configure the DB routing connection.

Controlled parameters for click behavior dashboards #78556 (Pro/Enterprise only)

  • Modular embedding dashboard components can now control the filters of the dashboards and SQL questions that the user opens with a click behavior
  • Use navigatedEntityParameters and onNavigatedEntityParametersChange

More updates

  • Support browsing to dashboard tabs and dashcards by entity ID #84851
  • Wait for the SDK login before rendering metabase-browser #84866
  • Add a prop to configure the donor iframe URL for custom viz in the Embedding React SDK #79703

New features | 66.0-beta

Motherduck driver

  • Connect Metabase to your cloud Motheduck instance.
  • Note: not a general DuckDB driver. Requires a Motherduck instance.
  • For now, Motherduck doesn’t support actions, data editing, or model persistence. CSV uploads and transforms are supported.
  • Go to Admin > Databases and add a new connection.

Dynamic goals and ranges #6514

  • Use a column from another question as a goal value or range value for gauge or number chart.
  • Supported for goal-based alerts.
  • To get started, create a chart, enable a goal line in chart’s Display settings, and click the hexagon icon in the “Goal value” field.

More visualization settings

  • Configure chart legend position #8437
  • Shade alternating rows in tables #13385
  • Choose color and style for trend lines
  • Additional tooltip metrics on row charts
  • Duration formatting #8875

New Summarize sidebar and pivot builder

  • New experience for Summarize functionality when viewing a chart
  • Add formulas for custom summaries without opening the query builder
  • Use AI to generate formulas
  • Switch from classic summarize/group by builder to a row/column/values spreadsheet-like pivot builder
  • To start, open a table and click Summarize at the top, and type ”=” for a formula or a prompt to use AI.

Worktrees for Remote Sync (Pro/Enterprise)

  • Adds git worktrees to Metabase.
  • Now admins can develop content in different branches in a shared Metabase instance.
  • Previously, selected branch was a global state for the entire instance. Multiple people can work on the same worktree.
  • Go to Data studio > Worktrees to create and check out a worktree.

Instance health checks (Pro/Enterprise)

  • Automatic checks for security best practices for self-hosted instances.
  • Includes checks like supported version, 2FA, encryption etc.
  • Metabase shows failing checks in Admin > Security Center > Health checks.

More database features

  • Database routing on Oracle (Pro/Enterprise)
  • Pivot tables on MongoDB (set MB_USE_NATIVE_PIVOT_TABLES=true) #15008

More database auth options

  • Bigquery support for Application Default Credentials
  • IAM authentication for AWS Redshift #66466
  • HTTP-based WIF for Databricks
  • File based WIF for AWS and Azure
  • Databricks WIF with generic OIDC token (file)
  • External OAuth for Snowflake

Notable UI changes | 66.0-beta

  • We are continuing to update our UI components. You will notice new colors, new looks for buttons and toggles, updated icons, things of that nature.
  • New “Summarize” sidebar in chart view
  • Default legend position is now at the bottom (but also legend position is adjustable now)
  • Trend lines are now solid by default instead of dashed (but also you can constomize the style now)
  • The “Style” dropdown (Normal, Percent, Scientific, Currency) is now a “Format” control whose buttons show sample values
  • The main navigation sidebar stays open until you toggle it off
  • The admin databases list is now a grid of cards
  • Info panels use one scrolling column instead of tabs
  • “Remote sync” admin setting renamed to “Git integration”

Enhancements | 66.0-beta

  • Collapse filters on dashboards #50157
  • Interactive “Others” Group in Row Chart Visualizations #57035
  • Updated row charts with new ticks, label colors, legend behavior, and tooltip metrics
  • Data apps can load from an isolated origin
  • Add support for percentile in data apps
  • Unfold ClickHouse JSON columns into nested field columns
  • Sync field descriptions for Postgres materialized views
  • Include extended query remarks
  • Sync table and column descriptions from BigQuery
  • Compile query builder stages into CTEs instead of subqueries
  • Built-in transform jobs with no transforms start inactive, and serialization import/export no longer changes whether a transform job is active.
  • Support the number type on Starburst/Trino
  • Show questions in usage analytics collection in search
  • Glossary: search, sorting, and inline editing
More enhancements...

Administration

  • Whitelist allowed settings pages for Settings Managers #83775
  • Make permission sets properly intersect #87860
  • Settings changes made on one Metabase instance now reach other instances sharing the same app DB, instead of staying stale. #87699
  • Always show in-app banner to admins when unacknowledged security advisories exist #86771
  • MCP CORS client names now ignore case and spaces, accept “vscode” and “cursor” for “cursor-vscode”, and reject unknown values #87632
  • Comma-separated settings now trim spaces and drop blank entries, and saving a malformed or multi-line value returns a 400 error. #87640
  • Enforce read-only mode during cloud migration #85447
  • Remote sync settings show in a card with a “Pull changes now” button on read-only instances, and the app bar shows the branch name with Push/Pull menu. #86705
  • Show a note on a transform’s tags when no enabled job runs them, with a link to the Jobs page. #85731
  • Admins can no longer reset or change the password of users who sign in with SSO #84940
  • Hosted instances using custom SMTP server are now treated as email-configured, so subscriptions can send; the email test endpoint returns an error when email isn’t configured. #84449
  • Email addresses containing ?, # or % are now correctly encoded in mailto links in invite-accepted and password reset emails. #84388

Database

  • Sync tables without nested fields together for drivers with nested fields #88126
  • ClickHouse primary keys are now synced correctly for tables declared with ORDER BY (id), including quoted names with commas and expression keys. #87848
  • Fixes a deadlock on Postgres when deleting a transform while a run of it is writing to the transform row. #86736

Performance

  • Bundled fonts load faster: each font is split into latin and non-latin chunks, so pages download only the glyph ranges they render. #82875
  • Semantic search is faster because the permission check loads only the card columns it needs. #86985
  • Deleting many cards runs far fewer database statements, because search no longer takes redundant snapshots for card revisions, reviews, or deletes by primary key. #82640
  • Optimize permission checks for Explorations summary updates #85167
  • Pivot tables use much less browser memory and open faster by computing cell click-through metadata only when a cell is clicked. #83055
  • Pivot cards with a TTL cache strategy now correctly use their cached results. #84718

Querying

  • Delete transforms when deleting transform folders #86528
  • Deleting a model card, model index, or database now removes its actions and indexed entities from search results. #78289
  • ClickHouse UUID column filters now reject non-canonical UUID values #86493

Visualizations

  • Allow currency labels before or after amounts with column overrides #8903
  • Preserve table width when reordering columns #84673
  • Custom viz formatValue ignores number options without a column #84605

Organization

  • Search results for dashboards and cards now update their last editor and edit time right after series edits and no-change reverts. #87619
  • Search index stays current when editing a dashboard or card property that search doesn’t read, such as dashboard width, updating the last editor and update time. #87484
  • Deleted cards, dashboards, collections and other items are removed from search results right away instead of lingering until the hourly reindex. #78288
  • “Other users’ personal collections” shows sorted users in rows instead of columns #83318
  • Add MySQL support to app db-based search; enabled by default #87270

Other

  • Add Git-synced content counts to the daily anonymous stats ping. #84572
  • Show that the data app is not found or disabled when a data app is not live instead of showing access error #87820
  • Add response schemas to API endpoints with fixed responses #86442
  • Keep a Postgres transform test usable after a failed expectation #86718

Bug fixes | 66.0-beta

Administration

  • Custom mapping is reset while editing unrelated settings in column metadata #43382
  • Deactivated users can open the password-reset form with a valid token #77560
  • If Security Center fails to notify about an advisory, no errors are logged #86895
  • Missing permission for deep folders in a folder tree moved from personal collection to a shared collection #79136
  • Deselecting fields on GUI questions will bust questions for users with row level security #66617
  • Admin People page never shows the Deactivated tab, so deactivated users can’t be reactivated from the UI #85503
  • Schema/Database permissions show as granular after sync makes tables inactive when all schemas/tables are Can View #83913
  • Users defined in config file are logged out on instance startup #73591
  • Usage analytics on an H2 app database: “Active dashboard subscriptions” fails with column not found #87232
  • Remote Sync — an untrusted TLS cert leaves remote sync half-initialized #75476
  • Remote Sync: push preview shows “Root” as deleted when a sub-folder is deleted #81707
  • Remote Sync: “Pull complete” dialog shows inconsistent info, may report all items as changed #83521
  • Remote Sync: Read-only “Pull changes now” says the pull succeeded before it has finished #83524
  • Serialization export archive is truncated even with Accept-Encoding: identity (streaming response output stream not closed on success) #80085
  • Env var with alphanumeric segment gets mistranslated and shows as unset or reads wrong value #83713
  • Frontend does not refresh RLS settings after saving changes, causing errors #81819
  • settings can’t be saved (class java.time.OffsetDateTime cannot be cast to class java.time.chrono.ChronoLocalDateTime - MySQL) #65043
  • Harden OIDC redirect validation and state-cookie decoding #81129
  • OIDC user provisioning does not reactivate user accounts, fails with a customer-facing stacktrace #79412
  • settings in configuration file is order and state-dependent, causing some valid configs to fail #72813
  • user_joined_notification email has mailto pointing to admin where the new user’s email should be #83948
  • Column order on Viz Settings is not Respected on Serialization Import (if DB doesn’t Exist in Target Instance) #46084
  • Setting enable-query-caching cannot be set via UI anymore #59037
  • Can’t enable remote sync for a collection that contained any documents #84697

Database

  • A transform run orphaned by a killed process blocks the transform for good when the scheduler is disabled #87998
  • Clickhouse causes long startup #52188
  • Unable to Connect to Oracle with SSL Keystore and Truststore - java.io.IOException: Invalid keystore format #28129
  • Error when connecting SparkSQL to apache hive #51843
  • SQLite: ISO week number custom expression fails with “Sqlite doesn’t support extract isoweek” #87843
  • The task fingerprint-fields fail if table doesn’t exist or query failed #61069
  • java.lang.IllegalArgumentException: No implementation of method: :->temporal of protocol: #‘metabase.sync.analyze.fingerprint.fingerprinters/ITemporalCoerceable found for class: java.lang.Boolean when fingerprinting mongodb #45722
  • Losing a connection during sync causes an enormous amount of logs #65357
  • Unable to scan for filter values for multiple Bigquery databases #86111
  • Public links return no data when database routing is active #73899
  • A failed ClickHouse connection is repeatedly retried and floods the logs #85504
  • BigQuery: datetimeAdd(…, n, "month") on a TIMESTAMP column returns a UTC DATETIME — grouping by month fails and results shift months #84494

Embedding

  • SDK bootstrap auth fires GET /auth/sso even when isGuest: true #82687
  • Embedding a data app from data studio opens the wizard on the get code step #87329
  • Staged data picker’s Models and Saved Questions back links should be reachable from the keyboard #86375
  • Staged embedding data picker should open the Models list on “Our analytics”, not on whichever collection loads first #85714
  • Staged data picker’s back links should be reachable from the keyboard #86064
  • Missing AbortSignal.throwIfAborted blocks public reports on constrained manufacturing terminals #84832
  • Theme preview enables modular embedding without showing usage terms #83956

AI

  • Metabot message-count usage limit counts every LLM call, not user messages #85340
  • MCP: tool descriptions reference tools that were stripped from the same tools/list response #82383
  • Opening /metabot/new without a prompt (or without Metabot set up) crashes the top bar #87252
  • Metabot message action buttons are invisible when focused #85985
  • MCP dashboard reads show the name and field ids of an unreadable series card #86866
  • Metabot read_resource fails with a bare “Not found” when the agent references a database by name — no corrective hint or name resolution, so the agent burns tool calls #77040
  • Metabot fails with “Sorry, I ran into an error” when you ask from a question page #85724
  • Metabot creates incorrect custom expression when updating filters #73687
  • Semantic search: items with long descriptions fail to index (“index row size exceeds btree maximum”) and are retried forever #86784

Querying

  • Incorrect cumulative counts when aggregating by a custom date column #62047
  • Query builder transform: preview cannot be rerun, and the ”⌘ + return” hint does nothing #83979
  • Join data picker search hides all models and saved questions on the in-place search engine #82060
  • Native SQL query with SELECT * on a table where a DOUBLE column has semantic type Percentage → click Explore Results → column renders as Currency #78368
  • Cannot reference custom column that is called the same as source column in a custom expression #39677

Dashboards

  • Entity ID card in the dashboard info sidebar can’t be expanded with the keyboard #85240
  • A question saved in a dashboard is moved to the trash when it’s only used as a visualizer layer #84708
  • Undoing a tab deletion revives cards that were removed from the tab before it was deleted #84302
  • Data Apps broken on firefox #87566
  • Card-level filters are drawn on top of the value on Number cards since 64, and get clipped on narrow cards #84521
  • Inline dashboard filters are not cleaned up when a tab is deleted #78567

Visualizations

  • Model List view: tag icon fills the whole ID and foreign key pill #87230
  • Gauge range with min greater than max shows a reversed range in the interactive chart #86182
  • Timeseries x-axis skips daily labels unevenly (e.g. 27, 29, 31, 1, 2, 3, 5, 7, 9) even when there is room #86750
  • Weird behaviour when creating Events due to non-UTC timezone #24701
  • App crashes when opening visualizer for a dashcard that can’t be rendered #83540

Organization

  • Learn about my data is super slow on big databases #40476
  • Pinned items in remote-synced collections do not persist after push/pull #76825
  • Target collection overridden with a recently used dashboard #51851

Subscriptions and alerts

  • Unsubscribe/Manage your subscriptions links should not be included in emails from an unsaved alert #83951
  • Notifications emails not showing inline images properly in some email clients #56844
  • Subscription attachment filenames contain : (timestamp and UTC offset), breaking files on macOS and Windows #86265
  • A dashboard subscription with several channels shows Success in Monitor › Runs when a later channel fails #84656
  • Alert “Send now” gives no feedback when the send succeeds #84431
More bug fixes...

Other

  • Some field X-rays do not work #78686
  • Default Lato font does not have some special latin characters #63381
  • When viewer’s language matches instance language built-in UI translations are included twice #83314
  • Deleting a card/dashboard through API doesn’t remove it from the AppDB index until next reindex #66775
  • Transform “History” does nothing: GET /api/revision?entity=transform returns 500 #86577
  • MCP: let Microsoft Copilot Studio connect again by defaulting the OAuth resource when it is omitted #86891
  • Building Metabase on a containerized environment does not work straight away #58322
  • Loading state forever shown when DB has no schemas #79450
  • Data export includes columns with “Only in detail views” visibility #70909
  • SQL transform editor: Cmd+Return only runs the query while the cursor is in the SQL text #83982
  • French localization: Quarter and Year filter shows “TT” for all quarters instead of T1, T2, T3, T4 #83015
  • Romanian locale is 100% translated but missing from v0.63.18 #82554
  • Bundled fonts fail to load when site URL sub-path contains uppercase letters #82893
  • Security Center: filters should not be visible on empty state #87095
  • Range inputs in chart settings only update the chart on blur #83442
  • Inconsistent padding in share popover #80440
  • Keyboard navigation problems on bookmarked items in the sidebar #85912
  • Number card title link on dashboards has no visible focus indicator #85590
  • Breadcrumbs hide short entries on narrow viewport when long entry is also present #79984
  • Summarize and Group by menus jump from above to below the trigger while searching #83538
  • Dashboard action button without an assigned action: wrong height and always gray #85104
  • Join source and conditions are horizontally centered in the Query Builder #84728
  • Inconsistent padding in row limit block in Query Builder #84730
  • Account pages jump horizontally when switching tabs #84881
  • Collection page shows no loading state while items are being fetched #83399
  • Authentication tab in account settings isn’t shown as active #84880
  • Tabs in Alerts management look different from the rest of tabs in the Monitor #83646
  • Links in dashcard legends are not HTML anchors #83401
  • Misaligned toggle label in question alert modal #84732
  • Dashboard filter popover is horizontally scrollable #83008
  • Admin settings pages jump horizontally when switching between them #84548
  • Dashboard modals can’t be closed with Esc or by clicking outside #83368
  • Events modal has 2 vertical scrollbars #80408
  • Incremental transforms: “Learn more” link opens the docs at the top of the page instead of the incremental section #83978
  • Alert errors overflow in Monitor #85217
  • ”- Duplicate” suffix briefly shown in a question’s name input during duplication #85248