pulumi/changelog/pending
Fraser Waters 67208a3f27
backend/filestate: Re-add project support
This re-adds project support back to the filestate backend.

For backwards compatibility, and to plan for the future,
this requires versioning the storage state.
To do that, we introduce a .pulumi/Pulumi.yaml file
where we hold metadata like the version of the filestate storage
format.
Version 1 is the initial version that introduces project support.

    # .pulumi/Pulumi.yaml
    version: 1

If we ever need to make breaking changes to the storage protocol
we can bump the format version.

Newly initialized states will use the new project-mode format.
Existing states will continue to run in the old, non-project mode.
State can be migrated to the new format with `pulumi state upgrade`,
at which point they will become incompatible with older CLIs.

For more graceful degradation, if an old CLI writes to an upgraded state
the CLI will warn about these files, and recommend re-running upgrade.

Testing:
Some tests inside filestate/backend were duplicated
for legacy and project variants.
2023-03-14 17:30:57 -07:00
..
20230128--backend-filestate--the-filestate-backend-now-supports-project-scoped-stacks.yaml backend/filestate: Re-add project support 2023-03-14 17:30:57 -07:00
20230209--sdk-go--adds-newinvokeoptions-to-preview-the-effect-of-a-list-of-invokeoption-values.yaml sdk/go: Support looking inside []InvokeOption 2023-03-06 14:30:32 -08:00
20230304--cli--add-json-flag-to-pulumi-whoami-to-emit-output-as-json.yaml Add `--json` flag to `pulumi whoami` 2023-03-08 09:29:59 -05:00
20230305--auto-nodejs--add-url-and-organizations-to-whoamiresult-for-nodejs-automation-api.yaml Add url and organizations to WhoAmIResult for NodeJS Automation API 2023-03-08 09:30:07 -05:00
20230305--auto-python--add-url-and-organizations-to-whoamiresult-for-python-automation-api.yaml Add url and organizations to WhoAmIResult for Python Automation API 2023-03-08 09:30:07 -05:00
20230306--auto-go--add-whoamidetailed-which-includes-user-url-and-organizations-to-go-automation-api.yaml sdk/go/auto: Workspace: WhoAmIDetailed => WhoAmIDetails 2023-03-08 14:33:59 -08:00
20230306--programgen-dotnet--pcl-components-and-dotnet-program-gen-implementation.yaml PCL components and dotnet program-gen implementation 2023-03-08 14:21:34 +01:00
20230308--cli-display--add-an-open-in-browser-shortcut-to-the-interactive-display.yaml display: Switch "Open in Browser" to "View in Browser" 2023-03-10 10:52:43 -07:00
20230310--cli-display--do-not-treat-single-line-strings-as-yaml-values.yaml [cli/diff] Tighten the YAML value heuristic 2023-03-09 17:21:35 -08:00
20230310--programgen-dotnet-go-nodejs-python--implement-not-implement-function-intrinsic-in-pcl.yaml Add "NotImplemented" PCL function intrinsic 2023-03-10 12:14:28 +01:00
20230310--sdk-go--fixes-an-id-handling-bug-in-provider_server-read-implementation.yaml CHANGELOG 2023-03-10 09:48:06 -05:00