diff --git a/CHANGELOG.md b/CHANGELOG.md index 22aacfb..38f6e96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to `@red-hat-developer-hub/cli` are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The major and minor version are synchronized with the corresponding RHDH release (see [Versioning Strategy](README.md#versioning-strategy)). +## [Unreleased] + +### Changed + +- **`plugin dev` and `plugin package`:** Generated dynamic-plugin entries now use `enabled: true` instead of the deprecated `disabled: false`. Documentation examples use `enabled` as well ([RHIDP-17293](https://redhat.atlassian.net/browse/RHIDP-17293)). + ## 2.2.0 - 2026-09-28 ### Removed diff --git a/docs/Intent-Based-CLI.md b/docs/Intent-Based-CLI.md index b980c35..d783930 100644 --- a/docs/Intent-Based-CLI.md +++ b/docs/Intent-Based-CLI.md @@ -61,7 +61,7 @@ Install it as a dynamic plugin from `rhdh-plugin-export-overlays`: # dynamic-plugins.yaml plugins: - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-auth:bs_1.54.6__0.1.11' - disabled: false + enabled: true pluginConfig: dynamicPlugins: frontend: @@ -93,7 +93,7 @@ To use TechDocs actions (`docs list`, `docs get`, `docs coverage`), install the # dynamic-plugins.yaml plugins: - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-techdocs-mcp-extras:bs_1.54.6__0.2.6 - disabled: false + enabled: true ``` **Note:** Only `docs list`, `docs get`, and `docs coverage` require this plugin. The `docs build` command uses the standard TechDocs sync endpoint and does not require this plugin. @@ -106,7 +106,7 @@ To use TechDocs search functionality (`search --types techdocs` and `docs search # dynamic-plugins.yaml plugins: - package: 'oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-search-backend-module-techdocs:bs_1.54.6__0.4.17' - disabled: false + enabled: true ``` **Note:** This is a standard Backstage plugin for indexing TechDocs content in the search backend. diff --git a/src/commands/dev/command.ts b/src/commands/dev/command.ts index eb24973..c9e9051 100644 --- a/src/commands/dev/command.ts +++ b/src/commands/dev/command.ts @@ -799,7 +799,7 @@ export async function updateGeneratedConfig( plugins: [ { package: pluginPackage, - disabled: false, + enabled: true, pullPolicy: 'Always', }, ], diff --git a/src/commands/package-dynamic-plugins/command.ts b/src/commands/package-dynamic-plugins/command.ts index 40f590e..1e666d1 100644 --- a/src/commands/package-dynamic-plugins/command.ts +++ b/src/commands/package-dynamic-plugins/command.ts @@ -302,7 +302,7 @@ COPY . . : `oci://${tag}!${packageName}`; return { package: packageString, - disabled: false, + enabled: true, ...(pluginConfig ? { pluginConfig } : {}), }; }),