Skip to content

Commit 18f2508

Browse files
authored
Release/0.8.5 (#120)
* Update dependencies * Update docs
1 parent 90d9a0a commit 18f2508

File tree

12 files changed

+61
-118
lines changed

12 files changed

+61
-118
lines changed

.github/workflows/binaries.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
needs:
5252
- draft-release
5353
env:
54-
X_GO_DISTRIBUTION: "https://go.dev/dl/go1.22.9.linux-amd64.tar.gz"
54+
X_GO_DISTRIBUTION: "https://go.dev/dl/go1.22.10.linux-amd64.tar.gz"
5555
strategy:
5656
matrix:
5757
include:
@@ -162,7 +162,7 @@ jobs:
162162
needs:
163163
- draft-release
164164
env:
165-
X_GO_VERSION: "1.22.9"
165+
X_GO_VERSION: "1.22.10"
166166
strategy:
167167
matrix:
168168
include:
@@ -180,7 +180,7 @@ jobs:
180180
-
181181
uses: addnab/docker-run-action@v3
182182
with:
183-
image: golang:${{ env.X_GO_VERSION }}-alpine3.20
183+
image: golang:${{ env.X_GO_VERSION }}-alpine3.21
184184
options: >
185185
--volume ${{ github.workspace }}:/build
186186
--workdir /build
@@ -269,19 +269,19 @@ jobs:
269269
include:
270270
- arch: armv6
271271
distro: bullseye
272-
go_distribution: https://go.dev/dl/go1.22.9.linux-armv6l.tar.gz
272+
go_distribution: https://go.dev/dl/go1.22.10.linux-armv6l.tar.gz
273273
artifact: armv6-libc
274274
- arch: aarch64
275275
distro: bullseye
276-
go_distribution: https://go.dev/dl/go1.22.9.linux-arm64.tar.gz
276+
go_distribution: https://go.dev/dl/go1.22.10.linux-arm64.tar.gz
277277
artifact: arm64-libc
278278
- arch: armv6
279279
distro: alpine_latest
280-
go_distribution: https://go.dev/dl/go1.22.9.linux-armv6l.tar.gz
280+
go_distribution: https://go.dev/dl/go1.22.10.linux-armv6l.tar.gz
281281
artifact: armv6-musl
282282
- arch: aarch64
283283
distro: alpine_latest
284-
go_distribution: https://go.dev/dl/go1.22.9.linux-arm64.tar.gz
284+
go_distribution: https://go.dev/dl/go1.22.10.linux-arm64.tar.gz
285285
artifact: arm64-musl
286286
steps:
287287
- uses: actions/[email protected]

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine3.20 AS build
1+
FROM golang:1.22-alpine3.21 AS build
22

33
ARG APIFIREWALL_NAMESPACE
44
ARG APIFIREWALL_VERSION
@@ -24,7 +24,7 @@ RUN go mod download -x && \
2424
# Smoke test
2525
RUN ./api-firewall -v
2626

27-
FROM alpine:3.20 AS composer
27+
FROM alpine:3.21 AS composer
2828

2929
WORKDIR /output
3030

@@ -34,7 +34,7 @@ COPY docker-entrypoint.sh ./usr/local/bin/docker-entrypoint.sh
3434
RUN chmod 755 ./usr/local/bin/* && \
3535
chown root:root ./usr/local/bin/*
3636

37-
FROM alpine:3.20
37+
FROM alpine:3.21
3838

3939
RUN adduser -u 1000 -H -h /opt -D -s /bin/sh api-firewall
4040

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION := 0.8.4
1+
VERSION := 0.8.5
22
NAMESPACE := github.com/wallarm/api-firewall
33

44
.DEFAULT_GOAL := build
0 Bytes
Binary file not shown.

demo/docker-compose/OWASP_CoreRuleSet/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.8"
22
services:
33
api-firewall:
44
container_name: api-firewall
5-
image: wallarm/api-firewall:v0.8.4
5+
image: wallarm/api-firewall:v0.8.5
66
restart: on-failure
77
environment:
88
APIFW_URL: "http://0.0.0.0:8080"

demo/docker-compose/docker-compose-api-mode.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.8'
22
services:
33
api-firewall:
44
container_name: api-firewall
5-
image: wallarm/api-firewall:v0.8.4
5+
image: wallarm/api-firewall:v0.8.5
66
restart: on-failure
77
environment:
88
APIFW_MODE: "api"

demo/docker-compose/docker-compose-graphql-mode.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.8'
22
services:
33
api-firewall:
44
container_name: api-firewall
5-
image: wallarm/api-firewall:v0.8.4
5+
image: wallarm/api-firewall:v0.8.5
66
restart: on-failure
77
environment:
88
APIFW_MODE: "graphql"

demo/docker-compose/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.8"
22
services:
33
api-firewall:
44
container_name: api-firewall
5-
image: wallarm/api-firewall:v0.8.4
5+
image: wallarm/api-firewall:v0.8.5
66
restart: on-failure
77
environment:
88
APIFW_URL: "http://0.0.0.0:8080"

docs/release-notes.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
This page describes new releases of Wallarm API Firewall.
44

5+
## v0.8.5 (2024-12-13)
6+
7+
* Dependency upgrade
8+
* Bump Go version to 1.22.10
9+
510
## v0.8.4 (2024-11-12)
611

712
* Fixed the DNS resolver issue in the GraphQL mode

go.mod

+14-17
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
module github.com/wallarm/api-firewall
22

3-
go 1.22.9
3+
go 1.22.10
44

55
require (
66
github.com/andybalholm/brotli v1.1.1
77
github.com/ardanlabs/conf v1.5.0
88
github.com/clbanning/mxj/v2 v2.7.0
99
github.com/corazawaf/coraza/v3 v3.2.1
1010
github.com/dgraph-io/ristretto v0.2.0
11-
github.com/fasthttp/websocket v1.5.10
11+
github.com/fasthttp/websocket v1.5.11
1212
github.com/foxcpp/go-mockdns v1.1.0
13-
github.com/gabriel-vasile/mimetype v1.4.5
13+
github.com/gabriel-vasile/mimetype v1.4.7
1414
github.com/getkin/kin-openapi v0.124.0
1515
github.com/go-playground/validator v9.31.0+incompatible
1616
github.com/golang-jwt/jwt v3.2.2+incompatible
@@ -23,11 +23,11 @@ require (
2323
github.com/savsgio/gotils v0.0.0-20240704082632-aef3928b8a38
2424
github.com/sirupsen/logrus v1.9.3
2525
github.com/stretchr/testify v1.9.0
26-
github.com/valyala/fasthttp v1.57.0
26+
github.com/valyala/fasthttp v1.58.0
2727
github.com/valyala/fastjson v1.6.4
2828
github.com/wundergraph/graphql-go-tools v1.67.4
2929
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
30-
golang.org/x/sync v0.8.0
30+
golang.org/x/sync v0.10.0
3131
gopkg.in/yaml.v3 v3.0.1
3232
)
3333

@@ -36,7 +36,7 @@ require (
3636
github.com/Masterminds/semver v1.5.0 // indirect
3737
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
3838
github.com/buger/jsonparser v1.1.1 // indirect
39-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
39+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
4040
github.com/corazawaf/libinjection-go v0.2.1 // indirect
4141
github.com/davecgh/go-spew v1.1.1 // indirect
4242
github.com/dustin/go-humanize v1.0.1 // indirect
@@ -45,7 +45,6 @@ require (
4545
github.com/go-openapi/swag v0.23.0 // indirect
4646
github.com/go-playground/locales v0.13.0 // indirect
4747
github.com/go-playground/universal-translator v0.17.0 // indirect
48-
github.com/goccy/go-json v0.10.3 // indirect
4948
github.com/gorilla/mux v1.8.1 // indirect
5049
github.com/hashicorp/golang-lru v0.5.4 // indirect
5150
github.com/huandu/xstrings v1.2.1 // indirect
@@ -58,7 +57,7 @@ require (
5857
github.com/leodido/go-urn v1.2.0 // indirect
5958
github.com/magefile/mage v1.15.0 // indirect
6059
github.com/mailru/easyjson v0.7.7 // indirect
61-
github.com/miekg/dns v1.1.57 // indirect
60+
github.com/miekg/dns v1.1.62 // indirect
6261
github.com/mitchellh/copystructure v1.0.0 // indirect
6362
github.com/mitchellh/reflectwalk v1.0.0 // indirect
6463
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
@@ -74,18 +73,16 @@ require (
7473
github.com/tidwall/match v1.1.1 // indirect
7574
github.com/tidwall/pretty v1.2.1 // indirect
7675
github.com/tidwall/sjson v1.2.5 // indirect
77-
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
7876
github.com/valyala/bytebufferpool v1.0.0 // indirect
7977
go.uber.org/multierr v1.11.0 // indirect
80-
go.uber.org/zap v1.26.0 // indirect
81-
golang.org/x/crypto v0.28.0 // indirect
82-
golang.org/x/mod v0.21.0 // indirect
83-
golang.org/x/net v0.30.0 // indirect
84-
golang.org/x/sys v0.26.0 // indirect
85-
golang.org/x/tools v0.25.0 // indirect
86-
google.golang.org/protobuf v1.34.2 // indirect
78+
go.uber.org/zap v1.27.0 // indirect
79+
golang.org/x/crypto v0.31.0 // indirect
80+
golang.org/x/mod v0.22.0 // indirect
81+
golang.org/x/net v0.32.0 // indirect
82+
golang.org/x/sys v0.28.0 // indirect
83+
golang.org/x/tools v0.28.0 // indirect
8784
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
8885
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
89-
nhooyr.io/websocket v1.8.7 // indirect
86+
nhooyr.io/websocket v1.8.17 // indirect
9087
rsc.io/binaryregexp v0.2.0 // indirect
9188
)

0 commit comments

Comments
 (0)