From 094843464242500f69c8d40852143363fbfb3016 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:40:00 +0100 Subject: [PATCH 01/17] deps(go): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#415) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 26632366..202cfd08 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/gin-gonic/gin v1.10.0 github.com/go-resty/resty/v2 v2.16.1 github.com/mantyr/go-charset v0.0.0-20160510214718-44d054d82c4a - github.com/stretchr/testify v1.9.0 + github.com/stretchr/testify v1.10.0 golang.org/x/text v0.20.0 ) diff --git a/go.sum b/go.sum index fb3057ad..e89fe8ea 100644 --- a/go.sum +++ b/go.sum @@ -68,8 +68,9 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= From 71b96beee4e99a5c36c61ae69fe9259abd9b7e35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:40:17 +0100 Subject: [PATCH 02/17] deps(go): bump github.com/stretchr/testify in /src/validation (#416) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/validation/go.mod | 4 +-- src/validation/go.sum | 72 +++---------------------------------------- 2 files changed, 6 insertions(+), 70 deletions(-) diff --git a/src/validation/go.mod b/src/validation/go.mod index 206cae75..08bfa49f 100644 --- a/src/validation/go.mod +++ b/src/validation/go.mod @@ -6,12 +6,12 @@ replace github.com/TibiaData/tibiadata-api-go/src/tibiamapping => ../tibiamappin require ( github.com/TibiaData/tibiadata-api-go/src/tibiamapping v0.0.0-20240821085055-c65129c5697a - github.com/stretchr/testify v1.9.0 + github.com/stretchr/testify v1.10.0 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect - github.com/go-resty/resty/v2 v2.14.0 // indirect + github.com/go-resty/resty/v2 v2.16.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect golang.org/x/net v0.28.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/src/validation/go.sum b/src/validation/go.sum index 51ff53e9..81d6c7f7 100644 --- a/src/validation/go.sum +++ b/src/validation/go.sum @@ -1,79 +1,15 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-resty/resty/v2 v2.14.0 h1:/rhkzsAqGQkozwfKS5aFAbb6TyKd3zyFRWcdRXLPCAU= -github.com/go-resty/resty/v2 v2.14.0/go.mod h1:IW6mekUOsElt9C7oWr0XRt9BNSD6D5rr9mhk6NjmNHg= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/go-resty/resty/v2 v2.16.1 h1:0EB9QI65hPIGU1uX7EdRPd0ZBcvWHS0DcpAoEayMVQw= +github.com/go-resty/resty/v2 v2.16.1/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= -golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= -golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= -golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= -golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= -golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= From ff3c4e0bf363cdd0e580c56060eec326b71d124e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:40:31 +0100 Subject: [PATCH 03/17] deps(go): bump github.com/go-resty/resty/v2 from 2.16.1 to 2.16.2 (#413) Bumps [github.com/go-resty/resty/v2](https://github.com/go-resty/resty) from 2.16.1 to 2.16.2. - [Release notes](https://github.com/go-resty/resty/releases) - [Commits](https://github.com/go-resty/resty/compare/v2.16.1...v2.16.2) --- updated-dependencies: - dependency-name: github.com/go-resty/resty/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 202cfd08..e36dfb3d 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/TibiaData/tibiadata-api-go/src/validation v0.0.0-20240821085055-c65129c5697a github.com/gin-contrib/gzip v1.0.1 github.com/gin-gonic/gin v1.10.0 - github.com/go-resty/resty/v2 v2.16.1 + github.com/go-resty/resty/v2 v2.16.2 github.com/mantyr/go-charset v0.0.0-20160510214718-44d054d82c4a github.com/stretchr/testify v1.10.0 golang.org/x/text v0.20.0 diff --git a/go.sum b/go.sum index e89fe8ea..fa4a1081 100644 --- a/go.sum +++ b/go.sum @@ -30,8 +30,8 @@ github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJn github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= github.com/go-playground/validator/v10 v10.22.0 h1:k6HsTZ0sTnROkhS//R0O+55JgM8C4Bx7ia+JlgcnOao= github.com/go-playground/validator/v10 v10.22.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= -github.com/go-resty/resty/v2 v2.16.1 h1:0EB9QI65hPIGU1uX7EdRPd0ZBcvWHS0DcpAoEayMVQw= -github.com/go-resty/resty/v2 v2.16.1/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= +github.com/go-resty/resty/v2 v2.16.2 h1:CpRqTjIzq/rweXUt9+GxzzQdlkqMdt8Lm/fuK/CAbAg= +github.com/go-resty/resty/v2 v2.16.2/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA= github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= From ba823a76674b6db5e56b10b50fdab15325f50f05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:40:43 +0100 Subject: [PATCH 04/17] deps(go): bump github.com/go-resty/resty/v2 in /src/tibiamapping (#414) Bumps [github.com/go-resty/resty/v2](https://github.com/go-resty/resty) from 2.16.1 to 2.16.2. - [Release notes](https://github.com/go-resty/resty/releases) - [Commits](https://github.com/go-resty/resty/compare/v2.16.1...v2.16.2) --- updated-dependencies: - dependency-name: github.com/go-resty/resty/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/tibiamapping/go.mod | 2 +- src/tibiamapping/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tibiamapping/go.mod b/src/tibiamapping/go.mod index 16ab746f..93e12b03 100644 --- a/src/tibiamapping/go.mod +++ b/src/tibiamapping/go.mod @@ -2,6 +2,6 @@ module github.com/TibiaData/tibiadata-api-go/src/tibiamapping go 1.23 -require github.com/go-resty/resty/v2 v2.16.1 +require github.com/go-resty/resty/v2 v2.16.2 require golang.org/x/net v0.28.0 // indirect diff --git a/src/tibiamapping/go.sum b/src/tibiamapping/go.sum index dadf88c6..a2c66e31 100644 --- a/src/tibiamapping/go.sum +++ b/src/tibiamapping/go.sum @@ -1,5 +1,5 @@ -github.com/go-resty/resty/v2 v2.16.1 h1:0EB9QI65hPIGU1uX7EdRPd0ZBcvWHS0DcpAoEayMVQw= -github.com/go-resty/resty/v2 v2.16.1/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= +github.com/go-resty/resty/v2 v2.16.2 h1:CpRqTjIzq/rweXUt9+GxzzQdlkqMdt8Lm/fuK/CAbAg= +github.com/go-resty/resty/v2 v2.16.2/go.mod h1:0fHAoK7JoBy/Ch36N8VFeMsK7xQOHhvWaC3iOktwmIU= golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= From 3a78cd182442ffb47e615621e4df3a53411a90a5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:28:19 +0100 Subject: [PATCH 05/17] deps(go): bump golang.org/x/text from 0.20.0 to 0.21.0 (#417) Bumps [golang.org/x/text](https://github.com/golang/text) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.20.0...v0.21.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index e36dfb3d..c89c063f 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/go-resty/resty/v2 v2.16.2 github.com/mantyr/go-charset v0.0.0-20160510214718-44d054d82c4a github.com/stretchr/testify v1.10.0 - golang.org/x/text v0.20.0 + golang.org/x/text v0.21.0 ) require ( diff --git a/go.sum b/go.sum index fa4a1081..16a782c2 100644 --- a/go.sum +++ b/go.sum @@ -113,8 +113,8 @@ golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= -golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= +golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= From 2bb27f4729ffbb2599986ef7c808e72b31ee9598 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Tue, 10 Dec 2024 17:12:55 +0100 Subject: [PATCH 06/17] ci: add jobs for argo and helm-chart --- .github/workflows/build.yml | 41 +++++++++++++++++++++++++++-- .github/workflows/documentation.yml | 2 +- 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8195d8c..2c0c6b27 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,9 @@ permissions: jobs: build: runs-on: ubuntu-latest + outputs: + docker_build_digest: ${{ steps.docker_build.outputs.digest }} + docker_meta_version: ${{ steps.docker_meta.outputs.version }} steps: - name: Checkout uses: actions/checkout@v4 @@ -95,11 +98,45 @@ jobs: cosign sign --yes --recursive \ ghcr.io/tibiadata/tibiadata-api-go@${{ steps.docker_build.outputs.digest }} + argocd: + if: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main') + runs-on: ubuntu-latest + needs: build + steps: + - name: Determine the deployment subdomain + id: determine_deployment + run: | + if [ "${{ github.event_name }}" == "release" ]; then + echo "subdomain=api" >> $GITHUB_OUTPUT + else + echo "subdomain=dev" >> $GITHUB_OUTPUT + fi + + - name: Trigger workflow in tibiadata-argocd-app-of-apps repo + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} + repository: TibiaData/tibiadata-argocd-app-of-apps + event-type: bump-tibiadata-api-go-image-sha + client-payload: '{"docker_digest": "${{ needs.build.outputs.docker_build_digest }}", "subdomain": "${{ steps.determine_deployment.outputs.subdomain }}"}' + + helm-chart: + if: github.event_name == 'release' + runs-on: ubuntu-latest + needs: build + steps: + - name: Trigger workflow in tibiadata-helm-charts repo + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} + repository: TibiaData/tibiadata-helm-charts + event-type: bump-helm-chart-release + client-payload: '{"chart_name": "${{ github.event.repository.name }}", "release_version": "${{ needs.build.outputs.docker_meta_version }}"}' + dockerhub: if: github.event_name == 'release' runs-on: ubuntu-latest - needs: - - build + needs: build steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 942a43e4..d67464c5 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -45,5 +45,5 @@ jobs: with: token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: TibiaData/tibiadata-api-docs - event-type: tibiadata-api-go-release + event-type: tibiadata-api-docs-release-update client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "tag_name": "${{ github.event.release.tag_name }}"}' From d1fae4a3ce1c3e3b7643d04f5eb0520a85269293 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Tue, 10 Dec 2024 17:20:58 +0100 Subject: [PATCH 07/17] ci: update permissions on certain steps --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c0c6b27..7ed268e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,6 +100,8 @@ jobs: argocd: if: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main') + permissions: + contents: write runs-on: ubuntu-latest needs: build steps: @@ -115,20 +117,20 @@ jobs: - name: Trigger workflow in tibiadata-argocd-app-of-apps repo uses: peter-evans/repository-dispatch@v3 with: - token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: TibiaData/tibiadata-argocd-app-of-apps event-type: bump-tibiadata-api-go-image-sha client-payload: '{"docker_digest": "${{ needs.build.outputs.docker_build_digest }}", "subdomain": "${{ steps.determine_deployment.outputs.subdomain }}"}' helm-chart: if: github.event_name == 'release' + permissions: + contents: write runs-on: ubuntu-latest needs: build steps: - name: Trigger workflow in tibiadata-helm-charts repo uses: peter-evans/repository-dispatch@v3 with: - token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: TibiaData/tibiadata-helm-charts event-type: bump-helm-chart-release client-payload: '{"chart_name": "${{ github.event.repository.name }}", "release_version": "${{ needs.build.outputs.docker_meta_version }}"}' From b63d6516a0421bf15a7a47c0a78b833ec796fffa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:30:59 +0100 Subject: [PATCH 08/17] deps(docker): bump alpine from 3.20.3 to 3.21.0 (#419) Bumps alpine from 3.20.3 to 3.21.0. --- updated-dependencies: - dependency-name: alpine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5597f872..09629cec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN go mod download && \ # get alpine container -FROM alpine:3.20.3 AS app +FROM alpine:3.21.0 AS app # create workdir WORKDIR /opt/app From 0dce35711de2db38bb3facd34b1434617e49738c Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Tue, 10 Dec 2024 17:50:46 +0100 Subject: [PATCH 09/17] ci: using PAT for accessing argocd repo --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ed268e1..d56da547 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,8 +100,6 @@ jobs: argocd: if: github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/main') - permissions: - contents: write runs-on: ubuntu-latest needs: build steps: @@ -117,6 +115,7 @@ jobs: - name: Trigger workflow in tibiadata-argocd-app-of-apps repo uses: peter-evans/repository-dispatch@v3 with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: TibiaData/tibiadata-argocd-app-of-apps event-type: bump-tibiadata-api-go-image-sha client-payload: '{"docker_digest": "${{ needs.build.outputs.docker_build_digest }}", "subdomain": "${{ steps.determine_deployment.outputs.subdomain }}"}' From abc1c53135704dc2b6e0d0c77c8b9a0740a477b6 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Tue, 10 Dec 2024 17:51:38 +0100 Subject: [PATCH 10/17] ci: dockerhub description update in separate file --- .github/workflows/build.yml | 16 ---------------- .github/workflows/dockerhub.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/dockerhub.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d56da547..a163cd3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,19 +133,3 @@ jobs: repository: TibiaData/tibiadata-helm-charts event-type: bump-helm-chart-release client-payload: '{"chart_name": "${{ github.event.repository.name }}", "release_version": "${{ needs.build.outputs.docker_meta_version }}"}' - - dockerhub: - if: github.event_name == 'release' - runs-on: ubuntu-latest - needs: build - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Docker Hub Description - uses: peter-evans/dockerhub-description@v4 - if: github.event_name == 'release' - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - short-description: ${{ github.event.repository.description }} diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml new file mode 100644 index 00000000..a9381468 --- /dev/null +++ b/.github/workflows/dockerhub.yml @@ -0,0 +1,23 @@ +name: dockerhub + +on: + release: + types: + - published + +permissions: + contents: read + +jobs: + description: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Docker Hub Description + uses: peter-evans/dockerhub-description@v4 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + short-description: ${{ github.event.repository.description }} From 15561e4b3746cdbff9e10943d28a04357a175c58 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:56:30 +0100 Subject: [PATCH 11/17] deps(docker): bump golang from 1.23.3 to 1.23.4 (#418) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 09629cec..87de6216 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # get golang container -FROM golang:1.23.3 AS builder +FROM golang:1.23.4 AS builder # get args ARG TibiaDataBuildBuilder=dockerfile From d12ba8c875af2b30df43d81af0ff84cffa463776 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Tue, 10 Dec 2024 20:24:54 +0100 Subject: [PATCH 12/17] ci: remove not required token for documentation --- .github/workflows/documentation.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d67464c5..ed90f9a7 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -43,7 +43,6 @@ jobs: - name: Trigger workflow in tibiadata-api-docs repo uses: peter-evans/repository-dispatch@v3 with: - token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: TibiaData/tibiadata-api-docs event-type: tibiadata-api-docs-release-update client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "tag_name": "${{ github.event.release.tag_name }}"}' From 170a62365beab4def10c75bf56352064ec4874f8 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Thu, 12 Dec 2024 20:18:29 +0100 Subject: [PATCH 13/17] feat: add root-endpoint to container (#420) * feat: add root-endpoint to container * docs: typo under deprecated endpoints --- README.md | 3 ++- src/webserver.go | 10 ++++++++++ src/webserver_test.go | 3 +++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c0206d5..5f3c6e5d 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ There is a swagger-generated documentation available for download on the [GitHub Those are the current existing endpoints. +- GET `/` - GET `/ping` - GET `/healthz` - GET `/readyz` @@ -159,7 +160,7 @@ Those are the current existing endpoints. In addition to the deprecated API versions like v1, v2 and v3, there are also some endpoints that are deprecated. As of now, those are: -- GET `/healthz` +- GET `/health` ### Restricted endpoints diff --git a/src/webserver.go b/src/webserver.go index 1b6694d2..66dfcd17 100644 --- a/src/webserver.go +++ b/src/webserver.go @@ -136,6 +136,7 @@ func runWebServer() { }) // health endpoints for kubernetes + router.GET("/", rootz) router.GET("/health", healthz) router.GET("/healthz", healthz) router.GET("/readyz", readyz) @@ -1305,6 +1306,15 @@ func TibiaDataHTMLDataCollector(TibiaDataRequest TibiaDataRequestStruct) (string return data, nil } +// rootz is a root path (for helm-testing) +func rootz(c *gin.Context) { + if !isReady.Load() { + c.JSON(http.StatusServiceUnavailable, gin.H{"error": http.StatusText(http.StatusServiceUnavailable)}) + return + } + TibiaDataAPIHandleResponse(c, "rootz", gin.H{"message": "TibiaData API up and running."}) +} + // healthz is a k8s liveness probe func healthz(c *gin.Context) { c.JSON(http.StatusOK, gin.H{"status": http.StatusText(http.StatusOK)}) diff --git a/src/webserver_test.go b/src/webserver_test.go index 56f28eba..7abd9c7d 100644 --- a/src/webserver_test.go +++ b/src/webserver_test.go @@ -244,6 +244,9 @@ func TestFakeToUpCodeCoverage(t *testing.T) { tibiaWorldsWorld(c) assert.Equal(http.StatusOK, w.Code) + rootz(c) + assert.Equal(http.StatusOK, w.Code) + healthz(c) assert.Equal(http.StatusOK, w.Code) From 364349146646694bc9d2a0c1b471033e0950ab43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 21:54:50 +0100 Subject: [PATCH 14/17] deps(go): bump golang.org/x/crypto (#421) Bumps the go_modules group with 1 update in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.27.0 to 0.31.0 - [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.31.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect dependency-group: go_modules ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index c89c063f..08d252cc 100644 --- a/go.mod +++ b/go.mod @@ -45,9 +45,9 @@ require ( github.com/twitchyliquid64/golang-asm v0.15.1 // indirect github.com/ugorji/go/codec v1.2.12 // indirect golang.org/x/arch v0.9.0 // indirect - golang.org/x/crypto v0.27.0 // indirect + golang.org/x/crypto v0.31.0 // indirect golang.org/x/net v0.29.0 // indirect - golang.org/x/sys v0.25.0 // indirect + golang.org/x/sys v0.28.0 // indirect google.golang.org/protobuf v1.34.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 16a782c2..c87939f8 100644 --- a/go.sum +++ b/go.sum @@ -80,8 +80,8 @@ golang.org/x/arch v0.9.0 h1:ub9TgUInamJ8mrZIGlBG6/4TqWeMszd4N8lNorbrr6k= golang.org/x/arch v0.9.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= -golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -102,8 +102,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= -golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= From 9e1ce404e8a51c733e4ba54c4875e9e8279347ac Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Thu, 12 Dec 2024 22:08:01 +0100 Subject: [PATCH 15/17] docs: fix formatting of v4.3.0 release --- CHANGELOG.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af6bc533..9eb4b556 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,23 @@ # Changelog -## [4.3.0] - 2023-11-22 +## [4.3.0] - 2024-11-22 ### Added -- add tibia_urls field into information-section ([#398](https://github.com/TibiaData/tibiadata-api-go/pull/398) by [Kai-Animator](https://github.com/Kai-Animator)) +- Add tibia_urls field into information-section ([#398](https://github.com/TibiaData/tibiadata-api-go/pull/398) by [Kai-Animator](https://github.com/Kai-Animator)) ### Changed -- bump codecov/codecov-action from 4 to 5 ([#406](https://github.com/TibiaData/tibiadata-api-go/pull/406) by [dependabot](https://github.com/dependabot)) -- bump github.com/go-resty/resty/v2 from 2.15.3 to 2.16.1 ([#404](https://github.com/TibiaData/tibiadata-api-go/pull/404), [#405](https://github.com/TibiaData/tibiadata-api-go/pull/405), [#407](https://github.com/TibiaData/tibiadata-api-go/pull/407), [#408](https://github.com/TibiaData/tibiadata-api-go/pull/408) by [dependabot](https://github.com/dependabot)) -- bump golang from 1.23.2 to 1.23.3 ([#403](https://github.com/TibiaData/tibiadata-api-go/pull/403) by [dependabot](https://github.com/dependabot)) -- bump golang.org/x/text from 0.19.0 to 0.20.0 ([#401](https://github.com/TibiaData/tibiadata-api-go/pull/401) by [dependabot](https://github.com/dependabot)) -- update dependabot configuration ([#399](https://github.com/TibiaData/tibiadata-api-go/pull/399) by [tobiasehlert](https://github.com/tobiasehlert)) +- Bump codecov/codecov-action from 4 to 5 ([#406](https://github.com/TibiaData/tibiadata-api-go/pull/406) by [dependabot](https://github.com/dependabot)) +- Bump github.com/go-resty/resty/v2 from 2.15.3 to 2.16.1 ([#404](https://github.com/TibiaData/tibiadata-api-go/pull/404), [#405](https://github.com/TibiaData/tibiadata-api-go/pull/405), [#407](https://github.com/TibiaData/tibiadata-api-go/pull/407), [#408](https://github.com/TibiaData/tibiadata-api-go/pull/408) by [dependabot](https://github.com/dependabot)) +- Bump golang from 1.23.2 to 1.23.3 ([#403](https://github.com/TibiaData/tibiadata-api-go/pull/403) by [dependabot](https://github.com/dependabot)) +- Bump golang.org/x/text from 0.19.0 to 0.20.0 ([#401](https://github.com/TibiaData/tibiadata-api-go/pull/401) by [dependabot](https://github.com/dependabot)) +- Update dependabot configuration ([#399](https://github.com/TibiaData/tibiadata-api-go/pull/399) by [tobiasehlert](https://github.com/tobiasehlert)) ### Fixed -- empty boostablebosses list ([#411](https://github.com/TibiaData/tibiadata-api-go/pull/411) by [tobiasehlert](https://github.com/tobiasehlert)) -- failing creature endpoints ([#412](https://github.com/TibiaData/tibiadata-api-go/pull/412) by [tobiasehlert](https://github.com/tobiasehlert)) +- Empty boostablebosses list ([#411](https://github.com/TibiaData/tibiadata-api-go/pull/411) by [tobiasehlert](https://github.com/tobiasehlert)) +- Failing creature endpoints ([#412](https://github.com/TibiaData/tibiadata-api-go/pull/412) by [tobiasehlert](https://github.com/tobiasehlert)) ## [4.2.3] - 2024-10-15 From b5fcee46e5efe1a5eaae96209ce3ee60e29b19ef Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Thu, 12 Dec 2024 22:38:51 +0100 Subject: [PATCH 16/17] fix: add missing token to github workflows --- .github/workflows/build.yml | 1 + .github/workflows/documentation.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a163cd3a..7307974c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -130,6 +130,7 @@ jobs: - name: Trigger workflow in tibiadata-helm-charts repo uses: peter-evans/repository-dispatch@v3 with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: TibiaData/tibiadata-helm-charts event-type: bump-helm-chart-release client-payload: '{"chart_name": "${{ github.event.repository.name }}", "release_version": "${{ needs.build.outputs.docker_meta_version }}"}' diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index ed90f9a7..d67464c5 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -43,6 +43,7 @@ jobs: - name: Trigger workflow in tibiadata-api-docs repo uses: peter-evans/repository-dispatch@v3 with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} repository: TibiaData/tibiadata-api-docs event-type: tibiadata-api-docs-release-update client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "tag_name": "${{ github.event.release.tag_name }}"}' From 0a070f0ca15c45ff77c03a52386b806eb4487e36 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Thu, 12 Dec 2024 22:08:26 +0100 Subject: [PATCH 17/17] bumping new version v4.3.1 updating CHANGELOG --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eb4b556..2eee6d30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [4.3.1] - 2024-12-12 + +### Added + +- Add root-endpoint to container ([#420](https://github.com/TibiaData/tibiadata-api-go/pull/420) by [tobiasehlert](https://github.com/tobiasehlert)) + +### Changed + +- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 ([#415](https://github.com/TibiaData/tibiadata-api-go/pull/415), [#416](https://github.com/TibiaData/tibiadata-api-go/pull/416) by [dependabot](https://github.com/dependabot)) +- Bump github.com/go-resty/resty/v2 from 2.16.1 to 2.16.2 ([#413](https://github.com/TibiaData/tibiadata-api-go/pull/413), [#414](https://github.com/TibiaData/tibiadata-api-go/pull/414) by [dependabot](https://github.com/dependabot)) +- Bump golang.org/x/text from 0.20.0 to 0.21.0 ([#417](https://github.com/TibiaData/tibiadata-api-go/pull/417) by [dependabot](https://github.com/dependabot)) +- Bump alpine from 3.20.3 to 3.21.0 ([#419](https://github.com/TibiaData/tibiadata-api-go/pull/419) by [dependabot](https://github.com/dependabot)) +- Bump golang from 1.23.3 to 1.23.4 ([#418](https://github.com/TibiaData/tibiadata-api-go/pull/418) by [dependabot](https://github.com/dependabot)) +- Bump golang.org/x/crypto from 0.27.0 to 0.31.0 ([#421](https://github.com/TibiaData/tibiadata-api-go/pull/421) by [dependabot](https://github.com/dependabot)) + ## [4.3.0] - 2024-11-22 ### Added @@ -533,6 +548,7 @@ Head over to [tibiadata.com](https://tibiadata.com/2022/03/tibiadata-api-v3-rele Initial commit +[4.3.1]: https://github.com/tibiadata/tibiadata-api-go/compare/v4.3.0...v4.3.1 [4.3.0]: https://github.com/tibiadata/tibiadata-api-go/compare/v4.2.3...v4.3.0 [4.2.3]: https://github.com/tibiadata/tibiadata-api-go/compare/v4.2.2...v4.2.3 [4.2.2]: https://github.com/tibiadata/tibiadata-api-go/compare/v4.2.1...v4.2.2