Skip to content

Update Radius.Core/recipePacks reference for kind/source#1919

Open
willdavsmith wants to merge 2 commits into
edgefrom
willdavsmith/recipepacks-kind-source
Open

Update Radius.Core/recipePacks reference for kind/source#1919
willdavsmith wants to merge 2 commits into
edgefrom
willdavsmith/recipepacks-kind-source

Conversation

@willdavsmith

@willdavsmith willdavsmith commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Description

Updates the Radius.Core/recipePacks@2025-08-01-preview reference to match the renamed schema:

Companion to radius-project/radius#12104. The reference table mirrors the regenerated Bicep types for the preview API.

Note

Breaking change for the preview API: existing recipe packs must use kind/source going forward.

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

Static Web App Preview

Environment Deployment
pr1919 View workflow run

Deployed from commit 302cb1189aa19c35a2446b075faaeebdc622ec03 via the publisher workflow.

@willdavsmith willdavsmith force-pushed the willdavsmith/recipepacks-kind-source branch from 479c295 to 434b6db Compare June 15, 2026 17:19
@willdavsmith willdavsmith requested a review from a team as a code owner June 15, 2026 17:19
@willdavsmith willdavsmith changed the base branch from v0.58 to edge June 15, 2026 17:19
Updates the Radius.Core/recipePacks@2025-08-01-preview reference to match the
renamed schema: RecipeDefinition.recipeKind -> kind and recipeLocation -> source
(radius-project/radius#11879). Refreshes the plainHttp/source descriptions to
match the updated Bicep type @doc strings, and removes the now-unused
recipeKind/recipeLocation entries from the spell dictionary.

Companion to radius-project/radius#12104.

Signed-off-by: willdavsmith <[email protected]>
@willdavsmith willdavsmith force-pushed the willdavsmith/recipepacks-kind-source branch from 434b6db to 2f0d6d4 Compare June 15, 2026 18:22
@willdavsmith willdavsmith changed the title Update Radius.Core/recipePacks reference for kind/source/version Update Radius.Core/recipePacks reference for kind/source Jun 15, 2026
@lakshmimsft lakshmimsft marked this pull request as draft June 15, 2026 18:33
willdavsmith added a commit to radius-project/radius that referenced this pull request Jun 22, 2026
# Description

Updates the `Radius.Core/recipePacks@2025-08-01-preview` schema for
#11879, ahead of public launch:

- **#11879**: rename `RecipeDefinition.recipeKind` → `kind` and
`recipeLocation` → `source`. `parameters`/`outputs` stay unprefixed.

Changes are made in the TypeSpec source of truth and propagated through
the codegen pipeline; downstream OpenAPI/swagger, the Go SDK
(`zz_generated_*`), and Bicep types are regenerated. Hand-written
datamodel, versioned conversion, internal recipes types, configloader,
CLI display, tests, and fixtures are updated to match.

## Type of change

- This pull request adds or changes features of Radius and has an
approved issue (issue link required).

Fixes: #11879

## Related PRs (merge together)

This is a breaking schema change for a preview API, so the
producer/consumer repos must ship alongside this PR:

- resource-types-contrib: radius-project/resource-types-contrib#182
(recipe pack generator + sample)
- dashboard: radius-project/dashboard#288 (API consumer)
- docs: radius-project/docs#1919 (reference + spell dictionary)

> [!WARNING]
> **Breaking change (preview API):** `recipeKind`/`recipeLocation` are
renamed to `kind`/`source` for
`Radius.Core/recipePacks@2025-08-01-preview`. Existing preview recipe
packs must be re-authored with the new field names. This is
intentionally landed during preview, before public launch, to avoid a
breaking change post-GA.

## Contributor checklist

- An overview of proposed schema changes is included in a linked GitHub
issue.
    - [x] Yes
- A design document is added or updated under `eng/design-notes/`, if
new APIs are being introduced.
    - [x] Not applicable
- A PR for
[resource-types-contrib](https://github.com/radius-project/resource-types-contrib/)
is created, if resource types or recipes are affected.
    - [x] Yes
- A PR for [dashboard](https://github.com/radius-project/dashboard/) is
created, if the Radius Dashboard is affected.
    - [x] Yes
- A PR for the [documentation
repository](https://github.com/radius-project/docs) is created, if the
changes affect documentation or user-facing behavior.
    - [x] Yes

---------

Signed-off-by: willdavsmith <[email protected]>
@willtsai

Copy link
Copy Markdown
Contributor

@willdavsmith - this PR is actually not needed as the page is auto generated: https://github.com/radius-project/docs/commits/v0.59/docs/content/reference/resources/radius/radius.core/2025-08-01-preview/recipepacks/index.md

in fact, please go review the autogenerated changes here :) - https://github.com/radius-project/docs/pull/1934/changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants