Repository navigation
Releases
Releases · AngelMunoz/FunGoo
v0.9.0
Added
- MVU: New
FunGoo.Mvupackage: run stock Elmish programs on Goo withMvuCell, which mounts a program as a cell and rebuilds it on each model change. Each cell owns its model, so a window can compose several MVU cells and a message in one cell rebuilds that cell only. The package adds subscription helpers for timers and GooActionevents, plus aCmd.ofActionhelper. Seesamples/MvuSpikefor a counter and a timer as two independent cells.
Changed
- Core: Breaking: The Goo dependency is now 0.31.0 (was 0.30.0). App startup moves to
Application.ConfigureandApplication.Run, window size usesSizewithLayoutSize,Window.TryPostis nowWindow.Post, andCell.Mounttakes the key before the factory. The generated surface gainsRowandColumnchildren helpers and follows the new setter shapes. - Widgets: Breaking: The Goo.Widgets dependency is now 0.22.2 (was 0.21.0). The generated surface follows the upstream rename of
Create*element hooks toConfigure*and drops the removedAvatar.ImagePathandAsyncImage.ImagePathsetters. - MVU:
FunGoo.Mvufollows Goo 0.31.0. The post shape isWindow.Post, and factory mounts take the key first. - Samples: RaznorGoo and MvuSpike move to Goo 0.31.0 and the new startup, size, post, and mount call shapes.
- Samples: RaznorGoo now follows the
goo-fsharpskill shape: shared playback state lives in one store record read insideBuild(no adaptive values), widget callbacks arrive as function parameters instead of record fields, dependencies flow through capability interfaces with a single UI marshaller, playback subscriptions go through theIPlaybackworker interface instead of a loose function returned beside it, and the file picker is its own mounted cell so background loads no longer rebuild the whole window.
v0.8.0
Changed
- Core: Breaking (behavioral): The Goo dependency is now 0.30.0 (was 0.29.1). Two layout defaults change:
FlexShrinknow defaults to 1, and elements withScrollorHiddenoverflow no longer get an automatic minimum size. SetFlexShrink = 0or explicitMinWidth/MinHeightvalues where the old defaults mattered. Apps also gain sharper text and border alignment at fractional display scales, mipmap smoothing for downscaled images, device-pixel snapping for custom layouts and anchored popups, GPU image caches that follow the driver memory budget, and inherited style changes that apply in one pass. New Goo APIs of this release (Window.PixelScale,ElementHandle.RawBorderBox,Window.MeasureText) need no FunGoo wrappers. The generated binding surface is unchanged. - Samples: RaznorGoo moves to Goo 0.30.0.
v0.7.0
Changed
- Core: Breaking: The Goo dependency is now 0.29.1 (was 0.28.7). Goo 0.29 removes
Goo.Tokens,Cell.MountSeeded, andGoo.CommandwithButton.CommandandKeyBinding.Command; apps that use those APIs must move to direct token values,Cell.Mount, andOnClickorAction.Window.Postnow returnsbool. Apps gain callback ownership fixes, so an input callback rebuilds the cell that made the content, and headless render support. The generated FunGoo setter, children, and interop surface is unchanged, so no FunGoo call site must change. - Widgets: The Goo.Widgets dependency is now 0.21.0 (was 0.19.8). Widgets gain theme depth shadows, a
TextFieldhandle for focus control, ComboBox popup padding, and crisp WindowChrome caption icons. The generated FunGoo.Widgets binding surface is unchanged, so no FunGoo.Widgets call site must change. - Samples: RaznorGoo moves to Goo 0.29.1.
v0.6.0
Added
- Widgets: New optional setter
handleColorfor the SplitPane divider color. Call it with a color to paint the divider, or with no argument to keep the theme border color.
Changed
- Core: The Goo dependency is now 0.28.7 (was 0.28.3). Apps gain Goo's rendering and input fixes: focus rings stay inside rounded clipping parents, scrolling moves whole physical pixels without relayout, deferred virtual rows realize before the next render, element handles report clamped scroll offsets, VSync works on software Vulkan devices, and initial windows stay inside the display's usable area.
- Widgets: The Goo.Widgets dependency is now 0.19.8 (was 0.19.3). Widgets gain inset row focus rings, content-sized Checkbox and RadioButton focus rings, a SplitPane divider drawn as a hover-highlighting theme-width line (
HandleSizenow sizes the pointer target), Banner dismiss buttons that stay inside their bounds, and tighter Markdown line spacing with content-sized list markers. - Samples: RaznorGoo moves to Goo 0.28.7.
v0.5.0
Changed
- Core: Breaking: The Goo dependency is now 0.28.3 (was 0.7.9). Goo merged its former optional packages into the main assembly and discontinued the Goo.Svg package: SVG loading, spell check, rich text, gestures, native dialogs and menus, printing, and notifications now come from the Goo package alone. Generated setters cover the merged types in their new sub-namespaces, and
FunGoo.Style.percentkeeps its signature while calling Goo's namedLength.Percentfactory. - Widgets: Breaking: The Goo.Widgets dependency is now 0.19.3 (was 0.2.9). Generated optional setters follow the Goo.Widgets API migration: size fields such as
MinHeightandWidthtake nullableLengthvalues, numeric style fields are nullable tokens, and selection callbacks follow the newOnChange/OnCommitnaming (MediaTransport usesOnPositionChange/OnPositionCommitandOnVolumeChange/OnVolumeCommit). - Widgets: Breaking: The
FunGoo.Virtualmodule moved from the FunGoo package to FunGoo.Widgets. Goo removed its package-level virtual collection function in 0.7.22; thecreate,ofSeq, andofIndexedhelpers keep their signatures and now build on Goo.Widgets'VirtualItems. - Samples: RaznorGoo moves to Goo 0.28.3 and drops the discontinued Goo.Svg package reference. Playlist rows, file-picker rows, and the empty state pass nullable lengths for their minimum heights, and the player bar uses the renamed MediaTransport callbacks.
v0.4.0
Added
- Core: New
FunGoo.Stylemodule withpercent, a percentage length helper for the GooPercentfunction, andtopEdge, a top-only border-width edge value. Both cover the Goo APIs removed in 0.6.6 (Length.Percent, per-side border-width properties). - Samples: RaznorGoo gains a file-system service behind an
IFileSystementry in its environment record: list a folder's sub-folders and extension-filtered files in one call, search the entries of one folder by name, case-insensitive, list the ready drives of the system, and ask for the parent folder of a path. Extension filters accept*.mp3,.mp3, ormp3forms, and unreadable folders return empty results instead of errors. - Samples: The RaznorGoo file picker shows the drive list above every drive root, so folders on other drives are now reachable. The picker and the playlist loader go through the file-system service instead of direct
System.IOcalls.
Changed
- Core: Breaking: The Goo dependency is now 0.7.9 (was 0.5.3). The generated surface follows the new Goo API:
Padding,Margin,BorderWidth, andBorderColorsetters take groupedEdgesvalues, and the interop module gainsEdgesandEdges<Color>conversion helpers plus atryCreatewrapper for the new staticNativeFileDrag.TryCreate. - Widgets: Breaking: The Goo.Widgets dependency is now 0.2.9 (was 0.1.1). Generated optional setters cover the new widget fields, including Calendar, DatePicker, ComboBox, Tooltip, and Markdown-era widgets; button text is now authored through
Contentinstead ofLabel. - Samples: RaznorGoo moves to Goo and Goo.Svg 0.7.9: percentage sizes go through
FunGoo.Style.percent, the player bar's top border goes throughtopEdge, menu and picker buttons authorContent, and the playlist and file-picker scrollbars now own authored track and thumb parts, which Goo requires to paint a scrollbar. - Samples: The RaznorGoo player bar is now a mounted
MediaTransportcell fromGoo.Widgets: position, seek, volume, and play state render from immutable input snapshots, seek and volume work against the playback service, and the hand-rolled media menu and progress widgets are gone. Playback state reports seconds, and the now-playing title derives adaptively from the selection. - Samples: RaznorGoo renders the playlist and the player bar as mounted cells that rebuild only on the events that touch them, the playback events are subscribed after the app is wired instead of during service construction, and playback ticks no longer re-render the whole window. The app file is split into a bottom-bar widget, a layout view, and a slim composition root.
- Samples: RaznorGoo builds its menu buttons, transport buttons, playlist rows, progress bar, and file picker rows and buttons from
Goo.WidgetsthroughFunGoo.Widgets, gaining hover, focus, and accessibility semantics. Icons come from the Material Symbols set, with one hand-parsed SVG kept for the missing "repeat off" glyph.
v0.3.0
Added
- Widgets: New
FunGoo.Widgetspackage for theGoo.Widgetslibrary, pinned to Goo.Widgets 0.1.1. Widgets compose through F# constructor property assignment, and generated optional setters cover nullable widget properties: call with a value to set it, or with no argument to reset it to the widget default.
v0.2.0
Changed
- Core: The Goo dependency is now 0.5.3. The RaznorGoo sample moves to Goo and Goo.Svg 0.5.3.
v0.1.0
Added
- Core: Children helpers for
ContainerandButton: append children in one call from a sequence or individual elements. - Core: Fluent setter extensions for
Window,TextEditorController,ShaderEffect, andTextCommandEvent: chain configuration calls and keep the same instance back. - Core:
voptionwrappers for theElementHandletext queries, and inline conversion helpers fromfloatandinttoLengthand from CSS color strings toColor. - Core:
Virtualbindings for Goo's virtualized lists: build from anIReadOnlyList, a sequence, or a count and indexer without touching G#'s compiler-generated entry points. - Samples: RaznorGoo, a media player built on Goo: adaptive playlist and playback state, LibVLCSharp audio behind an environment record, runtime SVG icons, and a custom file and folder picker.