fix(deps): update all non-major dependencies
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| github.com/fergusstrange/embedded-postgres | require | minor |
v1.26.0 -> v1.30.0
|
| github.com/gin-gonic/gin | require | minor |
v1.7.2 -> v1.10.0
|
| github.com/google/uuid | require | minor |
v1.1.2 -> v1.6.0
|
| github.com/prometheus/client_golang | require | minor |
v1.19.0 -> v1.20.5
|
| github.com/sirupsen/logrus | require | minor |
v1.8.1 -> v1.9.3
|
| github.com/stretchr/testify | require | minor |
v1.8.1 -> v1.10.0
|
| github.com/swaggo/gin-swagger | require | minor |
v1.3.0 -> v1.6.0
|
| github.com/swaggo/swag | require | minor |
v1.8.1 -> v1.16.4
|
| golang | image | minor |
1.21.9-alpine3.19 -> 1.23.4-alpine3.19
|
| gorm.io/driver/postgres | require | patch |
v1.5.7 -> v1.5.11
|
| gorm.io/gorm | require | patch |
v1.25.10 -> v1.25.12
|
| postgres | service-image | minor |
14.1 -> 14.15
|
Release Notes
fergusstrange/embedded-postgres (github.com/fergusstrange/embedded-postgres)
v1.30.0
What's Changed
- fix: error typos and introduce error types by @dhaus67 in https://github.com/fergusstrange/embedded-postgres/pull/143
- fix: detect pg_ctl exists instead of bin dir by @wenerme in https://github.com/fergusstrange/embedded-postgres/pull/144
- fix: StartParameters on Windows by @hugodutka in https://github.com/fergusstrange/embedded-postgres/pull/146
- Fix osx builds by @fergusstrange in https://github.com/fergusstrange/embedded-postgres/pull/147
New Contributors
- @dhaus67 made their first contribution in https://github.com/fergusstrange/embedded-postgres/pull/143
- @wenerme made their first contribution in https://github.com/fergusstrange/embedded-postgres/pull/144
- @hugodutka made their first contribution in https://github.com/fergusstrange/embedded-postgres/pull/146
Full Changelog: https://github.com/fergusstrange/embedded-postgres/compare/v1.29.0...v1.30.0
v1.29.0
What's Changed
- Update versions by @fergusstrange in https://github.com/fergusstrange/embedded-postgres/pull/142 Full Changelog: https://github.com/fergusstrange/embedded-postgres/compare/v1.28.0...v1.29.0
v1.28.0
What's Changed
- Upgrade versions by @fergusstrange in https://github.com/fergusstrange/embedded-postgres/pull/140 Full Changelog: https://github.com/fergusstrange/embedded-postgres/compare/v1.27.0...v1.28.0
v1.27.0
What's Changed
- make encoding configurable in initdb by @zzzFelix in https://github.com/fergusstrange/embedded-postgres/pull/133
- Update build & test workflows by @der-eismann in https://github.com/fergusstrange/embedded-postgres/pull/136
New Contributors
- @der-eismann made their first contribution in https://github.com/fergusstrange/embedded-postgres/pull/136
Full Changelog: https://github.com/fergusstrange/embedded-postgres/compare/v1.26.0...v1.27.0
gin-gonic/gin (github.com/gin-gonic/gin)
v1.10.0
Features
- feat(auth): add proxy-server authentication (#3877) (@EndlessParadox1)
- feat(bind): ShouldBindBodyWith shortcut and change doc (#3871) (@RedCrazyGhost)
- feat(binding): Support custom BindUnmarshaler for binding. (#3933) (@dkkb)
- feat(binding): support override default binding implement (#3514) (@ssfyn)
- feat(engine): Added
OptionFuncandWith(#3572) (@flc1125) - feat(logger): ability to skip logs based on user-defined logic (#3593) (@palvaneh)
Bug fixes
- Revert "fix(uri): query binding bug (#3236)" (#3899) (@appleboy)
- fix(binding): binding error while not upload file (#3819) (#3820) (@clearcodecn)
- fix(binding): dereference pointer to struct (#3199) (@echovl)
- fix(context): make context Value method adhere to Go standards (#3897) (@FarmerChillax)
- fix(engine): fix unit test (#3878) (@flc1125)
- fix(header): Allow header according to RFC 7231 (HTTP 405) (#3759) (@Crocmagnon)
- fix(route): Add fullPath in context copy (#3784) (@KarthikReddyPuli)
- fix(router): catch-all conflicting wildcard (#3812) (@FirePing32)
- fix(sec): upgrade golang.org/x/crypto to 0.17.0 (#3832) (@chncaption)
- fix(tree): correctly expand the capacity of params (#3502) (@georgijd-form3)
- fix(uri): query binding bug (#3236) (@illiafox)
- fix: Add pointer support for url query params (#3659) (#3666) (@omkar-foss)
- fix: protect Context.Keys map when call Copy method (#3873) (@kingcanfish)
Enhancements
- chore(CI): update release args (#3595) (@qloog)
- chore(IP): add TrustedPlatform constant for Fly.io. (#3839) (@ab)
- chore(debug): add ability to override the debugPrint statement (#2337) (@josegonzalez)
- chore(deps): update dependencies to latest versions (#3835) (@appleboy)
- chore(header): Add support for RFC 9512: application/yaml (#3851) (@vincentbernat)
- chore(http): use white color for HTTP 1XX (#3741) (@viralparmarme)
- chore(optimize): the ShouldBindUri method of the Context struct (#3911) (@1911860538)
- chore(perf): Optimize the Copy method of the Context struct (#3859) (@1911860538)
- chore(refactor): modify interface check way (#3855) (@demoManito)
- chore(request): check reader if it's nil before reading (#3419) (@noahyao1024)
- chore(security): upgrade Protobuf for CVE-2024-24786 (#3893) (@Fotkurz)
- chore: refactor CI and update dependencies (#3848) (@appleboy)
- chore: refactor configuration files for better readability (#3951) (@appleboy)
- chore: update GitHub Actions configuration (#3792) (@appleboy)
- chore: update changelog categories and improve documentation (#3917) (@appleboy)
- chore: update dependencies to latest versions (#3694) (@appleboy)
- chore: update external dependencies to latest versions (#3950) (@appleboy)
- chore: update various Go dependencies to latest versions (#3901) (@appleboy)
Build process updates
- build(codecov): Added a codecov configuration (#3891) (@flc1125)
- ci(Makefile): vet command add .PHONY (#3915) (@imalasong)
- ci(lint): update tooling and workflows for consistency (#3834) (@appleboy)
- ci(release): refactor changelog regex patterns and exclusions (#3914) (@appleboy)
- ci(testing): add go1.22 version (#3842) (@appleboy)
Documentation updates
- docs(context): Added deprecation comments to BindWith (#3880) (@flc1125)
- docs(middleware): comments to function
BasicAuthForProxy(#3881) (@EndlessParadox1) - docs: Add document to constant
AuthProxyUserKeyandBasicAuthForProxy. (#3887) (@EndlessParadox1) - docs: fix typo in comment (#3868) (@testwill)
- docs: fix typo in function documentation (#3872) (@TotomiEcio)
- docs: remove redundant comments (#3765) (@WeiTheShinobi)
- feat: update version constant to v1.10.0 (#3952) (@appleboy)
Others
- Upgrade golang.org/x/net -> v0.13.0 (#3684) (@cpcf)
- test(git): gitignore add develop tools (#3370) (@demoManito)
- test(http): use constant instead of numeric literal (#3863) (@testwill)
- test(path): Optimize unit test execution results (#3883) (@flc1125)
- test(render): increased unit tests coverage (#3691) (@araujo88)
v1.9.1
BUG FIXES
- fix Request.Context() checks #3512
SECURITY
- fix lack of escaping of filename in Content-Disposition #3556
ENHANCEMENTS
- refactor: use bytes.ReplaceAll directly #3455
- convert strings and slices using the officially recommended way #3344
- improve render code coverage #3525
DOCS
- docs: changed documentation link for trusted proxies #3575
- chore: improve linting, testing, and GitHub Actions setup #3583
v1.9.0
BREAK CHANGES
- Stop useless panicking in context and render #2150
BUG FIXES
- fix(router): tree bug where loop index is not decremented. #3460
- fix(context): panic on NegotiateFormat - index out of range #3397
- Add escape logic for header #3500 and #3503
SECURITY
- Fix the GO-2022-0969 and GO-2022-0288 vulnerabilities #3333
- fix(security): vulnerability GO-2023-1571 #3505
ENHANCEMENTS
- feat: add sonic json support #3184
- chore(file): Creates a directory named path #3316
- fix: modify interface check way #3327
- remove deprecated of package io/ioutil #3395
- refactor: avoid calling strings.ToLower twice #3343
- console logger HTTP status code bug fixed #3453
- chore(yaml): upgrade dependency to v3 version #3456
- chore(router): match method added to routergroup for multiple HTTP methods supporting #3464
- chore(http): add support for go1.20 http.rwUnwrapper to gin.responseWriter #3489
DOCS
- docs: update markdown format #3260
- docs(readme): Add the TOML rendering example #3400
- docs(readme): move more example to docs/doc.md #3449
- docs: update markdown format #3446
v1.8.2
BUG FIXES
- fix(route): redirectSlash bug (#3227)
- fix(engine): missing route params for CreateTestContext (#2778) (#2803)
SECURITY
- Fix the GO-2022-1144 vulnerability (#3432)
v1.8.1
ENHANCEMENTS
- feat(context): add ContextWithFallback feature flag #3172
v1.8.0
BREAK CHANGES
- TrustedProxies: Add default IPv6 support and refactor #2967. Please replace
RemoteIP() (net.IP, bool)withRemoteIP() net.IP - gin.Context with fallback value from gin.Context.Request.Context() #2751
BUG FIXES
- Fixed SetOutput() panics on go 1.17 #2861
- Fix: wrong when wildcard follows named param #2983
- Fix: missing sameSite when do context.reset() #3123
ENHANCEMENTS
- Use Header() instead of deprecated HeaderMap #2694
- RouterGroup.Handle regular match optimization of http method #2685
- Add support go-json, another drop-in json replacement #2680
- Use errors.New to replace fmt.Errorf will much better #2707
- Use Duration.Truncate for truncating precision #2711
- Get client IP when using Cloudflare #2723
- Optimize code adjust #2700
- Optimize code and reduce code cyclomatic complexity #2737
- Improve sliceValidateError.Error performance #2765
- Support custom struct tag #2720
- Improve router group tests #2787
- Fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() #2769
- Some codes optimize #2830 #2834 #2838 #2837 #2788 #2848 #2851 #2701
- TrustedProxies: Add default IPv6 support and refactor #2967
- Test(route): expose performRequest func #3012
- Support h2c with prior knowledge #1398
- Feat attachment filename support utf8 #3071
- Feat: add StaticFileFS #2749
- Feat(context): return GIN Context from Value method #2825
- Feat: automatically SetMode to TestMode when run go test #3139
- Add TOML bining for gin #3081
- IPv6 add default trusted proxies #3033
DOCS
- Add note about nomsgpack tag to the readme #2703
v1.7.7
BUG FIXES
- Fixed X-Forwarded-For unsafe handling of CVE-2020-28483 #2844, closed issue #2862.
- Tree: updated the code logic for
latestNode#2897, closed issue #2894 #2878. - Tree: fixed the misplacement of adding slashes #2847, closed issue #2843.
- Tree: fixed tsr with mixed static and wildcard paths #2924, closed issue #2918.
ENHANCEMENTS
- TrustedProxies: make it backward-compatible #2887, closed issue #2819.
- TrustedPlatform: provide custom options for another CDN services #2906.
DOCS
- NoMethod: added usage annotation (#2832).
v1.7.6
BUG FIXES
- bump new release to fix v1.7.5 release error by using v1.7.4 codes.
v1.7.4
BUG FIXES
- bump new release to fix checksum mismatch
v1.7.3
BUG FIXES
google/uuid (github.com/google/uuid)
v1.6.0
Features
Bug Fixes
v1.5.0
Features
v1.4.0
Features
Fixes
- Clarify that Parse's job is to parse but not necessarily validate strings. (Documents current behavior)
v1.3.1
Bug Fixes
v1.3.0: Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners.
From Andrey Pechkurov:
Adds an optional randomness pool mode for Random (Version 4) UUID generation. The pool contains random bytes read from the random number generator on demand in batches. Enabling the pool may improve the UUID generation throughput significantly.
Since the pool is stored on the Go heap, this feature may be a bad fit for security sensitive applications. That's why it's implemented as an opt-in feature.
From Samuel Roth:
Added support for NullUUID
A NullUUID can be marked not valid (i.e., null) for use with JSON and the database/sql/driver.Scanner interfaces.
v1.2.0: Add NewString()
This release introduces the NewString() function which is the equivalent of uuid.New().String().
v1.1.5: Syntactic cleanup
There are no code changes. A missing period was add to a godoc comment and the linter was told to not complain that the results of hash.Write() are ignored (the function cannot fail)
v1.1.4: Further error optimizations
Do not allocate memory for errors (it is only one word)
v1.1.3: Optimize error reporting
Optimize length of time it takes to discover an input is bad by no longer using fmt.Errorf, which is quite slow. It now uses a custom error type that formats the string when the Error method is called rather than when generating the error.
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
v1.19.1
What's Changed
- Security patches for
golang.org/x/sysandgoogle.golang.org/protobuf
New Contributors
- @lukasauk made their first contribution in https://github.com/prometheus/client_golang/pull/1494
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1
sirupsen/logrus (github.com/sirupsen/logrus)
v1.9.3
- Fix a potential denial of service vulnerability in logrus.Writer() that could be triggered by logging text longer than 64kb without newlines https://github.com/sirupsen/logrus/commit/f9291a534cac1466d26414fd9e326381cd64ecef (re-apply https://github.com/sirupsen/logrus/pull/1376)
- Fix panic in Writer https://github.com/sirupsen/logrus/commit/d40e25cd45ed9c6b2b66e6b97573a0413e4c23bd
Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.2...v1.9.3
v1.9.2
- Revert https://github.com/sirupsen/logrus/pull/1376, which introduced a regression in v1.9.1
Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.1...v1.9.2
v1.9.1
What's Changed
- Fix data race in hooks.test package by @FrancoisWagner in https://github.com/sirupsen/logrus/pull/1362
- Add instructions to use different log levels for local and syslog by @tommyblue in https://github.com/sirupsen/logrus/pull/1372
- This commit fixes a potential denial of service vulnerability in logrus.Writer() that could be triggered by logging text longer than 64kb without newlines. by @ozfive in https://github.com/sirupsen/logrus/pull/1376
- Use text when shows the logrus output by @xieyuschen in https://github.com/sirupsen/logrus/pull/1339
New Contributors
- @FrancoisWagner made their first contribution in https://github.com/sirupsen/logrus/pull/1362
- @tommyblue made their first contribution in https://github.com/sirupsen/logrus/pull/1372
- @ozfive made their first contribution in https://github.com/sirupsen/logrus/pull/1376
- @xieyuschen made their first contribution in https://github.com/sirupsen/logrus/pull/1339
Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.1
v1.9.0
v1.8.3
What's Changed
- Add instructions to use different log levels for local and syslog by @tommyblue in https://github.com/sirupsen/logrus/pull/1372
- This commit fixes a potential denial of service vulnerability in logrus.Writer() that could be triggered by logging text longer than 64kb without newlines. by @ozfive in https://github.com/sirupsen/logrus/pull/1376
- Use text when shows the logrus output by @xieyuschen in https://github.com/sirupsen/logrus/pull/1339
New Contributors
- @tommyblue made their first contribution in https://github.com/sirupsen/logrus/pull/1372
- @ozfive made their first contribution in https://github.com/sirupsen/logrus/pull/1376
- @xieyuschen made their first contribution in https://github.com/sirupsen/logrus/pull/1339
Full Changelog: https://github.com/sirupsen/logrus/compare/v1.8.2...v1.8.3
v1.8.2
What's Changed
- CI: use GitHub Actions by @thaJeztah in https://github.com/sirupsen/logrus/pull/1239
- go.mod: github.com/stretchr/testify v1.7.0 by @thaJeztah in https://github.com/sirupsen/logrus/pull/1246
- Change godoc badge to pkg.go.dev badge by @minizilla in https://github.com/sirupsen/logrus/pull/1249
- Add support for the logger private buffer pool. by @edoger in https://github.com/sirupsen/logrus/pull/1253
- bump golang.org/x/sys depency version by @dgsb in https://github.com/sirupsen/logrus/pull/1280
- Update README.md by @runphp in https://github.com/sirupsen/logrus/pull/1266
- indicates issues as stale automatically by @dgsb in https://github.com/sirupsen/logrus/pull/1281
- ci: add go 1.17 to test matrix by @anajavi in https://github.com/sirupsen/logrus/pull/1277
- reduce the list of cross build target by @dgsb in https://github.com/sirupsen/logrus/pull/1282
- Improve Log methods documentation by @dgsb in https://github.com/sirupsen/logrus/pull/1283
- fix race condition for SetFormatter and SetReportCaller by @rubensayshi in https://github.com/sirupsen/logrus/pull/1263
- bump version of golang.org/x/sys dependency by @nathanejohnson in https://github.com/sirupsen/logrus/pull/1333
- update gopkg.in/yaml.v3 to v3.0.1 by @izhakmo in https://github.com/sirupsen/logrus/pull/1337
- update dependencies by @dgsb in https://github.com/sirupsen/logrus/pull/1343
- Fix data race in hooks.test package by @FrancoisWagner in https://github.com/sirupsen/logrus/pull/1362
New Contributors
- @minizilla made their first contribution in https://github.com/sirupsen/logrus/pull/1249
- @edoger made their first contribution in https://github.com/sirupsen/logrus/pull/1253
- @runphp made their first contribution in https://github.com/sirupsen/logrus/pull/1266
- @anajavi made their first contribution in https://github.com/sirupsen/logrus/pull/1277
- @rubensayshi made their first contribution in https://github.com/sirupsen/logrus/pull/1263
- @nathanejohnson made their first contribution in https://github.com/sirupsen/logrus/pull/1333
- @izhakmo made their first contribution in https://github.com/sirupsen/logrus/pull/1337
- @FrancoisWagner made their first contribution in https://github.com/sirupsen/logrus/pull/1362
Full Changelog: https://github.com/sirupsen/logrus/compare/v1.8.1...v1.8.2
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
v1.9.0
What's Changed
- Fix Go modules version by @SuperQ in https://github.com/stretchr/testify/pull/1394
- Document that require is not safe to call in created goroutines by @programmer04 in https://github.com/stretchr/testify/pull/1392
- Remove myself from MAINTAINERS.md by @mvdkleijn in https://github.com/stretchr/testify/pull/1367
- Correct spelling/grammar by @echarrod in https://github.com/stretchr/testify/pull/1389
- docs: Update URLs in README by @davidjb in https://github.com/stretchr/testify/pull/1349
- Update mockery link to Github Pages in README by @LandonTClipp in https://github.com/stretchr/testify/pull/1346
- docs: Fix typos in tests and comments by @alexandear in https://github.com/stretchr/testify/pull/1410
- CI: tests from go1.17 by @SuperQ in https://github.com/stretchr/testify/pull/1409
- Fix adding ? when no values passed by @lesichkovm in https://github.com/stretchr/testify/pull/1320
- codegen: use standard header for generated files by @dolmen in https://github.com/stretchr/testify/pull/1406
- mock: AssertExpectations log reason only on failure by @hikyaru-suzuki in https://github.com/stretchr/testify/pull/1360
- assert: fix flaky TestNeverTrue by @dolmen in https://github.com/stretchr/testify/pull/1417
- README: fix typos "set up" vs "setup" by @ossan-dev in https://github.com/stretchr/testify/pull/1428
- mock: move regexp compilation outside of
Calledby @aud10slave in https://github.com/stretchr/testify/pull/631 - assert: refactor internal func getLen() by @dolmen in https://github.com/stretchr/testify/pull/1445
- mock: deprecate type AnythingOfTypeArgument (#1434) by @dolmen in https://github.com/stretchr/testify/pull/1441
- Remove no longer needed assert.canConvert by @alexandear in https://github.com/stretchr/testify/pull/1470
- assert: ObjectsAreEqual: use time.Equal for time.Time types by @tscales in https://github.com/stretchr/testify/pull/1464
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/stretchr/testify/pull/1466
- Bump actions/setup-go from 3.2.0 to 4.1.0 by @dependabot in https://github.com/stretchr/testify/pull/1451
- fix: make EventuallyWithT concurrency safe by @czeslavo in https://github.com/stretchr/testify/pull/1395
- assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by @hidu in https://github.com/stretchr/testify/pull/1484
- assert.EqualExportedValues: fix handling of arrays by @zrbecker in https://github.com/stretchr/testify/pull/1473
- .github: use latest Go versions by @kevinburkesegment in https://github.com/stretchr/testify/pull/1489
- assert: Deprecate EqualExportedValues by @HaraldNordgren in https://github.com/stretchr/testify/pull/1488
- suite: refactor test assertions by @alexandear in https://github.com/stretchr/testify/pull/1474
- suite: fix SetupSubTest and TearDownSubTest execution order by @linusbarth in https://github.com/stretchr/testify/pull/1471
- docs: Fix deprecation comments for http package by @alexandear in https://github.com/stretchr/testify/pull/1335
- Add map support doc comments to Subset and NotSubset by @jedevc in https://github.com/stretchr/testify/pull/1306
- TestErrorIs/TestNotErrorIs: check error message contents by @craig65535 in https://github.com/stretchr/testify/pull/1435
- suite: fix subtest names (fix #1501) by @dolmen in https://github.com/stretchr/testify/pull/1504
- assert: improve unsafe.Pointer tests by @dolmen in https://github.com/stretchr/testify/pull/1505
- assert: simplify isNil implementation by @dolmen in https://github.com/stretchr/testify/pull/1506
- assert.InEpsilonSlice: fix expected/actual order and other improvements by @dolmen in https://github.com/stretchr/testify/pull/1483
- Fix dependency cycle with objx #1292 by @dolmen in https://github.com/stretchr/testify/pull/1453
- mock: refactor TestIsArgsEqual by @dolmen in https://github.com/stretchr/testify/pull/1444
- mock: optimize argument matching checks by @dolmen in https://github.com/stretchr/testify/pull/1416
- assert: fix TestEventuallyTimeout by @dolmen in https://github.com/stretchr/testify/pull/1412
- CI: add go 1.21 in GitHub Actions by @dolmen in https://github.com/stretchr/testify/pull/1450
- suite: fix recoverAndFailOnPanic to report test failure at the right location by @dolmen in https://github.com/stretchr/testify/pull/1502
- Update maintainers by @brackendawson in https://github.com/stretchr/testify/pull/1533
- assert: Fix EqualValues to handle overflow/underflow by @arjunmahishi in https://github.com/stretchr/testify/pull/1531
- assert: better formatting for Len() error by @kevinburkesegment in https://github.com/stretchr/testify/pull/1485
- Ensure AssertExpectations does not fail in skipped tests by @ianrose14 in https://github.com/stretchr/testify/pull/1331
- suite: fix deadlock in suite.Require()/Assert() by @arjunmahishi in https://github.com/stretchr/testify/pull/1535
- Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by @brackendawson in https://github.com/stretchr/testify/pull/1537
- [chore] Add issue templates by @arjunmahishi in https://github.com/stretchr/testify/pull/1538
- Update the build status badge by @brackendawson in https://github.com/stretchr/testify/pull/1540
- Update Github workflows setup-go to V5 by @hendrywiranto in https://github.com/stretchr/testify/pull/1545
- Support Pointer to Struct in EqualExportedValues by @Lucaber in https://github.com/stretchr/testify/pull/1517
- README: drop link to gorc by @guettli in https://github.com/stretchr/testify/pull/1248
- http_assertions: honour the msgAndArgs provided with each assertion by @arjunmahishi in https://github.com/stretchr/testify/pull/1548
- fix typos in comments and tests by @ccoVeille in https://github.com/stretchr/testify/pull/1247
- Include the auto-release notes in releases by @brackendawson in https://github.com/stretchr/testify/pull/1550
- Add
NotImplementsand variants by @hslatman in https://github.com/stretchr/testify/pull/1385 - Add support to compare uintptr by @bogdandrutu in https://github.com/stretchr/testify/pull/1339
- build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by @dependabot in https://github.com/stretchr/testify/pull/1552
New Contributors
- @SuperQ made their first contribution in https://github.com/stretchr/testify/pull/1394
- @programmer04 made their first contribution in https://github.com/stretchr/testify/pull/1392
- @echarrod made their first contribution in https://github.com/stretchr/testify/pull/1389
- @davidjb made their first contribution in https://github.com/stretchr/testify/pull/1349
- @LandonTClipp made their first contribution in https://github.com/stretchr/testify/pull/1346
- @alexandear made their first contribution in https://github.com/stretchr/testify/pull/1410
- @lesichkovm made their first contribution in https://github.com/stretchr/testify/pull/1320
- @dolmen made their first contribution in https://github.com/stretchr/testify/pull/1406
- @hikyaru-suzuki made their first contribution in https://github.com/stretchr/testify/pull/1360
- @ossan-dev made their first contribution in https://github.com/stretchr/testify/pull/1428
- @aud10slave made their first contribution in https://github.com/stretchr/testify/pull/631
- @tscales made their first contribution in https://github.com/stretchr/testify/pull/1464
- @czeslavo made their first contribution in https://github.com/stretchr/testify/pull/1395
- @hidu made their first contribution in https://github.com/stretchr/testify/pull/1484
- @zrbecker made their first contribution in https://github.com/stretchr/testify/pull/1473
- @kevinburkesegment made their first contribution in https://github.com/stretchr/testify/pull/1489
- @linusbarth made their first contribution in https://github.com/stretchr/testify/pull/1471
- @jedevc made their first contribution in https://github.com/stretchr/testify/pull/1306
- @craig65535 made their first contribution in https://github.com/stretchr/testify/pull/1435
- @arjunmahishi made their first contribution in https://github.com/stretchr/testify/pull/1531
- @ianrose14 made their first contribution in https://github.com/stretchr/testify/pull/1331
- @hendrywiranto made their first contribution in https://github.com/stretchr/testify/pull/1545
- @Lucaber made their first contribution in https://github.com/stretchr/testify/pull/1517
- @guettli made their first contribution in https://github.com/stretchr/testify/pull/1248
- @ccoVeille made their first contribution in https://github.com/stretchr/testify/pull/1247
- @hslatman made their first contribution in https://github.com/stretchr/testify/pull/1385
- @bogdandrutu made their first contribution in https://github.com/stretchr/testify/pull/1339
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0
v1.8.4
What's Changed
- Create GitHub release when new release tag is pushed by @aldas in https://github.com/stretchr/testify/pull/1354
New Contributors
- @aldas made their first contribution in https://github.com/stretchr/testify/pull/1354
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4
v1.8.3
What's Changed
- Compare public elements of struct by @mchlp in https://github.com/stretchr/testify/pull/1309
- assert: fix error message formatting for NotContains by @wwade in https://github.com/stretchr/testify/pull/1362
- allow testing for functional options by @nbaztec in https://github.com/stretchr/testify/pull/1023
- add EventuallyWithT assertion by @tobikris in https://github.com/stretchr/testify/pull/1264
- EqualExportedValues: Handle nested pointer, slice and map fields by @HaraldNordgren in https://github.com/stretchr/testify/pull/1379
New Contributors
- @mchlp made their first contribution in https://github.com/stretchr/testify/pull/1309
- @wwade made their first contribution in https://github.com/stretchr/testify/pull/1362
- @nbaztec made their first contribution in https://github.com/stretchr/testify/pull/1023
- @tobikris made their first contribution in https://github.com/stretchr/testify/pull/1264
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3
v1.8.2
What's Changed
- Add opportunity to trigger setup/teardown for subtest by @qerdcv in https://github.com/stretchr/testify/pull/1246
- fix: fix bug for check unsafe.Pointer isNil by @sunpe in https://github.com/stretchr/testify/pull/1319
- Fix Call.Unset() panic (issue #1236) by @lisitsky in https://github.com/stretchr/testify/pull/1250
- Fix
CallerInfo()source file paths by @bozaro in https://github.com/stretchr/testify/pull/1288 - assert: Fix Subset/NotSubset when map is missing keys from the subset by @danielwhite in https://github.com/stretchr/testify/pull/1261
New Contributors
- @qerdcv made their first contribution in https://github.com/stretchr/testify/pull/1246
- @sunpe made their first contribution in https://github.com/stretchr/testify/pull/1319
- @lisitsky made their first contribution in https://github.com/stretchr/testify/pull/1250
- @bozaro made their first contribution in https://github.com/stretchr/testify/pull/1288
- @danielwhite made their first contribution in https://github.com/stretchr/testify/pull/1261
Full Changelog: https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2
swaggo/gin-swagger (github.com/swaggo/gin-swagger)
v1.6.0
Changelog
-
eae73baFix test error (#242) -
753ceaaRevert "Fix test error (#242)" (#261) -
cc12e52chore: bump golang.org/x/net to v0.7.0 amd gin to 1.9.0 (#262) -
a056fe7chore: remove go 1.15 support (#259) -
0613417doc: requires a version when current directory is not in a module (#244) -
703cabcfix: typo in Readme.md (#254)
v1.5.3
Changelog
c8d47d5 chore: Update multiple API example (#224)
f0f0058 fix: typo in gin-swagger parameter (#235)
v1.5.2
Changelog
d496a34 chore: remove google fonts (#227)
v1.5.1
Changelog
b9e926c fix: update gin-contrib/gzip to latest version (#220)
v1.5.0
Changelog
bdcc4ec Configure the default OAuth2 ClientID (#209)
a0f71d4 Update README.md (#213)
88c9ed2 chore: add multiple api example (#207)
64d8dea chore: dependencies (#208)
0806351 chore: remove swagger-files from current project in favor of github.com/swaggo/files (#215)
0123113 chore: update swagger-ui to 4.11.0 (#214)
de2344d doc: update See Declarative Comments Format URL (#212)
v1.4.3
Changelog
bd7f215 chore: linting (#206)
v1.4.2
Changelog
f844160 chore: security improvement (#203)
2ae0634 fix: typo in word DocExpansion in Readme (#198)
v1.4.1
Changelog
cb6be4c feat: add support for swagger-ui persist-authorization (#195)
0bb2c39 chore: preserve compatibility with swagger (#194)
77495f6 chore: drop go1.14 support (#193)
v1.4.0
Changelog
c14c0de add goreleaser support (#165)
3e21b59 add png content-type headers (#169)
872c67c chore: drop go1.13 (#190)
7da8e84 doc: correct syntax (#175)
8ae7504 feat: allow multiple Swagger documents (#168)
74c905c feat: enable customization of HTML title (#180)
301224e fix: incomplete sentences in README (#179)
498deb2 fix: oauth2-redirect outside of the base swagger path (#177)
v1.3.3
Changelog
bd6de7c ability to render swag spec by name
c14c0de add goreleaser support (#165)
640dfcf add unit test
3aa2141 simplify
v1.3.2
Changelog
92cfa4c Edit readme to makes it more friendly to newer (#132)
6322a8f Solve the integration swagger into the gin framework, access the Chinese garbled problem in the json returned by swagger/doc.json. (#78)
8c37e9f Update README.md
b388ffa add docExpansion feature (#163)
f5258e9 chore(deps): bump github.com/gin-gonic/gin from 1.4.0 to 1.7.0 (#151)
d7814aa chore: add go 1.15 and go 1.16 to travis (#153)
6433b1c feat(ui): configure default expansion depth for models (#158)
0e6b4ac fix data race while set prefix (#125)
71be254 improve unit test (#152)
5ef0958 update swagger ui to 3.52.0 (#164)
v1.3.1
swaggo/swag (github.com/swaggo/swag)
v1.16.4
Changelog
-
85254b4Added multiline support for @description attribute for securityDefinitions (#1786) -
7204462Added suport for parsing comments inside of function bodies (#1824) -
d323b48Feat: Add support for parenthesis in router patterns (#1859) -
15dae35Feat: multi-arch docker image (#1756) -
83fe3caFix generics used with function scoped types (#1883) -
ff50cd6Fix global overrides for any/interface ref types (#1835) -
1d730c5Fix param comment escaping issue (#1890) -
697572aFixes Issue 1829 (#1830) -
28de14cFlags to parse internal and dependency package (#1894) -
4c2f8ddHandle case of empty GOROOT (#1798) -
87e7d9cUpdate docker go build version to 1.21 (#1758) -
4fd8a36Update docs for request and response headers (#1825) -
56fde5cUpdate operation.go (#1753) -
807dd1f[Issue 1812] fix misalignment in expected.json and api.go messing with parser_test (#1836) -
91624adadd support for "title" tag (#1762) -
f32d4d3adds support for complex types with function scope (#1813) -
c7f1cd8adds support for pointer function scoped fields (#1841) -
8a47dcbbump go version (#1797) -
0834357chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#1793) -
1bb1445chore(deps): bump golang.org/x/net in /example/celler (#1794) -
6aa6613chore(deps): bump golang.org/x/net in /example/go-module-support (#1795) -
d5af957chore(deps): bump golang.org/x/net in /example/markdown (#1792) -
0368d7dchore(deps): bump golang.org/x/net in /example/object-map-example (#1796) -
b8662dechore(deps): bump google.golang.org/protobuf (#1773) -
4a11e23chore(deps): bump google.golang.org/protobuf (#1774) -
937c239chore(deps): bump google.golang.org/protobuf in /example/celler (#1775) -
103ac42chore: Update ci.yml (#1902) -
90aa46fchore: fix some typos in comments (#1788) -
e55c557feat: read from stdin, write to stdout (#1831) (#1832) -
fd2fa83fix issue: #1780: filter $GOROOT path (#1827) -
10030b0fix parse nested structs and aliases (#1866) -
7159b0ffix: failing assert in enums test on 32bit (#1634) -
928264cfix: remove dropped tags from general infos (#1764) -
a74d34cfix:parse all field names declared in a row (#1872) -
0b9e347new release (#1901) -
a3c6d12support markdown description for declaration (#1893) -
9069105update README (#1856)
v1.16.3
Changelog
-
7147984Feat: Support generic with map params (#1746) -
ae7e404Fix: Trim tab spaces from @scope annotations (#1744) -
d4218f2Feat: Struct fields supported for header and path param types (#1740) -
76695caFix: TrimRight[]on an array filed json name to compatible with ts codegen (#1706) -
7603121Feat: Add flag state to generate operations with different state into different docs (#1629) -
0fb6820Feat: Deprecate some parts of routers in an operation (#1735) -
744a58eDrop support for go v1.17.x (#1723) -
6cdaaf5Fix: Find definitions from external packages first (#1666) -
0ade78cEnhancement: Improve docker container usage (#1704) -
2da9651Fix: nil supported in combined response object(#1667)
v1.16.2
Changelog
-
f05ccdcadd byte check before and after file is formatted (#1637) -
7534a13add cli flag --pdl to determine whether parse operations in dependency (#1605) -
21d34e2add retract to fix proxy cache caused by accidentally pushed tags (#1562) -
b2f325fchore(deps): bump github.com/gin-gonic/gin (#1598) -
8e5b314chore(deps): bump github.com/gin-gonic/gin in /example/celler (#1599) -
c8372f6chore(deps): bump github.com/gin-gonic/gin in /example/go-module-support (#1600) -
23c9b5cchore(deps): bump gopkg.in/yaml.v3 (#1663) -
8ebf32fdocs(readme): fix param brace (#1647) -
27b27bdenchancement: report which property is triggering a parsing error (#1439) -
d0f9dc5feat: add --packagePrefix=P for only parse packages matched by prefix P (#1582) -
1bf0078feat: global security (#1620) -
9f128b4feat: preserve file permission when write formatted files (#1636) -
ea35767fix bug: enums of underscored number (#1581) -
0cee1c5fix required params parsing for routes with multiple paths and multiple params (#1621) -
e73a0d0fix using tab (\t) as separator for custom type names (#1594) -
4536bf2fix: enums in body got parse incorrectly (#1625) -
e749ad5fix: lint error for generated docs.go (#1583) -
575963eparse binary literal const (#1593) -
fe971d2parser: if all tags negate return true on no hits (#1624) -
e9d0aa5yaml.v3 security patch (#1664)
v1.8.12
Changelog
-
122a2e2FIX generics like type JSON[K,V string] map[K]V (#1509) -
ea779b8chore: drop support for go 1.16 (#1518) -
c9bca77fix field of enum type as formdata (#1511)
v1.8.11
Changelog
-
9a0a669Added file data type (#1424) -
37f466eSupport externalDocs annotation comment (#1468) -
19ddb4dUse form tags when available (#1422) -
0524687additional error message when parsing type definition (#1488) -
b47f4efchore(deps): bump golang.org/x/net (#1492) -
85a35b4chore(deps): bump golang.org/x/net in /example/celler (#1495) -
efd70ffchore(deps): bump golang.org/x/net in /example/go-module-support (#1494) -
9dbff61chore(deps): bump golang.org/x/net in /example/markdown (#1491) -
fcffae2chore(deps): bump golang.org/x/net in /example/object-map-example (#1493) -
09f373fchore(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 (#1473) -
0472c53chore(deps): bump golang.org/x/text in /example/celler (#1472) -
9faf8b3chore(deps): bump golang.org/x/text in /example/go-module-support (#1474) -
aa3e8d5chore: update deprecated options in goreleaser.yml for 1.4.x compatibility (#1450) -
aaa681echore: update version.go (#1507) -
f56e0bbfeat: ADD collection format flag (#1482) -
f475da2feat: add packageName option for docs.go (#1442) -
d2bc3d0fix alias type of generic with multi formal params (#1505) -
8445e75fix generic type that has more than 2 params with only one constraint type (#1506) -
9e4a292fix: generated doc.go first line cmt leading dot (#1480) -
566b8afif the top type name is any or interface{}, don't use allOf (#1421) -
3f0a4b0support form tag (#1502)
v1.8.10
Changelog
f916213 Do not parse operations in dependency (#1432)
6d18e7a chore: update version (#1449)
1789c00 enable build support for macOS arm64 (#1448)
f617051 fix multi level nesting parametrization(#1435)
0d72fbd fix: string cutset method usage (#1406)
7433f87 gocritic comment should match error bugfix. (#1443)
00dd8cb style: remove duplicate space (#1436)
v1.8.9
Changelog
a10fb9a Just optimize code about parsing extensions (#1399)
4ccbeaf chore: increment version (#1423)
8139731 chore: parse escaped double colon (\:) example struct tag (#1402)
2c530ea chore: release candidate (#1403)
e3151c1 chore: release candidate (#1404)
e50db3e enhancement for enums (#1400)
7c20f30 feat: parse only specific extension tag (#1219)
80d5221 feat: support json tags in embedded structs (#1396)
4519064 feat: use enums in request (#1417)
9a4fa5d fix issue 1414 (#1419)
30684a2 fix parsing bug affected by fmt (#1398)
7867c24 fix: don't error on empty comment line (#1415)
dfce6c8 parse self-nested generic struct (#1420)
ba5df82 record token.FileSet for every file so that the position of parsing error can be acquired (#1393)
3fe9ca2 revert docker login-action (#1405)
v1.8.8
Changelog
07690e9 Add check for nil otherTypeDef (#1372)
eaed517 Enhancements: search imports sequencely, till find the type. (#1374)
0da94ff Fix generics with package alias (#1360)
29d3d30 add properties to $ref (#1391)
362d05b chore: increment version.go (#1395)
da6d718 chore: update GitHub actions (#1362)
e5d507d enhancement for MR #1387: evaluate const across packages (#1388)
e6723fe feat: add flag to generate documentation only for specific tags (#1379)
38b5f15 feat: make swagger comments more readable for go doc (#1366)
8117f4c fix: wrongly shared schema by fields (#1389)
829fbe1 fmt cmd: use a tab instead of two spaces to format comments (#1386)
bdfec2b parse global enums (#1387)
v1.8.7
Changelog
f8d59d6 Bump golang.org/x/tools dependency version (#1338)
7f90377 Fix generics issue #1345 (#1349)
e4f0129 chore: drop go1.15 support (#1331)
277a278 chore: increment version (#1350)
74e96c9 feat. add support formData []file (#1332)
04c699c fix issue #1346 about generics (#1348)
075c176 refactor: move from io/ioutil to io and os packages (#1334)
v1.8.6
Changelog
bc895ed Fix formatting crosstalk (#1317)
c9385a8 build a docker image and push to ghcr.io (#1329)
5fbb18f chore: update version (#1330)
cf1c4a7 fix: Generic Fields does not handle Arrays (#1311)
b8f53da fix: Generic Fields does not handle Arrays in the .swaggo file (#1322)
2cd7ab5 fix: Generics not detected if name does not contain a pkg path (#1328)
007219f fix: funcDeclaration body check (#1310)
e7ccdf4 refactor func splitStructName (#1313)
v1.8.5
Changelog
2f148dd Extended generics support (#1277)
23661ef chore: set CGO_ENABLED=0 for goreleaser to avoid dynamic linking (#1293)
732c087 doc: add function scoped struct declaration example (#1296)
45f01a1 feat: add function scoped struct parse (#1283)
cf03796 feat: get swagger instance from register (#1298)
af1c525 fix: Go generics cannot find common package object type definition (#1281)
9d34a76 fix: Nested generic fields not fully working, if generic type is from… (#1305)
v1.8.4
Changelog
bd21bb0 Fix issue https://github.com/swaggo/swag/issues/1150 (#1248)
401e414 doc: add missing web frameworks (#1263)
a566490 feat: add default description to code if none is provided (#1239)
a780e45 feat: default required option for struct fields (#1181)
213f6b8 feat: permit error (and any) interface definition (#1212)
89c61d4 feat: suppress debug logs when using -q (#1254)
0e2ec6c feat: use early overrides to allow converting unsupported types. (#1209)
1cd0b53 fix: don't skip ".." directory (#1238)
8de9952 fix: generic arrays generate successfully (#1247)
796a346 fix: temp dir to be the same as SerchDir to avoid invalid cross-device link (#1203) (#1241)
v1.8.3
Changelog
f09eaa1 chore: cleanup generics_test.go (#1231)
b736c5f chore: increment version (#1230)
e767abb chore: refactor parser (#1191)
5f6b402 feat: Improve performance when generating spec with external dependencies (#1108)
3b580a0 feat: add --quiet=true for swag init, make the debug logger quiet. (#1206)
ff41d9c feat: add basic generics support (#1225)
3cedab9 fix: README_zh-CN.md translate bug (#1202)
67cb768 fix: array enum varnames in arrays (#1187)
v1.8.2
Changelog
c7cb3fd chore: update @Produce comments (#1196)
36ae7af chore: remove gomonkey dependency from formatter (#1192)
47d5a76 chore: updating dependencies (#1190)
5f6c5f8 impr: add param example to readme (#1189)
636f456 chore: improve code quality (#1184)
90170b9 chore(deps): bump github.com/swaggo/http-swagger in /example/markdown (#1185)
d209f71 added security definition description (#1174)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.