pulumi/changelog/pending
bors[bot] a450f6e773
Merge #10820 #10833
10820: Make getOrganization total, default to 'organization' r=AaronFriel a=Frassle

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

Changes `getOrganization` to return "organization" by default. This will apply when using filestate, or by default in unit tests (unless explicitly set as part of test setup).

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Service,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


10833: Fix regression validating project files with `refresh: always` set r=justinvp a=justinvp

We recently started validating the `Pulumi.yaml` file against its schema, leading to the following error when the `refresh: always` option is specified:

```
error: could not load current project: 1 error occurred:
	* #/options/refresh: expected boolean, but got string
```

The problem is the feature is expecting a string value of `"always"` but the schema for the project file is incorrectly specified as `boolean`.

This change fixes the schema, which avoids the error. A separate change will fix the documentation at https://www.pulumi.com/docs/reference/pulumi-yaml/#options-options

Fixes #10824

Co-authored-by: Fraser Waters <fraser@pulumi.com>
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2022-09-22 18:59:18 +00:00
..
20220914--sdk-go--go-build-target.yaml changelog entry 2022-09-14 15:14:09 -07:00
20220915--cli--secretsprovider-override.yaml Apply suggestions from code review 2022-09-21 11:32:46 -07:00
20220916--sdk-yaml--yaml-0-5-7.yaml [yaml] Update Pulumi YAML to 0.5.7 2022-09-19 16:32:47 -07:00
20220919--ci--homebrew-tap.yaml ci: Enable updating Homebrew Tap repository on release 2022-09-19 16:13:38 -07:00
20220919--sdk-dotnet--org-name.yaml Merge remote-tracking branch 'origin/master' into dotnet 2022-09-19 10:08:05 +01:00
20220920--cli-plugin--dont-retry-plugin-downloads.yaml CL 2022-09-20 16:00:52 +02:00
20220920--engine--policy-new.yaml Add changelog 2022-09-20 11:53:26 +01:00
20220920--sdk-nodejs--enable-esmodule-interoperability.yaml Update changelog 2022-09-20 17:07:02 -04:00
20220921--engine--analyzer-bundled.yaml Add pulumi-analyzer-policy and pulumi-analyzer-policy-python to the list of bundled plugins 2022-09-21 18:55:03 +01:00
20220921--sdk-nodejs-python--get-org.yaml Make getOrganization total, default to 'organization' 2022-09-22 11:06:51 -07:00
20220922--cli--fix-tracing-http-resp-parse.yaml CHANGELOG 2022-09-22 09:45:22 -04:00
20220922--cli-engine--fix-refresh-option.yaml Fix regression validating project files with `refresh: always` set 2022-09-22 11:51:54 -07:00