Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.2.0 - 2026-11-17
Added
- Console: new
devview-consoleloggermodule captures Android logcat and iOS stdout/stderr on-device, with optionalDevViewLogWriterintegration for Kermit, configurable severity colors, search/level filters, selectable expandable messages, Copy log and follow/pause inspection. Untethered iOSNSLog/os_logrequires writer integration. (#109, #163) - NetworkMock: reload specs without restarting, lazily load response bodies, resolve chained/document-relative references with cycle and component-section validation, synthesize supported schema placeholders, and match required top-level request fields/discriminator values. Body matching only inspects already-buffered Ktor content; this is not full JSON Schema validation.
- NetworkMock: serve declared headers/media types, retain distinct media variants, support bodyless responses and OpenAPI 3.1 type arrays/null enum values, and resolve wildcard media types to concrete Content-Type. (#138, #141, #144)
- NetworkMock: deterministic Timeout/Connection Refused, operation-level
x-devview.failureRate, and persisted response sequences advancing per request and retaining the final step. Sequences support repeated steps, reorder/remove, editing/restart and at least two steps in the builder;NetworkMockConfig.randomsupports deterministic probability tests. - Analytics: string event parameters and details with millisecond timestamps/timezone, selectable text and Copy event. (#161)
- TimeCapsule: connected timeline, state-change summaries/highlighting, timestamps and owner subtitle; an additive
TimeCapsuleEffectoverload records detachedTextFieldStatetext/selection and restores them alongside screen state. (#111, #146) - DevView: public UI kit in
com.worldline.devview.ui,Section.displayNameand labelled custom-module toolbar menus. (#159)
Changed
- Breaking — NetworkMock configuration: migrate
mocks.jsonto OpenAPI 3.x JSON or best-effort YAML, one spec per group. UseNetworkMock(resourceLoader = loader, specPaths = listOf(...)). Environments/overrides are removed;serverssupplies matching hosts, declared examples replace response-suffix probing, and delays usex-devview.delayMs. Follow the migration guide andscripts/mocks_json_to_openapi.py; review converter warnings on ambiguous overrides/identifiers. (#104, #108) - Breaking — NetworkMock runtime:
ApiGroupConfig/Endpoint*becomeApiSpec/Operation*; keys drop environmentId,Operation.methodisHttpMethod, and mock identity is(statusCode, mediaType, exampleName), includingloadMockResponse(key, statusCode, mediaType, exampleName). Handle Failure/Sequence in exhaustive state branches. Legacy operation selections reset once at schema 2; the global toggle survives. (#144) - NetworkMock: saved per-group search and State/Version/Method/Tag filters plus sorting (including Mocked first), active counts, wrapping paths, quiet Network labels, theme-aware status colors and animated lists.
Operation.versionis display-only; sorting now lives in the filter panel. (#119, #165) - NetworkMock: compact Responses/Failures operation sheets with direct network selection/search and inspect-without-selecting Details. Full-screen details provide Compare, Copy original body and Use/In use; full-screen sequence editing retains unresolved drafts. Reset all requires confirmation; configuration and recovery controls scroll at narrow sizes. (#165, #167)
- Console: read-only history with fresh recording identities; log through
ConsoleLogger.log(). Persisted tag/message exclusions reject noise before buffering, merge device edits with host defaults and load before capture. Disabling rules admits future matches only, without deleting retained history; Clear filters disables rules and Reset restores current defaults. (#163) - FeatureFlip: labelled Remote/Off/On overrides and separate remote value; local flags retain switches. Saved search/Type/State filters show counts and recovery actions; override writes persist in click order. (#160)
- DevView: destination-owned top bars transition with content, labelled accessible actions/tooltips and measured bottom insets. Animated home tiles use host-theme colors with explicit overrides supported; headings/subtitles, names/icons and dividers are clearer. (#159)
- NetworkMock diagnostics use gated Kermit, tag
DevViewNetworkMock, without response bodies. Runtime dependencies include Ktor 3.6.0 and Kermit 2.2.0. (#71, by Renovate)
Removed
- Breaking — built-in UI: Analytics/FeatureFlip/NetworkMock/TimeCapsule screens and built-in NetworkMock view models are internal or removed; ConsoleScreen is also internal. Register modules with
rememberModulesand renderDevView, not standalone built-in screens.NetworkMockDestination.Endpointand endpoint UI types are removed; use core repositories for runtime configuration.MockHttpClientCallis internal. - Breaking — logger/custom-module API: removed
LocalAnalytics, prereleaseLocalConsoleLogsand mutable history writes; submit throughAnalyticsLogger.log()/ConsoleLogger.log(). Analytics copies parameters and assigns recording UUIDs without changing value equality. Toolbar action/menu requirelabel, action callbacks receive displayedNavKey; fixedSection.containerColor/contentColorandModulePositionare removed, with module defaults nowColor.Unspecified. - Breaking — TimeCapsule:
subtitleis inserted betweenlabelandmaxEntries; migrate positional calls to namedmaxEntries.
Fixed
- NetworkMock: retained module sessions serialize writes and preserve selections/drafts across overlay hiding/host recreation. Failed writes offer Retry/Cancel and block conflicting actions. Revisions prevent stale sequence writes across repositories; concurrent consumption follows commit order, cancellation leaves uncommitted steps unconsumed and retries apply probability/delay at most once. Selected-mock/state-persistence failures do not fall back to real networking; superseded loads retry fresh state. Unmatched requests, Network selections and unavailable configurations still pass through. (#167)
- NetworkMock: pretty-print valid JSON for preview/diff without changing served/copied bodies; malformed/non-JSON bodies stay unchanged. Lazy unwrapped panes scroll as a whole; wide Unicode lines remain reachable, diff caches survive recomposition and recovery remains reachable with long errors. (#157, #167)
- DevView: navigation uses the intended entry view model. Initialization effects remain after once-only DataStore setup, cancel on removal and restart on re-entry. Filtering out a displayed module returns Home/discards its entry draft, not its registered session; navigation checks pending writes at action time. (#113)
- Analytics/Console: saved search, filters and inspection survive navigation; stable recording IDs prevent stale detail/anchor matches. Analytics counts use filtered results, empty searches remain recoverable and time windows refresh every five seconds. Console follows arrivals at capacity, restores paused row offsets after exclusions load, serializes clear/reconfiguration/capture lifetimes and cancels idle native readers cleanly. Both themes have improved severity/status label contrast. (#161, #163, #167)
- FeatureFlip: independent per-feature retry preserves previous values after failure; newer choices supersede old failures and stale retries cannot overwrite them. Restored type filters remain active when registered types change. (#167)
- TimeCapsule: only earlier entries offer Restore; expand controls have 48dp targets and saved expansion IDs prune on eviction/Clear. Selection-only restore avoids replacing text; bare-label quotes survive. (#164, #146, #167)
- Sample: accessible labelled/inset-safe sections, theme-correct Android system bars, once-per-composition analytics seeding and cancellation-safe network results. (#166)
Prerelease history
0.2.0-alpha08 - 2026-11-17
Added
- Analytics: event details with string parameters, millisecond timestamps with timezone, selectable text and Copy event.
- DevView: public UI kit in
com.worldline.devview.uiwith section headings, grouped items, empty states, filter bars and a multiplatform copy callback;Section.displayNamefor headings. - NetworkMock: "Mocked first" sort puts Mock, Failure, and Sequence operations before Network, preserving spec order within each group.
Changed
- Sample: labelled Compose, TimeCapsule and Network sections use one primary Open DevView action, spaced secondary controls, scrollable inset-safe content and a monospace result card. Counter controls have explicit accessible names, and section titles expose heading semantics.
- NetworkMock: the shared search/filter bar includes per-API-group Sort, State, Version, Method, and Tag selections with saved UI state and an active count. Clear filters keeps search; empty results offer Clear search and filters. Network is quiet text, and dark status chips use deep containers with light labels; both built-in palettes pass 4.5:1 label contrast tests.
- TimeCapsule: only earlier entries offer Restore, expand controls have standard 48dp targets, expansion survives screen recreation during the same recording, and empty history uses the shared guidance component. The existing timeline rail and change highlighting are preserved.
- Console: compact severity/time/tag rows expand to selectable multiline messages with horizontal scrolling and Copy log. Search and collapsible level filters retain UI state; the badge counts hidden levels and enabled noise rules. Newest-first rows follow the latest matching entry’s start at the top; paused arrivals keep the inspected row in place. History is a read-only snapshot. Enabled noise exclusions discard tag/message matches before buffering so excluded bursts cannot evict useful logs. Disabling a rule admits only future matches; previously retained history is not deleted. Host defaults merge with device-persisted additions, removals and enabled states; Clear filters disables rules and Reset restores current host defaults. Native capture waits for saved rules to load.
- DevView: module initialization effects remain in composition after once-only DataStore setup, survive recomposition, cancel on removal and restart on re-entry.
- Analytics: compact counts reflect filtered results, rows open event details, and the shared
collapsible filter panel preserves search, selection and scroll state. Logger history is a
read-only snapshot; record through
AnalyticsLogger.log(), which assigns a fresh internal UUID and copies parameters without changing event value equality. - FeatureFlip: remote overrides use labelled Material3 Remote/Off/On segments with the remote value shown separately. Local flags keep their switch; type badges are removed. Search and collapsible Type/State filters expose active counts and recovery actions and retain UI state. Selections persist in click order; failed saves keep the previous value and offer Retry. Restored type filters remain active when the registered feature types change.
- DevView: home icon tiles animate section hues with host-theme tones; explicit module overrides remain supported. Home uses sentence-case headings, readable subtitles, aligned dividers and a faint watermark in both themes. Built-in names are spaced and module icons are distinct.
- DevView: each destination now owns its top bar so titles and actions transition with content.
Home has Close DevView and module screens have Back. Toolbar actions and menus require a
user-facing
labelfor accessibility and tooltips; action callbacks now receive the displayedNavKey. Module registration remains unchanged and receives its entry's measured bottom inset. - NetworkMock: Reset all to network now asks for confirmation before clearing mocks, failures and sequences.
- NetworkMock: operation sheets pair a compact configuration summary with direct actual-network selection, Responses/Failures browsing tabs and response search. Status badges match the list; labelled Details buttons inspect without selecting. Sequence next-step, Edit and Restart controls share a compact header that wraps at narrow widths. Controls scroll when necessary to keep choices reachable. Full-screen response details provide Compare, selectable content, Copy body and Use/In use. The sequence builder uses stable step identities, Move up/down and Remove, preserves unresolved drafts and requires at least two steps. Saving or restarting position returns to the operation list.
- NetworkMock: one retained module session serializes accepted writes. Failed saves retain the selection/draft and offer Retry or Cancel while conflicting actions stay disabled. Overlay hiding and host configuration changes retain the session and entry drafts; filtering out a displayed module returns Home and discards its entry draft, not its registered session.
- NetworkMock core/Ktor: additive state revisions prevent stale sequence writes across repository instances. Concurrent requests consume steps in commit order and keep the final step selected; retries apply probability and configured delay at most once per request. An unavailable selected mock or state-persistence failure now fails without real-network fallback. Cancellation propagates without consuming an uncommitted sequence step.
- DevView: added a divider below the shared top app bar; NetworkMock operation lists animate filter and sort changes. Navigation guards consult pending mutations at action time.
Removed
- Breaking NetworkMock:
NetworkMockViewModelis internal, matching the built-in screen boundary. Use module registration for UI and the core repositories for runtime configuration. - Breaking DevView: built-in
AnalyticsScreen,ConsoleScreen,FeatureFlipScreen,NetworkMockScreenandTimeCapsuleScreenare internal. Register modules throughrememberModulesand renderDevView; module registration owns all tool content. - Console:
LocalConsoleLogsand direct writes toConsoleLogger.logs; submit entries throughConsoleLogger.log()instead. Each recording gets a fresh internal UUID. - Analytics:
LocalAnalyticsand direct writes toAnalyticsLogger.logs. The module reads its logger directly; registerAnalytics()to inspect its events in DevView. - DevView: fixed
Section.containerColor/Section.contentColorextensions and the publicModulePositionenum. Module colour defaults are nowColor.Unspecified.
Fixed
- Docs: analytics integration no longer uses the removed
LocalAnalyticsprovider, and module identity documentation covers built-in names, subtitles and icons. - TimeCapsule: eviction and Clear prune saved expansion IDs during the same recording.
- Console: paused inspection restores its row and pixel offset after saved noise rules load; a missing anchor falls back to the newest matching row without resuming follow mode.
- FeatureFlip: failed saves retain independent per-feature retries. Newer choices supersede older failures for the same flag, and stale Retry callbacks cannot overwrite them.
- NetworkMock: superseded response-load failures retry the latest selection without real-network fallback.
- NetworkMock: long errors keep recovery actions visible, wide Unicode preview lines remain horizontally reachable, and response comparisons retain their diff cache across recompositions.
- Sample: Android status/navigation icon appearance follows the Dark Mode flag, including the navigation-bar background on API 26–28. Sample analytics seed once per composition instead of on every recomposition; cancelled requests are not displayed as errors.
- Console: severity label contrast in both palettes, recoverable empty results when all levels are hidden, and following new entries at full history capacity. Reconfiguration preserves pending entries within the new limit and trims history immediately; Clear removes pending entries and rejects stale deliveries. Capture and collection lifetimes are serialized during cancellation and re-entry. Cancellation terminates an idle Android logcat reader; iOS idle reads suspend and restore output descriptors on cancellation.
- CI: allow 60 minutes for the iOS job instead of 30.
- Analytics: category/time-only searches show recoverable no-results states, and limited time windows refresh every five seconds without user input. Restored details cannot resolve to a different recording with identical data. Newest-first rows do not automatically follow arrivals; the inspected row and offset survive returning from details while new events arrive.
- Sample: analytics seed events are recorded once per composition lifecycle instead of during recomposition, preventing duplicates and a feedback loop when observing the logger.
- NetworkMock: valid JSON is pretty-printed before preview display and diffing, and long lines stay unwrapped with whole-pane horizontal scrolling and lazy vertical rows instead of per-line scrolling or eagerly composing entire previews. Malformed JSON and non-JSON bodies stay unchanged; formatting does not alter served response bodies.
0.2.0-alpha07 - 2026-11-02
Added
- TimeCapsule: an additive
TimeCapsuleEffectoverload acceptsTextFieldStateproperty references to record text and selection changes without screen state emissions, retain detached editing values, and restore them alongside screen state. Named field changes appear in timeline summaries and expanded highlights.
0.2.0-alpha06 - 2026-10-23
Changed
- Breaking NetworkMock: response variant identity is now
(statusCode, mediaType, exampleName)instead of(statusCode, exampleName).MockResponseandOperationMockState.Mocknow carrymediaType, andMockConfigRepository.loadMockResponseacceptsmediaTypeas its third parameter. Persisted operation mock selections are wiped once on upgrade (schema version 2) (#143).
Fixed
- NetworkMock: wildcard response media types (e.g.
*/*,application/*) are no longer emitted verbatim as the HTTPContent-Type; they resolve to concrete types (application/json,text/plain,application/octet-stream) based on the loaded body so KtorContentNegotiationcan deserialize responses (#143). - NetworkMock: multiple media types declared under the same status code no longer overwrite each
other when they declare same-named examples (such as
default); both are retained as distinct selectable variants disambiguated in the UI (#143).
0.2.0-alpha05 - 2026-10-14
Fixed
- NetworkMock: OpenAPI 3.1 schemas declaring
typeas an array (e.g.[string, "null"]) ornullinenumno longer fail spec loading. - NetworkMock: OpenAPI responses without
contentnow expose an empty-body"default"variant, including$refresponses and bodyless 200/204 statuses. No fixture file is needed, and the Ktor plugin omits the media-type-derivedContent-Typeheader while preserving declared response headers.
0.2.0-alpha04 - 2026-10-09
Added
- NetworkMock: closed the remaining test-coverage gaps tracked in #91 — real sample specs
(
sample/network'ssample-api.jsonandjsonplaceholder.json) now parse through the actualMockConfigRepositoryin a newRealSampleSpecTest(devview-networkmock-core,androidHostTest), guarding against the shipped sample silently drifting out of sync with what the parser accepts; query-parameter matching is now exercised end-to-end through the real Ktor plugin interception path (NetworkMockPluginTest); the operation sheet's sticky-header status-family grouping now has explicit coverage (NetworkMockOperationSheetTest); and the delay-precedence chain (Operation.delayMs ?: ApiSpec.delayMs ?: null) now covers its previously-untested third case. Ambiguous host-match precedence, the preview/diff bottom sheet, and response Content-Type/header assertions were already covered by prior work — verified, not duplicated. - NetworkMock: operations can now declare OpenAPI
tags, read verbatim into a newOperation.tags: List<String>(empty by default, display-only — no effect on request matching, same asOperation.version). The operation list gains a fourth per-tab filter chip row (tag_filter_row, multi-select, hidden when the current spec has no tagged operations) and a sort control — a new "Sort" toolbar dropdown, wired via the shared toolbar's newDestinationMetadataBuilder.menuaction (NetworkMockexposes asortSharedFlow,NetworkMockScreencollects it). Tapping it opens a menu with one entry per sort key: spec order (default), path (A-Z), method (HttpMethod.DefaultMethodsorder), and tag (an operation's first declared tag); picking an entry sets that sort directly. Sort selection is per-tab, plain client-side state inNetworkMockScreen'sContentState, not the ViewModel — same convention as the existing filters. Seedocs/modules/networkmock-core.md's new "Tags" section anddocs/modules/networkmock-ui.md. (devview,devview-networkmock-core,devview-networkmock, #116, #117) -
DevView: the shared top app bar's contextual actions can now be a dropdown menu of discrete choices, not just a single-tap icon or a confirm/cancel popup.
ModuleDestinationActiongains amenuItems: PersistentList<ModuleDestinationActionMenuItem>?property (new public class);DestinationMetadataBuildergains amenu(icon) { item(label) { ... } }DSL alongside the existingaction. Precedence when bothactionandmenucould apply:menuItemswins, thenpopup, then the plainactionlambda. (devview, #117) -
NetworkMock: an operation can now declare narrow request-body match constraints — required top-level fields and/or a discriminator field's value, read from its
requestBody.content.<mediaType>.schema— to disambiguate operations that would otherwise collide on path, method, and query alone (e.g. two specs sharing a host, each declaringPOST /api/payments, differing only by body shape). Not full JSON Schema validation; an operation declaring norequestBody, or one with neither a required field nor a usable discriminator, matches any body, same as before.OperationgainsrequestBodyMatch: RequestBodyMatch?(new public class);RequestMatchergainsmatchesRequestBody;MockConfigRepository.findMatchingMockgains an optionalrequestBody: String?parameter.devview-networkmock-ktor's plugin reads the request body only when it's already a fully in-memoryOutgoingContent.ByteArrayContent— a pure, repeatable read that never consumes or mutates anything the real network call still needs to send. Seedocs/modules/networkmock-core.md's new "Request body matching" section. (devview-networkmock-core,devview-networkmock-ktor, #83) - NetworkMock: a status code with a declared
content.<mediaType>.schemabut noexamplesnow synthesizes a placeholder response body instead of being unmockable — primitives,enum(first value),object/array(recursively, by declaredtypeor by the mere presence ofproperties/items),allOf(properties merged; conflicting definitions across members throw a clear error), andoneOf(first declared variant;discriminatoris parsed but doesn't yet steer variant selection). Deliberately narrow, not full JSON Schema conformance — seedocs/modules/networkmock-core.md's new "Schema-based response synthesis" section. Schema$refs resolve relative to the file containing them, like every other$ref.MockResponsegainsisSynthesized: Boolean(defaultfalse); the operation picker page shows a small "Generated" badge on a synthesized response's row. (devview-networkmock-core,devview-networkmock, #82, #84) - NetworkMock: an operation can now be configured as a sequence — an ordered list of
responses it advances through one step per matched request, sticking on the last step once
exhausted rather than looping back to the start. Useful for polling flows (order status,
upload progress, async job completion) where the interesting behavior is the transition
across repeated calls. Build one from the operation sheet's new "SEQUENCE" section: tap
"Build a Sequence", tap responses in the desired order, then "Save Sequence"; "Reset
Position" restarts at step 1 without leaving the sequence.
OperationMockStategains aSequence(responses: List<Mock>, currentIndex: Int)variant (breaking: another new sealed subtype); the position is persisted as part of this same state, so resetting an operation toNetworkdiscards it with no special-casing needed.NetworkMockViewModelgainssetOperationSequenceState/resetOperationSequencePosition. (devview-networkmock-core,devview-networkmock-ktor,devview-networkmock, #96) - NetworkMock: an operation can now simulate a network failure instead of returning a response,
two ways — deterministically, by selecting Timeout or Connection Refused in the operation
sheet's picker page (a new "Simulate Failure" section, alongside the response variants); or
probabilistically, via a new
x-devview.failureRate(0.0–1.0) OpenAPI extension field, which independently rolls on every otherwise-mocked request to that operation (an operation left onNetworkpassthrough is never affected). Each failure kind mirrors the exception a real Ktor engine throws for the equivalent condition (HttpRequestTimeoutExceptionfor Timeout, a connection-levelkotlinx.io.IOExceptionfor Connection Refused), so existing app error handling exercises the same code path.OperationMockStategains aFailure(kind: FailureKind)variant (breaking: exhaustivewhenblocks overOperationMockStateneed a new branch);OperationgainsfailureRate: Double?;NetworkMockConfiggains an injectablerandom: Randomfor deterministic tests;MockColorSchemegains afailure: StatusColorsslot (breaking: new required constructor parameter). (devview-networkmock-core,devview-networkmock-ktor,devview-networkmock, #88, #95) - NetworkMock: mocked responses now serve the
Content-Typederived from the spec's declared media type (responses.<code>.content.<mediaType>, previously always hardcoded toapplication/json) plus any additional headers declared onresponses.<code>.headers— a header's literalexamplevalue is served as-is, mirroring how query-parameter matching already reads a parameter'sexample.$ref'd headers resolve againstcomponents.headers.MockResponsegainscontentType(default"application/json") andheaders(default empty) properties. (devview-networkmock-core,devview-networkmock-ktor, #87) - NetworkMock: a "Reload Config" toolbar action, and
MockConfigRepository.invalidate()/NetworkMockViewModel.reloadConfiguration(), to re-read and re-parse the configured OpenAPI specs without restarting the app — previously the parsed config was cached forever after the first load, with no way to pick up an edited spec file short of a process restart. Operations added, removed, or renamed in the spec appear immediately after reloading; persisted per-operation mock selections are untouched. (devview-networkmock-core,devview-networkmock, #90)
Changed
- Breaking:
MockHttpClientCallis nowinternalinstead ofpublic— it was only public because Ktor'sHttpClientCall(client)base constructor required it to be instantiable from the plugin's install code, not because integrators have a legitimate reason to construct it themselves. ItsrawContentoverride already depends on the@InternalAPI-annotated Ktor API, so staying public compounded that instability onto this library's own tracked surface. (devview-networkmock-ktor, #89)
Fixed
- NetworkMock:
OpenApiParser's$refresolution now disambiguates by the fullcomponents.<section>a fragment names, not just its trailing name — a$refwhose fragment points at an unexpected section (e.g.components/parameters/Foowhere acomponents/responsesentry was expected) is rejected with a clear error instead of being silently resolved against whatever section the call site happened to expect, so a same-named entry in a different section can never be conflated with the one actually referenced.$refchains — an entry that itself declares another$ref— are now followed until a non-ref entry is reached (previously only one level deep), guarded against cycles: a circular$refchain now fails with a clear error instead of hanging. Each hop of an external$refchain is now resolved relative to the document that contains it (previously always the root spec's directory, soshared/a.json→./b.jsonloadedb.jsonnext to the root spec instead ofshared/b.json); local#/...refs and relativeexternalValuepaths inside an external document likewise resolve against that document, not the root. (devview-networkmock-core) - NetworkMock: replaced ~35 unconditional
printlncalls inMockConfigRepositoryandNetworkMockPluginwith gated Kermit logging (tagDevViewNetworkMock), consolidating the plugin's multi-line per-request trace into one line per intercepted request. No response body content is ever logged. A host app can adjust or silence this viaLogger.setMinSeverity(...);devview-consolelogger, if installed, captures it automatically. Detekt'sForbiddenMethodCallrule (println/print) is now enforced repo-wide. (devview-networkmock-core,devview-networkmock-ktor, #86) - NetworkMock: the bottom bar's search field and expand-filter button were padded as a whole
Surface, pushing every filter chip row above them down by the system navigation bar inset as well — the inset now only pads the search field and button themselves, matchingAnalyticsScreen's existing (correct) layout. (devview-networkmock)
0.2.0-alpha03 - 2026-09-11
Added
- NetworkMock status-family chip colors (2xx green, 4xx/5xx red, etc.) are now configurable via
a
LocalMockColorSchemeCompositionLocal, mirroringdevview-consolelogger'sLocalLogColorScheme. Also fixes these colors rendering as washed-out light pastels on dark surfaces —MockColorScheme.Darkis a proper hand-tuned dark palette rather than the light values reused verbatim. (devview-networkmock) - NetworkMock UI: a multi-select HTTP method filter chip row, alongside the existing version
filter. No chip selected shows every method; selecting one or more narrows the list to
operations using any of the selected methods, combined with the version filter and search
via AND. (
devview-networkmock) HttpMethod: a value class modeled after Ktor's ownHttpMethod(open set, companion constants,DefaultMethodsfor canonical ordering), replacing the rawStringonOperation.method— without adding a Ktor dependency todevview-networkmock-core. (devview-networkmock-core)- NetworkMock UI: a "Mocked"/"Network" filter chip row, and a mocked-operation count
(e.g. "3 of 47 mocked") on the global mocking toggle, computed across every spec — both
answer "what have I left mocked" at a glance. (
devview-networkmock)
Changed
- Breaking:
Operation.methodis nowHttpMethodinstead ofString. (devview-networkmock-core) - Breaking: NetworkMock's operation detail screen is now a bottom sheet over the operation
list instead of a second navigation destination — tapping an operation opens the response
picker directly, without leaving the list, and picking a response dismisses the sheet.
Removed:
NetworkMockDestination.Endpoint,NetworkMockEndpointViewModel,NetworkMockEndpointUiState, andNetworkMockScreen'snavigateToEndpointScreenparameter. Added toNetworkMockViewModel:sheetState: StateFlow<OperationSheetState>,openOperation(key),closeSheet()— response variant discovery (previouslyNetworkMockEndpointViewModel's job) now happens here, once per sheet open. Marking a response for preview/compare is now an explicit eye-icon toggle on each row instead of a long-press, and the preview/diff view is a second page of the same sheet (reached via a "Preview"/"Compare 2 responses" button) rather than a separate bottom sheet stacked on top of the detail screen. (devview-networkmock) - NetworkMock UI: the search field and version filter row moved from the top of the screen into
a
Scaffoldbottom bar (alongside the new method filter), matching FeatureFlip, Analytics, and ConsoleLogger's existing layout for one-handed reach. Only the search field and an expand chevron are visible by default; the mock-state, version, and method filter rows collapse behind the chevron (matching Analytics' bottom bar). (devview-networkmock) - NetworkMock UI: each operation row now shows a leading colour rail (the state chip's colour)
and a colour-coded HTTP method badge; the row's separate state-summary line — which duplicated
the status code already shown in the state chip — is gone (#115). The row's per-operation
version badge is also gone:
Operation.versionis parsed from the very path segment shown right next to it, so the badge never showed anything the path wasn't already showing, and it crowded the state chip. The path itself no longer truncates — it wraps instead, so a long URL is never cut off. The operation sheet's picker-page header shares the same fix, since it shows the same operation identity — except the header drops the state chip entirely: the picker list right below already marks the active response with a checkmark, its full label, and a family icon/colour, so a bare-status-code chip in the header would only repeat that. (devview-networkmock)
0.2.0-alpha02 - 2026-09-11
Fixed
- Fixed ViewModel persistence during navigation: the
rememberViewModelStoreNavEntryDecorator()was not applied to theNavDisplay'sentryDecoratorscausingViewModels to persist once instantiated.
0.2.0-alpha01 - 2026-09-10
Added
Operation.version: a display-only version tag extracted from a/v{n}/path segment (e.g./api/v2/x→"v2"), shown as a chip on each operation in the NetworkMock UI. Purely a UI label — request matching is unaffected. (devview-networkmock-core,devview-networkmock)- NetworkMock UI: a search field (filters by name, path, or operationId) and a per-tab version
filter row, both client-side over already-loaded data. (
devview-networkmock) - A migration guide and a
scripts/mocks_json_to_openapi.pyconversion script for integrators upgrading from a pre-0.2.0mocks.jsonconfig. devview-consoleloggermodule: displays the app's native console output (logcat on Android, a stdout/stderr redirect on iOS) inside the DevView overlay, with per-level filter chips, a text filter, and auto-follow. Capture works on an untethered device (no debugger required) on both platforms; an optionalDevViewLogWriterroutes Kermit-based logging into the same view, closing the one remaining gap (NSLog/os_logon iOS with no debugger attached). Log-level colors are configurable via aLocalLogColorSchemeCompositionLocal. (devview-consolelogger)- TimeCapsule rows now show a per-state change summary (e.g.
count 3 → 4) derived from akey=value-shaped label, expandable to reveal the full label with changed values highlighted, plus a wall-clock timestamp alongside the existing delta pill. The screen now shows a header naming the recorded owner. (devview-timecapsule)
Changed
- Breaking:
devview-networkmock-corenow parses OpenAPI 3.x documents (JSON, and YAML on a best-effort basis) instead of the bespokemocks.jsonformat. One spec file is one API group — the environment axis is gone entirely; a group's request-matching hosts come from the spec'sservers[]list, and an app talking to two hosts for the same API is simply two operations with different paths in one document.NetworkMock(configPath: String)is nowNetworkMock(specPaths: List<String>). See the migration guide. (devview-networkmock-core,devview-networkmock,devview-networkmock-ktor) - Renamed to OpenAPI vocabulary throughout the networkmock modules:
ApiGroupConfig→ApiSpec,EndpointConfig→Operation,EndpointKey→OperationKey(drops theenvironmentIdcomponent),EndpointDescriptor→OperationDescriptor,EndpointMockState→OperationMockState,GroupEnvironmentUiModel→ApiSpecUiModel,EndpointUiModel→OperationUiModel.MockResponseandMockMatchare deliberately not renamed — they model DevView's own runtime mocking behavior, not something OpenAPI describes.EnvironmentConfig,EndpointOverride, andeffectiveEndpointsare deleted. - Response variant discovery now reads the spec's declared
responses.<code>.content.*.examplesinstead of probing status-code/suffix combinations against the filesystem.OperationMockState.Mockis now keyed by(statusCode, exampleName)instead of a response file name. (devview-networkmock-core) - Response delay simulation is now declared via the
x-devview.delayMsOpenAPI Specification Extension, at the document root (spec-wide default) and/or per operation (overrides the default) — replacingApiGroupConfig.defaultDelayMs/EndpointConfig.delayMs. (devview-networkmock-core) - DataStore entries written under the pre-0.2.0 key shape
(
network_mock_endpoint_{groupId}-{environmentId}-{endpointId}) are wiped once on first launch after upgrading — the key shape and theMockpayload shape both changed, so a translation wasn't attempted. The global mocking toggle is unaffected. (devview-networkmock-core) OperationDescriptorno longer carriesavailableResponses— the main operation list never read them, soNetworkMockViewModelno longer eagerly discovers and decodes every response body on app start. Response variants are now only loaded when an operation's detail screen actually opens (NetworkMockEndpointUiState.Content.responses). (devview-networkmock-core,devview-networkmock)TimeCapsuleEffectgains asubtitleparameter, inserted betweenlabelandmaxEntries. Callers passingmaxEntriespositionally must switch to a named argument. (devview-timecapsule)
0.1.5 - 2026-09-08
Added
devview-timecapsulemodule: records the state history of the currently visible screen viaTimeCapsuleEffect/TimeCapsuleOwner, and lets a developer restore any earlier state back into that screen from the DevView overlay. History resets automatically when the screen leaves composition.
0.1.4 - 2026-07-22
Changed
- Applied logo-inspired color palette to the sample app: custom light/dark
ColorSchemeusing violet/indigo/magenta tones from the DevView brand, including the fullsurfaceContainertonal ramp. (sample) - Module icon containers on the home screen now use per-section colors derived from the logo palette; icon shape changed from circle to squircle (
RoundedCornerShape(8.dp)) and module names are nowSemiBold. Chevron indicator removed — touch ripple is the navigation affordance. (devview) - Section headers on the home screen now use
primarycolor instead ofoutline, and the DevView chameleon icon appears as a subtle watermark behind the module list. (devview) - Analytics log items now display a
3dpleading color strip matching the event category, making the log stream scannable by category at a glance. (devview-analytics) - Feature type labels ("Local" / "Remote") are now rendered as small pill badges instead of plain text. (
devview-featureflip) - HTTP method labels on endpoint cards and the endpoint detail header are now rendered as proper badges with a
primaryContainerbackground, matching the visual language of API explorer tools. (devview-networkmock) - NetworkMock empty, error, and loading state screens now use Material icons instead of an emoji, with consistent typography and
onSurfaceVarianttext colors. (devview-networkmock) - Added empty state to
FeatureFlipScreenwhen the feature list is empty or no features match the active filter. (devview-featureflip) - The endpoint detail hint card now shows a
TouchAppicon for visual clarity. (devview-networkmock) - Top app bar titles across all DevView screens are now
SemiBoldweight. (devview) - Unified surface backgrounds: the
surfaceContainerexplicit color has been removed from the Analytics highlighted-logs header and the NetworkMock global toggle wrapper — backgrounds now inherit fromMaterialThemeuniformly. (devview-analytics,devview-networkmock) - Diff colors shifted from generic blue to lavender (
#DDD8FF) to align with the brand palette. (devview-networkmock)
Fixed
- Fixed excessive recompositions and broken Switch animation on
FeatureFlipScreen: item keys now use the stablefeature.nameinstead ofhashCode(),FeatureHandlercaches its Flow to preventcollectAsStateWithLifecyclefrom restarting on every recomposition, and redundant explicitrememberkeys have been removed fromderivedStateOfblocks. (devview-featureflip) - Added
distinctUntilChanged()toFeatureHandler.isFeatureEnabledFlowandgetFeaturesto suppress recompositions when DataStore emits structurally identical values. (devview-featureflip) - Fixed
AnalyticsScreenLazyColumnitem key:log.hashCode()was replaced bylog.timestamp, thenlog.timestampcaused a crash because multiple events can share the same millisecond; the key is now the log's original position in the append-onlyAnalyticsLogger.logslist viawithIndex(). Redundant explicit keys also removed from allderivedStateOfblocks. (devview-analytics) - Fixed
HomeScreenLazyColumnusingmodule.hashCode()as item key instead of the stablemodule.moduleName. (devview) - Fixed
NetworkMockScreenusingcollectAsState()instead ofcollectAsStateWithLifecycle(), causing unnecessary state collection when the screen is off-stack or the app is backgrounded. (devview-networkmock) - Added
distinctUntilChanged()toMockStateRepository.observeState()to suppress recompositions triggered by structurally equalNetworkMockStateemissions from DataStore. (devview-networkmock-core)
Documentation
- Added Compose List Keys rules to the contributing guide (
code-style.md): LazyColumn/LazyRow keys must be unique, stable under state changes, and semantically meaningful. Added matching item to the PR checklist.
0.1.3 - 2026-07-21
Added
NetworkMockResourceLoaderfun interface indevview-networkmock-core: provides a named type for DI frameworks (Koin, Hilt, etc.) to bind, eliminating the need for a custom bridge interface in multi-module KMP projects where mock resource files live in a different module than whereNetworkMockis constructed. Bothdevview-networkmockanddevview-networkmock-ktornow exposedevview-networkmock-coreas anapidependency so the type is available to all integrators.
Fixed
- Fixed DevView overlay back navigation: the overlay's back handler now correctly yields priority to the host app when closed, preventing it from silently consuming back events.
- Fixed crash on Network Mock screen startup:
MissingResourceExceptionthrown by Compose Resources when probing absent response files was not caught by theIllegalStateExceptionhandler inMockConfigRepository, causing a fatal crash. The exception is now normalised at theNetworkMockboundary before reaching the core module.
0.1.2 - 2026-07-17
Fixed
- Preserved Kotlin module metadata in Android packaging by replacing broad
META-INF/**excludes with selective license/signature excludes. - Fixed docs list rendering on Home (
What's New) and License (Third-Party Licences) pages.
Changed
- Updated sample
DevViewAppfeature setup to include a local feature entry fix and a remote feature example.
0.1.1 - 2026-07-16
Changed
- Downgraded Kotlin from 2.4.10 to 2.3.21 for broader consumer compatibility.
- Removed
compose-stability-analyzerplugin (KMP incompatible).
Documentation
- Updated minimum Kotlin version requirement to 2.3.21 in installation guide.
- Added acknowledgment for chrisbanes/haze inspiration.
- Added GitHub issue templates for bugs and feature requests.
Quality
- Added Metalava API tracking to all published modules.
- Improved CI infrastructure: split workflows to Linux/macOS, added snapshot deploy, replaced
release.shwith platform-agnosticrelease.py. - Enabled automatic Maven Central publishing.
0.1.0 - 2026-07-15
Added
devview: core DevView framework with module registry DSL, section-based home screen, type-safe Navigation3 integration, and per-destination top-app-bar metadata/actions.devview-featureflip: feature flag tooling with local and remote features, tri-state remote override support, DataStore-backed persistence, and a built-in Compose management screen. Feature type badge and filter support for granular feature browsing.devview-analytics: in-app analytics log capture with typed log events, real-time Compose UI, highlighted log categories, and clear-log action support.devview-networkmock-core: shared network mock engine with JSON configuration loading (mocks.json), endpoint/request matching (including path parameters), mock response discovery/loading, and persisted endpoint/global state.devview-networkmock: DevView UI module for network mocking with host tabs, global mock toggle, endpoint state controls, and reset-to-network behavior.devview-networkmock-ktor: Ktor client plugin that intercepts requests, resolves endpoint mock state, returns synthetic HTTP responses when configured, and falls back to real network calls on misses/errors.devview-utils: shared multiplatform utilities for DataStore setup (createDataStore), reusableDataStoreDelegate, andRequiresDataStoreinitialization contract.devview-test: shared multiplatform test utilities includingFakePreferencesDataStoreand Turbine-based Flow assertion helpers.- Pre-commit hooks enforcing gitleaks secret scanning and Detekt static analysis on every commit.
Changed
- Refactored module architecture to support destination-level metadata (screen titles and action buttons) across DevView modules.
- Standardized DataStore initialization flow in
rememberModules, allowing modules and plugin-facing components to share persistent state safely. - Improved module UIs (home, analytics, feature flags, and network mock) with cleaner layouts and more actionable controls.
- Removed dead endpoint selection state from NetworkMock.
- Updated Kotlin to 2.4.10 and Compose Multiplatform to 2.11.0; bulk transitive dependency upgrades via Renovate.
- Migrated documentation site from MkDocs to Zensical.
Fixed
- Resolved Dokka unresolved link warnings and broken KDoc links across all modules.
- Fixed Detekt
MaxLineLengthviolations in KDoc link references. - Fixed documentation site rendering issues and stale content.
- Fixed CI configuration to correctly handle Renovate dependency update branches.
Documentation
- Rewrote README as an integrator quick-start guide; removed TODO.md.
- Added CLAUDE.md guidance files for root and all sub-modules.
- Documented git workflow conventions: branch naming, PR title format, and gitmoji commit style.
- Expanded Dokka API documentation and module samples for all public APIs.
- Added Renovate custom manager to keep documentation version badges in sync with dependency updates.
Quality
- Added and expanded unit test coverage for all primary
devview-*modules. - Added Konsist architecture enforcement tests and Kover coverage reporting across the module set.