fix(deps): update minor/patch dependencies
This MR contains the following updates:
| Package | Type | Update | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|---|---|
| bonsai-oss/organization/automate/ci-templates | repository | patch |
1.0.6 -> 1.0.10
|
||||
| github.com/jackc/pgx/v5 | require | minor |
v5.5.5 -> v5.7.1
|
||||
| github.com/prometheus/client_golang | require | minor |
v1.19.1 -> v1.20.5
|
||||
| github.com/stretchr/testify | require | minor |
v1.9.0 -> v1.10.0
|
||||
| go (source) | toolchain | minor |
1.22.3 -> 1.23.4
|
||||
| golang | final | minor |
1.22-alpine -> 1.23-alpine
|
Release Notes
bonsai-oss/organization/automate/ci-templates (bonsai-oss/organization/automate/ci-templates)
v1.0.10
v1.0.9
v1.0.8
v1.0.7
prometheus/client_golang (github.com/prometheus/client_golang)
v1.20.5: / 2024-10-15
We decided to revert the testutil change that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the exact error message.
Going forward, we plan to reinforce our release testing strategy [1],[2] and deliver an enhanced testutil package/module with more flexible and safer APIs.
Thanks to @dashpole @dgrisonnet @kakkoyun @ArthurSens @vesari @logicalhan @krajorama @bwplotka who helped in this patch release!
Changelog
[BUGFIX] testutil: Reverted #1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. #1645
v1.20.4
- [BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #1623
v1.20.3
- [BUGFIX] histograms: Fix possible data race when appending exemplars. #1608
v1.20.2
- [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #1596
v1.20.1
This release contains the critical fix for the issue. Thanks to @geberl, @CubicrootXYZ, @zetaab and @timofurrer for helping us with the investigation!
- [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #1587
v1.20.0
Thanks everyone for contributions!
collectors.NewGoCollector() collector. Given its popular usage, expect your binary to expose two additional metric.
Changes
- [CHANGE]
⚠️ go-collector: Removego_memstat_lookups_totalmetric 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_bytesandgo_sched_gomaxprocs_threadsas those are recommended by the Go team. #1559 - [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact
runtime/metricssourcing 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
zstdon scrape, controlled by the requestAccept-Encodingheader. #1496 - [FEATURE] api/v1: Add
WithLimitparameter 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_totalandprocess_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
- feat(prometheus/testutil/promlint/validations): refine lintMetricType… by @foehammer127 in https://github.com/prometheus/client_golang/pull/1455
- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by @dependabot in https://github.com/prometheus/client_golang/pull/1457
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1458
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1459
- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1461
- Merge Release 1.19 back to main by @ArthurSens in https://github.com/prometheus/client_golang/pull/1462
- Bump the github-actions group with 2 updates by @dependabot in https://github.com/prometheus/client_golang/pull/1456
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1466
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by @dependabot in https://github.com/prometheus/client_golang/pull/1467
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1469
- Add LintDuplicateMetric to promlint by @bboreham in https://github.com/prometheus/client_golang/pull/1472
- Auto-update Go Collector Metrics for new Go versions by @SachinSahu431 in https://github.com/prometheus/client_golang/pull/1476
- Implement Unwrap() for responseWriterDelegator by @igor-drozdov in https://github.com/prometheus/client_golang/pull/1480
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1485
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1486
- ci: Remove hardcoded supported Go versions from go.yml by @SachinSahu431 in https://github.com/prometheus/client_golang/pull/1489
- feat: metrics generation workflow by @SachinSahu431 in https://github.com/prometheus/client_golang/pull/1481
- fix: remove redundant go module in middleware example by @majolo in https://github.com/prometheus/client_golang/pull/1492
- chore: Refactor how base metrics are added to Sched metrics by @ArthurSens in https://github.com/prometheus/client_golang/pull/1483
- gocollector: Add regex option to allow collection of debug runtime metrics by @ArthurSens in https://github.com/prometheus/client_golang/pull/1389
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by @dependabot in https://github.com/prometheus/client_golang/pull/1498
- chore: fix function name in comment by @oftenoccur in https://github.com/prometheus/client_golang/pull/1497
- build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1501
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1502
- feat(dependency): replace go-spew package by @dongjiang1989 in https://github.com/prometheus/client_golang/pull/1499
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1504
- build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1505
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1506
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1507
- build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by @dependabot in https://github.com/prometheus/client_golang/pull/1508
- build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1509
- improved code more clean by @lilijreey in https://github.com/prometheus/client_golang/pull/1511
- build(deps): bump the github-actions group with 3 updates by @dependabot in https://github.com/prometheus/client_golang/pull/1510
- [CI]: Add Concurrency Grouping to GitHub Workflows by @Ishani217 in https://github.com/prometheus/client_golang/pull/1444
- Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by @jcass8695 in https://github.com/prometheus/client_golang/pull/1503
- testutil compareMetricFamilies: make less error-prone by @leonnicolas in https://github.com/prometheus/client_golang/pull/1424
- improved code more clean use time.IsZero() replace t = time.Time{} by @lilijreey in https://github.com/prometheus/client_golang/pull/1515
- add native histogram exemplar support by @fatsheep9146 in https://github.com/prometheus/client_golang/pull/1471
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1514
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1523
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by @dependabot in https://github.com/prometheus/client_golang/pull/1522
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1524
- Add MR template for changelog automation by @SachinSahu431 in https://github.com/prometheus/client_golang/pull/1517
- Auto label MRs by @SachinSahu431 in https://github.com/prometheus/client_golang/pull/1518
- Fix: Auto label MRs #1518 by @SachinSahu431 in https://github.com/prometheus/client_golang/pull/1525
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by @dependabot in https://github.com/prometheus/client_golang/pull/1527
- ci: Group all changelog-related CI jobs into single one by @ArthurSens in https://github.com/prometheus/client_golang/pull/1526
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1530
- Remove synchronize trigger from changelog workflow by @SachinSahu431 in https://github.com/prometheus/client_golang/pull/1532
- feat: Support zstd compression by @mrueg in https://github.com/prometheus/client_golang/pull/1496
- Fix golangci-lint config by @SuperQ in https://github.com/prometheus/client_golang/pull/1536
- build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1529
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1531
- Cleanup NOTICE file by @SuperQ in https://github.com/prometheus/client_golang/pull/1541
- Remove inlined upstream code by @SuperQ in https://github.com/prometheus/client_golang/pull/1539
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1545
- client: Add Option to provide limit query param for APIs that support it by @abbyssoul in https://github.com/prometheus/client_golang/pull/1544
- Allow creating constant histogram and summary metrics with a created timestamp by @swar8080 in https://github.com/prometheus/client_golang/pull/1537
- Update README.md by @bwplotka in https://github.com/prometheus/client_golang/pull/1556
- Temporarily remove required CI job for changelog. by @bwplotka in https://github.com/prometheus/client_golang/pull/1560
- build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by @dependabot in https://github.com/prometheus/client_golang/pull/1549
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1552
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by @dependabot in https://github.com/prometheus/client_golang/pull/1553
- fix: Update Go tests by @SuperQ in https://github.com/prometheus/client_golang/pull/1562
- process_collector: collect received/transmitted bytes by @huwcbjones in https://github.com/prometheus/client_golang/pull/1555
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1561
- chore: Remove half-implemented changelog automation by @ArthurSens in https://github.com/prometheus/client_golang/pull/1564
- build(deps): bump the github-actions group across 1 directory with 3 updates by @dependabot in https://github.com/prometheus/client_golang/pull/1565
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1563
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by @dependabot in https://github.com/prometheus/client_golang/pull/1551
- deps: Updated to prometheus/common to 0.55 by @bwplotka in https://github.com/prometheus/client_golang/pull/1566
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1567
- tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by @bwplotka in https://github.com/prometheus/client_golang/pull/1569
- go collector: add default metrics acceptance tests; adding more context to HELP by @bwplotka in https://github.com/prometheus/client_golang/pull/1568
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by @dependabot in https://github.com/prometheus/client_golang/pull/1570
- build(deps): bump the github-actions group with 3 updates by @dependabot in https://github.com/prometheus/client_golang/pull/1571
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1572
- ci: daggerize test and lint pipelines by @marcosnils in https://github.com/prometheus/client_golang/pull/1534
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1573
- Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by @vesari in https://github.com/prometheus/client_golang/pull/1559
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/1576
- Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by @bwplotka in https://github.com/prometheus/client_golang/pull/1577
- gocollector: Attach original runtime/metrics metric name to help. by @bwplotka in https://github.com/prometheus/client_golang/pull/1578
New Contributors
- @foehammer127 made their first contribution in https://github.com/prometheus/client_golang/pull/1455
- @SachinSahu431 made their first contribution in https://github.com/prometheus/client_golang/pull/1476
- @igor-drozdov made their first contribution in https://github.com/prometheus/client_golang/pull/1480
- @majolo made their first contribution in https://github.com/prometheus/client_golang/pull/1492
- @oftenoccur made their first contribution in https://github.com/prometheus/client_golang/pull/1497
- @dongjiang1989 made their first contribution in https://github.com/prometheus/client_golang/pull/1499
- @lilijreey made their first contribution in https://github.com/prometheus/client_golang/pull/1511
- @Ishani217 made their first contribution in https://github.com/prometheus/client_golang/pull/1444
- @jcass8695 made their first contribution in https://github.com/prometheus/client_golang/pull/1503
- @leonnicolas made their first contribution in https://github.com/prometheus/client_golang/pull/1424
- @fatsheep9146 made their first contribution in https://github.com/prometheus/client_golang/pull/1471
- @abbyssoul made their first contribution in https://github.com/prometheus/client_golang/pull/1544
- @swar8080 made their first contribution in https://github.com/prometheus/client_golang/pull/1537
- @huwcbjones made their first contribution in https://github.com/prometheus/client_golang/pull/1555
- @marcosnils made their first contribution in https://github.com/prometheus/client_golang/pull/1534
- @vesari made their first contribution in https://github.com/prometheus/client_golang/pull/1559
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0
stretchr/testify (github.com/stretchr/testify)
v1.10.0
What's Changed
Functional Changes
- Add PanicAssertionFunc by @fahimbagar in https://github.com/stretchr/testify/pull/1337
- assert: deprecate CompareType by @dolmen in https://github.com/stretchr/testify/pull/1566
- assert: make YAML dependency pluggable via build tags by @dolmen in https://github.com/stretchr/testify/pull/1579
- assert: new assertion NotElementsMatch by @hendrywiranto in https://github.com/stretchr/testify/pull/1600
- mock: in order mock calls by @ReyOrtiz in https://github.com/stretchr/testify/pull/1637
- Add assertion for NotErrorAs by @palsivertsen in https://github.com/stretchr/testify/pull/1129
- Record Return Arguments of a Call by @jayd3e in https://github.com/stretchr/testify/pull/1636
- assert.EqualExportedValues: accepts everything by @redachl in https://github.com/stretchr/testify/pull/1586
Fixes
- assert: make tHelper a type alias by @dolmen in https://github.com/stretchr/testify/pull/1562
- Do not get argument again unnecessarily in Arguments.Error() by @TomWright in https://github.com/stretchr/testify/pull/820
- Fix time.Time compare by @myxo in https://github.com/stretchr/testify/pull/1582
- assert.Regexp: handle []byte array properly by @kevinburkesegment in https://github.com/stretchr/testify/pull/1587
- assert: collect.FailNow() should not panic by @marshall-lee in https://github.com/stretchr/testify/pull/1481
- mock: simplify implementation of FunctionalOptions by @dolmen in https://github.com/stretchr/testify/pull/1571
- mock: caller information for unexpected method call by @spirin in https://github.com/stretchr/testify/pull/1644
- suite: fix test failures by @stevenh in https://github.com/stretchr/testify/pull/1421
- Fix issue #1662 (comparing infs should fail) by @ybrustin in https://github.com/stretchr/testify/pull/1663
- NotSame should fail if args are not pointers #1661 by @sikehish in https://github.com/stretchr/testify/pull/1664
- Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI by @sikehish in https://github.com/stretchr/testify/pull/1667
- fix: compare functional option names for indirect calls by @arjun-1 in https://github.com/stretchr/testify/pull/1626
Documantation, Build & CI
- .gitignore: ignore "go test -c" binaries by @dolmen in https://github.com/stretchr/testify/pull/1565
- mock: improve doc by @dolmen in https://github.com/stretchr/testify/pull/1570
- mock: fix FunctionalOptions docs by @snirye in https://github.com/stretchr/testify/pull/1433
- README: link out to the excellent testifylint by @brackendawson in https://github.com/stretchr/testify/pull/1568
- assert: fix typo in comment by @JohnEndson in https://github.com/stretchr/testify/pull/1580
- Correct the EventuallyWithT and EventuallyWithTf example by @JonCrowther in https://github.com/stretchr/testify/pull/1588
- CI: bump softprops/action-gh-release from 1 to 2 by @dependabot in https://github.com/stretchr/testify/pull/1575
- mock: document more alternatives to deprecated AnythingOfTypeArgument by @dolmen in https://github.com/stretchr/testify/pull/1569
- assert: Correctly document EqualValues behavior by @brackendawson in https://github.com/stretchr/testify/pull/1593
- fix: grammar in godoc by @miparnisari in https://github.com/stretchr/testify/pull/1607
- .github/workflows: Run tests for Go 1.22 by @HaraldNordgren in https://github.com/stretchr/testify/pull/1629
- Document suite's lack of support for t.Parallel by @brackendawson in https://github.com/stretchr/testify/pull/1645
- assert: fix typos in comments by @alexandear in https://github.com/stretchr/testify/pull/1650
- mock: fix doc comment for NotBefore by @alexandear in https://github.com/stretchr/testify/pull/1651
- Generate better comments for require package by @Neokil in https://github.com/stretchr/testify/pull/1610
- README: replace Testify V2 notice with @dolmen's V2 manifesto by @hendrywiranto in https://github.com/stretchr/testify/pull/1518
New Contributors
- @fahimbagar made their first contribution in https://github.com/stretchr/testify/pull/1337
- @TomWright made their first contribution in https://github.com/stretchr/testify/pull/820
- @snirye made their first contribution in https://github.com/stretchr/testify/pull/1433
- @myxo made their first contribution in https://github.com/stretchr/testify/pull/1582
- @JohnEndson made their first contribution in https://github.com/stretchr/testify/pull/1580
- @JonCrowther made their first contribution in https://github.com/stretchr/testify/pull/1588
- @miparnisari made their first contribution in https://github.com/stretchr/testify/pull/1607
- @marshall-lee made their first contribution in https://github.com/stretchr/testify/pull/1481
- @spirin made their first contribution in https://github.com/stretchr/testify/pull/1644
- @ReyOrtiz made their first contribution in https://github.com/stretchr/testify/pull/1637
- @stevenh made their first contribution in https://github.com/stretchr/testify/pull/1421
- @jayd3e made their first contribution in https://github.com/stretchr/testify/pull/1636
- @Neokil made their first contribution in https://github.com/stretchr/testify/pull/1610
- @redachl made their first contribution in https://github.com/stretchr/testify/pull/1586
- @ybrustin made their first contribution in https://github.com/stretchr/testify/pull/1663
- @sikehish made their first contribution in https://github.com/stretchr/testify/pull/1664
- @arjun-1 made their first contribution in https://github.com/stretchr/testify/pull/1626
Full Changelog: https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.