moose migrate --clickhouse-url enables serverless ClickHouse schema deploysClickHouseJson type enables dynamic JSON payloads with fine-grained controlsmoose migrateRun schema diffs and applies straight against a ClickHouse endpoint—perfect for OLAP-only or CI/CD environments that don't boot the full Moose runtime.
# Detect changes and persist the migration plan
moose generate migration \
--clickhouse-url "https://user:pass@ch.serverless.dev/main" \
--save
# Apply the plan directly to ClickHouse
moose migrate --clickhouse-url "https://user:pass@ch.serverless.dev/main"PR: (#2872) | Docs: Serverless ClickHouse migrations guide
ClickHouseJsonModel semi-structured payloads while locking in typed paths for the fields you care about.
import { Key, ClickHouseJson, Int64 } from "@514labs/moose-lib"; interface UserMetadata { userId: string; sessionId: string;} export interface UserActivity { id: Key<string>; // ClickHouseJson<maxDynamicPaths, maxDynamicTypes, skipPaths, skipRegexes> metadata: UserMetadata & ClickHouseJson<256, 16, ["internal.debug"], ["^tmp\\."]>;}PR:(#2887) | Docs: Data modeling
moose migrate --clickhouse-url – Generate and apply migrations directly against hosted ClickHouse, ideal for OLAP-only or CI/CD workflows that run without the full Moose runtime. Docs: Serverless ClickHouse migrations | PRs #2872./llm-ts.txt + /llm-py.txt for assistants that need scoped context. Docs: LLM docs | PRs #2892.ClickHouseJson lets models cap dynamic paths, pin typed paths, or skip keys/regexes so ingestion can accept evolving payloads without breaking typed reads. Docs: Data modeling | PRs #2887.source_dir – moose.config.toml can point at src/ (or any folder) instead of the default app/, simplifying adoption inside existing repos. Docs: Configuration | PRs #2886.sampleByExpression, and fully configurable secondary indexes (type, args, granularity) so you can encode retention + performance plans directly in code. Docs: TTL | | | PRs , , .get_source MCP tool – AI assistants can resolve a Moose component (tables, APIs, streams) back to its source file for faster code navigation. Docs: MCP get_source tool | PRs #2848.moose.config.toml over Docker overrides. Docs: Quickstart | PRs #2903, #2894, #2893, #2890.PARTITION BY, TTL, SAMPLE BY, and secondary indexes even when optional arguments are omitted. PRs #2902, #2898, #2897, #2889.