[go: up one dir, main page]

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

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/fergusstrange/embedded-postgres/compare/v1.29.0...v1.30.0

v1.29.0

Compare Source

What's Changed

v1.28.0

Compare Source

What's Changed

v1.27.0

Compare Source

What's Changed

New Contributors

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

Compare Source

Features
Bug fixes
Enhancements
Build process updates
Documentation updates
Others

v1.9.1

Compare Source

BUG FIXES
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

Compare Source

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

Compare Source

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

Compare Source

ENHANCEMENTS
  • feat(context): add ContextWithFallback feature flag #​3172

v1.8.0

Compare Source

BREAK CHANGES
  • TrustedProxies: Add default IPv6 support and refactor #​2967. Please replace RemoteIP() (net.IP, bool) with RemoteIP() 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

Compare Source

BUG FIXES
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

Compare Source

BUG FIXES
  • bump new release to fix checksum mismatch

v1.7.3

Compare Source

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

v1.6.0

Compare Source

Features
Bug Fixes

v1.5.0

Compare Source

Features

v1.4.0

Compare Source

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

v1.3.1

Compare Source

Bug Fixes

v1.3.0: Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners.

Compare Source

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()

Compare Source

This release introduces the NewString() function which is the equivalent of uuid.New().String().

v1.1.5: Syntactic cleanup

Compare Source

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

Compare Source

Do not allocate memory for errors (it is only one word)

v1.1.3: Optimize error reporting

Compare Source

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

Compare Source

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

Compare Source

  • [BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #​1623

v1.20.3

Compare Source

  • [BUGFIX] histograms: Fix possible data race when appending exemplars. #​1608

v1.20.2

Compare Source

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

v1.20.1

Compare Source

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

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: https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0

v1.19.1

Compare Source

What's Changed

  • Security patches for golang.org/x/sys and google.golang.org/protobuf

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1

sirupsen/logrus (github.com/sirupsen/logrus)

v1.9.3

Compare Source

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.2...v1.9.3

v1.9.2

Compare Source

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.1...v1.9.2

v1.9.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.1

v1.9.0

Compare Source

v1.8.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.8.2...v1.8.3

v1.8.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/sirupsen/logrus/compare/v1.8.1...v1.8.2

stretchr/testify (github.com/stretchr/testify)

v1.10.0

Compare Source

What's Changed

Functional Changes
Fixes
Documantation, Build & CI

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0

v1.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0

v1.8.4

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4

v1.8.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3

v1.8.2

Compare Source

What's Changed

New Contributors

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

Compare Source

Changelog

v1.5.3

Compare Source

Changelog

c8d47d5 chore: Update multiple API example (#​224) f0f0058 fix: typo in gin-swagger parameter (#​235)

v1.5.2

Compare Source

Changelog

d496a34 chore: remove google fonts (#​227)

v1.5.1

Compare Source

Changelog

b9e926c fix: update gin-contrib/gzip to latest version (#​220)

v1.5.0

Compare Source

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

Compare Source

Changelog

bd7f215 chore: linting (#​206)

v1.4.2

Compare Source

Changelog

f844160 chore: security improvement (#​203) 2ae0634 fix: typo in word DocExpansion in Readme (#​198)

v1.4.1

Compare Source

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

Compare Source

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

Compare Source

Changelog

bd6de7c ability to render swag spec by name c14c0de add goreleaser support (#​165) 640dfcf add unit test 3aa2141 simplify

v1.3.2

Compare Source

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

Compare Source

swaggo/swag (github.com/swaggo/swag)

v1.16.4

Compare Source

Changelog

v1.16.3

Compare Source

Changelog

v1.16.2

Compare Source

Changelog

v1.8.12

Compare Source

Changelog

v1.8.11

Compare Source

Changelog

v1.8.10

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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)

go-gorm/postgres (gorm.io/driver/postgres)

v1.5.11

Compare Source

v1.5.10

Compare Source

v1.5.9

Compare Source

v1.5.8

Compare Source

go-gorm/gorm (gorm.io/gorm)

v1.25.12

Compare Source

v1.25.11

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Merge request reports

Loading