docs/releases/v1.51.0-next.0-changelog.md
Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.51.0-next.0
ExtensionPointFactoryMiddleware type and createExtensionPointFactoryMiddleware helper to reimplement extension point outputs at backend creation time.PortableSchema.schema. The schema member is now a plain method that must be called as schema() — direct property access like schema.type or schema.properties is no longer supported.zod/v4 subpath export from the Zod v3 package is not supported by configSchema, since it does not include JSON Schema conversion. The zod dependency has been bumped to ^4.0.0.a281469: Add support for flex item props (grow, shrink, and basis) to Box, Card, Grid, and Flex itself.
Affected components: Box, Card, Grid, Flex
3846774: Added missing dependencies that were previously only available transitively.
e8a1a35: Added isPending prop to Alert, Button, ButtonIcon, Table, and TableRoot as a replacement for the loading prop, aligning with React Aria naming conventions. The loading prop is now deprecated but still supported as an alias. CSS selectors now use data-ispending instead of data-loading for styling pending states; data-loading is still emitted for backward compatibility but will be removed alongside the loading prop.
Affected components: Alert, Button, ButtonIcon, Table, TableRoot
e2d9831: Tightened React Aria dependency version ranges from ^ to ~ to prevent unintended minor version upgrades.
a42766e: Fixed dark mode background for Dialog component by correcting the theme attribute selector from data-theme to data-theme-mode.
Affected components: Dialog
c6fc76f: Fixed an issue where the active tab indicator would disappear shortly after page load for uncontrolled Tabs.
Affected components: Tabs
d1be10c: Updated React Aria dependencies to v1.17.0 and migrated imports from individual @react-aria/* and @react-stately/* packages to the monopackages (react-aria, react-stately). This fixes a type resolution error for @react-types/table that occurred in new app installations.
401916d: Added new DateRangePicker component — combines two date fields and a calendar popover for selecting a date range, built on React Aria with full keyboard and screen reader accessibility. Uses BUI design tokens throughout, including auto-incremented backgrounds via the bg consumer pattern.
Updated dependencies
defaultServiceFactories to allow use with createSpecializedBackend for advanced configuration like extensionPointFactoryMiddleware.sleep firing immediately for durations longer than ~24.8 days, caused by Node.js setTimeout overflowing its 32-bit millisecond limit.dependencies and devDependencies.@module-federation/enhanced, @module-federation/runtime, and @module-federation/sdk from ^0.21.6 to ^2.3.3 to address known vulnerabilities.dependencies and devDependencies.@module-federation/enhanced, @module-federation/runtime, and @module-federation/sdk from ^0.21.6 to ^2.3.3 to address known vulnerabilities.dependencies and devDependencies.@backstage/cli-common.name property to ServiceUnavailableError for consistency with all other error classes, making it resilient to minification.@module-federation/enhanced, @module-federation/runtime, and @module-federation/sdk from ^0.21.6 to ^2.3.3 to address known vulnerabilities.mockWithApiFactory helper in favor of using attachMockApiFactory directly..map() callback parameters in renderInTestApp to avoid implicit any errors with newer TypeScript versions.registerMswTestHooks to test files.@module-federation/enhanced, @module-federation/runtime, and @module-federation/sdk from ^0.21.6 to ^2.3.3 to address known vulnerabilities.@backstage/cli-common.@react-aria/toast, @react-aria/button, @react-stately/toast) to the monopackages (react-aria, react-stately).^ to ~ to prevent unintended minor version upgrades.zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.dependencies and devDependencies.^ to ~ to prevent unintended minor version upgrades.dependencies and devDependencies.dependencies and devDependencies.zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.b33f845: Fixed several database migration down functions that were not properly reversible, causing the SQL report to show warnings:
20241003170511_alter_target_in_locations.js: both up and down now include .notNullable() when altering the locations.target column, preventing the NOT NULL constraint from being accidentally dropped when widening the column type from varchar(255) to text.20220116144621_remove_legacy.js: the down function now properly recreates the three dropped legacy tables (entities, entities_search, entities_relations) with correct columns and indices.20210302150147_refresh_state.js: the down function now drops dependent tables in the correct order (avoiding a FK constraint violation) and fixes a typo where the table was referred to as references instead of refresh_state_references.20201005122705_add_entity_full_name.js: the down function now drops the full_name column from entities (not entities_search), and restores the entities_unique_name index with the correct column order (kind, name, namespace).20200702153613_entities.js: the down function now uses table.integer('generation') instead of table.string('generation'), restoring the correct column type.cf195de: Fixed a performance regression in the /entity-facets endpoint when filters or permission conditions are applied, by routing the EXISTS-based filter through final_entities instead of correlating against the much larger search table.
744fa1f: Removed duplicated entries that appeared in both dependencies and devDependencies.
Updated dependencies
zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.dependencies and devDependencies.zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.isDraggable and isResizable.^ to ~ to prevent unintended minor version upgrades.dependencies and devDependencies.scope and notification.updated is set, the processor now calls chat.update() on the existing Slack message instead of sending a duplicate via chat.postMessage(). Message timestamps are persisted in a new slack_message_timestamps database table with automatic daily cleanup. The processor gracefully degrades to the previous behavior when no database is provided.zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.OwnerEntityColumn in the task list to rely on EntityRefLink and the entity presentation API instead of manually fetching entities from the catalog.zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.--techdocs-sidebar-closed-offset-pinned, --techdocs-sidebar-closed-offset-collapsed, and --techdocs-sidebar-open-translate.zod dependency has been bumped from ^3.25.76 || ^4.0.0 to ^4.0.0, since configSchema requires the full Zod v4 package for JSON Schema support.