Skip to content

swiftDialog Release Notes

CSIRO · A macOS command-line utility for administrators to present customizable dialogs and messages from shell scripts.

CaskUtilities 866
Install command
brew install --cask swiftdialog
30-day installs
127
#846 in App
1-year installs
1.4K
Last 365 days
Latest version
3.1.1
Download size
21MB
pkg
Release cadence
Irregular
0 releases in 30 days
  1. 3.1.1 (5000)

    Latest

    OpenNavo editorial

    CompatibilitymacOS 15 or later

    Fixes keyboard-action suppression, image captions, slideshow rendering and multi-card input crashes. Adds date bounds and per-argument JSON options, improves Inspect workflows, and reduces image decoding and startup overhead.

    Fixes keyboard-action suppression, image captions, slideshow rendering and multi-card input crashes. Adds date bounds and per-argument JSON options, improves Inspect workflows, and reduces image decoding and startup overhead.

    Source: https://github.com/swiftDialog/swiftDialog/releases/tag/v3.1.1

  2. 3.1.1

    Patch

    OpenNavo editorial Added to Homebrew

    Fixes keyboard-action suppression, image captions, slideshow rendering and multi-card input crashes. Adds date bounds and per-argument JSON options, improves Inspect workflows, and reduces image decoding and startup overhead.

    Fixes keyboard-action suppression, image captions, slideshow rendering and multi-card input crashes. Adds date bounds and per-argument JSON options, improves Inspect workflows, and reduces image decoding and startup overhead.

    Source: https://github.com/swiftDialog/swiftDialog/releases/tag/v3.1.1

  3. 3.1.1b2

    Expand

    GitHub Release

    swiftDialog 3.1.1 Beta 2

    This beta focuses on Inspect Mode enhancements and a round of stability fixes, several of which address hard-to-spot crashes and rendering glitches.

    New

    • Inspect Mode: set general window options straight from JSON - your Inspect config can now include an options block for common window settings, so you no longer need to pass them as separate command-line flags alongside your JSON. Supported keys: moveable, ontop, resizable, and windowbuttons. Command-line flags still take precedence if both are set. (#693)
    • Inspect Mode: minimise / maximise commands now work - sending minimise: or maximise: via the command file now minimises the Inspect window to the Dock and restores it, just like a standard dialog. (#689)

    Fixed

    • --hidedefaultkeyboardaction works again - Return ↵ and Esc ⎋ no longer trigger the default buttons when this option is set; activation once again requires ⌘⇧Return / ⌘⇧Esc. (#696)
    • imagecaption: command updates now display - updating an image caption via the command file now shows the caption under the image, matching what --imagecaption does at launch. (#690)
    • Inspect Mode (Preset 5): status group headers land in the right place - headers like "Completed" and "Pending Installation" no longer appear part-way down the list or get drawn twice. This was intermittent and more likely during live deployments. (#691)
    • Slideshows no longer blank out a following image - a single-image screen shown after a multi-frame slideshow now renders correctly instead of appearing empty.
    • Fixed a crash with text fields in multi-card workflows - advancing between cards containing text fields could, under the right timing, terminate the dialog with an "index out of range" error. Text field, checkbox, dropdown, and radio inputs are now hardened against this.
    • Additional stability hardening - several image and input lists were made resilient to items changing while the view is on screen, preventing a class of intermittent rendering/crash issues.

    ⸻

    Thanks to everyone who reported these issues and contributed fixes.

  4. 3.1.1b1

    Expand

    GitHub Release

    v3.1.1 Beta 1

    This is a bug fix and general stability update.


    CLI Enhancements

    • --version, --licence now execute without launching the full app for faster startup.
    • Improved command-file launch-time validation and lifecycle logging.

    Inspect Mode

    • Log Monitor now correctly parses Munki's ManagedSoftwareUpdate.log format with timestamp-based filtering.
    • Added support for Installomator's "Unzipping" verb and improved verb pattern matching.
    • Inspect demo updated with complete Preset5 step-type list (12 types including cadence, brandPicker, and assistant).

    Fixes

    Stability

    • Fixed crash when --ontop is used with specific dock positions.
    • Guarded against crashes from force-unwraps on media/screen input validation.
    • Fixed crash on quoted JSON font sizes or missing notification actions.
    • Prevented multi-value option crashes when a missing value has option-shaped structure.
    • Fixed timer leak in AppInspector by properly invalidating periodic timers.

    CLI & Input

    • --alwaysreturninput now returns select/list/JSON output on all quit paths.
    • Command-file launch-time guard now works correctly with improved lifecycle logging.
    • Help text updated to restore messagefont name property documentation.

    Inspect Mode

    • Fixed Preset1/2 auto-advance timing to hold complete lists for ~2.5s before transitioning, preventing sub-second blinks.
    • Corrected Preset5 step-type list in demo configuration.

    Performance

    Rendering & Loading

    • SVG and PDF images now load once instead of re-decoding on every render.
    • Remote image fetches are now bounded and decode images once before caching.
    • Remote markdown fetch now includes an explicit timeout.

    Startup & Processing

    • Startup JSON parsing optimized to run once instead of twice.
    • Per-row render logging reduced to debug level; inspect config URL tasks now bounded.

    Timing & UI

    • Per-button 3s timer now only runs when the button actually uses it.
    • View heights now measured with onGeometryChange instead of GeometryReader for better performance.

    Under the hood

    • Replaced deprecated Process.launch()/launchPath with modern run()/executableURL.
    • Refactored updateAllItems/resetToDefaults to drive from a single keypath table.
    • Routed stray debug/error prints to writeLog instead of stdout, keeping protocol output clean.
    • Minor deduplication: native build number, hex parser, and required-field modifier.
    • Removed verified-dead code.
  5. 3.1.0

    Expand

    OpenNavo editorial Added to Homebrew

    Adds JSON-based multi-step workflows, notification helper apps and pseudo notifications. Inspect receives a broad update, with expanded banner, title and Builder options.

    Workflow
    Build multi-step dialogs from JSON; input persists between cards.Supports per-card validation, branching and optional --onadvance scripts.
    Updates
    With --notification and --style alert or banner, the CLI invokes helper apps.Direct Dialog.app notifications are deprecated and warn on stderr.From macOS 26.4, the Dialog.app bundle icon may not work as a notification icon.
    Other
    Inspect adds compliance, cadence, IPC and presentation changes.Banner, title and Builder options are expanded.Fixes cover multiselect tags, file/URL loading and Mini view sizing.

    swiftDialog 3.1.0 introduces Workflow, which builds multi-step dialogs from a single JSON configuration. Users can move forward and backward between cards while retaining input. Workflows support required-field validation, branching based on user input, customizable navigation-button text, and optional shell scripts that run when advancing and can block advancement.

    When --notification is used with --style alert or --style banner, the dialog CLI launcher invokes the bundled Dialog Alert.app or Dialog Banner.app helper. Sending notifications directly through Dialog.app is deprecated and prints a warning to stderr. From macOS 26.4 onward, setting the Dialog.app bundle icon as the notification icon may not work as expected; pseudo notifications may help with certain notification types. Pseudo notifications are custom windows, not macOS system notifications, and do not persist after dismissal.

    Inspect receives a broad update spanning compliance dashboards, cadence and attribute-based gating, managed preferences, branding, appearance, presets, IPC and session data, readiness signals, interaction events, report views and stricter configuration validation. Banners support solid colours and gradients; titles support subtitles and font offsets. Builder can export JSON and command-line invocations and load Markdown from a file or URL. Other changes include screen background images, aria2 partial-file support, fixes for multiselect dropdown tags, file/URL loading and Mini view rendering and sizing. The stub commands --inspect-schema and --schema-validate are removed.

    Official release notes

  6. 3.1.0rc1

    Expand

    GitHub Release

    swiftDialog 3.1.0 RC 1

    This build represents Release Candidate 1 for swiftDialog 3.1.0

    Fixes since Beta 4

    • Fix issue where "appearance" : "dark" would not work when specified in inspect mode json

    --builder updates

    • Export now supports json and command line
    • Fixed live preview of rendering sf symbols to buttons
    • Message / infobox: markdown can be sourced from a .md file or URL
    • Add a screen background image option (--screenbackground)
    • Text fields / checkboxes / list items are now List-based with a drag handle so rows can be reordered
  7. 3.1.0b4

    Expand

    GitHub Release

    swiftDialog 3.1.0 Beta 4

    New Features since Beta 3

    Regular dialog

    • Branched workflows - Workflow pages can route to different cards based on user input, with no callback script required. New per-card properties:

      • branch - pick the next card from a dropdown selection (map) or a checkbox state (ifTrue / ifFalse), with an optional default fallback.
      • nextpage - static override that jumps to a specific card id after Next.
      • finalpage - terminates the workflow at this card; Button 1 becomes "Finish" regardless of remaining cards.

      The Previous button is history-aware and unwinds whichever path the user actually took.

    • aria2 partial-file support - cacheExtensions is now a configurable array that marks an item as "downloading" while a partial file with one of these extensions exists in cachePaths. Default is ['download','pkg','dmg']; add 'aria2' for aria2c, which writes <name>.aria2 partials. Leading dot optional. (#617)

    Inspect mode

    • Gated cadence engine - DEPNotify-style POLICY_ARRAY replacement. Messages only advance when a real monitored attribute is satisfied (app / file / plist / defaults / json / managedpref), with optional IPC drive (cadence:satisfy, cadence:advance, cadence:goto) and per-entry timeout / minimum-dwell controls. New stepType: "cadence" and matching schema definitions CadenceEntry / CadenceAttribute.

    • cadenceStyle: "carousel" - DEPNotify-style horizontal icon-card row (done/active/pending) for cadence steps.

    • managedpref attribute type - Cadence and gating conditions can read /Library/Managed Preferences/<domain>.plist directly. MDM-agnostic; works with any management vendor. Supports device and user scope.

    • ManagedValueRef for per-tenant branding - Lets brand colour and claims pull from different MDM payload domains via a {domain, key, darkKey} reference. Brand colour can now come from one profile while claim text comes from another.

    • Forced appearance - New appearance config key ("dark" / "light" / "auto") forces the inspect window appearance regardless of the OS setting, in both directions. (#669)

    • Preset 3 redesign - Hero block, bottom footer, slim brand progress line, rebalanced spacing.

    • Persistent footer brand logo - Stays across step transitions, supports dark-mode variant, honours maxHeight.

    • Per-item descriptions - List items across Presets 1, 2, 3, 5, and 6 now support a description string rendered beneath the item title. (#663)

    • Unified brand-tinted info badge - Brand colour falls back to highlightColor when not set.

    Inspect IPC

    • Per-PID session discovery - New --published-sessions-dir publishes a <pid>.json file per running Dialog so external drivers (install scripts, ignitecli, MDM helpers) can discover an active session.

    • Enriched session JSON - Published session JSON now includes resultFile, readinessFile, and eventFile paths so consumers don't need to guess.

    Bug Fixes

    • Pseudo notifications no longer steal focus when delivered. (#674)

    • Preset 2 header subtitle now sourced from message. (#670)

    • Preset 2 card window auto-follows installs. (#565)

    • Preset 2 custom status + progress text now respected. (#571)

    • Distributed notifications: ignore trigger-file content written before the session is ready (test added).

    Schema & Cleanup

    • inspect-config schema (inspect-config.schema.json) reconciled against InspectConfig.swift:

      • Added: CadenceAttribute, CadenceEntry, ManagedValueRef definitions; cadence keys on StepBase; new cadence step-type branch and enum value; appearance enum.
      • Removed: duplicate camelCase button keys (button1Disabled, button1Text, button2Text, button2Visible), legacy FeatureItem / features, guidanceContent.multiline.
      • Tightened: cacheExtensions now typed as array<string> with description.
    • Scheme cleanup - Removed a stale absolute --jsonfile launch arg from the Dialog App Bundle scheme.

  8. 3.1.0b3

    Expand

    GitHub Release

    swiftDialog 3.1.0 Beta 3

    Changes since v3.1.0b2

    New Features

    • Screen Background — New --screenbackground option displays an image as the screen background behind dialog windows. (#655)

    • Info Box Width — New --infoboxwidth option allows changing the info box text area width independently from icon size. (#665)

    • Workflow Navigation Button Text — New nextbuttontext and previousbuttontext options allow customising the next and previous button text in workflow (formerly "cards") mode. (#653)

    • Inspect-Mode Compliance Dashboards — Added plist-driven compliance UI for inspect-mode including:

      • ComplianceAggregatorService reads plist sources and publishes categories, pass/total counts, and configurable healthyLabel / attentionLabel labels.
      • New shared content blocks: compliance-summary (banner + stat cards) and findings-list (category-grouped list with disclosure).
      • Bento cells auto-bind to compliance items — subtitle and icon colour update from live findings with no new schema fields required.
      • Compact detail sheet for bento cells showing status, category, criticality, and plist key.

    Improvements

    • "Cards" renamed to "Workflow" — The "cards" feature in regular dialog mode has been renamed to "workflow" for clarity, so as not to be confused with inspect mode "cards" preset.

      • The cards keyword will still work for backwards compatibility with earlier betas but moving forward documentation and other references to this feature will use workflow.
    • Mini View sizing on macOS 26 — Adjusted the size of the mini view when running on macOS 26 (Tahoe) or newer. (#649)

    • Inspect-mode hardening — Several quality improvements to inspect-mode:

      • Replaced hardcoded colour hex literals with semantic colour tokens (Color.semanticSuccess / Color.semanticWarning).
      • Centralised magic numbers into InspectSizes constants.
      • InspectConfig decoder now rejects configs carrying both introSteps[] and items[] with a clear error message.
      • Presets 5 and 6 proactively clear stale persisted state on launch when resumable is not set.
      • Bento mixedContent correctly renders SF Symbols when contentType: "mixed" is set; contentType auto-detects from imagePath / sfSymbol.
      • Preset 6 guidance container widens for wide-layout blocks (bento-grid, compliance-summary, findings-list).
    • Removed stub inspect-schema CLI commands — --inspect-schema and --schema-validate have been removed as they did not work as intended. --inspect-mode and --inspect-config are unaffected.

    Bug Fixes

    • Fixed an issue when loading NSURL with a file path that doesn't exist. (#654)
  9. 3.1.0b2

    Expand

    GitHub Release

    swiftDialog 3.1.0 Beta 2

    Change Notes: Beta 1 -> Beta 2

    Card Navigation & Window Sizing

    • Fixed cards with different window dimensions - switching between cards that specify different windowWidth/windowHeight values now correctly resizes the window and updates the icon size.
    • Animated window and content transitions - card transitions use a 0.25s ease-in-out resize animation instead of a jarring instant snap (it would still be recommended to not overuse window resize between cards. Limit to one dimension at a time, e.g. change of width or change of height only, if at all, for a better user experience)
    • Image & caption cleanup on card change - image properties are now cleared before processing a new card, preventing images and captions from the previous card leaking through. #647
    • Icon size synced per card - iconSize and iconAlpha are re-read from the updated arguments after each card switch.
    • Progress bar state reset between cards - progress bar value is explicitly reset to nil (indeterminate) so a completed bar from a prior card doesn't persist into a card that has no progress bar.

    Inspect Framework - Observable Migration & IPC Hardening

    • InspectDynamicState migrated from ObservableObject/@Published to @Observable - removes the Combine dependency, eliminates verbose willSet debug logging, and enables per-property SwiftUI tracking (only views reading a changed property re-render). @StateObject usage in Preset5View replaced with @State.
    • Removed updateGeneration counter - no longer needed; @Observable per-property tracking makes the manual .id() workaround obsolete.
    • Preset5 refactored for @Observable - dynamicContentUpdateCounter, lastReceivedStep, and several intermediate @State variables removed; update_guidance command routed through InspectDynamicState directly.
    • IPC / CommandRouter hardening - DispatchSource event handler, fallback timer, and DistributedNotification callback all now dispatch onto the main queue explicitly, fixing potential off-main-thread UI updates.
    • Diagnostic logging added to CommandRouter - temporary [DIAG] log lines for monitoring file path existence and byte counts during IPC.
    • Schema updated - inspect-config.schema.json significantly expanded (~1,300 net lines added).

    Code Quality, Concurrency and Memory Safety

    • General linter and xcode build warnings cleaned - all remaining Xcode and SwiftLint warnings resolved across the project (clean build with zero warnings).
    Issues, Bugs?

    ⚠️ This is a beta release with known and unknown bugs and issues

    Found a bug or problem with this release? please create an issue 🛠️

  10. 3.1.0b1

    Expand

    GitHub Release

    swiftDialog 3.1.0 Beta 1

    What's New in swiftDialog 3.1.0

    Cards Workflow (Multi-Step Dialogs)

    swiftDialog 3.1.0 introduces Cards — a powerful new feature for building multi-step dialog workflows from a single JSON configuration.

    • Define an array of cards in your JSON, each with its own title, message, icon, and input fields
    • Users can navigate forward and backward between cards, with input preserved across navigation
    • Accumulated input from all cards is returned as a single JSON output on completion
    • Global configuration properties (defined outside the cards array) act as defaults, overridable per card
    • New --onadvance argument allows a shell script to run when the user advances between cards — the script receives the current card index, card ID, and user input via stdin as JSON, and can block advancement by exiting with a non-zero code
    • Required field validation is enforced per card before advancing
    • Button bar adapts automatically (Back / Next / Finish) based on card position

    More Info

    Notifications

    ⚠️ Note: From macOS 26.4 onward, setting the Dialog.app bundle icon in order to set the notification icon may not operate as expected. Pseudo Notifications may help address this issue for certain notification types

    Alert and Banner App Bundles

    Notifications are now delivered by dedicated helper apps (Dialog Alert.app and Dialog Banner.app) rather than Dialog.app itself.

    • Separate apps for Alert and Banner style notifications, ensuring the correct macOS notification presentation style
    • Helper apps are bundled inside Dialog.app/Contents/Helpers/ and are automatically invoked by the dialog CLI launcher when --style alert or --style banner is used alongside --notification
    • The "Approve Notifications" alert now persists until dismissed — it no longer auto-dismisses
    • New app icons for the notifier helper apps

    Deprecation Notice: Sending notifications via Dialog.app directly (without --style alert or --style banner) is deprecated. A warning is now printed to stderr when this legacy usage is detected. This behaviour will be removed in a future release and notifications without a specified style will be delivered as banners by default using the Dialog Banner.app helper.

    Pseudo Notifications

    Pseudo notifications are custom notification-style windows rendered by swiftDialog itself, rather than macOS system notifications. They slide in from the right edge of the screen and mimic the appearance of native notifications with a translucent material background.

    Pseudo notifications are not system notifications. They do not persist once dismissed and do not follow the standard rules for macOS system notifications.

    dialog --notification --style pseudo-alert --title "Update Available" \
        --message "macOS 26.4 is ready to install" \
        --button1text "Later" \
        --button2text "Install Now" --button2action "open 'x-apple.systempreferences:com.apple.Software-Update-Settings.extension'"
    

    More Info

    Banner Enhancements

    The --bannerimage argument now supports solid colour and gradient options in addition to image files.

    Solid colour banner:

    dialog --bannerimage "colour=accent"
    dialog --bannerimage "colour=#0066CC"
    dialog --bannerimage "colour=blue,nogradient"   # disable the default gradient overlay
    

    A subtle gradient overlay is applied by default. Append ,nogradient to disable it.

    Multi-colour gradient banner:

    dialog --bannerimage "gradient=red,orange,yellow"
    dialog --bannerimage "gradient=red,orange,yellow:angle=135"
    

    Colours are comma-separated names or hex values. The optional :angle=<degrees> suffix sets the gradient direction (0 = bottom-to-top, 90 = left-to-right, 180 = top-to-bottom; default is 90).

    The same colour= and gradient= keywords also work for --background (watermark) images.

    Title Enhancements

    Subtitle Argument (for use with --title and --bannertitle)

    --subtitle allows you to add a subtitle below the main title. This is useful for providing additional context or instructions to the user.

    dialog --title "Main Title" --subtitle "This is a subtitle"
    

    The subtitle text is styled with the same font properties as the title. When a banner image is used with --bannertext enable, the subtitle also adopts the banner text styling (white colour, shadow).

    Title Font Offset

    --titlefont now accepts an offset=<float> parameter to nudge the title text horizontally within its container. Useful when using banner images with overlaid title text but can also be used in regular dialogs to fine-tune title positioning.

    dialog --titlefont "size=36,offset=-10"
    

    Issues, Bugs?

    ⚠️ This is a beta release with known and unknown bugs and issues

    Found a bug or problem with this release? please create an issue 🛠️

  11. 3.0.1

    Expand

    OpenNavo editorial Added to Homebrew

    Fixes dialog behavior and rendering issues, and adds window minimize commands alongside updates to Inspect layouts, services, navigation, and presets.

    Fixes
    Fixed window dragging and a Button 1 layout regression.Restored Edit menu actions such as copy and paste.Fixed inline-code selection, mini-mode messages, and sheet positioning.Corrected vieworder behavior and a minor button bar layout issue.Updated embedded YouTube playback to address video loading issues.
    Updates
    Added IPC commands to minimize and restore the dialog window.Refined Inspect Preset1 and Preset2 layouts and navigation.Added thumbnail generation and centralized date formatting services.Updated plist validation, shared components, and monitoring modules.Added a gradient view; updated Preset4, Preset5, and Preset6.

    This release fixes several dialog interaction and display problems. Activating Button 1 no longer causes the dialog window to become non-draggable, and a related ButtonBarView regression is corrected. Hiding the Edit menu no longer disables actions such as copy and paste. Other fixes cover inline-code selection highlighting, message rendering in mini mode when using “none,” unwanted sheet movement, vieworder behavior, and button bar layout. Embedded YouTube playback was updated in an effort to address video loading issues.

    Two IPC commands were added to minimize and restore the dialog window programmatically. Inspect updates include refined Preset1 and Preset2 layouts, improved sidebar navigation, a ThumbnailService for generating and caching asset thumbnails, and a DateDisplayService for shared date formatting. Plist validation now follows install state and supports resolvedCacheExtensions. The release also updates shared intro components, branding resolution, and monitoring modules; adds ProceduralGradientView; and revises Preset4 toast presentation, Preset5 bento grid support, and Preset6 localization support.

    Source: https://github.com/swiftDialog/swiftDialog/releases/tag/v3.0.1

  12. 3.0.1b1

    Expand

    GitHub Release

    swiftDialog 3.0.1 Beta 1

    swiftDialog 3.0.1 Release Notes

    Fixes

    • Non-draggable dialog window (#561) — Fixed a race condition where activating Button 1 caused the dialog window to become non-draggable. A dispatch queue is now used to set the max window level and collection behavior correctly.
    • Button 1 regression (#520) — Fixed a regression in ButtonBarView introduced after the #561 fix that affected button layout/behaviour.
    • Edit menu disabling actions (#610) — Hiding the Edit menu (even when the menu bar is not visible) was incorrectly disabling all associated actions (e.g. copy/paste).
    • YouTube embedded playback (#611) — Updated embedded YouTube playback to hopefully resolve video loading issues.
    • Inline code formatting in Markdown (#624) — Fixed a rendering bug where the selection highlight for inline code blocks appeared beneath the UI layer causing the text to not appear selected.
    • Mini mode message display (#619) — Fixed message rendering issue in mini mode view when using 'none'.
    • Sheet opening shift — Fixed an unwanted positional shift when opening a sheet.
    • View Order (#631) — Minor string function fix that was preventing vieworder from working correctly.
    • ButtonBar fix (#607) — Minor button bar layout correction.
    • README typo (#612) — Fixed a typo in README.bm.

    Updated Features & Enhancements

    Window Management
    • Minimize / deminimize commands (#622) — Added two new IPC commands to programmatically minimize and deminimize the dialog window.

    Inspect Framework (Preset Layouts)

    • Preset1 & Preset2 — Refined layouts
    • Thumbnail service — New ThumbnailService for generating and caching asset thumbnails.
    • Date display service — New DateDisplayService centralises date formatting across Inspect views.
    • Sidebar navigation improvements — Updated SidebarNavigationModule for better navigation handling.
    • Plist validation — Synced plist validation with install state; added resolvedCacheExtensions support.
    • Shared components & branding — Updated shared intro components, branding resolver, and infrastructure.
    • Monitoring module — Minor improvements to MonitoringModule and IntroStepMonitorService.
    • Procedural gradient view — New ProceduralGradientView component for dynamic background gradients.
    • Preset4 — Overhauled toast UI with a refined layout and content rendering.
    • Preset5 — enhanced bento grid support.
    • Preset6 — improved localization support.
  13. 3.0.0-msa-prerelease

    Expand

    GitHub Release

    swiftDialog MacSysAdmin Edition

    Hej from MacSysAdmin Göteborg

    New

    The is preview release contains all the content from the previous v3.0 releases

    Announcing --inspect-mode

    swiftDialog now contains a set of preset views that monitor filesystem events and present them as information rich dialogs.

    Basic docco to get you started can be found here https://github.com/swiftDialog/swiftDialog/wiki/Inspect-Mode

    Links to MSA talk, additional documentation and demonstration code to come

  14. 3.0.0

    Expand

    OpenNavo editorial Added to Homebrew

    Requires macOS 15 or later. Adds Inspect Mode, macOS 26 visual styling, and numerous dialog, list, media, button, and Dock options. The release reports more than 300 changes and updates.

    Required
    Requires macOS 15 or later; use v2.5.6 for macOS 14 or earlier.Documentation is now hosted at swiftdialog.app.
    Features
    Adds Inspect Mode for filesystem monitoring and compliance checks.Adds searchable dropdowns, selectable list items, and list-item actions.Adds animated GIFs, launch sounds, and multiple image or icon values.Adds button symbols and text sizing, Dock icon controls, and text colors.Adds screen positioning, text alignment, and other dialog options.
    Changes
    Uses macOS 26 styling on macOS 26 and macOS 15 styling on macOS 15.The dialog command is now a link to the compiled dialogcli utility.Directly running the Dialog binary has argument-order caveats.

    swiftDialog 3.0.0 requires macOS 15 or newer. Devices on macOS 14 or earlier should use v2.5.6. Documentation has moved to swiftdialog.app.

    The release adds Inspect Mode, which uses Apple’s FSEvents API to monitor filesystem activity and inspect installations, caches, files, and plist content for compliance checks. It also adds searchable dropdowns, selectable list items, limited URL-opening actions on list items, animated GIF support, launch sounds, and support for multiple comma-separated image or icon values. Other additions include screen positioning, file-selection initial paths, button symbols and text sizing, Dock icon and badge controls, inline text colors, and text alignment options.

    On macOS 26, the interface uses macOS 26 styling; on macOS 15, it uses macOS 15 styling. Blank titles and messages now remain blank, and the default icon uses the built-in AppIcon resource. The dialog command now links to a compiled dialogcli utility that can locate the app bundle, making it relocatable. When launching the Dialog binary directly, argument count and order matter; place flags without parameters at the end. Direct binary support is planned for removal in a future release. The release notes report more than 300 changes and updates without listing every fix.

    Source: swiftDialog 3.0.0 release

  15. 3.0.0preview3

    Expand

    GitHub Release

    swiftDialog 3.0 Preview 3

    Updates since Preview 2:

    • Update --resizable behaviour #553
      • --width x --height y --resizable now works to create a resizable window at the specified dimensions (and position if --position is used)
    • Fix inconsistent --title none behavior #550
    • Fix vertical content placement when --message is not visible
    • Fix --buttonstyle stack to fill the width of the window #554
    • dialog binary compiled for universal support #552
    • Increase spacing between checkbox label and checkbox
    • Adjust dropdown selector to fill to space, not fit to content, when running on macOS 26
    • Adjust dropdown selector width value to be consistent with other visible elements (i.e. textfield)
    • Update textfield processing
      • replace methods deprecated in the macOS 15 SDK
      • overlay on live regex checking (--textfieldlivevalidation) no longer prevents selection the field on click
      • fix an issue where textfield content was not included in stdout if 'OK' was clicked before the cursor left the textfield area (possible fix for #527)

    🚨 dialog binary changes

    In this release the dialogcli binary is now included in the app bundle. On install a symlink is created at /usr/local/bin/dialog that points to /Library/Application/Support/Dialog/Dialog.app/Contents/MacOS/dialogcli.

    % ls -la $(which dialog)
    lrwxr-xr-x  1 root  wheel  71 18 Sep 14:36 /usr/local/bin/dialog -> /Library/Application Support/Dialog/Dialog.app/Contents/MacOS/dialogcli
    

    These changes should not affect standard behaviour when installed using the provided pkg but you can now re-locate the Dialog.app bundle elsewhere and do the following:

    • run sudo /custom/path/Dialog.app/Contents/MacOS/dialogcli --link to update the /usr/local/bin/dialog symlink destination
    • call .../Dialog.app/Contents/MacOS/dialogcli directly
    • symlink the bundled dialogcli to any location or name of your choosing

    ℹ️ If your workflow currently calls .../Dialog.app/Contents/MacOS/Dialog with arguments directly, please update to call dialogcli instead following this release.

    Issues, Bugs?

    For any bugs or problems with this preview release, please create an issue 🛠️

  16. 3.0.0preview2

    Expand

    GitHub Release

    swiftDialog 3.0 Preview 2

    Fixes since Preview 1

    • Handle dialog process termination (control+c, pkill etc) #545
    • Fix --position x,y where x and y coordinates were swapped #546
      • Also includes fix if provided coordinates go beyond visible screen area. Dialog windows will be bounded to the display.
    • Fix issue where list item icons didn't appear when configured using json #548
    • Fix typo in German localisation #549
    • Installer package now enforces macOS 15 minimum requirements
  17. 3.0.0preview1

    Expand

    GitHub Release

    swiftDialog 3.0 Preview 1

    Image: SD v3 logo

    What's New

    This preview release was built on Xcode 26 and macOS 26 RC. Please use this initial preview to validate your workflows against macOS 26 and the updated visual style.

    🚨 Breaking Change 🚨

    swiftDialog 3.0 supports macOS 15 and macOS 26

    ⚠️ macOS 14 and earlier are no longer supported. ⚠️

    Support for macOS 26 visual style

    This release will have macOS 26 appearance when run on macOS 26 and macOS 15 appearance on macOS 15

    There is a new "squircle" icon to match the macOS 26 branding style and avoid landing in squircle gaol.

    The old "Important message" boilerplate text for title and message have been removed. Leaving title or message blank will produce blank message and title. Default icon uses the built in AppIcon resource instead of an SF symbol

    Changes to /usr/local/bin/dialog

    /usr/local/bin/dialog is now a compiled binary written in swift. Previously this was a shell script that handeled command line processing and launching of the Dialog.app app bundle.

    For this initial release this generally performs the same function as the shell script but will be expanded over time. Support for running the Dialog.app/Contents/MacOS/Dialog binary directly will be removed in a future release

    ⚠️ Important Note: In this release, when running Dialog.app/Contents/MacOS/Dialog directly, the number and order of arguments matters. For the sake of brevity, specify flags (arguments with no parameter like --ontop) at the end of your command.

    Other additions

    • Add support for specifying an exact location on the screen using --position x,y #452
    • Add support for actions in listitems. Actions are limited to URLOpen. #472
    • Add file path option to textfield fileselect to set the initial file path. Defaults to users home directory if not used. #451
    • Add support for collapsable paragraphs
    • Add iconalpha as an option to listitems #508
    • Add optional --loghistory for use with --displaylog #539
    • Added a custom indeterminate linear progress bar (this was required as macOS 26 linear progress bar does not animate correctly)
    • --image and --icon can now accept multiple values as a single comma seperated list, e.g. `--image "/path/image1.png","/path/image2.png","/path/image3.png" #536
    • [insert new feature here]

    Fixes

    • fix cmd+Q always being honoured #519
    • Enable button1 usage with stacked style and timer #520
    • Fix issue where textfield input is clipped if return is hit too quickly after entering data #530
    • Fixed an issue where the window position was not being correctly calculated on subsequent runs where window dimentions change between runs

    Issues, Bugs?

    For any bugs or problems with this preview release, please create an issue 🛠️

  18. 3.0.0beta5

    Expand

    GitHub Release

    swiftDialog 3.0 Beta 5

    Getting close to release 🤞

    Changes since Beta 4:

    • Fixes to searchable select lists
    • Fixes to inspect mode preset 2 layout
    • Lots of under the hood inspect mode fixes
    • NEW - --hideotherapps option, causes all windows to hide when swiftDialog launches. un-hides on exit

    Changes to markdown support

    MarkdownUI swift package has been replaced with Textual. This gives us much better general markdown support but there may be some visual differences. Please test and report any issues that may result from this change. That said...

    • --messagefont options to change the message font, colour and size are all back to working order
    • support for changing colours on individual letters or words, e.g. --message ":red[This is red] :green[This is green] :blue[This is blue]. This works for message, title, helpmessage and infobox.
  19. 3.0.0beta4

    Expand

    GitHub Release

    swiftDialog 3.0 Beta 4

    General Updates since Beta 3

    • Fix issue when using center style buttons
    • Update authkey processing to display auth lock correctly
    • Add SF Symbol transitions to IconView
      • When a SF symbol supports a transition from one symbol to another, the transition is animated. Animation varies from symbol to symbol. Best used when changing from one symbol varient to another, e.g. shield to shield.slash
    • fix --button1text none not working as expected
    • updating message when a list is visible no longer causes the list to disappear. This changes the "working as intended" behaviour of this action
    • Increased spacing between title text and radio buttons

    Inspect Mode updates

    • Added overlay icon support to brand identity and preset layouts
    • fix finalButtonText support for presets 1,2 and 3
    • add support for per-step continue button text
    • add dynamically visible and state override for guidance blocks
    • add custom filename support for inspect persistance
    • add side by side gallery layout with side content
    • add shellTimeout and batch update for shell buttons
    • make preset non-options in inspect config
    • add support for request button actions via fifo pipe
    • add support for discrete step sliders
    • add basePath support for relative path resolutions in validation
    • add auto discovery for compliance items
    • add textfield support to preset6 guidance content blocks
    • add copy-to-clipboard for config error details
      • many more under the hood improvements.
  20. 3.0.0beta3

    Expand

    GitHub Release

    swiftDialog 3.0 Beta 3

    Everything from previous preview and beta releases plus the following:

    Fixes:

    • Fix Incorrect window spacing when --centericon and --buttonstyle stack are used together #578
    • Fix issue where dark mode disabled buttons look clickable #579
    • Fix show: and hide: code so if a blurscreen is present we manage it properly. #581

    Updates:

    • Updated listitem status
      • Can now specify an SF symbol with optional colour as the status. When updating the status from one SF symbol to another, the update will animate with the sf symbol content transition, e.g. going from shield.fill to shield.slash.fill the slash will animate in place. example listitem: index: 0, status: shield.fill listitem: index: 0, status: shield.slash.fill
    • Inspect-mode related changes and additions from PR #582 (thanks @headmin):
      • Add inspect-mode UI additions along with requested changes to preset 1-3
      • Refactored Preset 1-2 layouts, add UI customization along with better workflow control
      • Improved detections in plist tracking, support plist checks in presets 1-3.
      • Add initial attempt on state machine patterns functionality (WIP)
      • Applied SwiftLint formatting across inspect .swift files
      • Add complementary functionality for inspect-mode based workflows

    🪲 Issues, Bugs?

    For any bugs, problems or questions with this beta release, please create an issue 🛠️

  21. 3.0.0beta2

    Expand

    GitHub Release

    swiftDialog 3.0 Beta 2

    Everything from previous preview and beta releases plus the following:

    Fixes

    • Empty variables as parameters cause no window to be drawn #543
    • --displaylog encoding text issue #422
    • --overlayicon does not appear when using --centericon #573

    Additions

    • Allow listitem's to be selectable (one or many) #465
      • new argument --enablelistselect enables selection of listitems on click. selection status is sent to stdout as "<title>" : "<status"
    • Buttons can now have symbols and adjustable text size
      • new arguments --button1symbol --button2symbol --infobuttonsymbol. Takes one sf symbol name as a value. Optional properties: position, size, style, color. see --help button1symbol for more info.
        • example: --button1symbol sunrise.fill,multicolour,leading
      • new argument --buttontextsize accepts a number value to set the desired text size
      • button text values can now be specified as nil to disable button text

    🪲 Issues, Bugs?

    For any bugs, problems or questions with this beta release, please create an issue 🛠️

  22. 3.0.0beta1

    Expand

    GitHub Release

    swiftDialog 3.0 Beta 1

    This is the first proper beta release of swiftDialog 3.0.

    Contains all the features and fixes of the previous preview releases as well as the following:

    Fixes

    • missing --loginwindow flag for root user exec
    • --commandfile not being respected in 3.0 beta #568
    • many, many changes to the construction kit, aka --builder mode

    Additions

    • Added searchable option to drop down lists
      • example:
      dialog --selecttitle "Search Me",searchable --selectvalues "Apple,Banana,Cherry,Date,Elderberry,Fig,Grape,Honeydew,Kiwi,Lemon,Mango,Nectarine,Orange,Papaya,Quince,Raspberry,Strawberry,Tangerine,Ugli Fruit,Watermelon"
      
    • Added --sound to play a sound on launch. Accepts file or url
      • example dialog --sound /System/Library/Sounds/Glass.aiff
      • if you pass in a very long audio file, add the --showsoundcontrols option.
    • Added animated gif support (finally)

    🚚 swiftDialog documentation is moving 🚚

    You can view a preview of the updated documentation at https://beta.swiftdialog.app/

    Inspect Mode

    --inspect-mode, which was announced at the MacSysAdmin conference has some more documentation. Available at the new documentation location here https://beta.swiftdialog.app/advanced/inspect-mode/

    Builder Mode

    --builder mode has been updated with some fixes for broken functionality and updates for some of the new layouts. Documentation here

    🪲 Issues, Bugs?

    For any bugs, problems or questions with this beta release, please create an issue 🛠️

  23. 2.5.6

    Expand

    GitHub Release

    Fixes:

    • Fixed an issue where specifying an icon from json required the icon to be in an array even if there was a single icon. fixes #493
    • Notification click closes dialogs in v2.5.5 #499
    • Update dialog script version message when no user logged in by @HowardGMac in https://github.com/swiftDialog/swiftDialog/pull/510
    • Use whole path for scutil (resubmit) by @MikeRich88 in https://github.com/swiftDialog/swiftDialog/pull/515
    • Added trailing padding to helpimage
    • Adds key authorisation to sending notifications if one is required #485
    • fix missing options for --textfield in help #485

    Contributions:

    Additional options for working with notifications

    • Adds ability to set an identifier for a notification, allowing you to easily replace a notification with an updated one. Also the ability to remove a specific notification by identifier or all notifications.

    Example:

    dialog --notification --identifier "update.message" --title "Updates" --message "Please update by tonight."
    dialog --notification --identifier "update.message" --title "Updates" --message "Please update within the next hour."
    dialog --notification --identifier "update.message" --remove
    

    Thanks to @chrisgrande

    Added buttonsize as a command line and control file variable

    • Support for mini, small and large button button sizes, using the built in macOS sizes. The button size will default to the current value of regular if not specified or not valid.
    • Support for button size to the builder mode for testing and JSON generation.

    Button style is applied to button1, button2 and the info button. It is also applied in the normal and stacked button layout.

    It does not scale the help button, which is a fixed size.

    Examples:

    dialog --buttonsize large --commandfile /var/tmp/dialog.txt
    echo "buttonsize: mini" >> /var/tmp/dialog.txt
    

    Thanks to @k2graham

    Options to hide and show the dialog window from the command file

    • Added hide: and show: commands to the list of command file commands to hide and show windows. This does not prevent window updates from occurring while a window is hidden.

    Thanks to @fabienconus