Skip to content

Latest commit

 

History

History
250 lines (187 loc) · 23.7 KB

File metadata and controls

250 lines (187 loc) · 23.7 KB

@chkit/core

0.1.0-beta.20

Patch Changes

  • c63c74f: Add emitMigrations option to the codegen plugin. When enabled, generates a self-contained TypeScript module with all migration SQL inlined and a runMigrations() function for environments without filesystem access (e.g., Cloudflare Workers). Also extracts splitSqlStatements and extractExecutableStatements into @chkit/core as shared utilities.
  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • c396fb5: Generated migration modules now import extractExecutableStatements from @chkit/core/utils instead of inlining the sql-splitter source. Adds a ./utils sub-path export to @chkit/core.
  • 1a5caa3: Move loadSchemaDefinitions out of the @chkit/core barrel export into a dedicated @chkit/core/schema-loader subpath. This removes the transitive fast-glob -> node:os dependency from the main entry point, making @chkit/core safe to import in non-Node runtimes like Cloudflare Workers (workerd). The ./utils subpath is removed since extractExecutableStatements is now available directly from @chkit/core.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • cc1125e: Fix parameterized skip index type rendering. ClickHouse requires set indexes to have a size argument (e.g., set(0) for unlimited). Add optional typeArgs field to SkipIndexDefinition to support parameterized index types (set, bloom_filter, tokenbf_v1, ngrambf_v1) and parse type arguments from introspected schemas.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • bc0c6b1: Fix materialized view drop operations on ClickHouse Cloud by using DROP TABLE ... SYNC instead of DROP VIEW IF EXISTS. This ensures metadata removal is fully propagated before subsequent column drop operations execute, preventing "column is referenced by materialized view" errors.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.
  • a52a2b2: Validate that set, tokenbf_v1, and ngrambf_v1 skip index types require typeArgs (ClickHouse 26+ compliance). Type-level validation enforces this at compile time; runtime validation provides a safety net.

0.1.0-beta.19

Patch Changes

  • c63c74f: Add emitMigrations option to the codegen plugin. When enabled, generates a self-contained TypeScript module with all migration SQL inlined and a runMigrations() function for environments without filesystem access (e.g., Cloudflare Workers). Also extracts splitSqlStatements and extractExecutableStatements into @chkit/core as shared utilities.
  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • c396fb5: Generated migration modules now import extractExecutableStatements from @chkit/core/utils instead of inlining the sql-splitter source. Adds a ./utils sub-path export to @chkit/core.
  • 1a5caa3: Move loadSchemaDefinitions out of the @chkit/core barrel export into a dedicated @chkit/core/schema-loader subpath. This removes the transitive fast-glob -> node:os dependency from the main entry point, making @chkit/core safe to import in non-Node runtimes like Cloudflare Workers (workerd). The ./utils subpath is removed since extractExecutableStatements is now available directly from @chkit/core.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • cc1125e: Fix parameterized skip index type rendering. ClickHouse requires set indexes to have a size argument (e.g., set(0) for unlimited). Add optional typeArgs field to SkipIndexDefinition to support parameterized index types (set, bloom_filter, tokenbf_v1, ngrambf_v1) and parse type arguments from introspected schemas.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • bc0c6b1: Fix materialized view drop operations on ClickHouse Cloud by using DROP TABLE ... SYNC instead of DROP VIEW IF EXISTS. This ensures metadata removal is fully propagated before subsequent column drop operations execute, preventing "column is referenced by materialized view" errors.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.
  • a52a2b2: Validate that set, tokenbf_v1, and ngrambf_v1 skip index types require typeArgs (ClickHouse 26+ compliance). Type-level validation enforces this at compile time; runtime validation provides a safety net.

0.1.0-beta.18

Patch Changes

  • c63c74f: Add emitMigrations option to the codegen plugin. When enabled, generates a self-contained TypeScript module with all migration SQL inlined and a runMigrations() function for environments without filesystem access (e.g., Cloudflare Workers). Also extracts splitSqlStatements and extractExecutableStatements into @chkit/core as shared utilities.
  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • c396fb5: Generated migration modules now import extractExecutableStatements from @chkit/core/utils instead of inlining the sql-splitter source. Adds a ./utils sub-path export to @chkit/core.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • cc1125e: Fix parameterized skip index type rendering. ClickHouse requires set indexes to have a size argument (e.g., set(0) for unlimited). Add optional typeArgs field to SkipIndexDefinition to support parameterized index types (set, bloom_filter, tokenbf_v1, ngrambf_v1) and parse type arguments from introspected schemas.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • bc0c6b1: Fix materialized view drop operations on ClickHouse Cloud by using DROP TABLE ... SYNC instead of DROP VIEW IF EXISTS. This ensures metadata removal is fully propagated before subsequent column drop operations execute, preventing "column is referenced by materialized view" errors.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.
  • a52a2b2: Validate that set, tokenbf_v1, and ngrambf_v1 skip index types require typeArgs (ClickHouse 26+ compliance). Type-level validation enforces this at compile time; runtime validation provides a safety net.

0.1.0-beta.17

Patch Changes

  • c63c74f: Add emitMigrations option to the codegen plugin. When enabled, generates a self-contained TypeScript module with all migration SQL inlined and a runMigrations() function for environments without filesystem access (e.g., Cloudflare Workers). Also extracts splitSqlStatements and extractExecutableStatements into @chkit/core as shared utilities.
  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • cc1125e: Fix parameterized skip index type rendering. ClickHouse requires set indexes to have a size argument (e.g., set(0) for unlimited). Add optional typeArgs field to SkipIndexDefinition to support parameterized index types (set, bloom_filter, tokenbf_v1, ngrambf_v1) and parse type arguments from introspected schemas.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • bc0c6b1: Fix materialized view drop operations on ClickHouse Cloud by using DROP TABLE ... SYNC instead of DROP VIEW IF EXISTS. This ensures metadata removal is fully propagated before subsequent column drop operations execute, preventing "column is referenced by materialized view" errors.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.
  • a52a2b2: Validate that set, tokenbf_v1, and ngrambf_v1 skip index types require typeArgs (ClickHouse 26+ compliance). Type-level validation enforces this at compile time; runtime validation provides a safety net.

0.1.0-beta.16

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • cc1125e: Fix parameterized skip index type rendering. ClickHouse requires set indexes to have a size argument (e.g., set(0) for unlimited). Add optional typeArgs field to SkipIndexDefinition to support parameterized index types (set, bloom_filter, tokenbf_v1, ngrambf_v1) and parse type arguments from introspected schemas.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • bc0c6b1: Fix materialized view drop operations on ClickHouse Cloud by using DROP TABLE ... SYNC instead of DROP VIEW IF EXISTS. This ensures metadata removal is fully propagated before subsequent column drop operations execute, preventing "column is referenced by materialized view" errors.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.
  • a52a2b2: Validate that set, tokenbf_v1, and ngrambf_v1 skip index types require typeArgs (ClickHouse 26+ compliance). Type-level validation enforces this at compile time; runtime validation provides a safety net.

0.1.0-beta.15

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • bc0c6b1: Fix materialized view drop operations on ClickHouse Cloud by using DROP TABLE ... SYNC instead of DROP VIEW IF EXISTS. This ensures metadata removal is fully propagated before subsequent column drop operations execute, preventing "column is referenced by materialized view" errors.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.14

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • bc0c6b1: Fix materialized view drop operations on ClickHouse Cloud by using DROP TABLE ... SYNC instead of DROP VIEW IF EXISTS. This ensures metadata removal is fully propagated before subsequent column drop operations execute, preventing "column is referenced by materialized view" errors.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.13

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.12

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.11

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • 9a54433: Add CODE_OF_CONDUCT.md and SECURITY.md governance documents, .env.example for development setup, and update package.json metadata for all packages.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.10

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.9

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.8

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • a94a2a1: Replace @stricli/core with a custom CLI framework, migrate plugins to declared flags, and refine the plugin API and error handling.
  • a94a2a1: Fix migration ordering so tables are created before views and materialized views that depend on them.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a94a2a1: Move flag parsing and shared types to @chkit/core, split plugin-codegen into focused modules, and resolve lint warnings.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.7

Patch Changes

  • ba60638: Add homepage and repository metadata to all packages, and link READMEs to the chkit CLI package and documentation site.
  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.6

Patch Changes

  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.5

Patch Changes

  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.4

Patch Changes

  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.
  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.
  • d983fdf: Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.3

Patch Changes

  • a3a09cf: Rename plugin-typegen to plugin-codegen and add ingestion functions.

0.1.0-beta.2

Patch Changes

  • f719c50: Fix workspace:* dependencies in published packages. Restores manual workspace version resolution before publish due to a bun publish bug (oven-sh/bun#24687) where workspace:* references are not resolved in the published tarball.

0.1.0-beta.1

Patch Changes

  • Rename internals and CLI binary from chkit to chkit.

0.1.0-beta.0

Minor Changes

  • Initial beta release of the chkit ClickHouse schema and migration toolkit. Includes the CLI, core schema planner, codegen, ClickHouse client integration, and plugins for pull, typegen, and backfill.