diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d91054..3c4befe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,143 +3,164 @@ ## [1.16.6] - 2023-12-19 ### Changed -* bump golang from 1.21.2 to 1.21.5 ([#251](https://github.com/tobiasehlert/teslamateapi/pull/251), [#253](https://github.com/tobiasehlert/teslamateapi/pull/253), [#257](https://github.com/tobiasehlert/teslamateapi/pull/257) by [dependabot](https://github.com/dependabot)) -* bump actions/setup-go from 4 to 5 ([#256](https://github.com/tobiasehlert/teslamateapi/pull/256) by [dependabot](https://github.com/dependabot)) -* bump github/codeql-action from 2 to 3 ([#258](https://github.com/tobiasehlert/teslamateapi/pull/258) by [dependabot](https://github.com/dependabot)) -* bump golang.org/x/crypto from 0.14.0 to 0.17.0 ([#259](https://github.com/tobiasehlert/teslamateapi/pull/259) by [dependabot](https://github.com/dependabot)) + +- bump golang from 1.21.2 to 1.21.5 ([#251](https://github.com/tobiasehlert/teslamateapi/pull/251), [#253](https://github.com/tobiasehlert/teslamateapi/pull/253), [#257](https://github.com/tobiasehlert/teslamateapi/pull/257) by [dependabot](https://github.com/dependabot)) +- bump actions/setup-go from 4 to 5 ([#256](https://github.com/tobiasehlert/teslamateapi/pull/256) by [dependabot](https://github.com/dependabot)) +- bump github/codeql-action from 2 to 3 ([#258](https://github.com/tobiasehlert/teslamateapi/pull/258) by [dependabot](https://github.com/dependabot)) +- bump golang.org/x/crypto from 0.14.0 to 0.17.0 ([#259](https://github.com/tobiasehlert/teslamateapi/pull/259) by [dependabot](https://github.com/dependabot)) ## [1.16.5] - 2023-10-12 ### Changed -* bump golang from 1.21.1 to 1.21.2 ([#247](https://github.com/tobiasehlert/teslamateapi/pull/247) by [dependabot](https://github.com/dependabot)) -* bump golang.org/x/net from 0.15.0 to 0.17.0 ([#248](https://github.com/tobiasehlert/teslamateapi/pull/248) by [dependabot](https://github.com/dependabot)) -* workflow setup go version by go.mod ([#249](https://github.com/tobiasehlert/teslamateapi/pull/249) by [tobiasehlert](https://github.com/tobiasehlert)) + +- bump golang from 1.21.1 to 1.21.2 ([#247](https://github.com/tobiasehlert/teslamateapi/pull/247) by [dependabot](https://github.com/dependabot)) +- bump golang.org/x/net from 0.15.0 to 0.17.0 ([#248](https://github.com/tobiasehlert/teslamateapi/pull/248) by [dependabot](https://github.com/dependabot)) +- workflow setup go version by go.mod ([#249](https://github.com/tobiasehlert/teslamateapi/pull/249) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.16.4] - 2023-09-23 ### Fixed -* fix NullString issue in several endpoints ([#245](https://github.com/tobiasehlert/teslamateapi/pull/245) by [tobiasehlert](https://github.com/tobiasehlert)) + +- fix NullString issue in several endpoints ([#245](https://github.com/tobiasehlert/teslamateapi/pull/245) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.16.3] - 2023-09-22 ### Changed -* bump actions/checkout from 3 to 4 ([#233](https://github.com/tobiasehlert/teslamateapi/pull/233) by [dependabot](https://github.com/dependabot)) -* bump docker/build-push-action from 4 to 5 ([#239](https://github.com/tobiasehlert/teslamateapi/pull/239) by [dependabot](https://github.com/dependabot)) -* bump docker/login-action from 2 to 3 ([#238](https://github.com/tobiasehlert/teslamateapi/pull/238) by [dependabot](https://github.com/dependabot)) -* bump docker/metadata-action from 4 to 5 ([#237](https://github.com/tobiasehlert/teslamateapi/pull/237) by [dependabot](https://github.com/dependabot)) -* bump docker/setup-buildx-action from 2 to 3 ([#236](https://github.com/tobiasehlert/teslamateapi/pull/236) by [dependabot](https://github.com/dependabot)) -* bump docker/setup-qemu-action from 2 to 3 ([#235](https://github.com/tobiasehlert/teslamateapi/pull/235) by [dependabot](https://github.com/dependabot)) -* bump golang from 1.20.6 to 1.21.1 ([#231](https://github.com/tobiasehlert/teslamateapi/pull/231), [#234](https://github.com/tobiasehlert/teslamateapi/pull/234) by [dependabot](https://github.com/dependabot)) -* cleaning, bumping and enhancing ([#243](https://github.com/tobiasehlert/teslamateapi/pull/243) by [tobiasehlert](https://github.com/tobiasehlert)) + +- bump actions/checkout from 3 to 4 ([#233](https://github.com/tobiasehlert/teslamateapi/pull/233) by [dependabot](https://github.com/dependabot)) +- bump docker/build-push-action from 4 to 5 ([#239](https://github.com/tobiasehlert/teslamateapi/pull/239) by [dependabot](https://github.com/dependabot)) +- bump docker/login-action from 2 to 3 ([#238](https://github.com/tobiasehlert/teslamateapi/pull/238) by [dependabot](https://github.com/dependabot)) +- bump docker/metadata-action from 4 to 5 ([#237](https://github.com/tobiasehlert/teslamateapi/pull/237) by [dependabot](https://github.com/dependabot)) +- bump docker/setup-buildx-action from 2 to 3 ([#236](https://github.com/tobiasehlert/teslamateapi/pull/236) by [dependabot](https://github.com/dependabot)) +- bump docker/setup-qemu-action from 2 to 3 ([#235](https://github.com/tobiasehlert/teslamateapi/pull/235) by [dependabot](https://github.com/dependabot)) +- bump golang from 1.20.6 to 1.21.1 ([#231](https://github.com/tobiasehlert/teslamateapi/pull/231), [#234](https://github.com/tobiasehlert/teslamateapi/pull/234) by [dependabot](https://github.com/dependabot)) +- cleaning, bumping and enhancing ([#243](https://github.com/tobiasehlert/teslamateapi/pull/243) by [tobiasehlert](https://github.com/tobiasehlert)) ### Fixed -* change CarName to be NullString instead of string ([#242](https://github.com/tobiasehlert/teslamateapi/pull/242) by [tobiasehlert](https://github.com/tobiasehlert)) + +- change CarName to be NullString instead of string ([#242](https://github.com/tobiasehlert/teslamateapi/pull/242) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.16.2] - 2023-07-28 ### Changed -* bump github.com/thanhpk/randstr from 1.0.5 to 1.0.6 ([#222](https://github.com/tobiasehlert/teslamateapi/pull/222) by [dependabot](https://github.com/dependabot)) -* bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 ([#223](https://github.com/tobiasehlert/teslamateapi/pull/223) by [dependabot](https://github.com/dependabot)) -* bump golang from 1.20.4 to 1.20.6 ([#225](https://github.com/tobiasehlert/teslamateapi/pull/225), [#230](https://github.com/tobiasehlert/teslamateapi/pull/230) by [dependabot](https://github.com/dependabot)) -* bump github.com/eclipse/paho.mqtt.golang from 1.4.2 to 1.4.3 ([#229](https://github.com/tobiasehlert/teslamateapi/pull/229) by [dependabot](https://github.com/dependabot)) + +- bump github.com/thanhpk/randstr from 1.0.5 to 1.0.6 ([#222](https://github.com/tobiasehlert/teslamateapi/pull/222) by [dependabot](https://github.com/dependabot)) +- bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 ([#223](https://github.com/tobiasehlert/teslamateapi/pull/223) by [dependabot](https://github.com/dependabot)) +- bump golang from 1.20.4 to 1.20.6 ([#225](https://github.com/tobiasehlert/teslamateapi/pull/225), [#230](https://github.com/tobiasehlert/teslamateapi/pull/230) by [dependabot](https://github.com/dependabot)) +- bump github.com/eclipse/paho.mqtt.golang from 1.4.2 to 1.4.3 ([#229](https://github.com/tobiasehlert/teslamateapi/pull/229) by [dependabot](https://github.com/dependabot)) ## [1.16.1] - 2023-05-22 ### Changed -* bump docker/build-push-action from 3 to 4 ([#208](https://github.com/tobiasehlert/teslamateapi/pull/208) by [dependabot](https://github.com/dependabot)) -* bump github.com/eclipse/paho.mqtt.golang from 1.4.1 to 1.4.2 ([#202](https://github.com/tobiasehlert/teslamateapi/pull/202) by [dependabot](https://github.com/dependabot)) -* bump github.com/gin-gonic/gin from 1.8.1 to 1.9.0 ([#206](https://github.com/tobiasehlert/teslamateapi/pull/206), [#211](https://github.com/tobiasehlert/teslamateapi/pull/211) by [dependabot](https://github.com/dependabot)) -* bump github.com/lib/pq from 1.10.7 to 1.10.9 ([#220](https://github.com/tobiasehlert/teslamateapi/pull/220) by [dependabot](https://github.com/dependabot)) -* bump github.com/thanhpk/randstr from 1.0.4 to 1.0.5 ([#215](https://github.com/tobiasehlert/teslamateapi/pull/215) by [dependabot](https://github.com/dependabot)) -* bump golang from 1.19.2 to 1.20.4 ([#204](https://github.com/tobiasehlert/teslamateapi/pull/204), [#205](https://github.com/tobiasehlert/teslamateapi/pull/205), [#207](https://github.com/tobiasehlert/teslamateapi/pull/207), [#210](https://github.com/tobiasehlert/teslamateapi/pull/210), [#213](https://github.com/tobiasehlert/teslamateapi/pull/213), [#216](https://github.com/tobiasehlert/teslamateapi/pull/216), [#221](https://github.com/tobiasehlert/teslamateapi/pull/221) by [dependabot](https://github.com/dependabot)) + +- bump docker/build-push-action from 3 to 4 ([#208](https://github.com/tobiasehlert/teslamateapi/pull/208) by [dependabot](https://github.com/dependabot)) +- bump github.com/eclipse/paho.mqtt.golang from 1.4.1 to 1.4.2 ([#202](https://github.com/tobiasehlert/teslamateapi/pull/202) by [dependabot](https://github.com/dependabot)) +- bump github.com/gin-gonic/gin from 1.8.1 to 1.9.0 ([#206](https://github.com/tobiasehlert/teslamateapi/pull/206), [#211](https://github.com/tobiasehlert/teslamateapi/pull/211) by [dependabot](https://github.com/dependabot)) +- bump github.com/lib/pq from 1.10.7 to 1.10.9 ([#220](https://github.com/tobiasehlert/teslamateapi/pull/220) by [dependabot](https://github.com/dependabot)) +- bump github.com/thanhpk/randstr from 1.0.4 to 1.0.5 ([#215](https://github.com/tobiasehlert/teslamateapi/pull/215) by [dependabot](https://github.com/dependabot)) +- bump golang from 1.19.2 to 1.20.4 ([#204](https://github.com/tobiasehlert/teslamateapi/pull/204), [#205](https://github.com/tobiasehlert/teslamateapi/pull/205), [#207](https://github.com/tobiasehlert/teslamateapi/pull/207), [#210](https://github.com/tobiasehlert/teslamateapi/pull/210), [#213](https://github.com/tobiasehlert/teslamateapi/pull/213), [#216](https://github.com/tobiasehlert/teslamateapi/pull/216), [#221](https://github.com/tobiasehlert/teslamateapi/pull/221) by [dependabot](https://github.com/dependabot)) ## [1.16.0] - 2022-10-12 ### Changed -* updating `go build` step in dockerfile ([#192](https://github.com/tobiasehlert/teslamateapi/pull/192) by [tobiasehlert](https://github.com/tobiasehlert)) -* bump golang from 1.18.3 to 1.19.2 ([#193](https://github.com/tobiasehlert/teslamateapi/pull/193), [#194](https://github.com/tobiasehlert/teslamateapi/pull/194), [#196](https://github.com/tobiasehlert/teslamateapi/pull/196), [#200](https://github.com/tobiasehlert/teslamateapi/pull/200) by [dependabot](https://github.com/dependabot)) -* bump github.com/lib/pq from 1.10.6 to 1.10.7 ([#195](https://github.com/tobiasehlert/teslamateapi/pull/195) by [dependabot](https://github.com/dependabot)) -* fix mqtt reconnection issue #176 ([#199](https://github.com/tobiasehlert/teslamateapi/pull/199) by [virusbrain](https://github.com/virusbrain) and [LelandSindt](https://github.com/LelandSindt)) + +- updating `go build` step in dockerfile ([#192](https://github.com/tobiasehlert/teslamateapi/pull/192) by [tobiasehlert](https://github.com/tobiasehlert)) +- bump golang from 1.18.3 to 1.19.2 ([#193](https://github.com/tobiasehlert/teslamateapi/pull/193), [#194](https://github.com/tobiasehlert/teslamateapi/pull/194), [#196](https://github.com/tobiasehlert/teslamateapi/pull/196), [#200](https://github.com/tobiasehlert/teslamateapi/pull/200) by [dependabot](https://github.com/dependabot)) +- bump github.com/lib/pq from 1.10.6 to 1.10.7 ([#195](https://github.com/tobiasehlert/teslamateapi/pull/195) by [dependabot](https://github.com/dependabot)) +- fix mqtt reconnection issue #176 ([#199](https://github.com/tobiasehlert/teslamateapi/pull/199) by [virusbrain](https://github.com/virusbrain) and [LelandSindt](https://github.com/LelandSindt)) ## [1.15.0] - 2022-07-15 ### Information + 🔓 **Encryption of API tokens** was added in [1.27.0](https://github.com/teslamate-org/teslamate/releases/tag/v1.27.0) of TeslaMate. You therefore need to adjust your TeslaMateApi deployment with the new added environment variables `ENCRYPTION_KEY`. The `ENCRYPTION_KEY` needs to have the same value as the key in the environment variables of your TeslaMate. - ### Added -* TeslaMate encryption of API tokens ([#141](https://github.com/tobiasehlert/teslamateapi/pull/141) by [LelandSindt](https://github.com/LelandSindt), [tobiasehlert](https://github.com/tobiasehlert)) -* support execute commands for China region cars ([#184](https://github.com/tobiasehlert/teslamateapi/pull/184) by [richard1122](https://github.com/richard1122)) -* support for tire pressure metrics from MQTT ([#186](https://github.com/tobiasehlert/teslamateapi/pull/186) by [tobiasehlert](https://github.com/tobiasehlert)) -* support for new commands ([#187](https://github.com/tobiasehlert/teslamateapi/pull/187) by [tobiasehlert](https://github.com/tobiasehlert)) + +- TeslaMate encryption of API tokens ([#141](https://github.com/tobiasehlert/teslamateapi/pull/141) by [LelandSindt](https://github.com/LelandSindt), [tobiasehlert](https://github.com/tobiasehlert)) +- support execute commands for China region cars ([#184](https://github.com/tobiasehlert/teslamateapi/pull/184) by [richard1122](https://github.com/richard1122)) +- support for tire pressure metrics from MQTT ([#186](https://github.com/tobiasehlert/teslamateapi/pull/186) by [tobiasehlert](https://github.com/tobiasehlert)) +- support for new commands ([#187](https://github.com/tobiasehlert/teslamateapi/pull/187) by [tobiasehlert](https://github.com/tobiasehlert)) ### Changed -* removing **v** in container image tag ([#188](https://github.com/tobiasehlert/teslamateapi/pull/188) by [tobiasehlert](https://github.com/tobiasehlert)) -* bump golang from 1.18.1 to 1.18.3 ([#177](https://github.com/tobiasehlert/teslamateapi/pull/177), [#181](https://github.com/tobiasehlert/teslamateapi/pull/181) by [dependabot](https://github.com/dependabot)) -* bump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1.4.1 ([#182](https://github.com/tobiasehlert/teslamateapi/pull/182) by [dependabot](https://github.com/dependabot)) -* bump github.com/gin-contrib/gzip from 0.0.5 to 0.0.6 ([#189](https://github.com/tobiasehlert/teslamateapi/pull/189) by [dependabot](https://github.com/dependabot)) -* bump github.com/gin-gonic/gin from 1.7.7 to 1.8.1 ([#179](https://github.com/tobiasehlert/teslamateapi/pull/179), [#183](https://github.com/tobiasehlert/teslamateapi/pull/183) by [dependabot](https://github.com/dependabot)) -* bump github.com/lib/pq from 1.10.5 to 1.10.6 ([#178](https://github.com/tobiasehlert/teslamateapi/pull/178) by [dependabot](https://github.com/dependabot)) -* some go mod and workflow build updates ([#180](https://github.com/tobiasehlert/teslamateapi/pull/180) by [dependabot](https://github.com/dependabot)) + +- removing **v** in container image tag ([#188](https://github.com/tobiasehlert/teslamateapi/pull/188) by [tobiasehlert](https://github.com/tobiasehlert)) +- bump golang from 1.18.1 to 1.18.3 ([#177](https://github.com/tobiasehlert/teslamateapi/pull/177), [#181](https://github.com/tobiasehlert/teslamateapi/pull/181) by [dependabot](https://github.com/dependabot)) +- bump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1.4.1 ([#182](https://github.com/tobiasehlert/teslamateapi/pull/182) by [dependabot](https://github.com/dependabot)) +- bump github.com/gin-contrib/gzip from 0.0.5 to 0.0.6 ([#189](https://github.com/tobiasehlert/teslamateapi/pull/189) by [dependabot](https://github.com/dependabot)) +- bump github.com/gin-gonic/gin from 1.7.7 to 1.8.1 ([#179](https://github.com/tobiasehlert/teslamateapi/pull/179), [#183](https://github.com/tobiasehlert/teslamateapi/pull/183) by [dependabot](https://github.com/dependabot)) +- bump github.com/lib/pq from 1.10.5 to 1.10.6 ([#178](https://github.com/tobiasehlert/teslamateapi/pull/178) by [dependabot](https://github.com/dependabot)) +- some go mod and workflow build updates ([#180](https://github.com/tobiasehlert/teslamateapi/pull/180) by [dependabot](https://github.com/dependabot)) ## [1.14.0] - 2022-05-08 ### Added -* adding gzip compression ([#143](https://github.com/tobiasehlert/teslamateapi/pull/143) by [tobiasehlert](https://github.com/tobiasehlert)) -* adding 404 for not found endpoints ([#144](https://github.com/tobiasehlert/teslamateapi/pull/144) by [tobiasehlert](https://github.com/tobiasehlert)) -* disabling proxy feature of gin ([#145](https://github.com/tobiasehlert/teslamateapi/pull/145) by [tobiasehlert](https://github.com/tobiasehlert)) -* adding graceful shutdown to gin ([#146](https://github.com/tobiasehlert/teslamateapi/pull/146) by [tobiasehlert](https://github.com/tobiasehlert)) + +- adding gzip compression ([#143](https://github.com/tobiasehlert/teslamateapi/pull/143) by [tobiasehlert](https://github.com/tobiasehlert)) +- adding 404 for not found endpoints ([#144](https://github.com/tobiasehlert/teslamateapi/pull/144) by [tobiasehlert](https://github.com/tobiasehlert)) +- disabling proxy feature of gin ([#145](https://github.com/tobiasehlert/teslamateapi/pull/145) by [tobiasehlert](https://github.com/tobiasehlert)) +- adding graceful shutdown to gin ([#146](https://github.com/tobiasehlert/teslamateapi/pull/146) by [tobiasehlert](https://github.com/tobiasehlert)) ### Changed -* adding two new fields in status endpoint ([#148](https://github.com/tobiasehlert/teslamateapi/pull/148) by [tobiasehlert](https://github.com/tobiasehlert)) -* bump golang from 1.17.6 to 1.18.1 ([#150](https://github.com/tobiasehlert/teslamateapi/pull/150), [#157](https://github.com/tobiasehlert/teslamateapi/pull/157), [#161](https://github.com/tobiasehlert/teslamateapi/pull/161), [#165](https://github.com/tobiasehlert/teslamateapi/pull/165) by [dependabot](https://github.com/dependabot)) -* bump github.com/lib/pq from 1.10.4 to 1.10.5 ([#164](https://github.com/tobiasehlert/teslamateapi/pull/164) by [dependabot](https://github.com/dependabot)) -* bump github/codeql-action from 1 to 2 ([#166](https://github.com/tobiasehlert/teslamateapi/pull/166) by [dependabot](https://github.com/dependabot)) -* bump various workflow versions ([#147](https://github.com/tobiasehlert/teslamateapi/pull/147), [#152](https://github.com/tobiasehlert/teslamateapi/pull/152), [#154](https://github.com/tobiasehlert/teslamateapi/pull/154), [#155](https://github.com/tobiasehlert/teslamateapi/pull/155), [#159](https://github.com/tobiasehlert/teslamateapi/pull/159), [#162](https://github.com/tobiasehlert/teslamateapi/pull/162), [#163](https://github.com/tobiasehlert/teslamateapi/pull/163), [#167](https://github.com/tobiasehlert/teslamateapi/pull/167), [#168](https://github.com/tobiasehlert/teslamateapi/pull/168), [#170](https://github.com/tobiasehlert/teslamateapi/pull/170), [#171](https://github.com/tobiasehlert/teslamateapi/pull/171), [#172](https://github.com/tobiasehlert/teslamateapi/pull/172), [#173](https://github.com/tobiasehlert/teslamateapi/pull/173), [#174](https://github.com/tobiasehlert/teslamateapi/pull/174) by [dependabot](https://github.com/dependabot)) + +- adding two new fields in status endpoint ([#148](https://github.com/tobiasehlert/teslamateapi/pull/148) by [tobiasehlert](https://github.com/tobiasehlert)) +- bump golang from 1.17.6 to 1.18.1 ([#150](https://github.com/tobiasehlert/teslamateapi/pull/150), [#157](https://github.com/tobiasehlert/teslamateapi/pull/157), [#161](https://github.com/tobiasehlert/teslamateapi/pull/161), [#165](https://github.com/tobiasehlert/teslamateapi/pull/165) by [dependabot](https://github.com/dependabot)) +- bump github.com/lib/pq from 1.10.4 to 1.10.5 ([#164](https://github.com/tobiasehlert/teslamateapi/pull/164) by [dependabot](https://github.com/dependabot)) +- bump github/codeql-action from 1 to 2 ([#166](https://github.com/tobiasehlert/teslamateapi/pull/166) by [dependabot](https://github.com/dependabot)) +- bump various workflow versions ([#147](https://github.com/tobiasehlert/teslamateapi/pull/147), [#152](https://github.com/tobiasehlert/teslamateapi/pull/152), [#154](https://github.com/tobiasehlert/teslamateapi/pull/154), [#155](https://github.com/tobiasehlert/teslamateapi/pull/155), [#159](https://github.com/tobiasehlert/teslamateapi/pull/159), [#162](https://github.com/tobiasehlert/teslamateapi/pull/162), [#163](https://github.com/tobiasehlert/teslamateapi/pull/163), [#167](https://github.com/tobiasehlert/teslamateapi/pull/167), [#168](https://github.com/tobiasehlert/teslamateapi/pull/168), [#170](https://github.com/tobiasehlert/teslamateapi/pull/170), [#171](https://github.com/tobiasehlert/teslamateapi/pull/171), [#172](https://github.com/tobiasehlert/teslamateapi/pull/172), [#173](https://github.com/tobiasehlert/teslamateapi/pull/173), [#174](https://github.com/tobiasehlert/teslamateapi/pull/174) by [dependabot](https://github.com/dependabot)) ### Fixed -* updating getEnv function log ([#156](https://github.com/tobiasehlert/teslamateapi/pull/156) by [tobiasehlert](https://github.com/tobiasehlert)) + +- updating getEnv function log ([#156](https://github.com/tobiasehlert/teslamateapi/pull/156) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.13.3] - 2022-01-27 ### Fixed -* fix append of commands to allowList ([#142](https://github.com/tobiasehlert/teslamateapi/pull/142) by [tobiasehlert](https://github.com/tobiasehlert)) + +- fix append of commands to allowList ([#142](https://github.com/tobiasehlert/teslamateapi/pull/142) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.13.2] - 2022-01-21 ### Changed -* bump docker/build-push-action from 2.7.0 to 2.8.0 ([#135](https://github.com/tobiasehlert/teslamateapi/pull/135) by [dependabot](https://github.com/dependabot)) + +- bump docker/build-push-action from 2.7.0 to 2.8.0 ([#135](https://github.com/tobiasehlert/teslamateapi/pull/135) by [dependabot](https://github.com/dependabot)) ### Fixed -* slimming down on the codebase and fixing bug with drivedetails view ([#134](https://github.com/tobiasehlert/teslamateapi/pull/134) by [tobiasehlert](https://github.com/tobiasehlert)) + +- slimming down on the codebase and fixing bug with drivedetails view ([#134](https://github.com/tobiasehlert/teslamateapi/pull/134) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.13.1] - 2022-01-12 ### Changed -* bump golang from 1.17.5 to 1.17.6 ([#133](https://github.com/tobiasehlert/teslamateapi/pull/133) by [dependabot](https://github.com/dependabot)) -* removing code smell from SonarCloud ([#132](https://github.com/tobiasehlert/teslamateapi/pull/132) by [tobiasehlert](https://github.com/tobiasehlert)) + +- bump golang from 1.17.5 to 1.17.6 ([#133](https://github.com/tobiasehlert/teslamateapi/pull/133) by [dependabot](https://github.com/dependabot)) +- removing code smell from SonarCloud ([#132](https://github.com/tobiasehlert/teslamateapi/pull/132) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.13.0] - 2022-01-05 ### Changed + - simplified response handler for communication ([#110](https://github.com/tobiasehlert/teslamateapi/pull/110) by [alecdoconnor](https://github.com/alecdoconnor), [tobiasehlert](https://github.com/tobiasehlert)) ## [1.12.1] - 2021-12-31 ### Changed + - using of BasePath function in output and redirect ([#130](https://github.com/tobiasehlert/teslamateapi/pull/130) by [tobiasehlert](https://github.com/tobiasehlert)) - updating build workflow with enhancements ([#131](https://github.com/tobiasehlert/teslamateapi/pull/131) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.12.0] - 2021-12-28 ### Fixed + - bug in new installations by changing float64 to NullFloat64 on cars efficiency ([#129](https://github.com/tobiasehlert/teslamateapi/pull/129) by [tobiasehlert](https://github.com/tobiasehlert)) ## [1.11.1] - 2021-12-23 ### Changed + - bump golang from 1.17.2 to 1.17.5 ([#115](https://github.com/tobiasehlert/teslamateapi/pull/115), [#122](https://github.com/tobiasehlert/teslamateapi/pull/122), [#124](https://github.com/tobiasehlert/teslamateapi/pull/124) by [dependabot](https://github.com/dependabot)) - bump github.com/gin-gonic/gin from 1.7.4 to 1.7.7 ([#119](https://github.com/tobiasehlert/teslamateapi/pull/119), [#120](https://github.com/tobiasehlert/teslamateapi/pull/120) by [dependabot](https://github.com/dependabot)) - bump github.com/lib/pq from 1.10.3 to 1.10.4 ([#116](https://github.com/tobiasehlert/teslamateapi/pull/116) by [dependabot](https://github.com/dependabot)) @@ -149,20 +170,24 @@ The `ENCRYPTION_KEY` needs to have the same value as the key in the environment ## [1.11.0] - 2021-11-08 ### Added -* add support for new endpoints with 4.2.2 ([#113](https://github.com/tobiasehlert/teslamateapi/pull/113) by @michaeldyrynda, [tobiasehlert](https://github.com/tobiasehlert)) + +- add support for new endpoints with 4.2.2 ([#113](https://github.com/tobiasehlert/teslamateapi/pull/113) by @michaeldyrynda, [tobiasehlert](https://github.com/tobiasehlert)) ### Changed -* bump docker/metadata-action from 3.5.0 to 3.6.0 ([#111](https://github.com/tobiasehlert/teslamateapi/pull/111) by [dependabot](https://github.com/dependabot)) + +- bump docker/metadata-action from 3.5.0 to 3.6.0 ([#111](https://github.com/tobiasehlert/teslamateapi/pull/111) by [dependabot](https://github.com/dependabot)) ## [1.10.2] - 2021-10-15 ### Changed + - bump golang from 1.17.1 to 1.17.2 ([#108](https://github.com/tobiasehlert/teslamateapi/pull/108) by [dependabot](https://github.com/dependabot)) - updating readme with table for variables ## [1.10.1] - 2021-09-23 ### Changed + - bump golang from 1.16.5 to 1.17.1 ([#90](https://github.com/tobiasehlert/teslamateapi/pull/90), [#96](https://github.com/tobiasehlert/teslamateapi/pull/96), [#103](https://github.com/tobiasehlert/teslamateapi/pull/103), [#104](https://github.com/tobiasehlert/teslamateapi/pull/104), [#107](https://github.com/tobiasehlert/teslamateapi/pull/107) by [dependabot](https://github.com/dependabot)) - bump github.com/gin-gonic/gin from 1.7.2 to 1.7.4 ([#94](https://github.com/tobiasehlert/teslamateapi/pull/94), [#100](https://github.com/tobiasehlert/teslamateapi/pull/100) by [dependabot](https://github.com/dependabot)) - bump github.com/lib/pq from 1.10.2 to 1.10.3 ([#105](https://github.com/tobiasehlert/teslamateapi/pull/105) by [dependabot](https://github.com/dependabot)) @@ -171,9 +196,11 @@ The `ENCRYPTION_KEY` needs to have the same value as the key in the environment ## [1.10.0] - 2021-06-30 ### Added + - adding power mqtt value to status endpoint ([#74](https://github.com/tobiasehlert/teslamateapi/pull/74)) ### Changed + - improved log message of convert-functions ([#75](https://github.com/tobiasehlert/teslamateapi/pull/75) by [alecdoconnor](https://github.com/alecdoconnor)) - bump various workflow versions ([#78](https://github.com/tobiasehlert/teslamateapi/pull/78), [#82](https://github.com/tobiasehlert/teslamateapi/pull/82), [#83](https://github.com/tobiasehlert/teslamateapi/pull/83) by [dependabot](https://github.com/dependabot)) - minor code adjustments based on go-staticcheck @@ -181,176 +208,211 @@ The `ENCRYPTION_KEY` needs to have the same value as the key in the environment ## [1.9.0] - 2021-06-14 ### Added + - option to disable auth token for commands ([#71](https://github.com/tobiasehlert/teslamateapi/pull/71) by [LelandSindt](https://github.com/LelandSindt)) ### Changed + - bump golang from 1.16.4 to 1.16.5 ([#72](https://github.com/tobiasehlert/teslamateapi/pull/72) by [dependabot](https://github.com/dependabot)) - bump github.com/eclipse/paho.mqtt.golang from 1.3.4 to 1.3.5 ([#73](https://github.com/tobiasehlert/teslamateapi/pull/73) by [dependabot](https://github.com/dependabot)) ## [1.8.0] - 2021-06-01 ### Fixed + - fixing sql error when EndDate is null ([#58](https://github.com/tobiasehlert/teslamateapi/pull/58) and [#69](https://github.com/tobiasehlert/teslamateapi/pull/69) by [alecdoconnor](https://github.com/alecdoconnor)) ## [1.7.1] - 2021-06-01 ### Changed + - bump github.com/gin-gonic/gin from 1.7.1 to 1.7.2 ([#63](https://github.com/tobiasehlert/teslamateapi/pull/63) by [dependabot](https://github.com/dependabot)) - bump various workflow versions ([#64](https://github.com/tobiasehlert/teslamateapi/pull/64), [#65](https://github.com/tobiasehlert/teslamateapi/pull/65), [#66](https://github.com/tobiasehlert/teslamateapi/pull/66), [#67](https://github.com/tobiasehlert/teslamateapi/pull/67) by [dependabot](https://github.com/dependabot)) ## [1.7.0] - 2021-05-20 ### Added + - feature to resume/suspend logging of TeslaMate through TeslaMateApi ([#34](https://github.com/tobiasehlert/teslamateapi/pull/34), [#45](https://github.com/tobiasehlert/teslamateapi/pull/45) and [#48](https://github.com/tobiasehlert/teslamateapi/pull/48) by [LelandSindt](https://github.com/LelandSindt)) ### Changed + - minor code adjustments based on go-staticcheck ## [1.6.2] - 2021-05-19 ### Changed + - bump github.com/lib/pq from 1.10.1 to 1.10.2 ([#59](https://github.com/tobiasehlert/teslamateapi/pull/59) by [dependabot](https://github.com/dependabot)) - bump various workflow versions ([#52](https://github.com/tobiasehlert/teslamateapi/pull/52), [#53](https://github.com/tobiasehlert/teslamateapi/pull/53), [#54](https://github.com/tobiasehlert/teslamateapi/pull/54), [#55](https://github.com/tobiasehlert/teslamateapi/pull/55), [#56](https://github.com/tobiasehlert/teslamateapi/pull/56) and [#57](https://github.com/tobiasehlert/teslamateapi/pull/57) by [dependabot](https://github.com/dependabot)) ## [1.6.1] - 2021-05-10 ### Changed + - bump golang from 1.16.3 to 1.16.4 ([#49](https://github.com/tobiasehlert/teslamateapi/pull/49) by [dependabot](https://github.com/dependabot)) - bump github.com/eclipse/paho.mqtt.golang from 1.3.3 to 1.3.4 ([#46](https://github.com/tobiasehlert/teslamateapi/pull/46) by [dependabot](https://github.com/dependabot)) ## [1.6.0] - 2021-05-03 ### Added + - doing persistant mqtt connection for status collection ([#16](https://github.com/tobiasehlert/teslamateapi/pull/16) by [LelandSindt](https://github.com/LelandSindt) and [#21](https://github.com/tobiasehlert/teslamateapi/pull/21) by [MattBrittan](https://github.com/MattBrittan)) - adding randomized string to mqtt client ([#15](https://github.com/tobiasehlert/teslamateapi/pull/15) by [LelandSindt](https://github.com/LelandSindt)) ### Changed + - fixing sql error when FastChargerBrand is null ([#39](https://github.com/tobiasehlert/teslamateapi/pull/39) by [alecdoconnor](https://github.com/alecdoconnor)) - updating workflow for stale issues/PRs ### Removed + - removing MQTT_SLEEPTIME option for mqtt connection - removing workflow for no response ## [1.5.0] - 2021-05-03 ### Changed + - missing convertion of SpeedMax and SpeedAvg in Drive (km->mi) ([#37](https://github.com/tobiasehlert/teslamateapi/pull/37) by [alecdoconnor](https://github.com/alecdoconnor)) ## [1.4.9] - 2021-05-03 ### Changed + - bump crazy-max/ghaction-docker-meta from v2.3.0 to v2.4.0 ([#35](https://github.com/tobiasehlert/teslamateapi/pull/35) by [dependabot](https://github.com/dependabot)) - updating build workflow by removing if ## [1.4.8] - 2021-04-22 ### Changed + - bump github.com/lib/pq from 1.10.0 to 1.10.1 ([#33](https://github.com/tobiasehlert/teslamateapi/pull/33) by [dependabot](https://github.com/dependabot)) ## [1.4.7] - 2021-04-13 ### Changed + - bump actions/cache from v2.1.4 to v2.1.5 ([#32](https://github.com/tobiasehlert/teslamateapi/pull/32) by [dependabot](https://github.com/dependabot)) - renaming file to lowercase to match other naming ## [1.4.6] - 2021-04-09 ### Changed + - bump github.com/gin-gonic/gin from 1.6.3 to 1.7.1 ([#31](https://github.com/tobiasehlert/teslamateapi/pull/31) by [dependabot](https://github.com/dependabot)) - bump crazy-max/ghaction-docker-meta from v2.2.1 to v2.3.0 ([#30](https://github.com/tobiasehlert/teslamateapi/pull/30) by [dependabot](https://github.com/dependabot)) ## [1.4.5] - 2021-04-06 ### Changed + - bump crazy-max/ghaction-docker-meta from v2.2.0 to v2.2.1 ([#29](https://github.com/tobiasehlert/teslamateapi/pull/29) by [dependabot](https://github.com/dependabot)) ## [1.4.4] - 2021-04-05 ### Changed + - bump crazy-max/ghaction-docker-meta from v2.1.1 to v2.2.0 ([#28](https://github.com/tobiasehlert/teslamateapi/pull/28) by [dependabot](https://github.com/dependabot)) - bump golang from 1.16.2 to 1.16.3 ([#27](https://github.com/tobiasehlert/teslamateapi/pull/27) by [dependabot](https://github.com/dependabot)) ## [1.4.3] - 2021-04-01 ### Changed + - bump github.com/eclipse/paho.mqtt.golang from 1.3.2 to 1.3.3 ([#26](https://github.com/tobiasehlert/teslamateapi/pull/26) by [dependabot](https://github.com/dependabot)) ### Removed + - github.com/go-sql-driver/mysql removed, since NullTime isn't used/supported anymore ## [1.4.2] - 2021-03-31 ### Changed + - bump crazy-max/ghaction-docker-meta from v2.1.0 to v2.1.1 ([#24](https://github.com/tobiasehlert/teslamateapi/pull/24) by [dependabot](https://github.com/dependabot)) ## [1.4.1] - 2021-03-30 ### Changed + - bump crazy-max/ghaction-docker-meta from v1 to v2.1.0 ([#23](https://github.com/tobiasehlert/teslamateapi/pull/23) by [dependabot](https://github.com/dependabot)) ## [1.4.0] - 2021-03-25 ### Added + - added feature commands to proxy POST commands to Tesla owner API ([#22](https://github.com/tobiasehlert/teslamateapi/pull/22)) - support for authentication on command endpoints ## [1.3.1] - 2021-03-23 ### Fixed + - fixing sql error when BatteryHeaterNoPower is null ([#19](https://github.com/tobiasehlert/teslamateapi/pull/19) by [LelandSindt](https://github.com/LelandSindt)) ## [1.3.0] - 2021-03-17 ### Added + - adding mqtt sleep time before doing disconnect ([#17](https://github.com/tobiasehlert/teslamateapi/pull/17)) ## [1.2.3] - 2021-03-16 ### Added + - adding probot for stale and no-response ### Changed + - bump golang from 1.16.0 to 1.16.2 ([#12](https://github.com/tobiasehlert/teslamateapi/pull/12) by [dependabot](https://github.com/dependabot)) - bump go mod version from 1.15 to 1.16 ## [1.2.2] - 2021-03-11 ### Changed + - bump github.com/lib/pq from 1.9.0 to 1.10.0 ([#7](https://github.com/tobiasehlert/teslamateapi/pull/7) by [dependabot](https://github.com/dependabot)) - adjustment in logging ## [1.2.1] - 2021-03-02 ### Fixed + - fixing endpoint redirect to /api/v1 destinations - resolving path issue with traefik ## [1.2.0] - 2021-03-02 ### Added + - adding version into URL for better versioning of api ### Changed + - previous endpoints (without versioning) return 301 towards new uri - renaming of all go files to see version number ## [1.1.1] - 2021-02-18 ### Added + - setting mqtt cleansession flag for unsubscribe on disconnect ### Changed + - changing to one multi-subscribe instead of 46 separate subscribes on mqtt ## [1.1.0] - 2021-02-18 ### Added + - adding codeql-analysis workflow - adding dependabot for gomod and docker - using go mod now ### Changed + - calling on functions without params and using gin.Context in functions instead - logging for better readability (some rows based on DEBUG_MODE) - merged TeslaMateAPICars and TeslaMateAPICarsID into one file @@ -360,25 +422,30 @@ The `ENCRYPTION_KEY` needs to have the same value as the key in the environment - some code cleanup ### Fixed + - sql query issue with TeslaMateAPICars ## [1.0.2] - 2021-02-15 ### Fixed + - sql query error ## [1.0.1] - 2021-02-15 ### Added + - / endpoint saying API is running - DEBUG_MODE variable (printing out debug of TeslaMateApi if set to true) ### Changed + - specifying port 8080 in Run() - updated Traefik example in README - code cleanup ### Fixed + - added missing tzdata package in Dockerfile ## [1.0.0] - 2021-02-15 diff --git a/README.md b/README.md index 5398a74..9b32218 100644 --- a/README.md +++ b/README.md @@ -92,62 +92,62 @@ Basically the same environment variables for the database, mqqt and timezone nee **Required** environment variables (even if there are some default values available) -| Variable | Type | Default | -|---|---|---| -| **DATABASE_USER** | string | *teslamate* | -| **DATABASE_PASS** | string | *secret* | -| **DATABASE_NAME** | string | *teslamate* | -| **DATABASE_HOST** | string | *database* | -| **ENCRYPTION_KEY** | string | | -| **MQTT_HOST** | string | *mosquitto* | -| **TZ** | string | *Europe/Berlin* | +| Variable | Type | Default | +| ------------------ | ------ | --------------- | +| **DATABASE_USER** | string | _teslamate_ | +| **DATABASE_PASS** | string | _secret_ | +| **DATABASE_NAME** | string | _teslamate_ | +| **DATABASE_HOST** | string | _database_ | +| **ENCRYPTION_KEY** | string | | +| **MQTT_HOST** | string | _mosquitto_ | +| **TZ** | string | _Europe/Berlin_ | **Optional** environment variables -| Variable | Type | Default | -|---|---|---| -| **TESLAMATE_SSL** | boolean | *false* | -| **TESLAMATE_HOST** | string | *teslamate* | -| **TESLAMATE_PORT** | string | *4000* | -| **API_TOKEN** | string | | -| **API_TOKEN_DISABLE** | string | *false* | -| **DATABASE_PORT** | integer | *5432* | -| **DATABASE_TIMEOUT** | integer | *60000* | -| **DATABASE_SSL** | boolean | *true* | -| **DEBUG_MODE** | boolean | *false* | -| **DISABLE_MQTT** | boolean | *false* | -| **MQTT_TLS** | boolean | *false* | -| **MQTT_PORT** | integer | *1883 (if TLS is true: 8883)* | -| **MQTT_USERNAME** | string | | -| **MQTT_PASSWORD** | string | | -| **MQTT_NAMESPACE** | string | | -| **MQTT_CLIENTID** | string | *4 char random string* | +| Variable | Type | Default | +| --------------------- | ------- | ----------------------------- | +| **TESLAMATE_SSL** | boolean | _false_ | +| **TESLAMATE_HOST** | string | _teslamate_ | +| **TESLAMATE_PORT** | string | _4000_ | +| **API_TOKEN** | string | | +| **API_TOKEN_DISABLE** | string | _false_ | +| **DATABASE_PORT** | integer | _5432_ | +| **DATABASE_TIMEOUT** | integer | _60000_ | +| **DATABASE_SSL** | boolean | _true_ | +| **DEBUG_MODE** | boolean | _false_ | +| **DISABLE_MQTT** | boolean | _false_ | +| **MQTT_TLS** | boolean | _false_ | +| **MQTT_PORT** | integer | _1883 (if TLS is true: 8883)_ | +| **MQTT_USERNAME** | string | | +| **MQTT_PASSWORD** | string | | +| **MQTT_NAMESPACE** | string | | +| **MQTT_CLIENTID** | string | _4 char random string_ | **Commands** environment variables -| Variable | Type | Default | -|---|---|---| -| **ENABLE_COMMANDS** | boolean | *false* | -| **COMMANDS_ALL** | boolean | *false* | -| **COMMANDS_ALLOWLIST** | string | *allow_list.json* | -| **COMMANDS_LOGGING** | boolean | *false* | -| **COMMANDS_WAKE** | boolean | *false* | -| **COMMANDS_ALERT** | boolean | *false* | -| **COMMANDS_REMOTESTART** | boolean | *false* | -| **COMMANDS_HOMELINK** | boolean | *false* | -| **COMMANDS_SPEEDLIMIT** | boolean | *false* | -| **COMMANDS_VALET** | boolean | *false* | -| **COMMANDS_SENTRYMODE** | boolean | *false* | -| **COMMANDS_DOORS** | boolean | *false* | -| **COMMANDS_TRUNK** | boolean | *false* | -| **COMMANDS_WINDOWS** | boolean | *false* | -| **COMMANDS_SUNROOF** | boolean | *false* | -| **COMMANDS_CHARGING** | boolean | *false* | -| **COMMANDS_CLIMATE** | boolean | *false* | -| **COMMANDS_MEDIA** | boolean | *false* | -| **COMMANDS_SHARING** | boolean | *false* | -| **COMMANDS_SOFTWAREUPDATE** | boolean | *false* | -| **COMMANDS_UNKNOWN** | boolean | *false* | +| Variable | Type | Default | +| --------------------------- | ------- | ----------------- | +| **ENABLE_COMMANDS** | boolean | _false_ | +| **COMMANDS_ALL** | boolean | _false_ | +| **COMMANDS_ALLOWLIST** | string | _allow_list.json_ | +| **COMMANDS_LOGGING** | boolean | _false_ | +| **COMMANDS_WAKE** | boolean | _false_ | +| **COMMANDS_ALERT** | boolean | _false_ | +| **COMMANDS_REMOTESTART** | boolean | _false_ | +| **COMMANDS_HOMELINK** | boolean | _false_ | +| **COMMANDS_SPEEDLIMIT** | boolean | _false_ | +| **COMMANDS_VALET** | boolean | _false_ | +| **COMMANDS_SENTRYMODE** | boolean | _false_ | +| **COMMANDS_DOORS** | boolean | _false_ | +| **COMMANDS_TRUNK** | boolean | _false_ | +| **COMMANDS_WINDOWS** | boolean | _false_ | +| **COMMANDS_SUNROOF** | boolean | _false_ | +| **COMMANDS_CHARGING** | boolean | _false_ | +| **COMMANDS_CLIMATE** | boolean | _false_ | +| **COMMANDS_MEDIA** | boolean | _false_ | +| **COMMANDS_SHARING** | boolean | _false_ | +| **COMMANDS_SOFTWAREUPDATE** | boolean | _false_ | +| **COMMANDS_UNKNOWN** | boolean | _false_ | ## API documentation @@ -185,7 +185,7 @@ There are two options available for authentication to be done. 2. Adding URI parameter `?token=` to the endpoint you try to reach. (not a good option) -\* *Note: If you use the second option and your logs get compromised, your token will be leaked.* +\* _Note: If you use the second option and your logs get compromised, your token will be leaked._ ### Commands @@ -201,7 +201,7 @@ There are 3 ways of using Commands: 3. The most coarse option `COMMANDS_ALL=true` will enable all commands (specific groups and allow_list will be ignored). -\* *Note: if `COMMANDS_ALL` or any specific group of commands has been enabled `COMMANDS_ALLOWLIST` is ignored.* +\* _Note: if `COMMANDS_ALL` or any specific group of commands has been enabled `COMMANDS_ALLOWLIST` is ignored._ A list of possible commands can be found under [environment variables](#environment-variables). diff --git a/go.mod b/go.mod index c6c8491..f7cfb88 100644 --- a/go.mod +++ b/go.mod @@ -10,16 +10,16 @@ require ( ) require ( - github.com/bytedance/sonic v1.10.1 // indirect + github.com/bytedance/sonic v1.10.2 // indirect github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect - github.com/chenzhuoyu/iasm v0.9.0 // indirect - github.com/gabriel-vasile/mimetype v1.4.2 // indirect + github.com/chenzhuoyu/iasm v0.9.1 // indirect + github.com/gabriel-vasile/mimetype v1.4.3 // indirect github.com/goccy/go-json v0.10.2 // indirect - github.com/klauspost/cpuid/v2 v2.2.5 // indirect - github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/klauspost/cpuid/v2 v2.2.6 // indirect + github.com/pelletier/go-toml/v2 v2.1.1 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect - golang.org/x/arch v0.5.0 // indirect - golang.org/x/sync v0.3.0 // indirect + golang.org/x/arch v0.7.0 // indirect + golang.org/x/sync v0.6.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) @@ -28,17 +28,17 @@ require ( github.com/gin-contrib/sse v0.1.0 // indirect github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect - github.com/go-playground/validator/v10 v10.15.4 // indirect - github.com/gorilla/websocket v1.5.0 // indirect + github.com/go-playground/validator/v10 v10.17.0 // indirect + github.com/gorilla/websocket v1.5.1 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/leodido/go-urn v1.2.4 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/leodido/go-urn v1.3.0 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/ugorji/go/codec v1.2.11 // indirect - golang.org/x/crypto v0.17.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sys v0.15.0 // indirect + github.com/ugorji/go/codec v1.2.12 // indirect + golang.org/x/crypto v0.18.0 // indirect + golang.org/x/net v0.20.0 // indirect + golang.org/x/sys v0.16.0 // indirect golang.org/x/text v0.14.0 // indirect - google.golang.org/protobuf v1.31.0 // indirect + google.golang.org/protobuf v1.32.0 // indirect ) diff --git a/go.sum b/go.sum index 36e13ac..d0d9ff7 100644 --- a/go.sum +++ b/go.sum @@ -1,21 +1,22 @@ github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM= -github.com/bytedance/sonic v1.10.1 h1:7a1wuFXL1cMy7a3f7/VFcEtriuXQnUBhtoVfOZiaysc= -github.com/bytedance/sonic v1.10.1/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4= +github.com/bytedance/sonic v1.10.2 h1:GQebETVBxYB7JGWJtLBi07OVzWwt+8dWA00gEVW2ZFE= +github.com/bytedance/sonic v1.10.2/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4= github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d h1:77cEq6EriyTZ0g/qfRdp61a3Uu/AWrgIq2s0ClJV1g0= github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpVsBuRksnlj1mLy4AWzRNQYxauNi62uWcE3to6eA= -github.com/chenzhuoyu/iasm v0.9.0 h1:9fhXjVzq5hUy2gkhhgHl95zG2cEAhw9OSGs8toWWAwo= github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog= +github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0= +github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 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/eclipse/paho.mqtt.golang v1.4.3 h1:2kwcUGn8seMUfWndX0hGbvH8r7crgcJguQNCyp70xik= github.com/eclipse/paho.mqtt.golang v1.4.3/go.mod h1:CSYvoAlsMkhYOXh/oKyxa8EcBci6dVkLCbo5tTC1RIE= -github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= -github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= +github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0= +github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= github.com/gin-contrib/gzip v0.0.6 h1:NjcunTcGAj5CO1gn4N8jHOSIeRFHIbn51z6K+xaN4d4= github.com/gin-contrib/gzip v0.0.6/go.mod h1:QOJlmV2xmayAjkNS2Y8NQsMneuRShOU/kjovCXNuzzk= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= @@ -33,8 +34,8 @@ github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= github.com/go-playground/validator/v10 v10.10.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos= -github.com/go-playground/validator/v10 v10.15.4 h1:zMXza4EpOdooxPel5xDqXEdXG5r+WggpvnAKMsalBjs= -github.com/go-playground/validator/v10 v10.15.4/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= +github.com/go-playground/validator/v10 v10.17.0 h1:SmVVlfAOtlZncTxRuinDPomC2DkXJ4E5T9gDA0AIH74= +github.com/go-playground/validator/v10 v10.17.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= @@ -42,13 +43,13 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= -github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= +github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= -github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/klauspost/cpuid/v2 v2.2.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc= +github.com/klauspost/cpuid/v2 v2.2.6/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= @@ -59,21 +60,21 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= -github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= -github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= +github.com/leodido/go-urn v1.3.0 h1:jX8FDLfW4ThVXctBNZ+3cIWnCSnrACDV73r76dy0aQQ= +github.com/leodido/go-urn v1.3.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= -github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= -github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= +github.com/pelletier/go-toml/v2 v2.1.1 h1:LWAJwfNvjQZCFIDKWYQaM62NcYeYViCmWIwmOStowAI= +github.com/pelletier/go-toml/v2 v2.1.1/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -89,7 +90,6 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 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.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/thanhpk/randstr v1.0.6 h1:psAOktJFD4vV9NEVb3qkhRSMvYh4ORRaj1+w/hn4B+o= @@ -98,27 +98,27 @@ github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= -github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= -github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE= +github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= -golang.org/x/arch v0.5.0 h1:jpGode6huXQxcskEIpOCvrU+tzo81b6+oFLUYXWtH/Y= -golang.org/x/arch v0.5.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.7.0 h1:pskyeJh/3AmoQ8CPE95vxHLqp1G1GfGNXTmcl9NEKTc= +golang.org/x/arch v0.7.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= -golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= +golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= +golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= 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-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -129,8 +129,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IV golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=