Justin Van Patten
aea75ebb0c
Prepare for v3.131.0 release ( #17150 )
...
Tentative changelog
### Features
- [cli] Include all engine events in the event-log
[#17101 ](https://github.com/pulumi/pulumi/pull/17101 )
- [pkg] Added `NewCachedLoader` for caching schema loads.
[#17118 ](https://github.com/pulumi/pulumi/pull/17118 )
- [auto/go] Include panic value in message for non-error panics
[#17066 ](https://github.com/pulumi/pulumi/pull/17066 )
- [auto/nodejs] Add LocalWorkspace.install method for Nodejs
[#17134 ](https://github.com/pulumi/pulumi/pull/17134 )
- [auto/python] Add LocalWorkspace.install method
[#17086 ](https://github.com/pulumi/pulumi/pull/17086 )
- [cli/{display,plugin}] Render download and install progress as part of
system messages during Pulumi operations
[#17019 ](https://github.com/pulumi/pulumi/pull/17019 )
- [cli/state] Allow moving resources when there's already a provider
with an identical URN in the destination stack, if the inputs match
[#17076 ](https://github.com/pulumi/pulumi/pull/17076 )
- [sdk/nodejs] Respect .node-version and .nvmrc files in `pulumi
install`
[#17060 ](https://github.com/pulumi/pulumi/pull/17060 )
### Bug Fixes
- [engine] Propagate deleted parents of untargeted resources
[#17117 ](https://github.com/pulumi/pulumi/pull/17117 )
- [sdk] Use int32 in Go interfaces that map to protobufs using int32
[#17068 ](https://github.com/pulumi/pulumi/pull/17068 )
- [cli/display] Improve rendering of update diffs in some circumstances.
[#17029 ](https://github.com/pulumi/pulumi/pull/17029 )
### Miscellaneous
- [ci] Run CI with Go 1.22 and 1.23
[#17137 ](https://github.com/pulumi/pulumi/pull/17137 )
- [cli] Update go.mod to use 1.21
[#17140 ](https://github.com/pulumi/pulumi/pull/17140 )
- [pkg] Remove dependency on automation api in deployment settings tests
[#17071 ](https://github.com/pulumi/pulumi/pull/17071 )
- [sdk] Remove unused resource.NewUniqueHexV2
[#17067 ](https://github.com/pulumi/pulumi/pull/17067 )
2024-09-04 11:31:46 +00:00
Justin Van Patten
eae1619241
Freeze v3.130.0 ( #17049 )
...
Stacked on top of https://github.com/pulumi/pulumi/pull/17048
---
Tentative changelog:
### Features
- [auto/go] Add options to automation API Workspace.Install
[#16888 ](https://github.com/pulumi/pulumi/pull/16888 )
- [auto/go] Add Remote Automation API support for choosing a deployment
runner pool.
[#16991 ](https://github.com/pulumi/pulumi/pull/16991 )
- [backend/service] Prefer PULUMI_ACCESS_TOKEN set in the environment
over the one stored in the config when they don't match
[#16970 ](https://github.com/pulumi/pulumi/pull/16970 )
- [engine] Allow provider to be unknown during preview
[#16868 ](https://github.com/pulumi/pulumi/pull/16868 )
- [programgen] Add an organization intrinsic to PCL
[#16948 ](https://github.com/pulumi/pulumi/pull/16948 )
- [cli/install] Add `--use-language-version-tools` flag to setup python
version using pyenv during installation
[#16855 ](https://github.com/pulumi/pulumi/pull/16855 )
- [cli/package] Allow `pulumi package add` to work with arbitrary schema
sources
[#16989 ](https://github.com/pulumi/pulumi/pull/16989 )
### Bug Fixes
- [auto] Fix panic in remote automation API
[#16978 ](https://github.com/pulumi/pulumi/pull/16978 )
- [cli] Show a better message when logging out with `--all`.
[#16998 ](https://github.com/pulumi/pulumi/pull/16998 )
- [docs] Use `ComponentResourceOptions` for components
[#16968 ](https://github.com/pulumi/pulumi/pull/16968 )
- [docs] Show envvars for provider nested types.
[#16984 ](https://github.com/pulumi/pulumi/pull/16984 )
- [sdk/go] Unmarshal pointers correctly if destination type is any
[#16914 ](https://github.com/pulumi/pulumi/pull/16914 )
- [sdkgen/go] Use provided ImportBasePath for parameterized SDKs
[#17036 ](https://github.com/pulumi/pulumi/pull/17036 )
- [sdk/nodejs] Fix type checking of `Output<Record<string, any>>`
[#16959 ](https://github.com/pulumi/pulumi/pull/16959 )
- [sdk/nodejs] Fix NodeJS OOM detection condition
- [sdk/nodejs] Prevent double close on OOM detection channel
[#17043 ](https://github.com/pulumi/pulumi/pull/17043 )
- [sdkgen/nodejs] Set minimum version of core SDK when using
parameterization
[#17032 ](https://github.com/pulumi/pulumi/pull/17032 )
- [sdk/python] Fix the type of `StackReference.outputs` to be `Dict[str,
any]`
[#16956 ](https://github.com/pulumi/pulumi/pull/16956 )
### Miscellaneous
- [cli] Warn that query is planned to be removed
[#16963 ](https://github.com/pulumi/pulumi/pull/16963 )
- [programgen] Improve the error message for an invalid method name
2024-08-23 19:48:48 +00:00
Justin Van Patten
e1c1b5e3f4
Prepare for v3.130.0 release ( #17048 )
...
Tentative changelog:
### Features
- [auto/go] Add options to automation API Workspace.Install
[#16888 ](https://github.com/pulumi/pulumi/pull/16888 )
- [auto/go] Add Remote Automation API support for choosing a deployment
runner pool.
[#16991 ](https://github.com/pulumi/pulumi/pull/16991 )
- [backend/service] Prefer PULUMI_ACCESS_TOKEN set in the environment
over the one stored in the config when they don't match
[#16970 ](https://github.com/pulumi/pulumi/pull/16970 )
- [engine] Allow provider to be unknown during preview
[#16868 ](https://github.com/pulumi/pulumi/pull/16868 )
- [programgen] Add an organization intrinsic to PCL
[#16948 ](https://github.com/pulumi/pulumi/pull/16948 )
- [cli/install] Add `--use-language-version-tools` flag to setup python
version using pyenv during installation
[#16855 ](https://github.com/pulumi/pulumi/pull/16855 )
- [cli/package] Allow `pulumi package add` to work with arbitrary schema
sources
[#16989 ](https://github.com/pulumi/pulumi/pull/16989 )
### Bug Fixes
- [auto] Fix panic in remote automation API
[#16978 ](https://github.com/pulumi/pulumi/pull/16978 )
- [cli] Show a better message when logging out with `--all`.
[#16998 ](https://github.com/pulumi/pulumi/pull/16998 )
- [docs] Use `ComponentResourceOptions` for components
[#16968 ](https://github.com/pulumi/pulumi/pull/16968 )
- [docs] Show envvars for provider nested types.
[#16984 ](https://github.com/pulumi/pulumi/pull/16984 )
- [sdk/go] Unmarshal pointers correctly if destination type is any
[#16914 ](https://github.com/pulumi/pulumi/pull/16914 )
- [sdkgen/go] Use provided ImportBasePath for parameterized SDKs
[#17036 ](https://github.com/pulumi/pulumi/pull/17036 )
- [sdk/nodejs] Fix type checking of `Output<Record<string, any>>`
[#16959 ](https://github.com/pulumi/pulumi/pull/16959 )
- [sdk/nodejs] Fix NodeJS OOM detection condition
- [sdk/nodejs] Prevent double close on OOM detection channel
[#17043 ](https://github.com/pulumi/pulumi/pull/17043 )
- [sdkgen/nodejs] Set minimum version of core SDK when using
parameterization
[#17032 ](https://github.com/pulumi/pulumi/pull/17032 )
- [sdk/python] Fix the type of `StackReference.outputs` to be `Dict[str,
any]`
[#16956 ](https://github.com/pulumi/pulumi/pull/16956 )
### Miscellaneous
- [cli] Warn that query is planned to be removed
[#16963 ](https://github.com/pulumi/pulumi/pull/16963 )
- [programgen] Improve the error message for an invalid method name
2024-08-22 22:34:23 +00:00
Justin Van Patten
71992e815e
Freeze v3.129.0 ( #16932 )
...
Stacked on top of https://github.com/pulumi/pulumi/pull/16931
---
Tentative changelog
### Features
- [cli/package] Add the `pulumi package add` command for installing
packages and SDKs
[#16923 ](https://github.com/pulumi/pulumi/pull/16923 )
- [sdkgen/dotnet] Support parameterized .NET provider SDKs
[#16912 ](https://github.com/pulumi/pulumi/pull/16912 )
- [sdk/nodejs] Add parameterization support for read in nodejs
[#16913 ](https://github.com/pulumi/pulumi/pull/16913 )
- [sdk/python] Add parameterization support for call & read in python
[#16915 ](https://github.com/pulumi/pulumi/pull/16915 )
- [sdkgen/go] Go SDKs will default the import path based on the
publisher and repository schema fields
[#16899 ](https://github.com/pulumi/pulumi/pull/16899 )
- [sdkgen/nodejs] Add parameterized provider support for Nodejs SDK
[#16901 ](https://github.com/pulumi/pulumi/pull/16901 )
### Bug Fixes
- [sdk/go] NewPropertyMapFromMap will flow PropertyValues through it,
rather than dropping them
[#16894 ](https://github.com/pulumi/pulumi/pull/16894 )
- [sdk/nodejs] Pass through pluginDownloadURL in invokes
### Miscellaneous
- [pkg] Upgrade pulumi-java to v0.13.0
[#16882 ](https://github.com/pulumi/pulumi/pull/16882 )
2024-08-12 16:48:48 +00:00
Justin Van Patten
e70114a105
Prepare for v3.129.0 release ( #16931 )
...
Tentative changelog
### Features
- [cli/package] Add the `pulumi package add` command for installing
packages and SDKs
[#16923 ](https://github.com/pulumi/pulumi/pull/16923 )
- [sdkgen/dotnet] Support parameterized .NET provider SDKs
[#16912 ](https://github.com/pulumi/pulumi/pull/16912 )
- [sdk/nodejs] Add parameterization support for read in nodejs
[#16913 ](https://github.com/pulumi/pulumi/pull/16913 )
- [sdk/python] Add parameterization support for call & read in python
[#16915 ](https://github.com/pulumi/pulumi/pull/16915 )
- [sdkgen/go] Go SDKs will default the import path based on the
publisher and repository schema fields
[#16899 ](https://github.com/pulumi/pulumi/pull/16899 )
- [sdkgen/nodejs] Add parameterized provider support for Nodejs SDK
[#16901 ](https://github.com/pulumi/pulumi/pull/16901 )
### Bug Fixes
- [sdk/go] NewPropertyMapFromMap will flow PropertyValues through it,
rather than dropping them
[#16894 ](https://github.com/pulumi/pulumi/pull/16894 )
- [sdk/nodejs] Pass through pluginDownloadURL in invokes
### Miscellaneous
- [pkg] Upgrade pulumi-java to v0.13.0
[#16882 ](https://github.com/pulumi/pulumi/pull/16882 )
2024-08-09 15:54:35 +00:00
Justin Van Patten
d55b73bb99
Freeze v3.128.0 ( #16870 )
...
Stacked on top of https://github.com/pulumi/pulumi/pull/16869
---
Tentative changelog
### Features
- [auto/go] Add install command to workspace
[#16782 ](https://github.com/pulumi/pulumi/pull/16782 )
- [programgen/go] Use `pulumi.Sprintf(...)` instead of
`pulumi.String(fmt.Sprintf(...))` in Go program generation
[#16852 ](https://github.com/pulumi/pulumi/pull/16852 )
- [cli/plugin] Enable overriding plugin download URLs for air-gapped
environments with an environment variable
[#16648 ](https://github.com/pulumi/pulumi/pull/16648 )
### Bug Fixes
- [engine] Provider internal state is now separated from provider user
config. This allows providers to use a config key like
"pluginDownloadURL" which previously would have conflicted with the
engine's internal state. It also allows the engine to add new internal
state fields without concern for clashing with existing or future
provider config keys.
[#16837 ](https://github.com/pulumi/pulumi/pull/16837 )
- [cli/state] Fix moving resources with secrets when the destination
stack has no secrets manager defined
- [cli/state] Include the stack name in the passhprase prompt in state
move
[#16861 ](https://github.com/pulumi/pulumi/pull/16861 )
- [sdk/nodejs] Fix resource reference serialization when multiple copies
of @pulumi/pulumi are present
[#13240 ](https://github.com/pulumi/pulumi/pull/13240 )
- [sdk/nodejs] Don't search upwards for policy packs when determining
required plugins
[#16865 ](https://github.com/pulumi/pulumi/pull/16865 )
- [sdkgen/{go,nodejs,python}] Fix generation of nested plain input
types.
[#16812 ](https://github.com/pulumi/pulumi/pull/16812 )
### Miscellaneous
- [sdkgen/python] Link to Python docs about input types
[#16763 ](https://github.com/pulumi/pulumi/pull/16763 )
2024-08-05 18:20:17 +00:00
Justin Van Patten
36ab7cd6e2
Prepare for v3.128.0 release ( #16869 )
...
Tentative changelog
### Features
- [auto/go] Add install command to workspace
[#16782 ](https://github.com/pulumi/pulumi/pull/16782 )
- [programgen/go] Use `pulumi.Sprintf(...)` instead of
`pulumi.String(fmt.Sprintf(...))` in Go program generation
[#16852 ](https://github.com/pulumi/pulumi/pull/16852 )
- [cli/plugin] Enable overriding plugin download URLs for air-gapped
environments with an environment variable
[#16648 ](https://github.com/pulumi/pulumi/pull/16648 )
### Bug Fixes
- [engine] Provider internal state is now separated from provider user
config. This allows providers to use a config key like
"pluginDownloadURL" which previously would have conflicted with the
engine's internal state. It also allows the engine to add new internal
state fields without concern for clashing with existing or future
provider config keys.
[#16837 ](https://github.com/pulumi/pulumi/pull/16837 )
- [cli/state] Fix moving resources with secrets when the destination
stack has no secrets manager defined
- [cli/state] Include the stack name in the passhprase prompt in state
move
[#16861 ](https://github.com/pulumi/pulumi/pull/16861 )
- [sdk/nodejs] Fix resource reference serialization when multiple copies
of @pulumi/pulumi are present
[#13240 ](https://github.com/pulumi/pulumi/pull/13240 )
- [sdk/nodejs] Don't search upwards for policy packs when determining
required plugins
[#16865 ](https://github.com/pulumi/pulumi/pull/16865 )
- [sdkgen/{go,nodejs,python}] Fix generation of nested plain input
types.
[#16812 ](https://github.com/pulumi/pulumi/pull/16812 )
### Miscellaneous
- [sdkgen/python] Link to Python docs about input types
[#16763 ](https://github.com/pulumi/pulumi/pull/16763 )
2024-08-02 21:48:04 +00:00
Justin Van Patten
edf0c875fd
Freeze v3.127.0 ( #16789 )
...
This PR is stacked on top of
https://github.com/pulumi/pulumi/pull/16788 .
---
We did a release earlier this week, but have some additional
improvements we could get out, including improvements to the `pulumi
state move` command that would be nice to release ahead of blogging
about it.
Aiming to release early Thursday and then publish the blog after.
Tentative changelog:
### Features
- [cli/new] Make prompt capitalization consistent
[#16747 ](https://github.com/pulumi/pulumi/pull/16747 )
- [auto/nodejs] Implement Stack.import() in automation API to specify
and import resources into a stack
[#16615 ](https://github.com/pulumi/pulumi/pull/16615 )
- [auto/python] Implement Stack.import_resources() for batch importing
resources into a stack
[#16668 ](https://github.com/pulumi/pulumi/pull/16668 )
- [sdk/python] Provide stricter types for config.get_XXX when a default
is provided
[#16768 ](https://github.com/pulumi/pulumi/pull/16768 )
- [sdkgen/python] Generate TypedDict input types by default
[#16704 ](https://github.com/pulumi/pulumi/pull/16704 )
### Bug Fixes
- [cli/state] Always show the fully qualified stack name when moving
resources
[#16767 ](https://github.com/pulumi/pulumi/pull/16767 )
- [cli/state] Fix calculation of the resources that are remaining in the
source stack
[#16774 ](https://github.com/pulumi/pulumi/pull/16774 )
- [cli/state] Fix the dependency information in the state move command
[#16765 ](https://github.com/pulumi/pulumi/pull/16765 )
- [cli/state] Improve how moving the root stack is handled in `pulumi
state move`
[#16779 ](https://github.com/pulumi/pulumi/pull/16779 )
- [sdk/nodejs] Detect possible OOM errors when nodejs crashes
[#16700 ](https://github.com/pulumi/pulumi/pull/16700 )
- [sdk/nodejs] Ensure no output is lost for nodejs commands when stdout
is slow
[#16700 ](https://github.com/pulumi/pulumi/pull/16700 )
2024-07-25 22:02:20 +00:00
Justin Van Patten
5b3d00d313
Prepare for v3.127.0 release ( #16788 )
...
We did a release earlier this week, but have some additional
improvements we could get out, including improvements to the `pulumi
state move` command that would be nice to release ahead of blogging
about it.
Aiming to release early Thursday and then publish the blog after.
Tentative changelog:
### Features
- [cli/new] Make prompt capitalization consistent
[#16747 ](https://github.com/pulumi/pulumi/pull/16747 )
- [auto/nodejs] Implement Stack.import() in automation API to specify
and import resources into a stack
[#16615 ](https://github.com/pulumi/pulumi/pull/16615 )
- [auto/python] Implement Stack.import_resources() for batch importing
resources into a stack
[#16668 ](https://github.com/pulumi/pulumi/pull/16668 )
- [sdk/python] Provide stricter types for config.get_XXX when a default
is provided
[#16768 ](https://github.com/pulumi/pulumi/pull/16768 )
- [sdkgen/python] Generate TypedDict input types by default
[#16704 ](https://github.com/pulumi/pulumi/pull/16704 )
### Bug Fixes
- [cli/state] Always show the fully qualified stack name when moving
resources
[#16767 ](https://github.com/pulumi/pulumi/pull/16767 )
- [cli/state] Fix calculation of the resources that are remaining in the
source stack
[#16774 ](https://github.com/pulumi/pulumi/pull/16774 )
- [cli/state] Fix the dependency information in the state move command
[#16765 ](https://github.com/pulumi/pulumi/pull/16765 )
- [cli/state] Improve how moving the root stack is handled in `pulumi
state move`
[#16779 ](https://github.com/pulumi/pulumi/pull/16779 )
- [sdk/nodejs] Detect possible OOM errors when nodejs crashes
[#16700 ](https://github.com/pulumi/pulumi/pull/16700 )
- [sdk/nodejs] Ensure no output is lost for nodejs commands when stdout
is slow
[#16700 ](https://github.com/pulumi/pulumi/pull/16700 )
2024-07-25 15:01:15 +00:00
Thomas Gummerer
5da1c4d728
Freeze 3.126.0 ( #16755 )
...
This should also include https://github.com/pulumi/pulumi/pull/16742 and
ideally https://github.com/pulumi/pulumi/pull/16737 .
Changelog for the already merged PRs:
## (2024-07-22)
### Features
- [cli] Add support for `DeletedWith` to `pulumi convert`
[#12011 ](https://github.com/pulumi/pulumi/pull/12011 )
- [cli] Allow specifying project names when converting with `pulumi
convert --name`
[#16708 ](https://github.com/pulumi/pulumi/pull/16708 )
- [sdk/python] Add support for invoke stack transforms
[#16701 ](https://github.com/pulumi/pulumi/pull/16701 )
### Bug Fixes
- [cli] Avoid duplicate error output in some cases
[#16706 ](https://github.com/pulumi/pulumi/pull/16706 )
- [cli] Avoid duplicate error: prefix with `--expect-no-changes`
[#16705 ](https://github.com/pulumi/pulumi/pull/16705 )
- [engine] Fix integrity issues in `up --continue-on-error` with changed
dependencies
[#16733 ](https://github.com/pulumi/pulumi/pull/16733 )
- [cli/state] Disallow provider moves in the `state move` command
[#16722 ](https://github.com/pulumi/pulumi/pull/16722 )
- [cli/state] Improve readability of the resources to be moved output of
the state move command
[#16723 ](https://github.com/pulumi/pulumi/pull/16723 )
- [cli/state] Reparent providers correctly in state move
[#16735 ](https://github.com/pulumi/pulumi/pull/16735 )
- [programgen/go] Fix emiting literal values as stack outputs
[#16728 ](https://github.com/pulumi/pulumi/pull/16728 )
- [sdk/go] Set Parameterize.Value in plugin.Provider
[#16726 ](https://github.com/pulumi/pulumi/pull/16726 )
- [sdk/python] Exclude `pulumi_policy` from plugin determination
[#16727 ](https://github.com/pulumi/pulumi/pull/16727 )
2024-07-23 02:40:42 +00:00
Thomas Gummerer
4e397f88b2
Prepare for 3.126.0 release ( #16740 )
...
The last release was only on Friday, but we merged 1 p1 fix, and a few
fixes for the `state move` command. There were also a few features
released in the meantime, so I think we should make the next release a
minor release.
In addition to the current changelog I'll add below, I think this
release should also include https://github.com/pulumi/pulumi/pull/16737 ,
https://github.com/pulumi/pulumi/pull/16722 , and ideally the fix for
https://github.com/pulumi/pulumi/issues/16724 .
## (2024-07-22)
### Features
- [cli] Add support for `DeletedWith` to `pulumi convert`
[#12011 ](https://github.com/pulumi/pulumi/pull/12011 )
- [cli] Allow specifying project names when converting with `pulumi
convert --name`
[#16708 ](https://github.com/pulumi/pulumi/pull/16708 )
- [sdk/python] Add support for invoke stack transforms
[#16701 ](https://github.com/pulumi/pulumi/pull/16701 )
### Bug Fixes
- [cli] Avoid duplicate error output in some cases
[#16706 ](https://github.com/pulumi/pulumi/pull/16706 )
- [cli] Avoid duplicate error: prefix with `--expect-no-changes`
[#16705 ](https://github.com/pulumi/pulumi/pull/16705 )
- [engine] Fix integrity issues in `up --continue-on-error` with changed
dependencies
[#16733 ](https://github.com/pulumi/pulumi/pull/16733 )
- [cli/state] Improve readability of the resources to be moved output of
the state move command
[#16723 ](https://github.com/pulumi/pulumi/pull/16723 )
- [cli/state] Reparent providers correctly in state move
[#16735 ](https://github.com/pulumi/pulumi/pull/16735 )
- [programgen/go] Fix emiting literal values as stack outputs
[#16728 ](https://github.com/pulumi/pulumi/pull/16728 )
- [sdk/go] Set Parameterize.Value in plugin.Provider
[#16726 ](https://github.com/pulumi/pulumi/pull/16726 )
2024-07-22 13:14:01 +00:00
Justin Van Patten
50a16e9a98
Freeze v3.125.0 ( #16695 )
...
Stacked on top of https://github.com/pulumi/pulumi/pull/16694
----
Will include https://github.com/pulumi/pulumi/pull/16691
Tentative changelog:
### Features
- [sdk/go] Add support for invoke stack transforms
[#16617 ](https://github.com/pulumi/pulumi/pull/16617 )
- [sdk/{go,nodejs,python}] Support `--remove` for `destroy` in the Go,
NodeJS and Python Automation API SDKs
[#16674 ](https://github.com/pulumi/pulumi/pull/16674 )
- [sdkgen/go] Default importBasePath to a pulumi github base path
[#16664 ](https://github.com/pulumi/pulumi/pull/16664 )
### Bug Fixes
- [cli/new] Fix incorrect caching of git auth method in error cases
[#16652 ](https://github.com/pulumi/pulumi/pull/16652 )
- [cli/state] Fix panic in state move when either the source or
destination stack are empty
[#16676 ](https://github.com/pulumi/pulumi/pull/16676 )
- [cli/state] Fix resources to be moved not being shown in `pulumi state
move`
[#16672 ](https://github.com/pulumi/pulumi/pull/16672 )
- [cli/state] Warn when an argument matches no URN in the source
snapshot and error out when no resources are being moved in `pulumi
state move`
[#16673 ](https://github.com/pulumi/pulumi/pull/16673 )
- [pkg/testing] Clean up PULUMI_HOME after program test
[#16663 ](https://github.com/pulumi/pulumi/pull/16663 )
- [sdk/nodejs] Fix lookup for pulumi run script when using Volta to
manage nodejs
[#16649 ](https://github.com/pulumi/pulumi/pull/16649 )
- [sdk/python] Fix YAML serialization of project settings in the Python
Automation API
[#16660 ](https://github.com/pulumi/pulumi/pull/16660 )
- [sdk/python] Use python names for dictionary literals when inside a
typed dictionary input
[#16658 ](https://github.com/pulumi/pulumi/pull/16658 )
- [sdk/python] Don't use indentation in converted pyproject.toml files
[#16678 ](https://github.com/pulumi/pulumi/pull/16678 )
- [sdk/python] Fix a RecursionError with deeply nested
ComponentResources
[#16669 ](https://github.com/pulumi/pulumi/pull/16669 )
2024-07-19 06:29:51 +00:00
Justin Van Patten
584ff1c2f0
Prepare for v3.125.0 release ( #16694 )
...
Will include https://github.com/pulumi/pulumi/pull/16691
Tentative changelog:
### Features
- [sdk/go] Add support for invoke stack transforms
[#16617 ](https://github.com/pulumi/pulumi/pull/16617 )
- [sdk/{go,nodejs,python}] Support `--remove` for `destroy` in the Go,
NodeJS and Python Automation API SDKs
[#16674 ](https://github.com/pulumi/pulumi/pull/16674 )
- [sdkgen/go] Default importBasePath to a pulumi github base path
[#16664 ](https://github.com/pulumi/pulumi/pull/16664 )
### Bug Fixes
- [cli/new] Fix incorrect caching of git auth method in error cases
[#16652 ](https://github.com/pulumi/pulumi/pull/16652 )
- [cli/state] Fix panic in state move when either the source or
destination stack are empty
[#16676 ](https://github.com/pulumi/pulumi/pull/16676 )
- [cli/state] Fix resources to be moved not being shown in `pulumi state
move`
[#16672 ](https://github.com/pulumi/pulumi/pull/16672 )
- [cli/state] Warn when an argument matches no URN in the source
snapshot and error out when no resources are being moved in `pulumi
state move`
[#16673 ](https://github.com/pulumi/pulumi/pull/16673 )
- [pkg/testing] Clean up PULUMI_HOME after program test
[#16663 ](https://github.com/pulumi/pulumi/pull/16663 )
- [sdk/nodejs] Fix lookup for pulumi run script when using Volta to
manage nodejs
[#16649 ](https://github.com/pulumi/pulumi/pull/16649 )
- [sdk/python] Fix YAML serialization of project settings in the Python
Automation API
[#16660 ](https://github.com/pulumi/pulumi/pull/16660 )
- [sdk/python] Use python names for dictionary literals when inside a
typed dictionary input
[#16658 ](https://github.com/pulumi/pulumi/pull/16658 )
- [sdk/python] Don't use indentation in converted pyproject.toml files
[#16678 ](https://github.com/pulumi/pulumi/pull/16678 )
- [sdk/python] Fix a RecursionError with deeply nested
ComponentResources
[#16669 ](https://github.com/pulumi/pulumi/pull/16669 )
2024-07-18 08:23:03 +00:00
Thomas Gummerer
cffba79f0b
Freeze 3.124.1 ( #16643 )
...
To be merged after https://github.com/pulumi/pulumi/pull/16642 and
https://github.com/pulumi/pulumi/pull/16639 are merged.
Also depends on https://github.com/pulumi/pulumi/pull/16640 being merged
first.
2024-07-12 11:12:34 +00:00
Thomas Gummerer
22a4258383
Prepare for 3.124.0 release ( #16640 )
...
We might want to get a new version with
https://github.com/pulumi/pulumi/pull/16639 included out soon. However
we already merged at least one change that warrants bumping the minor
version (https://github.com/pulumi/pulumi/pull/16630 ).
Bump the minor version so we can be quicker to decide whether we do want
to do a release.
2024-07-12 08:49:19 +00:00
Justin Van Patten
491cd86764
Freeze v3.123.0 ( #16608 )
...
Stacked PR on top of https://github.com/pulumi/pulumi/pull/16607
Tentative changelog:
### Features
- [docs] Add ability to constrain supported languages of resource and
function overlays
- [engine] Guess references to properties 'name' and 'arn' between
dependant resources during import
[#16234 ](https://github.com/pulumi/pulumi/pull/16234 )
- [sdk/nodejs] Add `dependsOn` to `InvokeOptions` in the NodeJS SDK
[#16560 ](https://github.com/pulumi/pulumi/pull/16560 )
### Bug Fixes
- [cli/new] Use default values for language specific prompts when using
--yes
[#16595 ](https://github.com/pulumi/pulumi/pull/16595 )
- [docs] Fix generating constructor syntax examples for kubernetes
[#16574 ](https://github.com/pulumi/pulumi/pull/16574 )
- [docs] Fix generating constructor syntax examples in Go for package
awsx
[#16583 ](https://github.com/pulumi/pulumi/pull/16583 )
- [backend/service] Retry POST requests that time out during handshake
timeouts
[#16576 ](https://github.com/pulumi/pulumi/pull/16576 )
- [engine] Avoid computing refresh `Diff`s for external resources
[#16544 ](https://github.com/pulumi/pulumi/pull/16544 )
- [engine] Fix program hanging when the import resource option is used
and the inputs don't match
[#16572 ](https://github.com/pulumi/pulumi/pull/16572 )
- [programgen/go] Do not emit index module for resources without a
schema
[#16588 ](https://github.com/pulumi/pulumi/pull/16588 )
- [sdk/go] Fix out-of-range panic when sanitizing PATH env var
[#16575 ](https://github.com/pulumi/pulumi/pull/16575 )
- [sdk/nodejs] Fix creating a closure with object getters and setters
[#16568 ](https://github.com/pulumi/pulumi/pull/16568 )
- [programgen/python] Fix Python program generation for remote assets
[#16556 ](https://github.com/pulumi/pulumi/pull/16556 )
### Miscellaneous
- [sdk/nodejs] Bump `@opentelemetry` packages in the NodeJS SDK
[#16558 ](https://github.com/pulumi/pulumi/pull/16558 )
2024-07-10 21:04:14 +00:00
Justin Van Patten
c0ecc09ae4
Prepare for v3.123.0 release ( #16607 )
...
Tentative changelog:
### Features
- [docs] Add ability to constrain supported languages of resource and
function overlays
- [engine] Guess references to properties 'name' and 'arn' between
dependant resources during import
[#16234 ](https://github.com/pulumi/pulumi/pull/16234 )
- [sdk/nodejs] Add `dependsOn` to `InvokeOptions` in the NodeJS SDK
[#16560 ](https://github.com/pulumi/pulumi/pull/16560 )
### Bug Fixes
- [cli/new] Use default values for language specific prompts when using
--yes
[#16595 ](https://github.com/pulumi/pulumi/pull/16595 )
- [docs] Fix generating constructor syntax examples for kubernetes
[#16574 ](https://github.com/pulumi/pulumi/pull/16574 )
- [docs] Fix generating constructor syntax examples in Go for package
awsx
[#16583 ](https://github.com/pulumi/pulumi/pull/16583 )
- [backend/service] Retry POST requests that time out during handshake
timeouts
[#16576 ](https://github.com/pulumi/pulumi/pull/16576 )
- [engine] Avoid computing refresh `Diff`s for external resources
[#16544 ](https://github.com/pulumi/pulumi/pull/16544 )
- [engine] Fix program hanging when the import resource option is used
and the inputs don't match
[#16572 ](https://github.com/pulumi/pulumi/pull/16572 )
- [programgen/go] Do not emit index module for resources without a
schema
[#16588 ](https://github.com/pulumi/pulumi/pull/16588 )
- [sdk/go] Fix out-of-range panic when sanitizing PATH env var
[#16575 ](https://github.com/pulumi/pulumi/pull/16575 )
- [sdk/nodejs] Fix creating a closure with object getters and setters
[#16568 ](https://github.com/pulumi/pulumi/pull/16568 )
- [programgen/python] Fix Python program generation for remote assets
[#16556 ](https://github.com/pulumi/pulumi/pull/16556 )
### Miscellaneous
- [sdk/nodejs] Bump `@opentelemetry` packages in the NodeJS SDK
[#16558 ](https://github.com/pulumi/pulumi/pull/16558 )
2024-07-10 08:10:11 +00:00
Justin Van Patten
730a072a50
Freeze v3.122.0 ( #16547 )
...
Tentative changelog:
### Features
- [cli] Set the --continue-on-error flag with PULUMI_CONTINUE_ON_ERROR
environment variable
[#16442 ](https://github.com/pulumi/pulumi/pull/16442 )
- [sdk/nodejs] Parallelize Construct and Call calls in the Node.js SDK
[#16428 ](https://github.com/pulumi/pulumi/pull/16428 )
- [sdk/python] Support `--exclude-protected` for `destroy` in the Python
automation SDK
[#16457 ](https://github.com/pulumi/pulumi/pull/16457 )
### Bug Fixes
- [auto] Protect access to transport.UnsupportedCapabilities inside
repo.FetchContext
[#16517 ](https://github.com/pulumi/pulumi/pull/16517 )
- [cli] Disable default Cobra completions in the CLI
- [engine] Fix an issue with asset archives not working with paths
outside the working directory.
[#16455 ](https://github.com/pulumi/pulumi/pull/16455 )
- [engine] Don't re-delete resources that are marked as
`pendingReplacement`
[#16510 ](https://github.com/pulumi/pulumi/pull/16510 )
- [cli/display] Print a fully qualified stack name on `pulumi stack
--show-name --fully-qualify-stack-names`
[#16453 ](https://github.com/pulumi/pulumi/pull/16453 )
- [cli/display] Display `[retain]` in all cases of delete retention
[#16506 ](https://github.com/pulumi/pulumi/pull/16506 )
- [sdkgen/dotnet] Bump the default version range for the referenced
Pulumi package to a version that supports Config.GetDouble
[#16483 ](https://github.com/pulumi/pulumi/pull/16483 )
- [cli/new] Add not-found markers to missing executables for
packagemanagers
[#16488 ](https://github.com/pulumi/pulumi/pull/16488 )
- [sdk/go] Fix concurrent map write when registering transform callbacks
[#16444 ](https://github.com/pulumi/pulumi/pull/16444 )
- [sdk/nodejs] Fix race condition when registering stack transforms
[#16443 ](https://github.com/pulumi/pulumi/pull/16443 )
- [sdk/nodejs] Fix Construct and Call calls in the Node.js SDK sharing
state
[#16487 ](https://github.com/pulumi/pulumi/pull/16487 )
- [sdk/nodejs] Fix non-blocking stdout/err with nodejs
[#16504 ](https://github.com/pulumi/pulumi/pull/16504 )
- [sdk/{nodejs,python}] Display an actionable error message when
dependency installation fails
[#16489 ](https://github.com/pulumi/pulumi/pull/16489 )
- [sdk/python] Wait for pending tasks before shutting down python
programs.
[#16505 ](https://github.com/pulumi/pulumi/pull/16505 )
- [sdk/python] Provide installation instructions for the python
typechecker
### Miscellaneous
- [sdk/nodejs] Migrate from Rome to Biome
[#16456 ](https://github.com/pulumi/pulumi/pull/16456 )
2024-07-02 00:20:23 +00:00
Justin Van Patten
bbadaae257
Prepare for v3.122.0 release ( #16535 )
...
Aiming to release early next week.
2024-06-29 11:09:49 +00:00
Justin Van Patten
12ee8f259d
Freeze v3.121.0 ( #16447 )
...
Waiting on https://github.com/pulumi/pulumi/pull/16441 , but there are
also a few other fixes in the queue that I'll opportunistically wait on
as well.
Tentative changelog:
### Features
- [engine] Resolve provider in the engine before passing it to
transforms
[#16409 ](https://github.com/pulumi/pulumi/pull/16409 )
- [sdk/go] Suggest valid attributes with similar names to unrecognised
ones when validating project definitions
[#16097 ](https://github.com/pulumi/pulumi/pull/16097 )
- [cli/new] Allow passing runtime options as args in pulumi new
[#16346 ](https://github.com/pulumi/pulumi/pull/16346 )
- [cli/new] Query language runtime for options during “pulumi new”
[#16346 ](https://github.com/pulumi/pulumi/pull/16346 )
- [cli/new] Add packagemanager prompt to pulumi new for nodejs
[#16417 ](https://github.com/pulumi/pulumi/pull/16417 )
- [sdk/nodejs] Detect pnpm workspaces when running pulumi install
[#15525 ](https://github.com/pulumi/pulumi/pull/15525 )
- [sdk/nodejs] Add options to Workspace::removeStack()
[#16333 ](https://github.com/pulumi/pulumi/pull/16333 )
- [sdk/python] Automatically convert requirements.txt to pyproject.toml
when using Poetry
[#16346 ](https://github.com/pulumi/pulumi/pull/16346 )
- [sdkgen/python] Generate TypedDict types for inputs
[#15957 ](https://github.com/pulumi/pulumi/pull/15957 )
### Bug Fixes
- [engine] Fix a panic when ignoring wildcard values with arrays of
different length
[#16406 ](https://github.com/pulumi/pulumi/pull/16406 )
- [cli/engine] Fix --continue-on-error running indefinitely when a
resource fails to be created or updated
[#16371 ](https://github.com/pulumi/pulumi/pull/16371 )
- [sdk/nodejs] Avoid an unhandled error when `dependencies` is missing
from `package.json` during closure serialization
[#16433 ](https://github.com/pulumi/pulumi/pull/16433 )
- [cli/plugin] Fix plugin install command when plugin type is tool
[#16407 ](https://github.com/pulumi/pulumi/pull/16407 )
- [sdk/python] Fix Python SDK docs by escaping the trailing underscore
in a docstring
[#14866 ](https://github.com/pulumi/pulumi/pull/14866 )
- [sdk/python] Don't incorrectly emit deprecation warnings for
non-deprecated properties
[#16400 ](https://github.com/pulumi/pulumi/pull/16400 )
- [sdk/python] Handle extra CLI arguments passed policy packs plugins
[#16402 ](https://github.com/pulumi/pulumi/pull/16402 )
- [sdk/python] Add VIRTUAL_ENV environment variable when running inside
a virtual environment
[#16425 ](https://github.com/pulumi/pulumi/pull/16425 )
- [sdk/python] Don't lift dunder attributes on `Output`s
### Miscellaneous
- [sdk/{go,nodejs,python}] Add register resource transform alias for
register stack transform
- [cli/new] Instruct the user to use 'pulumi install' when using
--generate-only
[#16411 ](https://github.com/pulumi/pulumi/pull/16411 )
2024-06-22 01:03:59 +00:00
Justin Van Patten
006a95f867
Prepare for v3.121.0 release ( #16430 )
...
Tentative changelog:
### Features
- [sdk/go] Suggest valid attributes with similar names to unrecognised
ones when validating project definitions
[#16097 ](https://github.com/pulumi/pulumi/pull/16097 )
- [cli/new] Allow passing runtime options as args in pulumi new
[#16346 ](https://github.com/pulumi/pulumi/pull/16346 )
- [cli/new] Query language runtime for options during “pulumi new”
[#16346 ](https://github.com/pulumi/pulumi/pull/16346 )
- [sdk/nodejs] Detect pnpm workspaces when running pulumi install
[#15525 ](https://github.com/pulumi/pulumi/pull/15525 )
- [sdk/nodejs] Add options to Workspace::removeStack()
[#16333 ](https://github.com/pulumi/pulumi/pull/16333 )
- [sdk/python] Automatically convert requirements.txt to pyproject.toml
when using Poetry
[#16346 ](https://github.com/pulumi/pulumi/pull/16346 )
- [sdkgen/python] Generate TypedDict types for inputs
[#15957 ](https://github.com/pulumi/pulumi/pull/15957 )
### Bug Fixes
- [engine] Fix a panic when ignoring wildcard values with arrays of
different length
[#16406 ](https://github.com/pulumi/pulumi/pull/16406 )
- [cli/engine] Fix --continue-on-error running indefinitely when a
resource fails to be created or updated
[#16371 ](https://github.com/pulumi/pulumi/pull/16371 )
- [cli/plugin] Fix plugin install command when plugin type is tool
[#16407 ](https://github.com/pulumi/pulumi/pull/16407 )
- [sdk/python] Don't incorrectly emit deprecation warnings for
non-deprecated properties
[#16400 ](https://github.com/pulumi/pulumi/pull/16400 )
- [sdk/python] Handle extra CLI arguments passed policy packs plugins
[#16402 ](https://github.com/pulumi/pulumi/pull/16402 )
- [sdk/python] Add VIRTUAL_ENV environment variable when running inside
a virtual environment
### Miscellaneous
- [cli/new] Instruct the user to use 'pulumi install' when using
--generate-only
2024-06-21 14:47:57 +00:00
Thomas Gummerer
befb2490fb
Freeze 3.120.0 ( #16380 )
...
To be merged after https://github.com/pulumi/pulumi/pull/16146 lands.
Tentative changelog:
## (2024-06-12)
### Features
- [components/dotnet] Upgrade dotnet to 3.64.0
[#16353 ](https://github.com/pulumi/pulumi/pull/16353 )
- [cli/import] Add flag --json to pulumi import which would serialize
the import diffs, operations, and overall output as JSON
[#16342 ](https://github.com/pulumi/pulumi/pull/16342 )
- [protobuf] Pass ProgramInfo to LanguageRuntime.About
[#16311 ](https://github.com/pulumi/pulumi/pull/16311 )
- [sdk/python] Support Poetry as Python toolchain
[#16315 ](https://github.com/pulumi/pulumi/pull/16315 )
- [sdk/python] Autoinstall dependencies using Poetry in
GetRequiredPlugins
[#16315 ](https://github.com/pulumi/pulumi/pull/16315 )
### Bug Fixes
- [cli/{config,new}] Fix non-interactive flag for 'new' and 'config env'
commands"
[#16338 ](https://github.com/pulumi/pulumi/pull/16338 )
- [programgen/go] Fix union type resolution in Go program generation
[#16297 ](https://github.com/pulumi/pulumi/pull/16297 )
- [sdk/nodejs] Only look for main in package.json if no entyrpoint was
set via Pulumi.yaml
[#16363 ](https://github.com/pulumi/pulumi/pull/16363 )
### Miscellaneous
- [pkg] Refactor plugin.Provider to a `Method(context.Context,
MethodRequest) (MethodResponse, error)` style interface.
[#16302 ](https://github.com/pulumi/pulumi/pull/16302 )
- [programgen/nodejs] Sort dependencies in GenerateProject
[#16341 ](https://github.com/pulumi/pulumi/pull/16341 )
2024-06-13 08:06:09 +00:00
Thomas Gummerer
29f783d956
Prepare for pulumi 3.120.0 release ( #16376 )
...
It's Wednesday! :shipit:
Tentative changelog:
## (2024-06-12)
### Features
- [cli/import] Add flag --json to pulumi import which would serialize
the import diffs, operations, and overall output as JSON
[#16342 ](https://github.com/pulumi/pulumi/pull/16342 )
- [protobuf] Pass ProgramInfo to LanguageRuntime.About
[#16311 ](https://github.com/pulumi/pulumi/pull/16311 )
- [sdk/python] Support Poetry as Python toolchain
[#16315 ](https://github.com/pulumi/pulumi/pull/16315 )
- [sdk/python] Autoinstall dependencies using Poetry in
GetRequiredPlugins
[#16315 ](https://github.com/pulumi/pulumi/pull/16315 )
### Bug Fixes
- [cli/{config,new}] Fix non-interactive flag for 'new' and 'config env'
commands"
[#16338 ](https://github.com/pulumi/pulumi/pull/16338 )
- [programgen/go] Fix union type resolution in Go program generation
[#16297 ](https://github.com/pulumi/pulumi/pull/16297 )
### Miscellaneous
- [pkg] Refactor plugin.Provider to a `Method(context.Context,
MethodRequest) (MethodResponse, error)` style interface.
[#16302 ](https://github.com/pulumi/pulumi/pull/16302 )
- [programgen/nodejs] Sort dependencies in GenerateProject
[#16341 ](https://github.com/pulumi/pulumi/pull/16341 )
2024-06-12 09:09:43 +00:00
Justin Van Patten
d2435e2992
Freeze v3.119.0 ( #16324 )
...
To be merged after https://github.com/pulumi/pulumi/pull/16322 and
https://github.com/pulumi/pulumi/pull/16323
Tentative changelog:
### Features
- [auto/{go,nodejs,python}] Add support for `--all` parameter of the
`stack ls` command to the Automation API
[#16266 ](https://github.com/pulumi/pulumi/pull/16266 )
### Bug Fixes
- [cli/new] Populate pulumi:template tag also for interactively selected
templates
[#16308 ](https://github.com/pulumi/pulumi/pull/16308 )
- [backend/service] Improve error reporting when policy pack download
fails
[#16306 ](https://github.com/pulumi/pulumi/pull/16306 )
### Miscellaneous
- [sdk/python] Move dependency installation and python command
invocation to Toolchain interface
[#16243 ](https://github.com/pulumi/pulumi/pull/16243 )
2024-06-05 12:59:52 +00:00
Justin Van Patten
f598962268
Prepare for v3.119.0 release ( #16323 )
...
Planning to include https://github.com/pulumi/pulumi/pull/16322 .
Other than that, tentative changelog:
### Features
- [auto/{go,nodejs,python}] Add support for `--all` parameter of the
`stack ls` command to the Automation API
[#16266 ](https://github.com/pulumi/pulumi/pull/16266 )
### Bug Fixes
- [cli/new] Populate pulumi:template tag also for interactively selected
templates
[#16308 ](https://github.com/pulumi/pulumi/pull/16308 )
- [backend/service] Improve error reporting when policy pack download
fails
[#16306 ](https://github.com/pulumi/pulumi/pull/16306 )
### Miscellaneous
- [sdk/python] Move dependency installation and python command
invocation to Toolchain interface
[#16243 ](https://github.com/pulumi/pulumi/pull/16243 )
2024-06-05 11:54:52 +00:00
Justin Van Patten
1aee7c20af
Freeze v3.118.0 ( #16296 )
...
Planning to include https://github.com/pulumi/pulumi/pull/16293
Otherwise, tentative changelog:
### Features
- [sdk] Improve plugin parameterize interface
[#16283 ](https://github.com/pulumi/pulumi/pull/16283 )
- [sdk/{go,nodejs,python}] Make stack transforms a stable,
non-experimental feature
[#16282 ](https://github.com/pulumi/pulumi/pull/16282 )
- [programgen/go] Implement importPathPattern in Go language options to
override emitted paths in generated Go programs
[#16267 ](https://github.com/pulumi/pulumi/pull/16267 )
### Bug Fixes
- [engine] Fix panic with --continue-on-error on delete after failed
create
[#16261 ](https://github.com/pulumi/pulumi/pull/16261 )
2024-05-31 16:47:45 +00:00
Justin Van Patten
d919543096
Prepare for v3.118.0 release ( #16284 )
...
Going ahead and getting this prepared.
At a minimum, want to include:
- https://github.com/pulumi/pulumi/pull/16261
- https://github.com/pulumi/pulumi/pull/16282
2024-05-30 19:28:53 +00:00
Justin Van Patten
afbd3ea6e1
Freeze v3.117.0 ( #16263 )
...
To be merged after:
- https://github.com/pulumi/pulumi/pull/16261
- https://github.com/pulumi/pulumi-docker-containers/pull/195
Tentative changelog...
### Features
- [engine] Guess ID references of dependant resources when generating
code for import operations
[#16208 ](https://github.com/pulumi/pulumi/pull/16208 )
### Bug Fixes
- [engine] Check property dependencies and deleted-with relationships
for target dependents
[#16220 ](https://github.com/pulumi/pulumi/pull/16220 )
- [engine] Propagate dependencies of untargeted resources correctly
during targeted updates
[#16247 ](https://github.com/pulumi/pulumi/pull/16247 )
- [backend/diy] Rewrite DeletedWith references when renaming stacks
[#16216 ](https://github.com/pulumi/pulumi/pull/16216 )
- [cli/state] Fix state renames involving DeletedWith
- [sdk/python] Use a separate type variable for static methods on Output
[#16172 ](https://github.com/pulumi/pulumi/pull/16172 )
- [sdk/python] Relax Output.all types to better match the implementation
[#16172 ](https://github.com/pulumi/pulumi/pull/16172 )
- [sdkgen/python] Generate __init__.py files for modules that only
contain enumerations
[#16229 ](https://github.com/pulumi/pulumi/pull/16229 )
2024-05-24 21:16:00 +00:00
Justin Van Patten
7dd97b97a2
Prepare for v3.117.0 release ( #16256 )
...
Tentative changelog:
### Features
- [engine] Guess ID references of dependant resources when generating
code for import operations
[#16208 ](https://github.com/pulumi/pulumi/pull/16208 )
### Bug Fixes
- [engine] Check property dependencies and deleted-with relationships
for target dependents
[#16220 ](https://github.com/pulumi/pulumi/pull/16220 )
- [engine] Propagate dependencies of untargeted resources correctly
during targeted updates
[#16247 ](https://github.com/pulumi/pulumi/pull/16247 )
- [backend/diy] Rewrite DeletedWith references when renaming stacks
[#16216 ](https://github.com/pulumi/pulumi/pull/16216 )
- [sdk/python] Use a separate type variable for static methods on Output
[#16172 ](https://github.com/pulumi/pulumi/pull/16172 )
- [sdk/python] Relax Output.all types to better match the implementation
[#16172 ](https://github.com/pulumi/pulumi/pull/16172 )
- [sdkgen/python] Generate __init__.py files for modules that only
contain enumerations
[#16229 ](https://github.com/pulumi/pulumi/pull/16229 )
2024-05-24 15:29:40 +00:00
Justin Van Patten
58a80095a7
Freeze v3.116.1 ( #16196 )
...
### Features
- [docs] Resource docs: bump the number of displayed supporting types
from 200 to 1000 by default
[#16185 ](https://github.com/pulumi/pulumi/pull/16185 )
- [sdk/go] Prefer pluginDownloadURLOverrides over PluginDownloadURL
specified in the package
[#16186 ](https://github.com/pulumi/pulumi/pull/16186 )
### Bug Fixes
- [engine] Fix panic when using `pulumi up --refresh
--continue-on-error`
[#16184 ](https://github.com/pulumi/pulumi/pull/16184 )
2024-05-15 07:20:27 +00:00
Justin Van Patten
48191af2b4
Freeze v3.116.0 ( #16176 )
...
Tentative changelog:
### Bug Fixes
- [engine] Fix dataraces between snapshot and deployment systems.
[#16148 ](https://github.com/pulumi/pulumi/pull/16148 )
- [cli/display] Fix mangled diffs of strings containing url-encoded
chars
[#16147 ](https://github.com/pulumi/pulumi/pull/16147 )
- [sdk/nodejs] Don't load punycode module in function serialization code
[#16149 ](https://github.com/pulumi/pulumi/pull/16149 )
- [sdk/nodejs] Return error in RPC response instead of exiting in the
language runtime
[#16162 ](https://github.com/pulumi/pulumi/pull/16162 )
- [sdk/nodejs] Return the underlying error if we can't locate the pulumi
SDK
[#16160 ](https://github.com/pulumi/pulumi/pull/16160 )
- [sdk/python] Provide more descriptive exception
[#16098 ](https://github.com/pulumi/pulumi/pull/16098 )
- [sdk/python] Fix typings for `from_input` and `all` to not return
`Never` types.
[#16139 ](https://github.com/pulumi/pulumi/pull/16139 )
- [sdk/python] Fix a race condition in output handling
[#16155 ](https://github.com/pulumi/pulumi/pull/16155 )
### Miscellaneous
- [pkg] Upgrade pulumi-java to v0.11.0
2024-05-13 05:38:32 +00:00
Justin Van Patten
2d63e0aefd
Prepare for v3.116.0 release ( #16158 )
...
Tentative changelog:
### Bug Fixes
- [engine] Fix dataraces between snapshot and deployment systems.
[#16148 ](https://github.com/pulumi/pulumi/pull/16148 )
- [cli/display] Fix mangled diffs of strings containing url-encoded
chars
[#16147 ](https://github.com/pulumi/pulumi/pull/16147 )
- [sdk/nodejs] Don't load punycode module in function serialization code
[#16149 ](https://github.com/pulumi/pulumi/pull/16149 )
- [sdk/python] Fix typings for `from_input` and `all` to not return
`Never` types.
[#16139 ](https://github.com/pulumi/pulumi/pull/16139 )
- [sdk/python] Fix a race condition in output handling
[#16155 ](https://github.com/pulumi/pulumi/pull/16155 )
2024-05-10 20:33:01 +00:00
Justin Van Patten
b76cd1f69b
Freeze v3.115.2 ( #16130 )
...
To be merged after https://github.com/pulumi/pulumi/pull/16129 and
https://github.com/pulumi/pulumi/pull/16131
2024-05-06 18:16:19 +00:00
Justin Van Patten
4dbdf54723
Freeze v3.115.1 ( #16121 )
...
To be merged after https://github.com/pulumi/pulumi/pull/16119 merges.
Tentative changelog:
- [backend] Fix concurrent reads from and writes to display resource
timer maps
[#16101 ](https://github.com/pulumi/pulumi/pull/16101 )
- [engine] Better handle property dependencies and deleted-with
relationships when pruning URNs, verifying snapshot integrity and
computing dependency graphs.
[#16088 ](https://github.com/pulumi/pulumi/pull/16088 )
- [programgen/python] Sort generated requirements.txt files when
generating Python programs
[#16115 ](https://github.com/pulumi/pulumi/pull/16115 )
2024-05-06 08:49:15 +00:00
Justin Van Patten
79666791d1
Freeze v3.115.0 ( #16107 )
...
To be merged after https://github.com/pulumi/pulumi/pull/16106 lands
(I'll have to change the base).
2024-05-02 23:56:10 +00:00
Fraser Waters
a80ef4fc16
ci: Bump version to 1.115 ( #16106 )
2024-05-02 20:47:56 +00:00
Justin Van Patten
88e5625503
Freeze v3.114.0 ( #16062 )
...
Will wait to merge this until after
https://github.com/pulumi/pulumi/pull/16057 merges
### Features
- [auto/{go,nodejs,python}] Add support for the continue-on-error
parameter of the up command to the Automation API
[#15953 ](https://github.com/pulumi/pulumi/pull/15953 )
- [engine] Add a --continue-on-error flag to pulumi up
[#15740 ](https://github.com/pulumi/pulumi/pull/15740 )
### Bug Fixes
- [sdk/nodejs] Fix a race condition that could cause the NodeJS runtime
to terminate before finishing all work
[#16005 ](https://github.com/pulumi/pulumi/pull/16005 )
- [sdk/python] Fix an exception when setting providers resource option
with a dict
[#16022 ](https://github.com/pulumi/pulumi/pull/16022 )
- [sdk/python] Fix event loop tracking in the python SDK when using
remote transforms
[#16039 ](https://github.com/pulumi/pulumi/pull/16039 )
- [sdk/python] Workaround lazy module loading regression
[#16038 ](https://github.com/pulumi/pulumi/pull/16038 )
### Miscellaneous
- [cli/plugin] Move PluginKind type definition into apitype and
re-export for backward compatibility
[#15946 ](https://github.com/pulumi/pulumi/pull/15946 )
2024-04-26 21:14:13 +00:00
Justin Van Patten
07b6e21807
Prepare for v3.114.0 release ( #16061 )
...
Tentative changelog, but also planning to include
https://github.com/pulumi/pulumi/pull/16057
### Features
- [auto/{go,nodejs,python}] Add support for the continue-on-error
parameter of the up command to the Automation API
[#15953 ](https://github.com/pulumi/pulumi/pull/15953 )
- [engine] Add a --continue-on-error flag to pulumi up
[#15740 ](https://github.com/pulumi/pulumi/pull/15740 )
### Bug Fixes
- [sdk/nodejs] Fix a race condition that could cause the NodeJS runtime
to terminate before finishing all work
[#16005 ](https://github.com/pulumi/pulumi/pull/16005 )
- [sdk/python] Fix an exception when setting providers resource option
with a dict
[#16022 ](https://github.com/pulumi/pulumi/pull/16022 )
- [sdk/python] Fix event loop tracking in the python SDK when using
remote transforms
[#16039 ](https://github.com/pulumi/pulumi/pull/16039 )
- [sdk/python] Workaround lazy module loading regression
[#16038 ](https://github.com/pulumi/pulumi/pull/16038 )
### Miscellaneous
- [cli/plugin] Move PluginKind type definition into apitype and
re-export for backward compatibility
2024-04-25 21:09:28 +00:00
Justin Van Patten
c09d92a21a
Freeze v3.113.3 ( #16001 )
...
Will merge and release after https://github.com/pulumi/pulumi/pull/15998
is merged.
2024-04-19 17:38:57 +00:00
Justin Van Patten
4a88a7ce9f
Freeze v3.113.2 ( #15983 )
...
To be merged after https://github.com/pulumi/pulumi/pull/15976 .
2024-04-18 23:15:49 +00:00
Thomas Gummerer
cfd3784782
Freeze 3.113.1 ( #15978 )
...
This should be merged after https://github.com/pulumi/pulumi/pull/15974 .
I'm not including the tentative changelog there as the most important
item on the list isn't merged yet (and go-change isn't cooperating with
me trying to get that included manually).
2024-04-18 09:25:49 +00:00
Justin Van Patten
6210fe97f8
Freeze v3.113.0 ( #15928 )
...
### Features
- [auto/{go,nodejs,python}] Add support for continue-on-error parameter
of the destroy command to the Automation API
[#15921 ](https://github.com/pulumi/pulumi/pull/15921 )
- [cli] Support always fully qualifying stack names in CLI output
[#15857 ](https://github.com/pulumi/pulumi/pull/15857 )
- [cli] Add --no-plugins and --no-dependencies to `pulumi install`
[#15910 ](https://github.com/pulumi/pulumi/pull/15910 )
- [docs] Implement Java constructor syntax examples
[#15805 ](https://github.com/pulumi/pulumi/pull/15805 )
- [sdk/nodejs] Make TypeScript and ts-node optional peer dependencies to
allow using user specified versions
[#15622 ](https://github.com/pulumi/pulumi/pull/15622 )
- [sdk/{nodejs,python}] Allow apply to have unknown values during
updates
[#15898 ](https://github.com/pulumi/pulumi/pull/15898 )
- [sdk/python] Add 'typeChecker' runtime option to the Python language
host
[#15922 ](https://github.com/pulumi/pulumi/pull/15922 )
[#15725 ](https://github.com/pulumi/pulumi/pull/15725 )
### Bug Fixes
- [auto] Tolerate missing stack and bookkeeping files in ProgramTest
[#15922 ](https://github.com/pulumi/pulumi/pull/15922 )
[#15863 ](https://github.com/pulumi/pulumi/pull/15863 )
- [cli] Fix a panic when user's home directory could not be looked up
[#15872 ](https://github.com/pulumi/pulumi/pull/15872 )
- [cli] Fix some commands that didn't respect
`--disable-integrity-checking`
[#15911 ](https://github.com/pulumi/pulumi/pull/15911 )
- [programgen/dotnet] Remove trailing whitespace from emitted DependsOn
resource option expressions
[#15922 ](https://github.com/pulumi/pulumi/pull/15922 )
[#15892 ](https://github.com/pulumi/pulumi/pull/15892 )
- [auto/go] Avoid flakyness when reading the event log from pulumi
commands
[#15856 ](https://github.com/pulumi/pulumi/pull/15856 )
- [sdk/go] Fix Provider and Providers options in Go transform functions
[#15885 ](https://github.com/pulumi/pulumi/pull/15885 )
- [sdk/nodejs] Handle serialization of aliases for well known native
functions
[#15873 ](https://github.com/pulumi/pulumi/pull/15873 )
- [sdk/nodejs] Correctly serialise functions whose code would make use
of reserved identifiers
[#15879 ](https://github.com/pulumi/pulumi/pull/15879 )
- [sdk/nodejs] Serialize function values obtained from Function.bind
[#15887 ](https://github.com/pulumi/pulumi/pull/15887 )
- [sdk/python] Improve types of getters in Python SDK
[#15865 ](https://github.com/pulumi/pulumi/pull/15865 )
- [sdkgen/{dotnet,go}] Fix SDK-generation when referencing shared types
in config variables
[#15772 ](https://github.com/pulumi/pulumi/pull/15772 )
[#15922 ](https://github.com/pulumi/pulumi/pull/15922 )
### Miscellaneous
- [sdk/nodejs] Update builtin module list for function serialization
[#15830 ](https://github.com/pulumi/pulumi/pull/15830 )
- [sdk/nodejs] Set package.json engines to node >= 18
[#15845 ](https://github.com/pulumi/pulumi/pull/15845 )
2024-04-15 16:41:08 +00:00
Justin Van Patten
ea4fdcad58
Revert "Freeze v3.113.0 ( #15920 )" ( #15925 )
...
This reverts commit 8ff72bf9fa
.
We want to get in https://github.com/pulumi/pulumi/pull/15923 before
publishing the release.
2024-04-12 18:37:22 +00:00
Justin Van Patten
8ff72bf9fa
Freeze v3.113.0 ( #15920 )
...
### Features
- [cli] Support always fully qualifying stack names in CLI output
[#15857 ](https://github.com/pulumi/pulumi/pull/15857 )
- [cli] Add --no-plugins and --no-dependencies to `pulumi install`
[#15910 ](https://github.com/pulumi/pulumi/pull/15910 )
- [docs] Implement Java constructor syntax examples
[#15805 ](https://github.com/pulumi/pulumi/pull/15805 )
- [sdk/nodejs] Make TypeScript and ts-node optional peer dependencies to
allow using user specified versions
[#15622 ](https://github.com/pulumi/pulumi/pull/15622 )
- [sdk/{nodejs,python}] Allow apply to have unknown values during
updates
[#15898 ](https://github.com/pulumi/pulumi/pull/15898 )
- [sdk/python] Adds 'typeChecker' runtime option to the Python language
host
[#15725 ](https://github.com/pulumi/pulumi/pull/15725 )
### Bug Fixes
- [auto] Tolerate missing stack and bookkeeping files in ProgramTest.
[#15863 ](https://github.com/pulumi/pulumi/pull/15863 )
- [cli] Fix a panic when user's home directory could not be looked up
[#15872 ](https://github.com/pulumi/pulumi/pull/15872 )
- [cli] Fix some commands that didn't respect
`--disable-integrity-checking`
[#15911 ](https://github.com/pulumi/pulumi/pull/15911 )
- [programgen/dotnet] Removes trailing whitespace from emitted DependsOn
resource option expressions
[#15892 ](https://github.com/pulumi/pulumi/pull/15892 )
- [auto/go] Avoid flakyness when reading the event log from pulumi
commands
[#15856 ](https://github.com/pulumi/pulumi/pull/15856 )
- [sdk/go] Fix Provider and Providers options in Go transform functions
[#15885 ](https://github.com/pulumi/pulumi/pull/15885 )
- [sdk/nodejs] Handle serialization of aliases for well known native
functions
[#15873 ](https://github.com/pulumi/pulumi/pull/15873 )
- [sdk/nodejs] Correctly serialise functions whose code would make use
of reserved identifiers
[#15879 ](https://github.com/pulumi/pulumi/pull/15879 )
- [sdk/nodejs] Serialize function values obtained from Function.bind
[#15887 ](https://github.com/pulumi/pulumi/pull/15887 )
- [sdk/python] Improve types of getters in Python SDK
[#15865 ](https://github.com/pulumi/pulumi/pull/15865 )
- [sdkgen/{dotnet,go}] Fixes SDK-generation when referencing shared
types in config variables
[#15772 ](https://github.com/pulumi/pulumi/pull/15772 )
### Miscellaneous
- [sdk/nodejs] Update builtin module list for function serialization
[#15830 ](https://github.com/pulumi/pulumi/pull/15830 )
- [sdk/nodejs] Set package.json engines to node >= 18
[#15845 ](https://github.com/pulumi/pulumi/pull/15845 )
2024-04-12 16:21:27 +00:00
Justin Van Patten
c70d4e4e95
Prepare for v3.113.0 release ( #15915 )
...
Tentative changelog:
### Features
- [cli] Support always fully qualifying stack names in CLI output
[#15857 ](https://github.com/pulumi/pulumi/pull/15857 )
- [cli] Add --no-plugins and --no-dependencies to `pulumi install`
[#15910 ](https://github.com/pulumi/pulumi/pull/15910 )
- [docs] Implement Java constructor syntax examples
[#15805 ](https://github.com/pulumi/pulumi/pull/15805 )
- [sdk/nodejs] Make TypeScript and ts-node optional peer dependencies to
allow using user specified versions
[#15622 ](https://github.com/pulumi/pulumi/pull/15622 )
- [sdk/{nodejs,python}] Allow apply to have unknown values during
updates
[#15898 ](https://github.com/pulumi/pulumi/pull/15898 )
- [sdk/python] Adds 'typeChecker' runtime option to the Python language
host
[#15725 ](https://github.com/pulumi/pulumi/pull/15725 )
### Bug Fixes
- [auto] Tolerate missing stack and bookkeeping files in ProgramTest.
[#15863 ](https://github.com/pulumi/pulumi/pull/15863 )
- [cli] Fix a panic when user's home directory could not be looked up
[#15872 ](https://github.com/pulumi/pulumi/pull/15872 )
- [cli] Fix some commands that didn't respect
`--disable-integrity-checking`
- [programgen/dotnet] Removes trailing whitespace from emitted DependsOn
resource option expressions
[#15892 ](https://github.com/pulumi/pulumi/pull/15892 )
- [auto/go] Avoid flakyness when reading the event log from pulumi
commands
[#15856 ](https://github.com/pulumi/pulumi/pull/15856 )
- [sdk/go] Fix Provider and Providers options in Go transform functions
[#15885 ](https://github.com/pulumi/pulumi/pull/15885 )
- [sdk/nodejs] Handle serialization of aliases for well known native
functions
[#15873 ](https://github.com/pulumi/pulumi/pull/15873 )
- [sdk/nodejs] Correctly serialise functions whose code would make use
of reserved identifiers
[#15879 ](https://github.com/pulumi/pulumi/pull/15879 )
- [sdk/nodejs] Serialize function values obtained from Function.bind
[#15887 ](https://github.com/pulumi/pulumi/pull/15887 )
- [sdk/python] Improve types of getters in Python SDK
[#15865 ](https://github.com/pulumi/pulumi/pull/15865 )
- [sdkgen/{dotnet,go}] Fixes SDK-generation when referencing shared
types in config variables
[#15772 ](https://github.com/pulumi/pulumi/pull/15772 )
### Miscellaneous
- [sdk/nodejs] Update builtin module list for function serialization
[#15830 ](https://github.com/pulumi/pulumi/pull/15830 )
- [sdk/nodejs] Set package.json engines to node >= 18
[#15845 ](https://github.com/pulumi/pulumi/pull/15845 )
2024-04-11 20:52:58 +00:00
Justin Van Patten
89cd536cb9
Freeze v3.112.0 ( #15799 )
...
Tentative changelog:
### Features
- [docs] Implement constructor syntax examples for every resource in
typescript, python, csharp and go
[#15624 ](https://github.com/pulumi/pulumi/pull/15624 )
- [docs] Implement YAML constructor syntax examples in the docs
[#15791 ](https://github.com/pulumi/pulumi/pull/15791 )
- [engine] Send output values with property dependency information to
transform functions
[#15637 ](https://github.com/pulumi/pulumi/pull/15637 )
- [engine] Add a --continue-on-error flag to pulumi destroy
[#15727 ](https://github.com/pulumi/pulumi/pull/15727 )
- [sdk/go] Make `property.Map` keyed by `string` not `MapKey`
[#15767 ](https://github.com/pulumi/pulumi/pull/15767 )
- [sdk/nodejs] Make function serialization work with typescript 4 and 5
[#15761 ](https://github.com/pulumi/pulumi/pull/15761 )
- [sdk/python] Improve the error message when depends_on is passed
objects of the wrong type
[#15737 ](https://github.com/pulumi/pulumi/pull/15737 )
### Bug Fixes
- [auto/{go,nodejs,python}] Make sure to read complete lines before
trying to deserialize them as engine events
[#15778 ](https://github.com/pulumi/pulumi/pull/15778 )
- [cli/plugin] Fix installing local language plugins on Windows
[#15715 ](https://github.com/pulumi/pulumi/pull/15715 )
- [engine] Don't delete stack outputs on failed deployments
[#15754 ](https://github.com/pulumi/pulumi/pull/15754 )
- [engine] Fix a panic when updating provider version in a run using
--target
[#15716 ](https://github.com/pulumi/pulumi/pull/15716 )
- [engine] Handle that Assets & Archives can be returned from providers
without content.
[#15736 ](https://github.com/pulumi/pulumi/pull/15736 )
- [engine] Fix the engine trying to delete a protected resource caught
in a replace chain
[#15776 ](https://github.com/pulumi/pulumi/pull/15776 )
- [sdkgen/docs] Add missing newline for `Coming soon!`
[#15783 ](https://github.com/pulumi/pulumi/pull/15783 )
- [programgen/dotnet] Fix generated code for a list of resources used in
resource option DependsOn
[#15773 ](https://github.com/pulumi/pulumi/pull/15773 )
- [programgen/{dotnet,go}] Fixes emitted code for object expressions
assigned to properties of type Any
[#15770 ](https://github.com/pulumi/pulumi/pull/15770 )
- [sdk/go] Fix lookup of plugin and program dependencies when using Go
workspaces
[#15743 ](https://github.com/pulumi/pulumi/pull/15743 )
- [sdk/nodejs] Export automation.tag.TagMap type
[#15774 ](https://github.com/pulumi/pulumi/pull/15774 )
- [sdk/python] Wait only for pending outputs in the Python SDK, not all
pending asyncio tasks
[#15744 ](https://github.com/pulumi/pulumi/pull/15744 )
### Miscellaneous
- [sdk/nodejs] Reorganize function serialization tests
[#15753 ](https://github.com/pulumi/pulumi/pull/15753 )
- [sdk/nodejs] Move mockpackage tests to closure integration tests
[#15757 ](https://github.com/pulumi/pulumi/pull/15757 )
2024-03-28 00:10:27 +00:00
Justin Van Patten
13ef42b072
Prepare for v3.112.0 release ( #15794 )
...
Tentative changelog:
### Features
- [docs] Implement constructor syntax examples for every resource in
typescript, python, csharp and go
[#15624 ](https://github.com/pulumi/pulumi/pull/15624 )
- [engine] Send output values with property dependency information to
transform functions
[#15637 ](https://github.com/pulumi/pulumi/pull/15637 )
- [engine] Add a --continue-on-error flag to pulumi destroy
[#15727 ](https://github.com/pulumi/pulumi/pull/15727 )
- [sdk/go] Make `property.Map` keyed by `string` not `MapKey`
[#15767 ](https://github.com/pulumi/pulumi/pull/15767 )
- [sdk/python] Improve the error message when depends_on is passed
objects of the wrong type
[#15737 ](https://github.com/pulumi/pulumi/pull/15737 )
### Bug Fixes
- [auto/{go,nodejs,python}] Make sure to read complete lines before
trying to deserialize them as engine events
[#15778 ](https://github.com/pulumi/pulumi/pull/15778 )
- [cli/plugin] Fix installing local language plugins on Windows
[#15715 ](https://github.com/pulumi/pulumi/pull/15715 )
- [engine] Don't delete stack outputs on failed deployments
[#15754 ](https://github.com/pulumi/pulumi/pull/15754 )
- [engine] Fix a panic when updating provider version in a run using
--target
[#15716 ](https://github.com/pulumi/pulumi/pull/15716 )
- [engine] Handle that Assets & Archives can be returned from providers
without content.
[#15736 ](https://github.com/pulumi/pulumi/pull/15736 )
- [engine] Fix the engine trying to delete a protected resource caught
in a replace chain
[#15776 ](https://github.com/pulumi/pulumi/pull/15776 )
- [sdkgen/docs] Add missing newline for `Coming soon!`
[#15783 ](https://github.com/pulumi/pulumi/pull/15783 )
- [programgen/dotnet] Fix generated code for a list of resources used in
resource option DependsOn
[#15773 ](https://github.com/pulumi/pulumi/pull/15773 )
- [programgen/{dotnet,go}] Fixes emitted code for object expressions
assigned to properties of type Any
[#15770 ](https://github.com/pulumi/pulumi/pull/15770 )
- [sdk/go] Fix lookup of plugin and program dependencies when using Go
workspaces
[#15743 ](https://github.com/pulumi/pulumi/pull/15743 )
- [sdk/nodejs] Export automation.tag.TagMap type
[#15774 ](https://github.com/pulumi/pulumi/pull/15774 )
- [sdk/python] Wait only for pending outputs in the Python SDK, not all
pending asyncio tasks
[#15744 ](https://github.com/pulumi/pulumi/pull/15744 )
### Miscellaneous
- [sdk/nodejs] Reorganize function serialization tests
[#15753 ](https://github.com/pulumi/pulumi/pull/15753 )
- [sdk/nodejs] Move mockpackage tests to closure integration tests
[#15757 ](https://github.com/pulumi/pulumi/pull/15757 )
2024-03-27 16:04:33 +00:00
Fraser Waters
3043adeeb3
Add SupportPack to schemas to write out in the new style ( #15713 )
...
<!---
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
<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->
This adds a new flag to the schema metadata to tell codegen to use the
new proposed style of SDKs where we fill in versions and write go.mods
etc.
I've reworked pack to operate on packages assuming they're in this new
style. That is pack no longer has the responsibility to fill in any
version information.
This updates python and node codegen to write out SDKs in this new
style, and fixes their core libraries to still be buildable via pack.
There are two approaches to fixing those, I've chosen option 1 below but
could pretty easily rework for option 2.
1) Write the version information directly to the SDKs at the same time
as we edit the .version file. To simplify this I've added a new
'set-version.py' script that takes a version string an writes it to all
the relevant places (.version, package.json, etc).
2) Write "pack" in the language host to search up the directory tree for
the ".version" file and then fill in the version information as we we're
doing before with envvar tricks and copying and editing package.json.
I think 1 is simpler long term, but does force some amount of cleanup in
unrelated bits of the system right now (release makefiles need a small
edit). 2 is much more localised but keeps this complexity that
sdk/nodejs sdk/python aren't actually valid source modules.
## Checklist
- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
- [x] I have formatted my code using `gofumpt`
<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!---
User-facing changes require a CHANGELOG entry.
-->
- [ ] 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 Cloud,
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
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-03-22 09:25:46 +00:00
Fraser Waters
7e08c78f7a
Test GetDependencies and library versions in conformance testing ( #15324 )
...
<!---
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
<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->
This adds testing to the language conformance test command to check that
GetProgramDependencies returns the expected data.
## Checklist
- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
- [x] I have formatted my code using `gofumpt`
<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!---
User-facing changes require a CHANGELOG entry.
-->
- [ ] 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 Cloud,
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
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-02-06 12:38:44 +00:00
Justin Van Patten
e13780c0bd
[sdk/python] Upgrade to grpcio 1.60.1 ( #15366 )
...
grpcio 1.60.1 includes a fix for the regression that results in a
traceback being written to stderr for unimplemented gRPC methods.
https://github.com/grpc/grpc/releases/tag/v1.60.1
This change upgrades to 1.60.1 and reverts the workarounds we put in
place in https://github.com/pulumi/pulumi/pull/15190 .
Note that we have an integration test for Python dynamic providers that
ensures nothing unexpected is written to stderr:
16a1fb31c2/tests/integration/integration_python_acceptance_test.go (L111-L117)
Fixes #15365
2024-02-05 19:49:08 +00:00