Skip to content

v0.0.2-alpha.21

Pre-release
Pre-release

Choose a tag to compare

@mobeenabdullah mobeenabdullah released this 05 Jun 13:45
· 32 commits to main since this release
bc2545d

Released all 12 packages at 0.0.2-alpha.21 in lockstep (nextly, create-nextly-app, and 10 @nextlyhq/* packages).

What's changed

@nextlyhq/adapter-drizzle

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.
    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.

@nextlyhq/adapter-mysql

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.

    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.
  • Updated dependencies [0e17fc6]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.21

@nextlyhq/adapter-postgres

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.

    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.
  • Updated dependencies [0e17fc6]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.21

@nextlyhq/adapter-sqlite

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.

    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.
  • Updated dependencies [0e17fc6]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.21

@nextlyhq/admin

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.

    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.
  • Updated dependencies [0e17fc6]:

    • @nextlyhq/ui@0.0.2-alpha.21

create-nextly-app

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.
    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.

nextly

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.

    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.
  • Updated dependencies [0e17fc6]:

    • @nextlyhq/adapter-drizzle@0.0.2-alpha.21
    • @nextlyhq/adapter-mysql@0.0.2-alpha.21
    • @nextlyhq/adapter-postgres@0.0.2-alpha.21
    • @nextlyhq/adapter-sqlite@0.0.2-alpha.21

@nextlyhq/plugin-form-builder

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.

    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.
  • Updated dependencies [0e17fc6]:

    • @nextlyhq/admin@0.0.2-alpha.21
    • nextly@0.0.2-alpha.21
    • @nextlyhq/ui@0.0.2-alpha.21

@nextlyhq/storage-s3

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.
    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.

@nextlyhq/storage-uploadthing

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.
    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.

@nextlyhq/storage-vercel-blob

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.
    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.

@nextlyhq/ui

Patch Changes

  • #84 0e17fc6 Thanks @aqib-rx! - Unified schema-migration pipeline with ui-schema.json dual-write.
    • Migration CLI: migrate:create / migrate / migrate:check / migrate:status, plus migrate:down for forward-resolved rollbacks (DOWN SQL generated at create time, renames preserved). A pooler-safe TTL migration lock replaces the session advisory lock that leaked through Neon's PgBouncer, and production deployments can run pending migrations on boot (db.runMigrationsOnBoot + db.migrateLockTtlSeconds).
    • ui-schema.json dual-write: the admin Schema Builder always applies changes to the dev database AND writes a committable ui-schema.json (the file-only mode is retired). The manifest is now a lossless record of every field option the builder/code-first can set — full validation (min/max length, pattern, etc.), per-field admin (width, description, placeholder…), unique, index, labels, the Draft/Published status flag (persisted from both the field-change and settings-only save paths), and polymorphic relationTo arrays (previously truncated to the first target). The toggle field type round-trips correctly.
    • Correct column types: migrate:create no longer flattens fields before diffing, so hasMany and polymorphic relationships emit json columns instead of a single text id column.
    • Diffable index/unique migrations (Postgres/MySQL/SQLite): field unique/index, single-relationship auto-indexes, and the system slug/created_at indexes are now diffed and emitted (CREATE/DROP INDEX) with live-DB introspection, down-migration support, and a backward-compat sentinel so pre-existing tables don't churn.
    • Cleanup: removed the unused verification_tokens table (a leftover from the retired Auth.js integration; custom auth uses email_verification_tokens and password_reset_tokens). dev:reset auto-detects the dialect from DATABASE_URL, and the ui-schema field-type set was widened to the full canonical list.