Skip to content

Map Studio 0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 05:02
· 313 commits to main since this release
19c9271

Map Studio 0.2.0 gives each Perspective project a map that is stored in its own database: map items are saved as they are edited, every open map sees a save at once, and only the roles you name can change it.

What's new

  • Map store. Each project names a PostgreSQL connection. Map Studio creates its mapstudio_ tables on first start, saves each edit as it happens, refuses saves that conflict with someone else's change, and records who changed what.
  • Live across sessions. A save reaches every open map of the project without a reload.
  • Editing roles. A full editing role and a phone editing role, checked on the Gateway. Everyone else sees the map read-only.
  • Edits survive a dropped connection. Unsaved edits are kept in the browser and sent again when the session comes back.
  • Kinds and assets from your project. The kind list and the asset list come from functions in the project's script library, and each saved map item is checked against them.
  • Setup in the Designer. A Map Studio Setup node in the Project Browser opens a form with pickers for the database connection, roles, functions, alarm page and token secret. A setup with problems is held back while the rest of the project saves.
  • Scripting. system.mapstudio.getMap, applyEdits, refreshAdapters and ping.
  • Oil and gas icon set with alarm and state glyphs (engineering review ER-27 passed, 2026-10-28).
  • Tag browsing for kind setups, including asset-relative paths ({asset.path}/...).

Requirements

  • Ignition 8.3 (tested on 8.3.9 and 8.3.10), Perspective.
  • A PostgreSQL database connection per project. The first start needs CREATE on its schema; after that the runtime role only needs read and write on the mapstudio_ tables (operations).

Upgrading from 0.1.0

Take a database backup first. This release runs map store migration 2, which alters the mapstudio_ tables. The migration needs the role that owns those tables, not a least-privilege runtime role. Start 0.2.0 once with the owner role on the connection, or give the tables to the connection's role first. Until then the map store is unavailable with an error naming migration 2 (SQLState 42501), and nothing is changed.

The spike-only prop testSet is removed.

Install and verify

Install Map-Studio-0.2.0.modl from the assets below on the Gateway (Platform > Modules), or pin it in a module lock (how).

  • SHA-256: 0cfa5c26190e04e84751ef825d020fbc006556748d1d4a1bbb66b2f25e0730ba (also in Map-Studio-0.2.0.modl.sha256)
  • Signing certificate SHA-256: 8F:93:FD:5C:B8:D9:C7:9B:E4:14:FD:EC:84:CF:21:26:A2:AC:39:F3:DA:3F:C9:0D:F8:08:0E:EA:5C:4D:38:3D

Not in this release

  • Live state on the map (alarms and comms on icons, popups, legend, search, the Needs you summary) arrives in the next release (viewing).
  • The in-browser editing studio (drawing tools, item list, Undo) comes after that.
  • Many editors saving large batches at once. Ten editors each saving 50 changes at the same moment measured p95 1.8 s on a 4-CPU test machine, where the browsers starved the Gateway. With the browsers' load removed it was 314 ms. The template's test stack measures this again (results).
  • A second browser tab does not resend another tab's unsaved edit on its own timer; it sends it after its next map load.

Full details for developers: CHANGELOG and the message contract.