Releases: hashicorp/terraform-plugin-mux
Releases · hashicorp/terraform-plugin-mux
v0.9.0
v0.8.0
NOTES:
- This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#101)
BUG FIXES:
- tf5muxserver+tf6muxserver: Allow differing provider schema block
MinItems
andMaxItems
as terraform-plugin-framework does not use those fields for configuration validation (#118) - tf5muxserver+tf6muxserver: Deferred combined server implementation errors until
GetProviderSchema
RPC to prevent confusing Terraform CLI plugin startup errors (#121)
v0.7.0
NOTES:
- The underlying
terraform-plugin-log
dependency has been updated to v0.6.0, which includes log filtering support and breaking changes ofWith()
toSetField()
function names. Any provider logging which calls those functions may require updates. (#92) - This Go module has been updated to Go 1.17 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#73)
v0.6.0
NOTES:
- The underlying
terraform-plugin-log
dependency has been updated to v0.3.0, which includes a breaking change in the optional additional fields parameter of logging function calls to ensure correctness and catch coding errors during compilation. Any early adopter provider logging which calls those functions may require updates. (#63)
v0.5.1
BUG FIXES:
v0.5.0
NOTES:
- Providers can now be muxed with a combination of terraform-plugin-sdk and terraform-plugin-framework server implementations. One option is the terraform-plugin-sdk server can be upgraded to protocol version 6, then muxed with the terraform-plugin-framework server. This allows using new protocol features in the framework implementation, such as nested attributes, but requires Terraform CLI 1.1.5 or later. The other option is the terraform-plugin-framework server can be downgraded to protocol version 5, then muxed with the terraform-plugin-sdk server. This prevents using new protocol features in the framework implementation, however it remains compatible with Terraform CLI 0.12 and later. (#42)
BREAKING CHANGES:
- The root package
SchemaServer
types andNewSchemaServerFactory
function have been migrated to thetf5muxserver
package. To upgrade, replacetfmux.NewSchemaServerFactory
withtf5muxserver.NewMuxServer
and replace any invocations of the previousSchemaServerFactory
typeServer()
method withProviderServer()
. The underlying types are no longer exported. (#39)
FEATURES:
- Added
tf5to6server
package, for upgrading a protocol version 5 server to protocol version 6 (#42) - Added
tf6muxserver
package, a protocol version 6 compatible mux server (#37) - Added
tf6to5server
package, for downgrading a protocol version 6 server to protocol version 5 (#42)
ENHANCEMENTS: