Skip to content

1.1.109

Latest

Choose a tag to compare

@sc-contenthub-ci-github sc-contenthub-ci-github released this 19 Mar 16:45

This pull request removes the dynamic selection of the default export package engine version based on a feature flag, and instead sets the default engine version to V2 throughout the codebase. The related setup logic and interfaces are deleted, and the command and handler are simplified to always use V2 unless explicitly overridden. Tests and documentation are updated accordingly.

Removal of dynamic engine version selection:

  • Deleted the ExportPackageSetup class and its interface IExportPackageSetup, removing all logic that checked the tenant's package_export_v2_default feature flag to determine the default engine version.
  • Removed all usages and dependency injection of IExportPackageSetup from the plugin system, command, and handler classes.

Default engine version is now V2:

  • Set the default value of ExportPackageParameters.Engine to PackageEngineVersion.V2 instead of V1.
  • Updated the ExportPackageCommand to use a static description for the engine option, always referencing V2 as the default.

Simplification of command handler logic:

  • Simplified the logic in ExportPackageCommandHandler to default to the new engine (V2) when the --engine option is not provided, removing all references to the setup class and feature flag checks.

Test updates:

  • Updated tests to reflect the new default behavior (V2 as default), removing tests and test dependencies related to the dynamic setup and feature flag.

These changes make the export package engine versioning more predictable and reduce complexity by removing runtime feature flag checks.

created on Mar. 19, 2026 04:45:30 PM +00:00