Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Minor and patch Golang dependencies #160

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 15, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/google/uuid v1.3.0 -> v1.6.0 age adoption passing confidence
github.com/hashicorp/terraform-plugin-docs v0.13.0 -> v0.18.0 age adoption passing confidence
github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0 -> v2.32.0 age adoption passing confidence

Release Notes

google/uuid (github.com/google/uuid)

v1.6.0

Compare Source

Features
Bug Fixes

v1.5.0

Compare Source

Features

v1.4.0

Compare Source

Features
  • UUIDs slice type with Strings() convenience method (#​133) (cd5fbbd)
Fixes
  • Clarify that Parse's job is to parse but not necessarily validate strings. (Documents current behavior)

v1.3.1

Compare Source

Bug Fixes
hashicorp/terraform-plugin-docs (github.com/hashicorp/terraform-plugin-docs)

v0.18.0

Compare Source

FEATURES:

  • generate: Add support for Provider-defined Function documentation (#​328)
  • migrate: Add support for Provider-defined Function documentation (#​328)

ENHANCEMENTS:

  • validate: Add functions to list of allowed template and rendered website subdirectories (#​328)

v0.17.0

Compare Source

BREAKING CHANGES:

  • generate: templates using printf with either codefile or tffile to render code examples in markdown will need to switch to using those functions directly.
    For example, switch the following template code:
    {{printf "{{codefile \"shell\" %q}}" .ImportFile}}
    to
    {{codefile "shell" .ImportFile}} (#​300)

FEATURES:

  • migrate: Added new migrate subcommand that migrates existing provider docs using the rendered website source directories (website/docs/ or /docs/) to a terraform-plugin-docs-supported templates directory. (#​314)

ENHANCEMENTS:

  • generate: Add provider-schema flag to pass in a file path to a provider schema JSON file, allowing the command to skip building the provider and calling Terraform CLI (#​299)

BUG FIXES:

  • generate: fix no such file or directory error when running generate with no existing rendered website directory. (#​296)
  • generate: fix incorrect rendering of example and import files for providers with no docs templates or with generic fallback templates. (#​300)

v0.16.0

Compare Source

ENHANCEMENTS:

  • generate: Prevent files and subdirectories in the rendered website directory that are not directly managed by tfplugindocs from being deleted during generation (#​267)
  • validate: Add cdktf to list of allowed rendered website subdirectories (#​267)

v0.15.0

Compare Source

BREAKING CHANGES:

  • generate: The legacy-sidebar flag has been removed without replacement. It implemented no logic and is not necessary with Terraform Registry based documentation (#​258)

NOTES:

  • This Go module has been updated to Go 1.19 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#​231)

ENHANCEMENTS:

  • generate: Added provider-dir flag, which enables the command to be run from any directory (#​259)

v0.14.1

Compare Source

BUG FIXES:

  • dependencies: github.com/hashicorp/terraform-exec dependency upgraded to v0.18.1 to avoid causing acceptance test failures when terraform-plugin-sdk or terraform-plugin-testing are in use (#​226)

v0.14.0

Compare Source

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 (#​199)
hashicorp/terraform-plugin-sdk (github.com/hashicorp/terraform-plugin-sdk/v2)

v2.32.0

Compare Source

NOTES:

  • helper/schema: While this Go module will not receive support for moving resource state across resource types, the provider server is updated to handle the new operation, which will be required to prevent errors when updating terraform-plugin-framework or terraform-plugin-mux in the future. (#​1307)

v2.31.0

Compare Source

NOTES:

  • helper/schema: While this Go module will not receive support for provider-defined functions, the provider server is updated to handle the new operations, which will be required to prevent errors when updating terraform-plugin-framework or terraform-plugin-mux in the future. (#​1288)

v2.30.0

Compare Source

NOTES:

  • meta: The SDKVersion variable, SDKPrerelease variable, and SDKVersionString() function have been deprecated. Use the Go standard library runtime/debug package build information instead. (#​1257)

BUG FIXES:

  • meta: Fixed version in SDKVersion variable and SDKVersionString() function (#​1257)
  • helper/schema: Ensured (ResourceData).GetRawConfig() data is populated for Provider.ConfigureFunc and Provider.ConfigureContextFunc (#​1270)
  • helper/schema: Ensured (ResourceData).GetOkExists() second result is true when configuration contains zero-value data in Provider.ConfigureFunc and Provider.ConfigureContextFunc (#​1270)

v2.29.0

Compare Source

NOTES:

FEATURES:

  • helper/schema: Upgrade to protocol version 5.4, which can significantly reduce memory usage with Terraform 1.6 and later when a configuration includes multiple instances of the same provider (#​1234)

ENHANCEMENTS:

  • helper/validation: Added AllDiag and AnyDiag, which are SchemaValidateDiagFunc variants of All and Any (#​1155)
  • helper/validation: Added quoting in StringInSlice error diagnostic output to prevent confusion with values that contain spaces (#​464)

v2.28.0

Compare Source

NOTES:

  • helper/schema: The Resource type EnableApplyLegacyTypeSystemErrors and EnablePlanLegacyTypeSystemErrors fields can be enabled to more easily discover resource data consistency errors which Terraform would normally demote to warning logs. Before enabling the flag in a production release for a resource, the resource should be exhaustively acceptance tested as there may be unrecoverable error situations for practitioners. It is recommended to first enable and test in environments where it is easy to clean up resources, potentially outside of Terraform. (#​1227)

ENHANCEMENTS:

  • helper/schema: Added Resource type EnableLegacyTypeSystemApplyErrors field, which will prevent Terraform from demoting data consistency errors to warning logs during ApplyResourceChange (Create, Update, and Delete) operations with the resource (#​1227)
  • helper/schema: Added Resource type EnableLegacyTypeSystemPlanErrors field, which can be used to prevent Terraform from demoting data consistency errors to warning logs during PlanResourceChange operations with the resource (#​1227)

v2.27.0

Compare Source

NOTES:

  • helper/schema: Consumers directly referencing the Resource type Schema field should switch to the SchemaMap method to ensure new SchemaFunc field data is properly retrieved (#​1217)

ENHANCEMENTS:

  • all: Improved SDK logging performance when messages would be skipped due to configured logging level (#​1202)
  • helper/schema: Added Resource type SchemaFunc field and SchemaMap method, which can reduce resident memory usage with large schemas (#​1217)

v2.26.1

Compare Source

BUG FIXES:

  • helper/resource: Prevented build errors with type aliasing added in v2.26.0 (#​1176)

v2.26.0

Compare Source

NOTES:

  • This Go module has been updated to Go 1.19 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#​1163)
  • helper/resource: Deprecated PrefixedUniqueId() and UniqueId(). Use the helper/id package instead. These deprecations are to assist in migrating to terraform-plugin-testing (#​1167)
  • helper/resource: Deprecated RetryContext(), StateChangeConf, and associated *Error types. Use the helper/retry package instead. These deprecations are to assist in migrating to terraform-plugin-testing (#​1167)

ENHANCEMENTS:

  • helper/id: New helper/id package added. resource.PrefixedUniqueId() and resource.UniqueId() are deprecated, helper/id should be used instead. helper/resource now contains aliases to the migrated code (#​1167)
  • helper/retry: New helper/retry package added. resource.RetryContext(), resource.StateChangeConf, and associated *Error types are deprecated, helper/retry should be used instead. `helper/resource now contains aliases to the migrated code (#​1167)

v2.25.0

Compare Source

BUG FIXES:

  • helper/schema: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#​1111)
  • helper/schema: Prevented unexpected difference for timeouts on first plan after import (#​1146)

v2.24.1

Compare Source

BUG FIXES:

  • helper/resource: Fixed TestStep type ImportStateCheck field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#​1089)
  • helper/resource: Prevented go-plugin goroutine leak per Terraform command (#​1095)
  • helper/resource: Prevented goroutine leak per Terraform command when testing terraform-plugin-sdk based providers via Providers or ProviderFactories (#​1091)
  • helper/resource: Prevented provider configuration already given error when TestStep type Config field already contained provider configuration block (#​1092)

v2.24.0

Compare Source

ENHANCEMENTS:

  • helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#​1070)

BUG FIXES:

  • helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#​1077)

v2.23.0

Compare Source

ENHANCEMENTS:

  • helper/resource: Added Terraform configuration to TRACE logging (#​1059)
  • helper/resource: Added terraform plan output to TRACE logging (#​1058)

BUG FIXES:

  • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#​1057)

v2.22.0

Compare Source

ENHANCEMENTS:

  • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#​1052)

BUG FIXES:

  • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#​1047)
  • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#​826)

v2.21.0

Compare Source

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. (#​1027)

BUG FIXES:

  • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#​1031)
  • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#​1024)

v2.20.0

Compare Source

NOTES:

  • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#​1006)

FEATURES:

  • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#​546) (#​1006)

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Pull requests that update a dependency file golang renovate labels Feb 15, 2024
@renovate renovate bot enabled auto-merge (squash) February 15, 2024 01:10
renovate-approve[bot]
renovate-approve bot previously approved these changes Feb 15, 2024
@n9-machine-user n9-machine-user added chore Routine or minor duty task go Pull requests that update Go code patch Bug fixes and security updates labels Feb 15, 2024
@renovate renovate bot force-pushed the renovate_minor-and-patch-golang-dependencies branch from eff0a82 to 09e4242 Compare February 16, 2024 17:12
renovate-approve[bot]
renovate-approve bot previously approved these changes Feb 16, 2024
nieomylnieja
nieomylnieja previously approved these changes Feb 16, 2024
Copy link
Contributor Author

renovate bot commented Feb 16, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@renovate renovate bot merged commit 820f9b8 into main Feb 29, 2024
5 checks passed
@renovate renovate bot deleted the renovate_minor-and-patch-golang-dependencies branch February 29, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Routine or minor duty task dependencies Pull requests that update a dependency file go Pull requests that update Go code golang patch Bug fixes and security updates renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants