Meerschaum 5¶
5.2.2¶
Supported finalization of detached Syncing Engine runs (mrsm reconcile runs / mrsm abandon run <id>), clearer detached-run hints on Pipe rename refusal, and a fix for the Tokio runtime teardown panic and run-finalization path (#293).
- Finalize provably detached engine runs (
mrsm reconcile runsandmrsm abandon run <id>).
Inspect unfinished engine runs (finished IS NULL) and mark provably detached runs failed/abandoned with a finish timestamp and reason—only after proving the owning process is gone (same host with a dead PID, or no active run-admission/pipe leases plus stale activity). Live and unprovable runs are always refused. Supports--dry/--dry-runpreviews,--noprettyJSON output, dead-holder pipe lease cleanup, compressed TimescaleDB engine hypertable chunks, andapi:instances (GET /engine/leases,POST /engine/runs/{run_id}/finalize).
-
Actionable detached-run hints when
rename piperefuses.
When an unfinished run blocksmrsm rename pipeorpipe.rename(...), the refusal now distinguishes an active run from a provably detached run and prints the exactmrsm abandon run/mrsm reconcile runs --drycommand to resolve it. -
Prevent Tokio runtime teardown panics and harden run finalization.
Shared registry/hook/callback handles now borrow the runtime handle (Session::shared()) instead of owning the TokioRuntime,RunAdmissionexplicitly aborts its heartbeat and releases/disarms its lease on return,Session::shutdown()drains in-flight lease releases before pool teardown, continuous loops join cleanly before exit, andrecord_finished_runretries transient write errors with a header-only fallback so finished runs are not left withfinished IS NULL.
5.2.1¶
Atomic single-transaction Pipe rename (#290) and fail-closed --fail-on-flush deploy preflight across Compose and Syncing Engine plans, plus structured JSON coverage output for mrsm compose explain --nopretty (#289).
- Atomic single-transaction Pipe rename (
mrsm rename pipeandpipe.rename(...)).
Rename a registered Pipe's keys (--to-connector,--to-metric,--to-location) and optionally its physical target table (--target) in one database transaction while keeping itspipe_id, stored rows, operational Syncing Engine state (definition hash, dirty ledger, edge cursors, sync status, sync corrections), and historical run/event/metric attribution intact—preserving compressed TimescaleDB hypertables in place without copying or resyncing. Exposed across SQL instances,POST /pipes/.../rename+APIConnector, PythonPipe.rename(...), andmrsm rename pipe(rename pipes) with--dry/--dry-runpreviews, remaining-reference scanning, and--noprettyJSON output. See Renaming.
mrsm rename pipe -c sql:src -m old_metric -i sql:main \
--to-metric new_metric --target new_metric_table --dry
-
Fail closed when Compose preflight cannot plan a project.
mrsm compose explain --fail-on-flush(--fail-on-rebuild) now exits non-zero whenever any project with eligible pipes cannot be planned—including dependency cycles, unreachable or unreadable instances, failed registration fetches, unreadable Syncing Engine state, or broken multi-projectinclude:trees—naming the project, affected instance, and cause. Plaincompose explainstays diagnostic-only (exit0, surfacing[PREFLIGHT ERROR]in the preflight banner), and empty, jobs-only, or temporary-only projects remain valid. See Compose. -
Positive pipe coverage and structured
--noprettyJSON output.
Every eligible proposed pipe must be positively accounted for in the resulting plan. Pass--noprettyto emit a single JSON document with per-project status (planned,empty,failed), eligible/planned/unplanned pipe counts and references, blocking flushes, definition changes, typed preflight errors, tree errors, lint findings, and engine plans.
-
Side-effect-free cycle checks on new SQLite/GeoPackage instances.
Proposed pipes targeting a local SQLite or GeoPackage file that does not exist yet are planned against an empty in-memory state—catching dependency cycles and accounting for every eligible pipe without creating the database file on disk. -
Fail closed on unreadable engine state in
plan pipesandplan pipelines.
PlannedNodenow records engine state-read failures (definition_hash/watermark), and--fail-on-flushfails closed on unreadable state orupstream_failednodes acrosscompose explain,plan pipes, andplan pipelines.
5.2.0¶
Safer definition changes by default, opt-in atomic shadow-table flushes, Compose deploy preflight, per-pipe sync leases, and transactional pipe writes for Rust plugins.
Before upgrading from 5.1.x¶
- Definition changes no longer trigger automatic destructive flushes. When a pipe's SQL query or key columns change without an explicit
flushpolicy, the Syncing Engine now syncs forward incrementally, logs a warning, and advances the stored definition hash. Opt in per pipe withflush: { mode: clear }(orupsert) or globally viasystem.engine.flush.auto: true. - Canonical
flushvocabulary. Engine plans, events, locks, and JSON payloads now reportflushandflush_pending(withrebuild*aliases still accepted on parameters, config keys, CLI flags, and deserialization). - Declared
dtypesalter in place. Changing a column's type inpipe.dtypesalters that column directly to the target SQL type and fails cleanly on uncastable rows instead of silently widening toTEXT.
Highlights¶
- Non-destructive definition changes & opt-in
flushpolicy.
Configure per-pipe flush behavior with nestedflushparameters (mode: clear | upsert,swap: true | false) or globally undersystem.engine.flush. Legacyrebuild_modeandsystem.engine.auto_rebuildremain accepted aliases. See Parameters and Pipelines.
-
Atomic shadow-table flush & swap.
Clearing flushes and unboundedmrsm flush pipesbuild into a shadow table (_mf_...) and swap it into place atomically on PostgreSQL, PostGIS, TimescaleDB, SQLite, MySQL, MariaDB, DuckDB, and non-partitioned MSSQL—preserving live reads while building and dropping the shadow on failure. Setflush: { swap: false }to clear in place when views or foreign keys depend on the table. -
Consent guardrails for background jobs & interactive resolution.
Background jobs, daemons, and non-TTY sessions can no longer clear unconfigured pipes even when invoked with--force/--yes. Interactive terminal syncs prompt to flush (y), keep pending (n), or accept the new definition (a), while--skip-flush,mrsm verify pipes, and bounded--begin/--endsyncs dismissflush_pendingcleanly. -
Compose & pipeline deploy preflight.
mrsm compose explainplans proposed pipe definitions read-only and highlights definition changes and pending flushes. Pass--fail-on-flush(--fail-on-rebuild) tocompose explain,plan pipes, orplan pipelinesin CI to fail on destructive flushes or unresolvedflush_pendingnodes. See Compose.
-
Web Console quick-actions for pending flushes.
On Pipelines, nodes inflush_pendingexpose Flush and Accept definition actions in the node inspector and Plan modal, gated on pipe write permissions and locks. See Web Console. -
Permission-scoped pipe writes inside native Rust plugin transactions.
Compiled and single-file Rust plugins can now calltx.sync_pipe,tx.sync_pipe_with, andtx.read_pipeinsidehost::transaction(...)on PostgreSQL and SQLite—enforcing pipe permissions, team scopes, protected connectors, and locks while keeping raw SQL writes denied under--secure. See Advanced Rust Plugins. -
Nested
upsertconfiguration & per-pipe sync leases.
Configureupsert: { changed_only: true }(keepingupsert_changed_onlyas an alias;Pipe.upsertreturnsboolin Python). Unboundedmrsm flush pipes,Engine::sync_pipe, and bare PythonPipe.sync()now acquire the same per-pipe lease as pipeline runs to prevent concurrent write races. See Parameters and Access and Locks.
5.1.x Releases¶
Read 5.1.0 – 5.1.7 release notes
5.1.7¶
-
Install packaged Rust plugins without Cargo.
mrsm install plugindownloads a matching prebuilt library when the plugin publisher provides one. Other targets use the source archive. See publishing a Cargo plugin. -
Build typed Cargo plugins without Polars.
New Cargo packages frommrsm bootstrap pluginuse the lighter SDK. To opt in for an existing plugin, setmeerschaum-plugin = { version = "5.1.7", default-features = false }in its manifest. The plugin can still exchange typed Arrow batches and call host services. Existing manifests retain the kernel-backed SDK.
In a clean Linux x86-64 release build of MicroMeerschaum with six Cargo jobs and dependencies already downloaded, opting in cut build time from 6m 04s to 2m 11s. The plugin library shrank from 44.8 MiB to 15.5 MiB.
5.1.6¶
-
Reduce WAL from PostgreSQL syncs.
Frame updates and upserts of up to 1,024 rows use bound arrays. Larger patches use a transaction-local staging table that PostgreSQL removes after the merge. SQL-to-SQL merges use unlogged staging within their transaction on PostgreSQL, PostGIS, and TimescaleDB. -
Expire engine history once per SQL instance.
TimescaleDB drops whole chunks during automatic expiry and keeps the chunk containing the cutoff. Sync metrics inheritsystem.engine.run_history_days. Setmetrics_retention_daysundersystem.engineto keep a different window, or set it to30before upgrading to retain the previous policy. Restoring expired history requires a backup. See Sync metrics. -
Choose which loop laps to store.
Setsystem.engine.persist_skipped_laps: falseto omit successful all-skipped laps from run history. Live events and job heartbeats still report those laps. -
Share Python workers and job hosts.
Callback-based stream pipes on one connector can opt intostream.shared_worker. Use: --loop --independent-lapsto run several actions in one job with separate intervals and retries. Linux worker recycling now includes swapped private pages in its memory limit. See Continuous mode and Background jobs. -
Finish native plugin migrations cleanly.
A native plugin owns its name, including sync hooks. Meerschaum warns once when it shadows a Python plugin and reports a fallback if the native plugin fails to load. See Rust plugins. -
Bound sync hooks and their telemetry.
Hook writes keep their latest sync status and skip the metrics queue. Setsystem.engine.sync_hook_timeout_secondsto adjust the five-second limit for each hook phase. -
Apply retention and compression edits.
A bare--end '16 days ago'now advances every midnight.clear pipesprints the resolved bounds. TimescaleDB syncs apply declared chunk widths to future chunks and reconcile the columnstore policy withcompress.after. -
Report incomplete job deletions.
delete jobsremoves named, retired job directories, reports missing names, and cleans up the installed link for a scoped systemd unit.
5.1.5¶
Before upgrading¶
- Preview five-field cron schedules.
Use 5.1.5 to check upcoming runs before rolling it out. A job can now run on a date that earlier versions skipped. Both plain and zoned schedules are affected. A quarterly 03:00 UTC job started on November 24 after 03:00 now runs on January 1, then April 1. Earlier versions skipped January.
Fixes¶
-
Keep elevation on PostGIS updates.
PostGIS table inspection preserves Z, M, and ZM dimensions ongeometryandgeographycolumns. Ordinary SQL-to-SQL sync updates an existing aggregated 3D target when only elevation changes under normal dtype enforcement. -
Keep console team choices across reloads.
Administrators default to All teams (Admin) on initial login. Selecting Everyone previews that team's view, and an explicit choice persists after reload. An empty instance selector explains the available choices. -
Use the exact connector in SDK lookups.
The SDK refreshes a user and a token's owner from the exact connector instance supplied, even when another database shares the same connector label. -
Fix Windows hangs and preserve drive letters in plugin paths.
Windows users can runmrsm show actionswith Python plugins installed, access plugin routes and the Dash console after starting the API, and use drive-letter paths inMRSM_PLUGINS_DIR. -
Handle daylight saving time in cron schedules.
The Python scheduler honors recognized local abbreviations such asESTandEDTacross daylight saving time on systems that support abbreviations. Starting a wildcard-hour cron during a repeated hour keeps the remaining runs in both occurrences of the hour. A specific time in a skipped hour runs right when the clock jumps past the gap. See Schedules. -
Return errors in the Rust transaction example.
The native Rust plugin transaction example shows how to return an error on an unsuccessful statement so earlier writes roll back. See Advanced Rust Plugins. -
Expand release checks.
Release checks now cover an isolated team member registering, using, and revoking a scoped token with a live Valkey cache. They also verify existing 3D rows and persisted data across version upgrades.
5.1.4¶
- Register and manage tokens from isolated teams.
Isolated team members can list and manage their tokens in the Web Console. Register saves the token to the API server's store and shows its credentials in the result dialog.
5.1.3¶
Patch release making untagged (Everyone) pipes and saved Pipelines on team-reserved instances usable by the reserved teams with no backfill.
- Use untagged pipes on reserved instances.
On any instance connector withteams: [...], Everyone now covers members of the reserved teams—including isolated teams, terminals, jobs, and MCP clients. Pipes and saved Pipelines frommrsm compose, plugins, CLI, or ported databases work immediately without rewriting storedaccess(Reserve an instance for teams).
connectors:
sql:
observations:
flavor: sqlite
database: observations.db
teams: [wetlands, water_quality]
-
Roles, locks, and live updates apply automatically.
Reserved-team managers can edit access, lock/unlock, and view private untagged pipes, while per-pipe owners,privatevisibility,owner-only edits, and locks hold as before. Visibilityeveryonecovers every reserved team, and reservation edits, renames, or deletions take effect on the next request (Access and Locks). -
Clearer console views.
The Access dialog lists which teams Everyone covers on a reserved instance, My teams includes those untagged pipes, and the Team switcher matches what isolated members see.
5.1.2¶
Maintenance release: leaner Docker images that share layers, stricter non-admin SQL checks, faster API reads on large SQL instances, and console, web terminal, and sync fixes.
Before upgrading from 5.1.1¶
- Non-admin SQL checks are stricter. Non-admin queries and pipe definitions over the API or MCP are now refused if any SQL dialect would parse them as multi-statement or mutating (such as
;inside$$...$$, or a write keyword after#or space-less--). Admins and localmrsmcommands are unaffected. - Docker images always run as
1000:1000. Release images no longer inherit the build host's UID/GID. - Standalone SQL
portvalues must be integers. Values likeabc,true, or5432.0are refused instead of silently falling back to a default port. If you set auri, Meerschaum uses the URI's port.
Highlights & Fixes¶
- Leaner Docker images with shared layers.
full,rust-full,slim, andrustnow share common layers (mrsm, the Python wheel, and the Rust compiler snapshot) and keep OS layers stable across patch releases, sodocker pulldownloads only what changed.
-
Smaller
mrsmbinary.
Release binaries and wheels drop unused Arrow/Polars features and strip symbol tables (~111 MB vs. ~135 MB). Panic backtraces still show the error message and source location. -
Faster API reads on large SQL instances.
Pipe data and CSV requests now look up a single pipe by key instead of scanning the full catalog on SQL and Valkey instances. -
Hardened SQL comment checks.
API and MCP SQL validation checks every dialect's comment syntax so internal tables hidden behind#,--, or nested/* */comments are blocked everywhere. -
Console & web terminal fixes.
- Console calls to the API ignore
HTTP_PROXYand redirects so session credentials stay local. - Job log streams renew their session authorization while open and stop immediately if credentials are rotated or revoked.
- The Users & Teams page follows the selected team in the team switcher (choose All teams (Admin) to manage everyone).
- Isolated team permissions are computed in one place across all console pages.
-
Web terminal fixes: a refused window no longer blocks future windows, API-only panes set
TERM, and closed sessions stop reconnecting. -
Sync, job, and database fixes.
- Remote action results: Log streams wait up to 2 seconds for a finished job's supervisor to save its result (and clients fall back to reading the saved result), eliminating spurious
No result available.replies on busy hosts. - Startup pauses: Pausing a job while it is still starting keeps its supervisor active so it can still stop cleanly when the executor exits.
- SQLite / GeoPackage schema reload: Pooled connections reload table schemas after a sync adds columns, preventing newly added columns from reading back with literal quotes.
- In-place syncs: A pipe whose source is the engine's home database but whose instance is elsewhere no longer runs in-place on the source database.
-
Engine metrics & Oracle: Dropped sync metrics now log a rate-limited warning instead of vanishing silently, and Oracle instances keep internal table readiness across index DDL.
-
Switched to released
sqlx 0.9.1& contributor cleanups.
Dropped the temporarysqlxgit patch inCargo.toml, consolidated Rust integration tests from 411 binaries down to 45 suites, split oversize Rust modules, and addedscripts/check_architecture.py,GLOSSARY.md,CODING_STANDARDS.md, anddocs/adr/.
5.1.1¶
Maintenance release with console UX improvements, credential handling fixes in stack.yaml, and Docker stack / isolated-team fixes.
Before upgrading from 5.1.0¶
- Docker stacks: run
mrsm stack up -dafter upgrading soapimounts the public executor directory at/run/meerschaum/executors/desiredinstead of/meerschaum/executors/desired. Any root-owned/meerschaum/executorsplaceholder left by 5.1.0 is automatically moved aside to.executors.root-owned-<n>. - Clean up expanded
stack.yamlsecrets: if an earliermrsm edit config stackorwrite_config()expanded credentials intostack.yaml, replace them withMRSM{...}references (e.g.MRSM{!meerschaum:connectors:sql:main}or<DOLLAR>POSTGRES_PASSWORD).
Highlights & Fixes¶
-
Team switcher in the web console.
Administrators and multi-team members now have a Team dropdown next to Instance to view the console as a specific team (orEveryone). Instances, pipes, connectors, plugins, and jobs narrow to that team's view without ever escalating permissions; Actions and the web terminal pause until returning to All teams. -
Nested Pages menu.
Plugin page groups with multiple pages now collapse into sections with page counts (groups with >3 pages start collapsed unless active), drop repeated prefixes, nest sub-paths, and filter by the viewer's allowed plugins. -
Balanced Overview without Pipelines.
The Overview page keeps Pipes and Connectors balanced across the layout when no Pipelines or syncs exist yet. -
Preserve
MRSM{...}references instack.yaml.
Generatingstack.yamlno longer expands references inside lists (ports, healthchecks, Grafana data sources), andwrite_config({'stack': get_config('stack')})preservesMRSM{!meerschaum},MRSM{!system}, andMRSM{!api}instead of writing plaintext secrets. -
Externalize secrets for custom API services.
Any Compose service withMRSM_CONFIGorMRSM_PATCH(such asapi-sraalongsideapi) now writes secrets tostack/secrets/<service>/viaMRSM_CONFIG_FILE/MRSM_PATCH_FILEon 5.1+ images, and cleans up files when a service is removed. -
Fix
/jobsHTTP 503 on upgraded 5.1.0 Docker stacks.
Moved the host executor mount from/meerschaum/executors/desiredto/run/meerschaum/executors/desired(MRSM_EXECUTOR_DESIRED_DIR), pre-created/meerschaum/executorsas UID 1000 in all images, and auto-repaired empty root-owned placeholders on startup. -
Protect team-reserved connectors from host
MRSM_CONFIG.
Connectors reserved for a team (teams: [...]) in an API instance's config are no longer overwritten by same-named host connectors passed throughMRSM_CONFIG(MRSM_PATCHstill overrides). New team also verifies config writability before creating a database. -
Fix isolated-team instance fallback and policy warnings.
Whenapi:permissions:instancesblocks an isolated team's default instance, console pages keep that instance and show one clear alert namingallow_multiple_instances/allowed_instance_keysinstead of falling back tosql:main. Creating or editing a team with a blocked instance warns immediately. -
Propagate Compose
profilestografana_readonly.
grafana_readonlyinheritsprofilesfromdbandgrafana(withrequired: falseongrafana's dependency when profiles differ), andmrsm doctortreats a completed exit-0grafana_readonlycontainer as healthy.
5.1.0¶
Security release introducing isolated team execution, read-only Grafana and file-based stack secrets, native Rust plugin SQL/transaction helpers, and immutable sync strategies. See Teams on One Instance and Team Execution Environments.
Before upgrading from 5.0.x¶
- Upgrade the CLI, API host, and Python
meerschaumpackage in Team worker interpreters together (5.1.0+ required). On a 5.0.x--userinstall, upgrade withpython3 -m pip install --user --upgrade meerschaum. - Review
stack:grafana:readonly_schemasif dashboards read schemas outsidesql:main's owner, then runmrsm stack up -dto apply the read-only Grafana role, Valkey password, and secret files. - Isolated Team commands/terminals require Linux 6.12+ (Landlock ABI 6) and TCP connectors (Unix sockets are denied).
Highlights¶
- Isolated teams, per-team databases, and Grafana orgs.
Create isolated teams with their own PostgreSQL database/schema, roles, connectors, plugin allowlists, and auto-provisioned Grafana orgs via the console ormrsm bootstrap teams.
-
Sandboxed team execution & optional remote executors (Linux).
Isolated team plugins, jobs, and terminals run with team-only configs, allowlisted environments, per-team venvs, and Landlock + seccomp isolation (system.engine.python_team_sandbox: auto | require | require_sockets | off) with optional CPU/memory/disk/egress caps. Administrators can also assign a team to a generated Stack executor or standalone native executor. See Teams and Team Execution Environments. -
Restricted non-admin actions & web terminals.
Non-administrators can only execute allowed Meerschaum actions through/execute,/jobs, MCP, and the web terminal (no arbitrary host shell escapes). See Permissions. -
Secrets in files & hardened stack defaults.
Reference secrets dynamically withMRSM{file:<path>}andMRSM{env:<NAME>}, and pass patches viaMRSM_CONFIG_FILE/MRSM_PATCH_FILE.mrsm stackmoves API, Grafana, and Valkey credentials out ofdocker-compose.yamlinto owner-only files under<root>/stack/secrets/, sets a Valkeyrequirepass, and switches Grafana's Meerschaum Main data source to a read-onlymrsm__main_rorole. See Stack and Environment.
-
Immutable sync strategies.
Mark append-only/immutable pipes withsync.immutable: trueand choose a strategy (join,unbounded-simple, or monthly corrective). See Syncing. -
Native Rust plugin SDK additions (ABI v1 compatible).
Added parameterized SQL (host::read_sql_with/exec_sql_withwith:nameand native Postgres array binds), host-managed SQL transactions (host::transaction),host::root_dir(),Pipe::id()/Pipe::is_registered(), and#[method]custom connector methods callable from Python. -
Time zones in schedules.
Schedules now accepttz <zone>(local,utc, or IANA name) and restore 4.x timezone abbreviations (EST/EDT,UTC) with clean DST handling:
-
Engine hypertables use 7-day chunks and compression.
Internal engine tables (mrsm_engine_*) now default to 7-day chunks, 7-day TimescaleDB compression, anddrop_chunksretention so expired history reclaims disk space immediately. -
Faster shell startup & incremental plugin manifests.
Interactive shells and web terminals open immediately from cached manifests and refresh in the background, with per-MRSM_PLUGINS_DIRcache keys. -
Connect an agent from the Tokens page.
The Tokens page generates copy-pasteable MCP configuration for Claude Code, Claude Desktop, Codex, OpenCode, and other clients with the new token's API key filled in.
Fixes & Improvements¶
- PostgreSQL / SQL sync fixes.
Addedupsert_changed_onlyto skip rewriting unchanged rows; fixed PostgreSQL array/enum/extension upserts, in-place syncs without PostGIS, NULL-safe comparisons for non-numeric types, and in-place partitioned/hypertable upserts. - Python list SQL parameter binds.
Lists passed toconn.read(query, params={'ids': [1, 2, 3]})bind as native PostgreSQL arrays (= ANY(:ids)) again rather thanjsonb(passjson.dumps(...)for JSON columns). - Safer, clearer
upgrade meerschaum.
Prompts upfront before downloading, respects--user/ venv / PEP 668 install locations instead of overwriting system site-packages, and warns about shadowed installs. - Jobs, prompts, and connection diagnostics.
Restored interactiveattach jobprompts, in-processretry_connect()without leaking passwords in process args, clearertest_connection(warn=True)errors, and emptyjobs: {}in Compose. - Helper subprocess sanitization.
Editors, SQL clients,pip/uv,cargo, andsystemctlno longer inheritMRSM_CONFIG,MRSM_PATCH, orMRSM_<TYPE>_<LABEL>secrets.
5.0.x Releases¶
Read 5.0.0 – 5.0.2 release notes
5.0.2¶
- Performance page selection stability. Late refresh responses no longer reset the selected window or page.
- DuckDB download retries. First-time DuckDB downloads retry twice on transient HTTP/network failures.
- Public Dash callback warnings. Startup warns when a
@web_page(login_required=False)plugin registers callbacks withoutpublic=True. - Dependency updates. Updated Arrow to 60.1 (
RUSTSEC-2026-0442) and refreshed Rust dependencies.
5.0.1¶
- Restart
--restartjobs on API startup. Stopped--restartjobs resume automatically when the API starts (manually stopped jobs stay stopped). - v4 job command compatibility. Safely reads commands stored in v4
pickle.pklmetadata as data without executing pickle code. - Security updates. Updated
rustls-webpki,webpki-roots,zstd,ctutils, and raisedPyJWT>=2.15.0for API/Dash extras.
5.0.0¶
Meerschaum 5 rewrites the core engine, SQL/API/Valkey connectors, CLI, HTTP API, job supervisor, and Compose in Rust while keeping your Pipe definitions, configuration, Python plugins, and existing data compatible. See the migration guide.
- Dependency-aware Pipelines.
Register, preview, and run parent-before-child DAGs with run history, retries, late-data backfills, and Composepipelines:support. See Pipelines.
mrsm register pipelines daily -i sql:local -c sql:local -m daily --parents
mrsm plan pipelines daily -i sql:local
mrsm sync pipelines daily -i sql:local
mrsm show runs -i sql:local
-
Expanded Web Console & Grafana dashboards.
Added Overview, Pipelines canvas/runbook, Runs Gantt timeline, Engine performance charts, in-browser plugin editor, token/team/lock management, tmux-tabbed web terminal, and rebuilt Syncs + Engine Grafana dashboards. See Web Console. -
Familiar Python API with Polars default.
Pipe.sync()still unpacks to(success, message)while exposing.inserted,.updated, and.durationonSyncResult. Base installs have zero heavy dependencies (get_data(as_docs=True)); new roots default to Polars while existing roots keep pandas.
import meerschaum as mrsm
pipe = mrsm.Pipe('plugin:manual', 'readings', instance='sql:local', columns={'id': 'id'})
result = pipe.sync([{'id': 1, 'temperature': 21.5}])
print(result.success, result.inserted, result.duration)
print(pipe.get_data(as_docs=True))
-
Teams, roles, tokens, and Pipe locks.
Added Viewer/Editor/Operator roles, team-scoped access, revocable scoped tokens, and cross-process Pipe locks. Self-registration now closes after creating the first administrator. -
Rust plugins and embeddable crates.
Write single-file.rsor Cargo plugins with the native SDK (meerschaum-plugin), or embedmeerschaum-enginedirectly in Rust apps. See Rust Plugins. -
Faster, lower-memory syncs and guided Stack upgrades.
Streamed SQL fetch chunks cut peak RAM nearly in half, column-type caching and native execution speed up small SQL syncs, API shutdown drains cleanly with/healthcheck/ready, andmrsm upgrade/backup/restore postgresguide Stack maintenance.