Rationale
After shipping several Aspire releases we have learned enough, and accumulated enough outstanding, breaking-change work items, to develop a new version of DCP API.
Must-have work items and issues
Should-consider work items and issues
These are issues that should be considered when designing details of v2 API and may benefit from being implemented on top of the new v2 API (not supported by v1 API), but are not blocking with regards to shipping v2 API
Rationale
After shipping several Aspire releases we have learned enough, and accumulated enough outstanding, breaking-change work items, to develop a new version of DCP API.
Must-have work items and issues
NamespacedName, or--if the referenced object kind can vary (rare)--that they useNamespacedNameandGroupVersionResourcecombination. We mostly conform to this rule already in API v1 but not always, e.g.ContainerExecSpecrefers to its owningContainerby name only.Executableto be able to model Executables that are suspended under debugger/restarted after code change (watch mode). Relevant Aspire issue: Add Suspended state for projects/Executables aspire#9321Should-consider work items and issues
These are issues that should be considered when designing details of v2 API and may benefit from being implemented on top of the new v2 API (not supported by v1 API), but are not blocking with regards to shipping v2 API
EnvVar.Valuedefinition to be a pointer, with the idea that if the pointer is nil, the presence ofEnvVarrecord indicates the environment variable should be removed from the process/container environment if present in the ambient environment.