docs/releases/v1.52.0-next.2-changelog.md
Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.52.0-next.2
react-syntax-highlighter and @dagrejs/dagre so they are no longer pulled in eagerly through the barrel export. This reduces the upfront module cost of importing from @backstage/core-components by roughly 10 MB. The public API is unchanged.search_entity_id_idx index which is now redundant with the covering unique index on (entity_id, key, value). The old index caused the query planner to choose an inefficient scan pattern for catalog list queries with multiple sort fields, leading to severely degraded performance on large catalogs.entitiesBatch on PostgreSQL to use = ANY(array) instead of WHERE IN ($1, $2, ...). This produces a single stable query plan regardless of batch size, instead of up to 200 different plans that pollute the query plan cache. On PostgreSQL, batching is no longer needed so all entity refs are fetched in a single query.search, final_entities, relations, and refresh_state_references tables, and fixes column statistics for entity_id in the search table. This prevents the query planner from falling back to sequential scans when table maintenance falls behind, keeping catalog queries fast on large installations.user.select to an empty array would cause all users to be dropped from the catalog instead of using the default set of fields.