Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
166377 stories
·
33 followers

MAI-Transcribe-2.5: #1 on multilingual accuracy and speed, at $0.10 per hour of audio

1 Share

Transcription only pays off when it can be trusted. Contact centers, meeting assistants, media archives and voice agents all build on the transcript, and one misheard product name, a missed speaker change or an unsupported language can break everything that comes after it. As speech AI moves into production, teams want three things at once: accuracy in every language their customers speak, speed, and control over the words that matter most to their business.

Today, we're announcing MAI-Transcribe-2.5 is now in public preview. It is our most accurate and fastest transcription model to date. It covers 65 languages, supports up to 10,000 bias keywords and transcribes an hour of audio in under 6 seconds, all at $0.10 per hour of audio.

Let's dive in.

State-of-the-art accuracy across 65 languages

MAI-Transcribe-2.5 leads on the benchmarks that matter most for global, multi-speaker audio:

  • No. 1 on FLEURS, the standard multilingual benchmark, with a 4.5% average word error rate (WER) across 64 languages1. It beats ElevenLabs Scribe v3, Gemini-3.5-Transcribe, GPT-Transcribe and Whisper v3 Large.
  • No. 1 on DavidAI's multilingual leaderboard, an independent result that tests models on real, unscripted conversations between native speakers across 21 languages.
  • No. 3 on DavidAI's diarization leaderboard, putting it among the best models available for working out who said what.

Those results hold up in real conversations. On concatenated minimum-permutation word error rate (cpWER), which measures transcription and speaker attribution together, MAI-Transcribe-2.5 ranks No. 1 on Chinese meetings and No. 2 on English meetings, second only to NVIDIA Nemotron. For multinational teams, speaker-attributed transcripts stay reliable whether the meeting is in Shanghai or Seattle. Compared with MAI-Transcribe-2, it also cuts word diarization error rate by 66% in complex meetings, so summaries and action items land with the right person.

Tested under the toughest audio conditions

Models that look nearly perfect on clean benchmarks can still struggle with noisy, accented, real-world audio, and some hallucinate words no one said. WildASR is a benchmark built to expose these failures. It tests each factor separately: environmental noise, speaker demographics and accents, and linguistic diversity. Across the examples in this synthetic dataset, MAI-Transcribe-2.5 has the lowest error rate of any model tested. That is the kind of resilience contact centers, field recordings and crowded meetings demand.

2x faster, without trading away quality

Accuracy and latency usually pull against each other. The most accurate models are often too slow for live experiences, and the fastest ones lose quality to get there. MAI-Transcribe-2 already sat at the top of the Artificial Analysis accuracy × latency Pareto frontier. MAI-Transcribe-2.5 is 2x faster than MAI-Transcribe-2 and pushes that frontier further out. You get more accuracy at a given speed and more speed at a given accuracy, so you no longer have to pick one.

That speed changes what is possible. An hour of audio is transcribed in under 6 seconds, so meeting transcripts are ready the moment the meeting ends, call-center analytics arrive as soon as the call does, and videos and podcasts are captioned as soon as they're uploaded. On Artificial Analysis, MAI-Transcribe-2.5 delivers higher accuracy while running faster than Gemini-3.5-Transcribe, Scribe v3 and nearly 9x faster than GPT-Transcribe.

When should you use MAI-Transcribe-2.5?

Contact center analytics. Keyword biasing captures product names, plan types and account terms accurately. Diarization separates agent from customer so you can measure talk ratio, script adherence and escalation triggers.

Meeting and interview intelligence. Top cpWER results on English and Chinese meetings mean action items and decisions are attributed to the right person, across 65 languages.

Domain-heavy audio. Healthcare, financial services, legal and technical organizations can load thousands of specialized terms, such as medications, tickers, case names and part numbers, to cut errors where they cost the most.

Media, captioning and localization. Broadcasters and streaming platforms get accurate multilingual captions and searchable archives. Biasing keeps names of people, teams and places correct.

Voice agents. With 2x lower latency than MAI-Transcribe-2, MAI-Transcribe-2.5 works well as the listening layer for conversational AI. Pair it with MAI-Voice models to complete the loop from speech in and out.

Get started today

MAI-Transcribe-2.5 costs $0.10 per hour of audio and is available in public preview through Azure Speech in Microsoft Foundry, OpenRouter and Vercel.

1 Serbian is excluded from the FLEURS average because models output different scripts (Cyrillic vs. Latin).

Benchmark notes: FLEURS WER is the mean per-example word error rate on the FLEURS test split, averaged across 64 languages. DavidAI's multilingual leaderboard covers 21 languages. Speed comparisons are based on Artificial Analysis speed factors; throughput and latency figures are internal measurements. 

Read the whole story
alvinashcraft
just a second ago
reply
Pennsylvania, USA
Share this story
Delete

Issue 779

1 Share

Comment

Retiring a critical piece of infrastructure is no mean task, and the CocoaPods team just showed us how to do it well.

This Wednesday marked the end of an era: CocoaPods Trunk went into read-only mode, concluding the two-year plan set in motion by Orta Therox in 2024.

This means that already-published pods remain available, so projects that still use CocoaPods won’t break overnight. But pod maintainers can no longer publish updates. To keep their dependencies up to date, projects are advised to migrate to Swift Package Manager now.

It’s hard to overstate just how important CocoaPods was for Apple community. I realise there’s now an entire generation of developers who have never touched CocoaPods, so let me take a step back.

When Eloy Durán started CocoaPods in 2011, years before SwiftPM or Swift itself existed, Apple offered no scalable way of sharing code between Xcode projects. If you wanted to pull in a dependency, you’d likely be manually copying files and tinkering with Xcode build settings. CocoaPods brought the convenience of Bundler and RubyGems into iOS and macOS development, with one-liner dependency installs. By the time it hit version 1.0 in 2016, CocoaPods had integrated 285 million pods into 850,000 Xcode targets. It remained relevant for years after the initial SwiftPM release in 2015, with Xcode only adding SwiftPM support in 2019. And even as most native projects moved to SwiftPM, CocoaPods still finds its place in Flutter and React Native world where it often handles Xcode project scaffolding.

So why go read-only? Orta explained this on the Swift Package Indexing podcast. CocoaPods Trunk, the central registry where pods are published, is a big surface area for potential supply chain attacks. The team regularly deals with reports from security researchers, each report taking days to review and handle. Guarding the keys to the castle with pods used by millions is a lot to ask of volunteers working in their spare time. But you can’t just pull the plug on the entire system without disrupting thousands of projects. So making Trunk read-only was a really elegant solution to this problem. And the two-year notice period with a cut-off date after American Thanksgiving gave developers plenty of time to migrate to SwiftPM without disruptions.

On behalf of the community, I want to express my gratitude to Eloy, Fabio Pelosin, Dimitris Koutsogiorgas, Danielle Lancashire, Eric Amorde, Orta Therox, Paul Beusterien, Samuel Giddins, and the rest of the team of legends who maintained CocoaPods for the past 15 years! 🫡

– Alex Ozun

Trace iOS Crashes From First Report to Root Cause

A one-star review saying “it keeps crashing” rarely tells you why. Datadog’s free eBook covers the vitals that reveal your app’s real health on iOS and Android, how to trace errors from crash report to root cause, and what it takes to keep your app consistently performant. Get the mobile monitoring eBook.

News

Advent of Code 2026

Every December, Eric Wastl publishes a set of fun daily coding exercises called Advent of Code. It’s a perfect way to stretch your Swift programming muscles, give it a try!

Code

Transactions in SwiftUI

The basic animation modifiers in SwiftUI, while easy to use in simple cases, are too blunt a tool for use cases where precise control over animations is needed. I admit I never got a chance to look closely at SwiftUI’s version of Transactions, so I found this article by Wesley de Groot helpful indeed! It gives several clear examples of where animation modifiers fall short and how transactions come to the rescue. I particularly liked the example of handling the Reduce Motion accessibility setting, because usually we don’t want to completely disable all animations but rather tone down the most distracting ones.


The power and limitations of using Swift statements as expressions

I remember when statement expressions came out in Swift 5.9 to a mixed reception from the community. Some people welcomed it, while others were frustrated that branches were limited to a single expression. I personally think they’re a solid quality-of-life feature, and John Sundell makes a few good cases for them in his latest article. He also highlights several limitations stemming from type inference challenges. It’s a good read, as usual!


[Pitch] Colocated Tests

Check out this interesting SwiftPM pitch to allow tests to live right next to source code. Colocated tests are already popular with languages like Go, and in Swift it could help library maintainers simplify their test setup and provide white-box access to private members. Judging by the Swift Forums comments, so far the pitch has received positive feedback, so I’m hoping to see it make its way to Swift Evolution.

Tools

Skala | A professional interface design tool

Skala (not to be confused with Scala and Scala) is a Mac-assed interface design tool with a custom Metal-based rendering engine that makes it blazing fast. The tool’s been many years in the making, but last week version 1.0 was finally announced. It brings the interesting concept of parametric components, which let you reuse and modify design elements split across files, much like engineers do with reusable code. I think it’s a very impressive tool that has the potential to take the niche previously occupied by Sketch.

Books

Build Best-in-Class iOS Apps

Jordan Morgan just announced that, following the shutdown of Lemon Squeezy, his five-book series Best-in-Class iOS App is now free to download. It’s an offer that’s hard to pass up. Cheers, Jordan!

Article

The Loss And Rebirth Of Identity

I like the type of positivity that Joe Fabisevich brings to the AI discourse. Joe’s writing on AI remains human-centric at its core, and this latest post is no different. I particularly liked the part about redefining your community not by your tech stack but by the actual people around you. I think it’s something I’m going through myself right now.

And finally...

Does maintaining my Mac now includes shovelling snow ❄️?

Read the whole story
alvinashcraft
12 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

v2.0.8

1 Share
  • The .NET SDK now uses fewer temporary allocations when routing events to sessions, with no change to session matching behavior.
  • SDK sessions in trusted repositories now skip Copilot and Claude settings files that aren't regular files, instead of hanging or using unbounded memory. Regular files and symlinks to them still load.
  • Add optional managedDesiredEnabled field to DiscoveredHook returned by hooks.discover to report when managed policy requires or blocks a hook.
  • session.mcp.listTools now returns standard MCP tool fields (title, inputSchema, outputSchema, annotations, icons, _meta) and nonstandard fields under additionalProperties.
  • Updated context token estimates for inline PDF attachments, making large or scanned PDFs less likely to trigger premature truncation or conversation compaction. Compressed, text-heavy PDFs may still be underestimated.
  • Deleting older rotated session archives now truncates history instead of causing errors. Session event reads, persisted snapshots, and exports return the remaining events, and forks and rewinds can use the retained history.
  • OpenAI Responses sessions now preserve separate commentary and final-answer messages across reconnect and resume.
  • Fixed an issue where SDK PDF blob attachments could be dropped or sent as the wrong file type when their display name contained a version number, a trailing dot, or another file's extension, and RTF blob attachments with a version-number display name were sent without a file type. A blob declared as application/pdf whose bytes are a PDF is now sent as a PDF, and such an RTF blob as RTF, keeping the display name as its label.
  • Marketplace plugins can use HTTPS ZIP archive sources with an optional sha256 pin.
  • Add allowRequestRewrites to BYOK provider config. Set it to false to stop the runtime from compacting, truncating or stripping a request, and resend it only unchanged when the status allows.
  • The owning in-process SDK host can send ordered system and developer instructions alongside user prompts with experimental session.sendMessages on supported BYOK routes.
  • Initialize managed model-control eligibility before construction starts policy application.
  • Recover stale CAPI account endpoints after unauthorized inference and model-list requests.
  • Managed indexed search now recovers from interrupted maintenance, lets replacement daemons start after an old one exits, and backs off retries to reduce disk churn.
  • Managed indexed search uses bundled tgrep v1.3.0 and reclaims obsolete index data faster with new cache defaults. Existing caches retain their configured cleanup policy.
  • Process assurance can now start in an SDK session if a later feature flag check enables it after an initial timeout or temporary error, without delaying session startup.
  • Fixed cold session resumes to honor the current account and plan’s cached experiment assignment for retaining Responses API reasoning on the first resumed request. Resumes wait up to 500 ms for the cache, never for a network fetch.
  • Host-supplied experiment assignments and explicit reasoning-retention overrides take effect on resume without waiting for the account’s cached assignment.
  • Online SDK sessions now offer native lexical_code_search as a deferred tool from the first turn, without requiring a feature flag or experiment assignment. It replaces search_code from the built-in GitHub MCP server; user-configured GitHub MCP servers keep their search_code tool.
  • Fixed assistant.message.requestId and assistant.usage.providerCallId for successful WebSocket model calls to report the current call's GitHub request ID or omit it when unavailable.
  • Fixed an issue where concurrent credential reads could cause login or logout to fail with a false keychain contention error, even when keychain access was disabled.
  • Fix tasks.waitForPending returning before background task completion notifications and their follow-up turns settle.
  • Assisted Autopilot sessions can now complete after an optional action by the main agent is denied, even if the denial record omits the target. Completion still requires a review, and denied actions remain listed in blockedActions.
  • Add exact multi-root workspace support to runtime-supervised AHP hosting while preserving the existing single-workspace API.
  • Fixed session.tasks.waitForPending() returning, and session.idle being emitted, before the follow-up turn that a failed background agent's notification starts.
  • Update the Rust SDK's pin-project-lite dependency to 0.2.19 for upstream pinning and drop-check fixes.
  • In unattended Assisted Autopilot, a session that declares hostPolicyPermissionHandler now also receives extension launches a remembered consent covers, whatever its client kind.
  • Fixed session history rewind and truncation failing for turns that are still available after older session archives are deleted.
  • In Copilot Fusion sessions, the model field in subagent.started and subagent.completed now correctly reports the model inherited by a subagent that does not specify its own. The model the subagent runs on is unchanged.
  • session.error carries errorCode: "request_too_large" when a turn's request cannot be brought under the model endpoint's size limit.
  • MCP configuration hot reload uses fewer system resources when multiple SDK sessions monitor the same directories.
  • Expose optional customModel metadata (ownerName, ownerType, keyName, provider) on models returned by models.list.
  • Session rewind with file restoration now restores existing files the agent edited through directory symlinks created or retargeted in the rewound turns. The preview and results report the edited files by their actual paths, and later user edits remain untouched.
  • Agent Finder now supports installing skills, agent plugins, and MCP servers backed by private and internal GitHub repositories. Repository access uses the selected user’s GitHub credentials, even for public repositories, and does not fall back to anonymous access.
  • Agent Finder revalidates the source after confirmation and refuses installation if the descriptor has changed, been withdrawn, or can no longer be verified. Skill installation status now records these refusals as final outcomes without overwriting an earlier cancellation.
  • Enterprise settings that lock skill customization now block Agent Finder skill installation from both search results and direct references, without blocking plugins under a skills-only lock.
  • Computer Use (Preview) is now supported on glibc-based Linux (x64 and arm64). It remains off by default and subject to the features.computerUse managed setting. COPILOT_COMPUTER_USE_LINUX no longer affects availability, and musl Linux remains unsupported.
  • In Assisted Permissions with Autopilot, blocked permission-recovery feedback now allows retrying the action when a later user message asks for it.
  • Add optional issues field to Model and normalize capabilities.supports.toolCalls in models.list
  • Rust: Reduce allocations when sending messages and waiting for completion.
  • Session event streaming uses fewer allocations without changing event payloads or ordering. In standalone Node.js SDK benchmarks, allocations per event fell about 7.5% with one session and 6% with four.
  • Fixed account.getQuota to return the actual reset date when available and omit it otherwise.
  • extensions.discover now returns declaredCanvases for extensions with a valid extension.json, so clients can list those canvases without starting those extensions.
  • Fixed, behind an experiment, an issue that prevented eligible fallbacks from Claude Sonnet 5.5 to Claude Sonnet 5 after a content refusal from redeeming fallback credits and reusing the original prompt cache.
  • Keep fixed recurring cron schedules on their wall-clock cadence after the host resumes from sleep.
  • Accepting a session path grant now reports an error without changing the session policy if the sandbox cannot start with the proposed grant.
  • When just-in-time memory serves a topic index or pointer, the SDK includes it only in the system prompt, even in user-prompt mode. Otherwise, memories follow the configured mode, which defaults to system-prompt for SDK sessions.
  • In SDK sessions using Assisted Permissions, a request made in plan mode no longer counts as approval to make changes, such as creating a branch or installing a package. Inspection and existing builds and tests can still run without approval.
  • SDK sessions now apply normal shell approval rules to commands that create, modify, or delete Git branches or tags instead of treating them as read-only. Read-only listings remain eligible for automatic approval, including listings that use combined short flags.
  • Fixed a bug that could delay automatic marketplace plugin updates until the next session. Eligible plugins can now update in the current session once managed settings have resolved and folder trust and policy allow the update.
  • .NET: ManagedReviewRequiredAsync now sends the kind discriminator when called with a concrete permission request type such as PermissionRequestShell. Python: managed_review_required now accepts a generated permission request dataclass such as PermissionRequestShell.
  • Saved memories are presented to the agent as context, not instructions, and the current repository and user request take precedence over them.
  • SDK sessions with the built-in edit tool now use one sentence in model prompts and tool metadata recommending separate calls for independent edits in the same response. Same-file edits still run in order.
  • MCP servers now stay connected when a healthy connection cannot restore a list-change subscription. Affected tool lists are fetched directly from the server instead of using cached results, and tools remain callable.
  • Linux sandboxed commands no longer expose the launcher's host-only environment through /proc/1/environ.
  • Linux sandbox policies denying missing paths beneath read-only grants use private overlays instead of host mount points; they require bubblewrap 0.11.0+ and unprivileged OverlayFS.
  • Linux sandboxed commands no longer start if network setup fails; policies denying missing paths beneath read-only grants also reject setuid bubblewrap before launch.
  • Linux sandboxes drop all capabilities, reject user-namespace creation and filesystem policy paths containing parent traversal, and require reserved subordinate IDs and Linux 5.3+ for root callers.
  • Rate-limit errors (session.error) and queued-message pause notices (session.info) now show reset times 24 hours or more away in the runtime’s local time zone instead of UTC. Shorter waits still appear as relative times.
  • Expose the assisted-permissions policy result through permissions.evaluateManagedPolicy.
  • Standard session prompts now use static session context by default, keeping checkpoint and artifact changes out of the system-prompt prefix while preserving compatible saved prompts.
  • Fixed a race where Autopilot could emit session.idle while its next turn was pending, causing SDK callers to mistake an active run for a finished one.
Read the whole story
alvinashcraft
21 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

1.0.121

1 Share

2026-12-04

  • Use the new transparentBackground setting in /settings to keep your terminal's background and transparency while using the GitHub theme.
  • Install marketplace plugins from HTTPS ZIP archives, with optional SHA-256 verification.
  • Show follow-up questions that previously failed to appear when models such as Gemini used uppercase field types.
  • Show rate-limit reset times 24 hours or more away in your local time zone instead of UTC.
  • Keep background sub-agents available after /restart when no unfinished work in the current session needs to be stopped
  • MCP servers stay connected when list-change subscription recovery is refused, so tools remain available.
  • Path approval now reports sandbox startup failures immediately and keeps the current session's sandbox policy unchanged.
  • Plugins from auto-updating marketplaces update in the same CLI session when you choose to trust and remember a new folder.
  • Markdown exports and gists of Copilot Fusion sessions no longer include empty sections that show only a timestamp.
  • Show /refine results or recovered drafts in the timeline instead of filling an unrelated session's input box after you close the original session or clear it and switch away.
  • /restart restores sessions and MCP servers when --additional-mcp-config is supplied through shell process substitution (@<(...)).
  • Keep sessions visible while their host reconnects, and refresh the list as soon as the connection returns.
  • Keep recurring /every cron schedules on time after your Mac wakes from sleep
  • In plan mode, Assisted Permissions no longer treats a request to make changes, such as creating a Git branch, as approval to proceed.
  • Commands that create, modify, or delete Git branches or tags follow normal shell approval rules instead of being treated as read-only.
  • Autopilot with Assisted Permissions continues to review unrelated tool calls after automatically denying a subagent's tool call.
  • Restore colors and formatting in hook progress messages when CLI color output is enabled
  • Prevent unchanged marketplace plugins from reinstalling at every startup when their manifest and marketplace catalog list different versions.
  • Copilot CLI can continue responding to prompts and loading the model list after your Copilot plan changes, without requiring you to sign out and back in.
  • PDF attachments are estimated from their decoded size like the Copilot API's own estimate, so large or scanned PDFs no longer trigger premature conversation compaction
  • Keep progress updates and final answers separate in CLI sessions that use the Responses API.
  • Autopilot continues past the first turn when a task needs more work with Claude Haiku 5.5.
  • In Copilot Fusion sessions, expanded task details show the model the subagent actually runs on.
  • Save feedback and debug log bundles without long delays when a log contains a password value with a missing closing quote.
  • Keep Bash environment, mouse, and dynamic retrieval changes made in /settings when /restart follows a launch with the corresponding flags.
  • copilot -p reports background agent failures before exiting instead of leaving users waiting for a follow-up.
  • Keep live reasoning in the concise transcript to three lines without extra indentation or wrapping.
  • /rewind with Conversation + files restores existing files Copilot edited through directory symlinks created or retargeted in the rewound turns.
  • Show which MCP server made an approved sampling request and why it failed in the interactive CLI.
  • On Linux, sandboxed shell commands honor COPILOT_CHILD_OOM_SCORE_ADJ and its default, helping keep the CLI session alive when memory runs low.
  • Opening the /model picker in plan mode no longer switches models or shows duplicate model-change notices when the CLI starts with --model.
  • Keep attached images, files, and GitHub references in the first prompt sent with /new, /clear, or /worktree new.
  • On a clean working tree, /security-review checks committed branch changes when you scope the review to a file.
  • Prevent Copilot CLI from freezing or running out of memory while attached to a hosted session.
  • Saved MCP tool approvals no longer count as sampling approvals. The CLI asks before unapproved sampling and declines it in Autopilot.
  • Ctrl+C or SIGTERM while copilot -p is starting up exits with status 130 or 143, respectively, instead of exiting 1 with a "Failed to load package index" error.
  • Enter or replace an OAuth client secret and retry sign-in directly from the MCP authentication failure screen.
  • Show MCP servers that need sign-in under 'need sign-in' instead of 'still pending' in the CLI startup summary.
  • Hide /computer from slash command suggestions and /help in managed cloud sessions.
  • Copying Markdown lists from the CLI preserves nested indentation.
  • Skip repository settings that aren't regular files so Copilot CLI can start without hanging or running out of memory.
  • Show a usage error instead of crashing when a global option has an invalid value before a subcommand like mcp.
  • copilot skill remove <name> now deletes any project skill that copilot skill list shows, including skills in .agents/skills, .claude/skills and the current directory's own .github/skills, instead of failing with "No custom, personal, or project skill found"
  • A recurring schedule stops, and says why, when the conversation becomes too large to send, instead of firing into the same error every interval
  • Indexed search recovers from interrupted maintenance without excessive disk activity. New indexes reclaim unused disk space faster.
  • Keep the prompt editor responsive when pasting long prompts.
  • Prevent concurrent credential reads from causing false keychain errors when you sign in or out of Copilot CLI.
  • Prevent non-interactive CLI runs from exiting before follow-up responses from completed background tasks are displayed.
  • Open outgoing connection logs from /environments even while the main CLI log is busy, without losing connection records.
  • Autopilot with Assisted Permissions can retry an action blocked after repeated attempts if you ask for it in a later message. The retry still requires permission review.
  • Autopilot with Assisted Permissions can finish a task after denying an optional edit to a file with a long path, if review confirms the task is complete without the edit.
  • /settings and /config share one dashboard across sessions. /settings theme and /config theme open the live-preview picker.
  • Expandable timeline rows show chevrons and support keyboard navigation. Press Ctrl+X, then R to switch between the focused timeline and the full chronological transcript.
  • Run /share and /export while a response is still generating
  • Image attachments retain more detail when the selected model supports higher resolutions.
Read the whole story
alvinashcraft
28 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

Aspire 17.0.1

1 Share

What's New in Aspire 17.0.1

Patch release for Aspire 17.0 that fixes AppHost updates and debugging, improves dashboard and tray usability, and updates container orchestration and PostgreSQL integrations.

🐛 Fixes

  • ⌨️ aspire update honors configured channels for C# AppHosts — An explicit --channel still takes precedence. Confirmed channel updates no longer require a successful validation restore; use --channel <name> --dry-run to validate without keeping the edits. Restore failures show NuGet and MSBuild diagnostics, with best-effort redaction of credentials in known package-source URLs. (#22219, David Negstad (@danegsta), James Newton-King (@JamesNK))

  • 🖥️ The dashboard keeps you on Home when the window narrows — The narrow layout shows resources in a drawer and provides a Home tab. Widening the window restores the resource table without navigating away. (#22478, David Pine (@IEvangelist))

  • 🖥️ The dashboard resource list defaults to Comfortable — Resource state and type are visible on a second line. Saved density settings are preserved, and Compact is still available under Settings > Appearance. (#22391, James Newton-King (@JamesNK))

  • 🖥️ Dashboard tooltips and context menus behave as expected — Tooltips on controls and resource graph nodes work over plain HTTP on non-localhost addresses. Opening a context menu with the pointer no longer highlights the first item as if it were hovered; keyboard focus remains visible when navigating by keyboard. (#22424, #22388, James Newton-King (@JamesNK))

  • 💻 Azure Functions breakpoints work again in Visual Studio — Visual Studio can launch and debug Azure Functions projects through its native project launcher. VS Code's launch behavior is unchanged. (#22401, backport of #22346, Karol Zadora-Przylecki (@karolz-ms))

  • 🛠️ AppHost tests run through Microsoft.Testing.Platform — dotnet test now uses the generated test entry point for test apps that reference Aspire.Hosting.AppHost, instead of launching the Aspire CLI. (#22444, backport of #22381, Alex Crome (@afscrome))

  • 🛠️ Coordinated Windows builds avoid a Blazor WebAssembly task failure — Aspire disables MSBuild's multithreaded mode for its generated Windows build projects on SDKs that support the switch, so the build can complete before browser debugging starts. (#22576, backport of #22526, Ankit Jain (@radical))

  • 🛠️ Package-based AppHosts expose their SDK version during project evaluation — Properties in the project file can now use $(AspireHostingSDKVersion), for example to set a versioned AspireCliBundlePath. (#22636, Damian Edwards (@DamianEdwards))

  • 🔄 Container network tunnels recover more reliably — The bundled Developer Control Plane (DCP) moves from 0.27.3 to 0.27.5, preserving endpoint state and published URLs across proxy recovery and retaining the final container network disconnect in resource status. (#22482, Karol Zadora-Przylecki (@karolz-ms); DCP changelog)

  • 📦 Layered .NET container archives match SDK output — Projects that add files with PublishWithContainerFiles can export OCI archives on Docker Engine 25 or later. Output naming and compression now match the .NET SDK, and ContainerImageReference points to the actual archive when OutputPath is a directory. (#22672, backport of #22666, Eric Erhardt (@eerhardt))

  • 🐘 PostgreSQL EF Core integrations use stable Npgsql providers — The standard and Azure PostgreSQL EF Core integrations move from an RC to Npgsql EF Core 11.0.0 on .NET 11, and from 10.0.3 to 10.0.4 on .NET 10. (#22797, Eric Erhardt (@eerhardt))

  • 🖱️ The tray scrollbar responds to the pointer — Drag the scrollbar thumb or click the track to move through a long list of AppHosts. (#22808, backport of #22801, David Fowler (@davidfowl))

  • 🌐 Translations are refreshed — Updates missing or stale translations for the dashboard, CLI, VS Code extension, and templates. (#22596, James Newton-King (@JamesNK))

  • 📊 Dashboard product telemetry includes more error detail — When product telemetry is enabled, dashboard error events include exception messages and stack traces, truncated when needed. These fields can contain information such as resource names or workspace paths. ASPIRE_DASHBOARD_TELEMETRY_OPTOUT=true still disables dashboard product telemetry export. (#22712, backport of #22705, James Newton-King (@JamesNK))


Full Changelog: v17.0.0...v17.0.1

Full commit: 81f56a6b6c58135826723e0e84426b2c42efcfe6

Read the whole story
alvinashcraft
33 seconds ago
reply
Pennsylvania, USA
Share this story
Delete

How to Tell If Two Modules Should Be One

1 Share

Two modules should be one when a use case must write to both in one transaction, one keeps reading the other's current data, or most changes touch both. In .NET, an ArchUnitNET test and a Postgres role per module catch code that crosses the boundary. The architecture test misses raw SQL, and the database role misses code that uses the other module's DbContext. That is why you need both.

I once split order collaboration and the product catalog into two modules. On paper, it was an obvious split between two distinct domains.

Then ordinary feature work started coming in. Collaboration needed product options, then live prices, and eventually orders had to reflect catalog changes right away. A year later, the boundary only existed in the folder structure.

When I'm unsure about a boundary now, I run three checks and let two tools show where one module reaches into another.

Check 1: What Has to Be Saved Together?

Look at any use case that needs a single transaction across both modules. Shared transactions couple modules at the database level, so your module boundary should also be your transaction boundary.

Say an Ordering module places an order that also reduces product stock in Catalog. If stock must be accurate the instant an order is saved, orders and stock belong in the same module.

You can still keep them separate and update stock through an event. That requires an outbox so the event survives a crash, plus a way for Ordering to cancel if stock runs out first.

One module saves the order and stock update in one transaction. With two modules, Ordering writes to an outbox and Catalog reduces stock later.

Check 2: Snapshot Reads or Live Reads?

Not every cross-module read is a problem. It comes down to whether you need a snapshot in time or the live value.

An order needs the product's name and price at checkout. In PlaceOrder.cs, Ordering calls Catalog's public API (ICatalogModule) once and copies both onto the order:

ProductForOrder product =
    await catalog.GetProductForOrderAsync(productId, cancellationToken)
    ?? throw new InvalidOperationException($"Product {productId} was not found.");

var order = new Order
{
    Id = Guid.NewGuid(),
    ProductId = product.Id,
    ProductName = product.Name,
    UnitPrice = product.Price,
    Quantity = quantity
};

If you place an order at 129.00 and Catalog later changes the price to 149.00, the saved order still reads back 129.00. Once copied, Ordering doesn't need Catalog again.

Ordering copies the price 129.00 once through the public API. Catalog later changes it to 149.00, and the order still keeps 129.00.

An occasional live call to another module's public API is fine. But if nearly every Ordering feature needs current Catalog data to work, those two modules probably belong together.

Check 3: What Changes Together?

A bad boundary usually shows up in git history. Count recent commits on main touching both modules against total commits in one (with squash-merge, one commit is one PR):

comm -12 \
  <(git log main --since="6 months ago" --format=%H -- src/Ordering | sort) \
  <(git log main --since="6 months ago" --format=%H -- src/Catalog | sort) | wc -l

git log main --since="6 months ago" --format=%H -- src/Ordering | wc -l

If most Ordering PRs also touch Catalog, the split isn't buying you independence.

On a new codebase with no history yet, run the change test: would a typical feature touch both modules?

Catching Boundary Violations in Code

Those checks need real data on where one module reaches into another. I put together a small .NET and Postgres app with Shop.Catalog and Shop.Ordering as namespaces in one project, and Catalog's public API in Shop.Catalog.Contracts. Because they're namespaces in one project, not separate projects, the compiler lets Ordering use any Catalog type, even the internal ones. So I added three shortcuts to Ordering to see what catches them:

The architecture test catches PlaceOrderDirect using CatalogDbContext. The Postgres role blocks the raw SQL JOIN in TopProductsReport and UPDATE in ReduceStock on catalog.products.

First is an architecture test with ArchUnitNET:

dotnet add package TngTech.ArchUnitNET.xUnit

This rule in BoundaryTests.cs limits Shop.Ordering to Catalog's contracts and blocks the rest of Shop.Catalog:

using ArchUnitNET.Domain;
using ArchUnitNET.Fluent;
using ArchUnitNET.Loader;
using ArchUnitNET.xUnit;
using Shop.Ordering;
using Xunit;
using static ArchUnitNET.Fluent.ArchRuleDefinition;

public class BoundaryTests
{
    private static readonly Architecture Architecture = new ArchLoader()
        .LoadAssemblies(typeof(OrderingDbContext).Assembly)
        .Build();

    private static readonly IObjectProvider<IType> Ordering =
        Types().That().ResideInNamespaceMatching(@"^Shop\.Ordering(\.|$)").As("Ordering");

    private static readonly IObjectProvider<IType> CatalogInternals =
        Types().That().ResideInNamespaceMatching(@"^Shop\.Catalog(\.|$)")
            .And().DoNotResideInNamespace("Shop.Catalog.Contracts")
            .As("Catalog internals");

    [Fact]
    public void Ordering_ShouldOnlyUse_CatalogContracts()
    {
        Types().That().Are(Ordering)
            .Should().NotDependOnAny(CatalogInternals)
            .Check(Architecture);
    }
}

It catches PlaceOrderDirect, which skips the contract and uses CatalogDbContext directly:

Shop.Ordering.Shortcuts.PlaceOrderDirect does depend on "Shop.Catalog.CatalogDbContext" and "Shop.Catalog.Product"

It only inspects the compiled assembly and needs no database, so it runs on every PR.

On the database side, use a Postgres role and schema per module. Each module connects with its own login role, owns its schema, and has no permissions on the other:

CREATE ROLE catalog_role LOGIN PASSWORD 'catalog_secret';
CREATE ROLE ordering_role LOGIN PASSWORD 'ordering_secret';

CREATE SCHEMA catalog AUTHORIZATION catalog_role;
CREATE SCHEMA ordering AUTHORIZATION ordering_role;

Run each module's migrations as its own role so it owns the tables, and put EF Core's migrations history table in that schema.

Postgres blocked both raw SQL shortcuts (the JOIN in TopProductsReport and the UPDATE in ReduceStock):

Npgsql.PostgresException : 42501: permission denied for schema catalog

Neither tool caught all three shortcuts on its own. ArchUnitNET missed the raw SQL because a query is just a string in IL. Postgres let PlaceOrderDirect through because it used CatalogDbContext, which connects as catalog_role.

The tradeoff: more setup. Each module needs its own schema and connection string, and integration tests must run under those roles instead of a superuser, since Postgres only catches queries that run.

Fix the Shortcut or Merge the Modules?

Once the tests fail, run each violation through Checks 1 and 2:

ViolationWhat It DoesVerdict
PlaceOrderDirectReads a product through CatalogDbContextShortcut. Call ICatalogModule instead.
TopProductsReportJoins catalog.products for the product nameShortcut. ordering.orders.product_name already has it.
ReduceStockUpdates stock in catalog.productsBoundary question. Decide with Check 1.

The first two are shortcuts, so a quick refactor fixes them and keeps the boundary intact.

ReduceStock comes down to whether stock can lag behind briefly after an order is saved. If eventual consistency is fine, publish an event and keep the two modules separate. If stock has to update in the same transaction as the order, Ordering and Catalog belong in one module.

Merging puts both sets of tables under one schema, one DbContext, and one role, and drops the public contract. Still, merging is the expensive direction once data and contracts are live. When you're unsure early on, start with one module and split it later.

Summary

Pick one boundary in your codebase that already feels tangled. Add an ArchUnitNET rule for its namespaces and lock down its Postgres schema with a dedicated login role.

Most failures will be shortcuts you can clean up quickly. The ones you can't refactor away without breaking consistency mean those two modules should be one.

If you want a starting point, my free modular monolith template includes two modules, separate schemas, and boundary tests. It uses one database login by default, so adding a role per module is up to you.

In Modular Monolith Architecture, I walk through defining module boundaries and enforcing them with architecture tests across a full system.

Thanks for reading.

And stay awesome!




Read the whole story
alvinashcraft
1 minute ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories