Skip to content

v1.3.1 — Legacy config_json project_key compatibility

Choose a tag to compare

@lopadova lopadova released this 22 Jun 15:42
a00f8d0

Backward-compat fix for the v1.3.0 multi-account / project-scoped change.

Fixed

  • BaseConnector::resolveProjectKey() now honours a legacy config_json['project_key'] when the project_key column is empty, before the host default. Resolution: column → config_json['project_key'] → config('kb.ingest.default_project') → 'default'. Installs created before the v1.3.0 column existed (which stored the binding in config_json) no longer silently re-scope to the default after upgrade.

Added

  • Backfill migration 2026_06_22_000002_backfill_project_key_from_config_json — moves a legacy config_json['project_key'] into the column (adopting it only when the column is empty) and always strips the legacy key from config_json, so the column becomes the single source of truth (a legacy install can then be unbound to the host default by clearing the column alone). Idempotent, R3 memory-safe (chunkById), PHP-side JSON (portable across SQLite/Postgres/MySQL).

The 8 connectors require ^1.3 and pick this up automatically.