Skip to content

Releases

v0.1.2

v0.1.2 Pre-release
Pre-release

Choose a tag to compare

@apadmi-github-releaseplease apadmi-github-releaseplease released this 06 Nov 08:13
dd0cff8

0.1.2 (2026-11-06)

Features

v0.1.1

v0.1.1 Pre-release
Pre-release

Choose a tag to compare

@apadmi-github-releaseplease apadmi-github-releaseplease released this 02 Nov 16:13
36ef7aa

0.1.1 (2026-11-02)

Features

v0.1.0

v0.1.0 Pre-release
Pre-release

Choose a tag to compare

@apadmi-github-releaseplease apadmi-github-releaseplease released this 22 Oct 09:52
fc539e8

0.1.0 (2026-10-22)

⚠ BREAKING CHANGES

  • panelItems, panelTitle, panelIcon and isAttributionVisible are removed from DeviceWithConfigurationView and ConfigurationView. Pass panel instead:
    • panelItems = listOf({ A() }) -> panel = { defaults(); item { A() } }
    • panelTitle / panelIcon -> panel = { defaults { header.title = ...; header.icon = { ... } } }
    • isAttributionVisible = false -> panel = { defaults { attribution.isVisible = false } }
  • DeviceConfiguration has a new language field, which changes its constructor, copy and componentN.
  • the entries of DeviceKind, DeviceType, Backdrop, DeviceOrientation and Appearance are renamed, such as Backdrop.DARK to Backdrop.Dark and DeviceType.IOS to DeviceType.Ios.
  • DeviceConfiguration.isPortrait and isDarkMode are replaced by orientation: DeviceOrientation and appearance: Appearance. ConfigurationView takes initialSimulatedDevice and initialPreviewSettings, which its reset button returns to, so the button now resets the device too and goes back to the host's initial values rather than the library defaults. DeviceWithConfigurationView takes isPersistenceEnabled, on by default.

Features

  • keep settings in the URL and across reloads (#27) (94b5c2e)
  • language switcher localization bbd91c (#32) (aa75727)
  • panel customisation (#33) (02d816d)
  • refactor all enums to be pascal case (#29) (c5ecdb2)
  • save screenshots of the device on desktop (#30) (b33e851)

v0.0.2

v0.0.2 Pre-release
Pre-release

Choose a tag to compare

@apadmi-github-releaseplease apadmi-github-releaseplease released this 20 Oct 10:08
84aada9

0.0.2 (2026-10-20)

Features

v0.0.1

v0.0.1 Pre-release
Pre-release

Choose a tag to compare

@apadmi-github-releaseplease apadmi-github-releaseplease released this 19 Oct 18:54
b257247

0.0.1 (2026-10-19)

⚠ BREAKING CHANGES

  • keep the preview's state when the window crosses the panel breakpoint
  • describe devices in dp, with their kind and pixel ratio

Features

  • a responsive sample app, and window size classes in the preview (d70ce57)
  • add a "Built with CMPDevicePreview" link to the panel (#20) (b3685d1)
  • add a floating button to turn preview mode back on (#17) (6a2f9da)
  • add macOS (Apple silicon) target (#9) (c1fc9d9)
  • add preview wrapper to non web target samples (a23d165)
  • all customisation of panel title and icon (#19) (6affe2b)
  • animate turning the device between portrait and landscape (e1473f2)
  • chip hover and UI tweaks (#16) (8b32c7a)
  • freeform device, resized by dragging any corner (09c6b53)
  • let app code use Compose's own insets and theme in the preview (dc17447)
  • let the caller add their own items to the configuration panel (8c7748f)
  • let the mouse act as a finger on touchscreen devices (012af8d)
  • port the Flutter device frames and sizes (f038dfa)
  • present devices as frames, with a note that nothing is simulated (27cbab4)
  • redesign the configuration panel and device picker (4491c16)
  • sample: add status bar background and icon controls (1f68190)
  • setup renovate and release-please (#3) (c8fbc1c)
  • show the device on a dot grid, with a margin around it (b51a77f)
  • simulate the status bar and software keyboard (2142e1c)
  • start the preview on the Galaxy S25 (c3ce8a2)
  • text size, display size, layout direction, backdrop and screenshots in the panel (9118411)
  • wire up release please and rennovate (c8fbc1c)

Bug Fixes

  • currentColor, screenshot file names and the signing check (a38cc2b)
  • keep the preview's state when the window crosses the panel breakpoint (8776f9e)
  • lock desktop windows to landscape (9f563c0)
  • sample: restore the installable Android app (298a95a)
  • stop a mouse drag on the simulated screen from clicking (d1a7315)
  • text colour in sample heading (127277c)

Code Refactoring

  • describe devices in dp, with their kind and pixel ratio (92200fc)