Skip to content

Commit 5bf1807

Browse files
author
txix
committed
2026-04-23 17:27:09: merge [main:48ccd130b2c03616d9d7fa2fecb57426bbf3c6c4];
1 parent e571aa7 commit 5bf1807

25 files changed

Lines changed: 453 additions & 156 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ fabric.properties
6767
# Output of the go coverage tool, specifically when used with LiteIDE
6868
*.out
6969

70-
/node_modules/
7170
/vendor/
71+
/node_modules/
7272
package.json
7373
yarn.lock
7474

.golangci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ linters:
1010
- exhaustruct # не имеет смысла
1111
- godot # не актуально для swagger
1212
- godox # не позволяет оставлять todo
13-
- gomoddirectives
1413
- musttag # у нас собственное правило: не используем теги, если работаем с пакетом isp-kit/json и с внутренними структурами(между нашими сервисами), при этом теги обязательный для всех внешних для нас структур
1514
- nlreturn # не всегда имеет смысл
1615
- nolintlint # Goland все равно форматирует с отступом
1716
- perfsprint # мнимая производительность в угоду читаемости
1817
- tagalign # не всегда имеет смысл
1918
- varnamelen # очень индивидуально (db)
2019
- wsl # расставление пробелов очень индивидуально
21-
- wsl_v5
20+
- wsl_v5 # расставление пробелов очень индивидуально
21+
- godoclint # ругается на // nolint, не удобно
22+
- prealloc # слишком аггресивный, в большинстве случаев не требуется
23+
- gomoddirectives # в проекте осознанно захардкожены версии зависимостей
2224
settings:
2325
cyclop:
2426
max-complexity: 15 # по умолчанию 10 мало
@@ -55,6 +57,10 @@ linters:
5557
- linters:
5658
- wrapcheck
5759
path: transaction # транзакции прозрачны
60+
- linters:
61+
- unqueryvet
62+
- prealloc
63+
path: ".*_test\\.go$"
5864
paths:
5965
- third_party$
6066
- builtin$
@@ -67,4 +73,4 @@ formatters:
6773
paths:
6874
- third_party$
6975
- builtin$
70-
- examples$
76+
- examples$

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.9.0
1+
3.9.1

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25-alpine as builder
1+
FROM golang:1.26-alpine as builder
22
WORKDIR /build
33
ARG version
44
ENV version_env=$version

Dockerfile.dit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM dockerhub.mos.ru/mosos/arbat:15.5 as builder
2-
RUN zypper --no-gpg-checks update -y && zypper --no-gpg-checks install -y go1.25 git
2+
RUN zypper --no-gpg-checks update -y && zypper --no-gpg-checks install -y go1.26 git
33
WORKDIR /build
44
ARG version
55
ENV version_env=$version

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v3.9.1
2+
* Версия go 1.26
3+
* Добавлен эндпоинт `/module/get_required_modules` для получения списка модулей, от которых зависит модуль, отправивший запрос
14
### v3.9.0
25
* Обновлены зависимости
36
* Добавлено поле `transport` в таблицу `isp_config_service__backend`

cmd/migrate/go.mod

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
module isp-config-service/migrate
22

3-
go 1.25.0
3+
go 1.26
44

55
replace isp-config-service => ../..
66

77
require (
88
github.com/jmoiron/sqlx v1.4.0
9-
github.com/mattn/go-sqlite3 v1.14.32
9+
github.com/mattn/go-sqlite3 v1.14.42
1010
github.com/pkg/errors v0.9.1
11-
github.com/pressly/goose/v3 v3.26.0
12-
github.com/txix-open/isp-kit v1.64.11
11+
github.com/pressly/goose/v3 v3.27.0
12+
github.com/txix-open/isp-kit v1.67.0
1313
isp-config-service v0.0.0-00010101000000-000000000000
1414
)
1515

@@ -19,17 +19,17 @@ require (
1919
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
2020
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2121
github.com/coder/websocket v1.8.14 // indirect
22-
github.com/gabriel-vasile/mimetype v1.4.11 // indirect
22+
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
2323
github.com/go-logr/logr v1.4.3 // indirect
2424
github.com/go-logr/stdr v1.2.2 // indirect
2525
github.com/go-playground/locales v0.14.1 // indirect
2626
github.com/go-playground/universal-translator v0.18.1 // indirect
2727
github.com/google/uuid v1.6.0 // indirect
28-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3 // indirect
28+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 // indirect
2929
github.com/iancoleman/strcase v0.3.0 // indirect
3030
github.com/jackc/pgpassfile v1.0.0 // indirect
3131
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
32-
github.com/jackc/pgx/v5 v5.7.6 // indirect
32+
github.com/jackc/pgx/v5 v5.9.2 // indirect
3333
github.com/jackc/puddle/v2 v2.2.2 // indirect
3434
github.com/json-iterator/go v1.1.12 // indirect
3535
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
@@ -42,8 +42,8 @@ require (
4242
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4343
github.com/prometheus/client_golang v1.23.2 // indirect
4444
github.com/prometheus/client_model v0.6.2 // indirect
45-
github.com/prometheus/common v0.67.3 // indirect
46-
github.com/prometheus/procfs v0.19.2 // indirect
45+
github.com/prometheus/common v0.67.5 // indirect
46+
github.com/prometheus/procfs v0.20.1 // indirect
4747
github.com/sethvargo/go-retry v0.3.0 // indirect
4848
github.com/tidwall/gjson v1.18.0 // indirect
4949
github.com/tidwall/match v1.2.0 // indirect
@@ -52,26 +52,26 @@ require (
5252
github.com/txix-open/etp/v4 v4.0.1 // indirect
5353
github.com/txix-open/validator/v10 v10.0.0-20250506161033-f8ce404fffdb // indirect
5454
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
55-
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.63.0 // indirect
56-
go.opentelemetry.io/otel v1.38.0 // indirect
57-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect
58-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0 // indirect
59-
go.opentelemetry.io/otel/metric v1.38.0 // indirect
60-
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
61-
go.opentelemetry.io/otel/trace v1.38.0 // indirect
62-
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
55+
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.68.0 // indirect
56+
go.opentelemetry.io/otel v1.43.0 // indirect
57+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 // indirect
58+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0 // indirect
59+
go.opentelemetry.io/otel/metric v1.43.0 // indirect
60+
go.opentelemetry.io/otel/sdk v1.43.0 // indirect
61+
go.opentelemetry.io/otel/trace v1.43.0 // indirect
62+
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
6363
go.uber.org/multierr v1.11.0 // indirect
6464
go.uber.org/zap v1.27.1 // indirect
65-
go.yaml.in/yaml/v2 v2.4.3 // indirect
66-
golang.org/x/crypto v0.45.0 // indirect
67-
golang.org/x/net v0.47.0 // indirect
68-
golang.org/x/sync v0.18.0 // indirect
69-
golang.org/x/sys v0.38.0 // indirect
70-
golang.org/x/text v0.31.0 // indirect
71-
google.golang.org/genproto/googleapis/api v0.0.0-20251111163417-95abcf5c77ba // indirect
72-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251124214823-79d6a2a48846 // indirect
73-
google.golang.org/grpc v1.77.0 // indirect
74-
google.golang.org/protobuf v1.36.10 // indirect
65+
go.yaml.in/yaml/v2 v2.4.4 // indirect
66+
golang.org/x/crypto v0.50.0 // indirect
67+
golang.org/x/net v0.53.0 // indirect
68+
golang.org/x/sync v0.20.0 // indirect
69+
golang.org/x/sys v0.43.0 // indirect
70+
golang.org/x/text v0.36.0 // indirect
71+
google.golang.org/genproto/googleapis/api v0.0.0-20260420184626-e10c466a9529 // indirect
72+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260420184626-e10c466a9529 // indirect
73+
google.golang.org/grpc v1.80.0 // indirect
74+
google.golang.org/protobuf v1.36.11 // indirect
7575
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
7676
gopkg.in/yaml.v3 v3.0.1 // indirect
7777
)

0 commit comments

Comments
 (0)