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

minor(deps): update minor versions #240

Merged
merged 7 commits into from
Aug 29, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 25, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
github.com/hetznercloud/hcloud-go/v2 v2.11.0 -> v2.13.1 age adoption passing confidence require minor
github.com/prometheus/client_golang v1.19.1 -> v1.20.2 age adoption passing confidence require minor
go (source) 1.22.6 -> 1.23.0 age adoption passing confidence toolchain minor

Release Notes

hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)

v2.13.1

Compare Source

Bug Fixes

v2.13.0

Compare Source

Features
Bug Fixes

v2.12.0

Compare Source

API Changes for Traffic Prices and Server Type Included Traffic

There will be a breaking change in the API regarding Traffic Prices and Server Type Included Traffic on 2024-08-05. This release marks the affected fields as Deprecated. Please check if this affects any of your code and switch to the replacement fields where necessary.

You can learn more about this change in our changelog.

Upgrading
Server Type Included Traffic

If you were using the field hcloud.ServerType.IncludedTraffic, you can now get the information through hcloud.ServerType.Pricings:

func main() {
// previous
includedTraffic := serverType.IncludedTraffic

    // now
    locationOfInterest := "fsn1"
    var includedTraffic uint64
    for _, price := range serverType.Pricings {
        if price.Location.Name == locationOfInterest {
            includedTraffic = price.IncludedTraffic
            break
        }
    }
}
Traffic Prices

If you were using the field hcloud.Pricing.Traffic, you can now get the information through hcloud.Pricing.ServerTypes or hcloud.Pricing.LoadBalancerTypes:

func main() {
// previous
trafficPrice := pricing.Traffic

    // now
    serverTypeOfInterest := "cx22"
    locationOfInterest := "fsn1"

    var trafficPrice hcloud.Price
    for _, serverTypePricings := range pricing.ServerTypes {
        if serverTypePricings.ServerType.Name == serverTypeOfInterest {
            for _, price := range serverTypePricings {
               if price.Location.Name == locationOfInterest {
                   trafficPrice = price.PerTBTraffic
                   break
               }
            }
        }
    }
}
Features
  • add jitter in the client default retry exponential backoff (#​492) (6205076)
  • add new WithPollOpts client option (#​493) (2c1a2d6)
  • allow checking multiple errors codes in IsError (#​491) (af59ab8)
  • load-balancer-type: new traffic price fields (94e0f44)
  • pricing: mark traffic field as deprecated (94e0f44)
  • server-type: mark included traffic field as deprecated (94e0f44)
  • server-type: new traffic price fields (94e0f44)
prometheus/client_golang (github.com/prometheus/client_golang)

v1.20.2

Compare Source

  • [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #​1596

v1.20.1

Compare Source

  • [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #​1587

v1.20.0

Compare Source

Thanks everyone for contributions!

⚠️ In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default collectors.NewGoCollector() collector. Given its popular usage, expect your binary to expose two additional metric.

Changes

  • [CHANGE] ⚠️ go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #​1577
  • [FEATURE] ⚠️ go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #​1559
  • [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing each metric (if relevant). #​1568 #​1578
  • [FEATURE] testutil: Add CollectAndFormat method. #​1503
  • [FEATURE] histograms: Add support for exemplars in native histograms. #​1471
  • [FEATURE] promhttp: Add experimental support for zstd on scrape, controlled by the request Accept-Encoding header. #​1496
  • [FEATURE] api/v1: Add WithLimit parameter to all API methods that supports it. #​1544
  • [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #​1537
  • [FEATURE] process-collectors: Add network usage metrics: process_network_receive_bytes_total and process_network_transmit_bytes_total. #​1555
  • [FEATURE] promlint: Add duplicated metric lint rule. #​1472
  • [BUGFIX] promlint: Relax metric type in name linter rule. #​1455
  • [BUGFIX] promhttp: Make sure server
    instrumentation wrapping supports new and future extra responseWriter methods. #​1480
  • [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #​1424
All commits

New Contributors

Full Changelog: prometheus/client_golang@v1.19.1...v1.20.0

golang/go (go)

v1.23.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate Automated action from Renovate label Jul 25, 2024
@renovate renovate bot enabled auto-merge (rebase) July 25, 2024 11:46
@renovate renovate bot force-pushed the renovate/minor-versions branch from 2df5ca3 to 0b0cc1e Compare July 29, 2024 08:16
@renovate renovate bot force-pushed the renovate/minor-versions branch 2 times, most recently from 2b201cd to abb3d77 Compare August 6, 2024 11:41
@renovate renovate bot changed the title minor(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.12.0 minor(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.0 Aug 6, 2024
@renovate renovate bot force-pushed the renovate/minor-versions branch 2 times, most recently from 12c3d6d to c5f8c7e Compare August 9, 2024 14:27
@renovate renovate bot changed the title minor(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.0 minor(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.1 Aug 9, 2024
@renovate renovate bot force-pushed the renovate/minor-versions branch 3 times, most recently from a831e13 to 6cc4005 Compare August 13, 2024 20:03
@renovate renovate bot changed the title minor(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.13.1 minor(deps): update minor versions Aug 13, 2024
@renovate renovate bot force-pushed the renovate/minor-versions branch from 6cc4005 to 0ddad6f Compare August 14, 2024 17:33
Copy link
Contributor Author

renovate bot commented Aug 14, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated

Details:

Package Change
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/prometheus/client_model v0.5.0 -> v0.6.1
github.com/prometheus/common v0.48.0 -> v0.55.0
github.com/prometheus/procfs v0.12.0 -> v0.15.1
golang.org/x/oauth2 v0.16.0 -> v0.21.0
google.golang.org/protobuf v1.33.0 -> v1.34.2

@renovate renovate bot force-pushed the renovate/minor-versions branch 3 times, most recently from 4fdbb65 to e70e039 Compare August 23, 2024 22:59
Copy link
Contributor Author

renovate bot commented Aug 24, 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.

@tboerger tboerger force-pushed the renovate/minor-versions branch from 9c1f10b to d249351 Compare August 29, 2024 08:45
@tboerger tboerger added bug Something isn't working enhancement New feature or request labels Aug 29, 2024
@tboerger tboerger added this to the v2.0.0 milestone Aug 29, 2024
@tboerger tboerger force-pushed the renovate/minor-versions branch from d249351 to 5fd286a Compare August 29, 2024 08:47
@renovate renovate bot merged commit 3e226d5 into master Aug 29, 2024
17 checks passed
@renovate renovate bot deleted the renovate/minor-versions branch August 29, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request renovate Automated action from Renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant