Saltar al contenido

swiftDialog Historial de versiones

CSIRO · Utilidad de línea de comandos para macOS que permite a los administradores mostrar diálogos y mensajes personalizables desde scripts de shell.

CaskHerramientas del sistema 870
Inicio
Comando de instalación
brew install --cask swiftdialog
Instalaciones en los últimos 30 días
112
Puesto 1006 en Apps
Instalaciones del último año
1,4 mil
Total de los últimos 365 días
Última versión
3.1.1
Tamaño de descarga
21MB
pkg
Frecuencia de actualización
Irregular
0 versiones en 30 días
  1. 3.1.1 (5000)

    Actualizado

    Editado por OpenNavo

    CompatibilidadmacOS 15 o posterior

    Corrige la supresión de acciones de teclado, los pies de imagen, las presentaciones y los fallos de entrada en varias tarjetas. Añade límites de fecha y JSON por argumento; mejora Inspect y reduce el trabajo de inicio y decodificación.

    Corrige la supresión de acciones de teclado, los pies de imagen, las presentaciones y los fallos de entrada en varias tarjetas. Añade límites de fecha y JSON por argumento; mejora Inspect y reduce el trabajo de inicio y decodificación.

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

  2. 3.1.1

    Parche

    Editado por OpenNavo Inclusión en Homebrew

    Corrige la supresión de acciones de teclado, los pies de imagen, las presentaciones y los fallos de entrada en varias tarjetas. Añade límites de fecha y JSON por argumento; mejora Inspect y reduce el trabajo de inicio y decodificación.

    Corrige la supresión de acciones de teclado, los pies de imagen, las presentaciones y los fallos de entrada en varias tarjetas. Añade límites de fecha y JSON por argumento; mejora Inspect y reduce el trabajo de inicio y decodificación.

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

  3. 3.1.1b2

    Expandir

    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

    Expandir

    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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    Añade workflows JSON de varios pasos, aplicaciones auxiliares de notificaciones y notificaciones simuladas. Actualiza ampliamente Inspect y amplía las opciones de banners, títulos y Builder.

    Workflow
    Crea diálogos de varios pasos con JSON y conserva las entradas entre tarjetas.Admite validación por tarjeta, bifurcaciones y scripts --onadvance opcionales.
    Cambios
    Las notificaciones directas de Dialog.app se desaconsejan y avisan en stderr.
    Otros
    Inspect añade cambios de cumplimiento, cadence, IPC y presentación.Se amplían las opciones de banners, títulos y Builder.Correcciones en etiquetas de desplegables múltiples, carga y Mini view.

    swiftDialog 3.1.0 incorpora Workflow, que permite crear diálogos de varios pasos a partir de una única configuración JSON. Se puede avanzar y retroceder entre tarjetas conservando las entradas. Los workflows admiten validación de campos obligatorios, bifurcaciones según las entradas, textos personalizados para los botones de navegación y scripts de shell opcionales que se ejecutan al avanzar y pueden bloquear el avance.

    Cuando se usa --notification junto con --style alert o --style banner, el lanzador CLI dialog invoca la aplicación auxiliar incluida Dialog Alert.app o Dialog Banner.app. El envío directo desde Dialog.app está obsoleto y genera un aviso en stderr. A partir de macOS 26.4, configurar el icono del paquete Dialog.app para usarlo como icono de notificación puede no funcionar como se espera; las notificaciones simuladas pueden ayudar con algunos tipos. Son ventanas personalizadas, no notificaciones del sistema macOS, y desaparecen al cerrarlas.

    Inspect recibe una amplia actualización que abarca paneles de cumplimiento, cadence y avance condicionado por atributos supervisados, preferencias gestionadas, marca, apariencia, presets, datos IPC y de sesión, señales de disponibilidad, eventos de interacción, vistas de informe y validación de configuración más estricta. Los banners admiten colores sólidos y degradados; los títulos, subtítulos y desplazamiento de fuente. Builder puede exportar JSON y comandos de línea de órdenes, y cargar Markdown desde un archivo o una URL. También se añaden imágenes de fondo de pantalla y compatibilidad con archivos parciales aria2. Se corrigen las etiquetas seleccionadas de los desplegables de selección múltiple, la carga de archivos/URL y la representación y el tamaño de Mini view. Se eliminan los comandos de prueba --inspect-schema y --schema-validate.

    Notas oficiales de la versión

    • Con --notification y --style alert o banner, el CLI invoca las aplicaciones auxiliares.
    • Desde macOS 26.4, el icono de Dialog.app puede fallar como icono de notificación.
  6. 3.1.0rc1

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    Corrige problemas de comportamiento y visualización del diálogo, añade comandos para minimizar la ventana y actualiza diseños, servicios, navegación y ajustes preestablecidos de Inspect.

    Correcciones
    Corrige el arrastre de la ventana y una regresión de diseño de Button 1.Restablece acciones del menú Edit, como copiar y pegar.Corrige selección de código, mensajes en modo mini y posición de hojas.Corrige vieworder y un ajuste menor del diseño de la barra de botones.Actualiza la reproducción de YouTube integrado ante problemas de carga.
    Novedades
    Añade comandos IPC para minimizar y restaurar la ventana.Perfecciona los diseños y la navegación de Inspect Preset1 y Preset2.Añade servicios de miniaturas y formato centralizado de fechas.Actualiza la validación plist, componentes compartidos y monitorización.Añade una vista de gradiente y actualiza Preset4, Preset5 y Preset6.

    Esta versión corrige varios problemas de interacción y visualización del diálogo. Activar Button 1 ya no impide arrastrar la ventana, y también se corrige una regresión relacionada en ButtonBarView. Ocultar el menú Edit ya no desactiva acciones como copiar y pegar. Otras correcciones abarcan el resaltado de selección de código en línea, la representación de mensajes en modo mini al usar “none”, el desplazamiento inesperado al abrir una hoja, el funcionamiento de vieworder y el diseño de la barra de botones. Se actualizó la reproducción de YouTube integrado para intentar resolver problemas de carga de vídeo.

    Se añadieron dos comandos IPC para minimizar y restaurar la ventana del diálogo mediante programación. Las novedades de Inspect incluyen diseños refinados para Preset1 y Preset2, navegación lateral mejorada, ThumbnailService para generar y almacenar en caché miniaturas de recursos, y DateDisplayService para centralizar el formato de fechas. La validación plist ahora se sincroniza con el estado de instalación y admite resolvedCacheExtensions. También se actualizaron componentes intro compartidos, la resolución de marca y módulos de monitorización; se añadió ProceduralGradientView; y se revisaron la presentación de notificaciones de Preset4, la compatibilidad con cuadrículas bento de Preset5 y la localización de Preset6.

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

  12. 3.0.1b1

    Expandir

    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

    Expandir

    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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    Requiere macOS 15 o posterior. Añade Inspect Mode, el estilo visual de macOS 26 y numerosas opciones para diálogos, listas, medios, botones y Dock. La versión incluye más de 300 cambios y actualizaciones.

    Requisitos
    Requiere macOS 15 o posterior; para macOS 14 o anteriores, use v2.5.6.La documentación se aloja ahora en swiftdialog.app.
    Funciones
    Añade listas desplegables con búsqueda, elementos seleccionables y acciones.Añade GIF animados, sonidos de inicio y varios valores de imagen o icono.Añade posicionamiento en pantalla, alineación de texto y otras opciones.
    Cambios
    Usa el estilo de macOS 26 en macOS 26 y el de macOS 15 en macOS 15.El comando dialog ahora enlaza con la utilidad compilada dialogcli.

    swiftDialog 3.0.0 requiere macOS 15 o posterior. En dispositivos con macOS 14 o anteriores, se debe usar v2.5.6. La documentación se ha trasladado a swiftdialog.app.

    La versión incorpora Inspect Mode, que utiliza la API FSEvents de Apple para supervisar la actividad del sistema de archivos e inspeccionar instalaciones, cachés, archivos y contenido plist para comprobar el cumplimiento. También añade listas desplegables con búsqueda, elementos de lista seleccionables, acciones limitadas para abrir URL en elementos de lista, compatibilidad con GIF animados y sonidos de inicio, y la posibilidad de especificar varias imágenes o iconos separados por comas. Otras opciones nuevas incluyen la posición en pantalla, rutas iniciales para seleccionar archivos, símbolos y tamaño de texto en botones, controles del icono y la insignia del Dock, colores de texto en línea y alineación del texto.

    En macOS 26 se utiliza el estilo visual de macOS 26; en macOS 15, el de macOS 15. Los títulos y mensajes vacíos permanecen vacíos, y el icono predeterminado utiliza el recurso AppIcon integrado. El comando dialog ahora enlaza con la utilidad compilada dialogcli, que localiza el paquete de la aplicación y permite reubicarlo. Al ejecutar directamente el binario Dialog, importan el número y el orden de los argumentos; coloque al final los indicadores sin parámetro. La ejecución directa del binario se eliminará en una versión futura. Las notas de la versión indican que hay más de 300 cambios y actualizaciones, sin enumerar todas las correcciones.

    Fuente: versión swiftDialog 3.0.0

    • Añade Inspect Mode para supervisar el sistema de archivos y comprobar el cumplimiento.

    • Añade símbolos y tamaño de texto en botones, controles del Dock y colores de texto.

    • La ejecución directa del binario Dialog requiere cuidado con el orden de argumentos.

  15. 3.0.0preview3

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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