Releases: mldixdev/mythik
Mythik v0.2.1
Mythik 0.2.1 publishes the post-0.2.0 hardening batch for the AI-first runtime and CLI workflow.
Highlights:
- Mythik Agent Protocol + Sentinel now guide fresh AI agents toward the canonical manifest -> elements -> patch -> validate loop and skip identical replacement writes.
- Runtime hardening for URL resolution, exact-origin auth forwarding, editor session persistence, data sources, and contract extraction.
- React and React Native parity fixes for interactive text, select normalization, repeat layout, stack internals, toast/modal/drawer behavior, and Android smoke coverage.
- Documentation and LLM wiki updates covering Agent Context, Reveal, style inheritance/component variants, SQLite/native driver notes, and the 0.2.1 install surface.
Published npm packages: mythik, mythik-react, mythik-cli, mythik-server, and mythik-react-native.
Mythik v0.2.0
Mythik v0.2.0
Release focused on agent-safe Mythik editing. This release introduces the Agent Protocol and Mythik Reveal as public AI-agent workflows, and makes CLI spec writes strict by default so persisted changes are explicit, versionable, and reviewable.
Added
- Added Mythik Reveal documentation across the public surface so agents know how to inspect a running app through the local Reveal Bridge before guessing about runtime behavior.
- Added
mythik agent contextandmythik agent initto generate project-local AI agent operating instructions for Codex, Claude, and generic agents.
Changed
- BREAKING: CLI and API spec writes are strict by default. Existing specs require explicit
--replace, and persisted writes require--author <name>for versioned stores or explicit--allow-unversionedfor intentionally unversioned stores. Machine-readable failures useMYTHIK_AGENT_*protocol codes. - Agent-facing docs now distinguish store-backed validation from local-file linting and recommend TOON for token-efficient reads where supported.
Migration
Update scripts that call mythik push or runPush to pass --author <name> for normal persisted writes, or --allow-unversioned only when the project intentionally has no versioned store. Use --replace only for intentional full-spec replacement.
Mythik v0.1.5
Mythik v0.1.5
This release publishes mythik-react-native for the first time as a public preview and aligns the public package surface around Mythik as an AI-first JSON-native app framework.
Highlights:
- Adds the React Native preview package with a published support matrix and Expo SDK 52/53/54 installation guidance.
- Tightens React Native peer ranges, including explicit
react-native-workletsguidance. - Replaces the DOM-based SVG sanitizer path with a platform-safe sanitizer suitable for native runtimes.
- Tracks
$platformdependencies in selective render cache invalidation. - Adds React Native runtime hardening for environments without
crypto.randomUUID. - Fixes Android smoke issues around modal centering and drawer bottom clipping.
- Preserves accessibility semantics for divider and tabs in the React Native package.
Published npm packages:
mythik@0.1.5mythik-react@0.1.5mythik-cli@0.1.5mythik-server@0.1.5mythik-react-native@0.1.5
Mythik v0.1.4
Mythik v0.1.4
Patch release focused on install-surface hygiene and runtime diagnostics.
Changed
- Moved SQL adapters (
mssql,pg,mysql2, andbetter-sqlite3) from installed-by-default optional dependencies to optional peer dependencies. Browser-only installs no longer pull database drivers; SQL-backed stores and servers install the selected driver explicitly.
Added
- Added
fetch.params.errorTargetso directfetchactions can write HTTP/network failures to a screen-owned error path and clear that path on success. This gives criticalinitialActionsscreen loads a first-class visible error contract without relying only on global/ui/lastError. - Added
select.props.labelKeyandselect.props.valueKeyfor catalog-shaped option rows such as{ id, name }. - Added install-command metadata to missing SQL driver errors so optional peer dependency failures point directly to the required package.
Fixed
- Hardened
selectoption normalization so malformed option data renders disabled diagnostics instead of crashing or producing blank clickable rows. - Documented SQLite's native
better-sqlite3install path so transitive native-build warnings are understood as adapter-level warnings, not Mythik runtime failures.
Mythik v0.1.3
0.1.3
Compatible release for the 0.1.x line. This expands the database foundation
with generic SQL drivers and stores while preserving the existing public package
contracts.
Added
- Added a dialect-aware SQL boundary under
mythik/serverwith drivers for SQL Server, PostgreSQL, MySQL, and SQLite. - Added generic SQL-backed spec stores:
SqlSpecStore,SqlVersionedSpecStore, andSqlEnvironmentStore. - Added canonical SQL store DDL plus
mythik init-store --dialect <sqlserver|postgres|mysql|sqlite>for explicit table initialization and--dry-runreview. - Extended the CLI store resolver so
manifest,elements,patch,validate, versioned stores, and environment stores work against SQL Server, PostgreSQL, MySQL, and SQLite with one edit loop. - Added dialect-aware
mythik-serversupport for generated CRUD, catalogs, auth provider queries, scope filters, pagination, totals, query endpoints, and spec serving. - Added integration and smoke coverage across real SQL-backed workflows, including SQLite, SQL Server, PostgreSQL, and MySQL validation paths.
Changed
- Moved SQL Server runtime access onto the same SQL driver boundary used by the new dialects while keeping SQL Server compatibility stores available from
mythik/server. - Kept the browser-safe
mythikentry free of Node-only SQL imports; SQL drivers and stores remain behindmythik/server. - Declared SQL adapters (
mssql,pg,mysql2, andbetter-sqlite3) as optional dependencies ofmythik. npm and pnpm install them by default unless optional dependencies are omitted. - Generated MySQL upsert SQL now targets MySQL 8.0.19+.
Fixed
- Hardened MySQL insert/update responses for non-
RETURNINGbehavior by selecting inserted or updated records back through the primary key path. - Hardened SQL generation and execution edge cases: table overrides, safe scope-filter composition, deterministic pagination fallback, SQL Server aggregate
ORDER BYstripping, SQL store initialization, timestamp binding, transaction behavior, and shared-driver cleanup in CLI stores. - Hardened expression and action contracts: dotted
$letreferences for$refand$template,params.skipIfdispatch-time guards, and event arrays containing both actions and transactions.
Documentation
- Refreshed
docs/consumer, bundled docs, package READMEs, and the compiled LLM wiki with the new multi-database, SQL-store, CLI, event-binding, and expression contracts.
Mythik v0.1.2
Patch release focused on published-package hardening.
- Fixed DNA numeric seed normalization so legacy
0-100values such asroundness: 79normalize the same way during initial AppSpec load and runtimeupdateTokens. - Fixed transaction rollback error handling so
/tx/erroris written after rollback and preserves backend error details (message,code, HTTPstatus, rawdata) plus customErrorproperties. - Fixed scoped offset-pagination totals for generated counts by applying
scopeFilterbeforeCOUNT(*), sototalmatches the same tenant/role slice as returned rows. - Added
{{scopeWhere[:alias]}}and{{scopeAnd[:alias]}}macros for customendpoint.countSQL withscopeFilter, including bypass-role expansion to an empty clause.