Skip to content
This repository was archived by the owner on Oct 20, 2026. It is now read-only.

PDK 0.2.0

Choose a tag to compare

@fcastel2002 fcastel2002 released this 14 Oct 17:11
· 10 commits to main since this release

Added

  • V014: a container that scrolls without a scrolls expectation asking for it (an error inside another scroll
    along the same axis or for under 24px of content), or that shows a scrollbar with nothing to scroll. V002 can
    no longer be silenced with style.overflow.
  • --expect reads properties as the gateway evaluated them (root/Bar prop value >= 40, view prop custom.x = 3)
    and where a navigation went (page /detail, page shows PDK/Detail).
  • pdk screenshot --act (and act in pdk_screenshot) runs steps before capturing.
  • V012: a flex repeater whose instances are bigger than it on the axis their number does not explain.
  • --act steps select (dropdown option), slide (slider), key, hover, double-click and scroll.
  • --viewport presets (desktop, tablet, phone, wide); inspect takes several, comma-separated, with one
    report each.
  • V013: text with low contrast against what is behind it (WCAG AA), on text components whose colors the view
    chose (the theme's defaults and text drawn inside charts are not judged).
  • pdk screenshot --compare before.png (and compare in pdk_screenshot): the share of pixels that changed, the
    components where, and a diff image.
  • pdk schemas functions saves the gateway's expression functions and system.* names next to the bundle; with
    them, B011 (unknown expression function) and E008 (unknown system.* name), with "did you mean".
  • E009: pdk deploy compiles every script with the gateway's Jython before writing (pdk validate --compile,
    compile in pdk_validate); module routes GET /functions and POST /scripts/compile.
  • Style classes and project scripts are pulled, deployed, promoted and deleted like views
    (style-classes/PDK/X, scripts/PDK/X; work/<sandbox>/_style-classes/, _scripts/), checked before every
    write; the target project takes them through promote.
  • R016: a query binding names a named query the project does not have.
  • pdk pages list|add|remove (and pdk_pages): the routes of the sandbox's page configuration, so a nav to a
    page has somewhere to go.
  • When a step navigates to a URL without a route, inspect says so instead of failing to open the view.
  • Simulated UDTs: definitions under [default]_types_/PDK/ (memory members, bindings only to parameters) and
    instances under PDK/.
  • Simulated history: historyEnabled on PDK/ memory tags, and pdk tags history <path> <values> --every 1m
    (history in pdk_tags; module routes GET/POST /history) stores synthetic points through
    system.tag.storeTagHistory, so trends and tag-history bindings have data.

Changed

  • Closing PDK's browser also closes its Perspective sessions on the gateway (DELETE /sessions), so they no longer
    hold a session slot until they time out.
  • When an --act step navigates, inspect reports the view the page shows afterwards instead of X002.
  • pdk_screenshot is declared destructive in MCP, like pdk_inspect, since act runs the view's scripts.