Skip to content

Commit

Permalink
Release/0.8.5 (#120)
Browse files Browse the repository at this point in the history
* Update dependencies

* Update docs
  • Loading branch information
afr1ka authored Dec 13, 2024
1 parent 90d9a0a commit 18f2508
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 118 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
needs:
- draft-release
env:
X_GO_DISTRIBUTION: "https://go.dev/dl/go1.22.9.linux-amd64.tar.gz"
X_GO_DISTRIBUTION: "https://go.dev/dl/go1.22.10.linux-amd64.tar.gz"
strategy:
matrix:
include:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
needs:
- draft-release
env:
X_GO_VERSION: "1.22.9"
X_GO_VERSION: "1.22.10"
strategy:
matrix:
include:
Expand All @@ -180,7 +180,7 @@ jobs:
-
uses: addnab/docker-run-action@v3
with:
image: golang:${{ env.X_GO_VERSION }}-alpine3.20
image: golang:${{ env.X_GO_VERSION }}-alpine3.21
options: >
--volume ${{ github.workspace }}:/build
--workdir /build
Expand Down Expand Up @@ -269,19 +269,19 @@ jobs:
include:
- arch: armv6
distro: bullseye
go_distribution: https://go.dev/dl/go1.22.9.linux-armv6l.tar.gz
go_distribution: https://go.dev/dl/go1.22.10.linux-armv6l.tar.gz
artifact: armv6-libc
- arch: aarch64
distro: bullseye
go_distribution: https://go.dev/dl/go1.22.9.linux-arm64.tar.gz
go_distribution: https://go.dev/dl/go1.22.10.linux-arm64.tar.gz
artifact: arm64-libc
- arch: armv6
distro: alpine_latest
go_distribution: https://go.dev/dl/go1.22.9.linux-armv6l.tar.gz
go_distribution: https://go.dev/dl/go1.22.10.linux-armv6l.tar.gz
artifact: armv6-musl
- arch: aarch64
distro: alpine_latest
go_distribution: https://go.dev/dl/go1.22.9.linux-arm64.tar.gz
go_distribution: https://go.dev/dl/go1.22.10.linux-arm64.tar.gz
artifact: arm64-musl
steps:
- uses: actions/checkout@v2.1.0
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-alpine3.20 AS build
FROM golang:1.22-alpine3.21 AS build

ARG APIFIREWALL_NAMESPACE
ARG APIFIREWALL_VERSION
Expand All @@ -24,7 +24,7 @@ RUN go mod download -x && \
# Smoke test
RUN ./api-firewall -v

FROM alpine:3.20 AS composer
FROM alpine:3.21 AS composer

WORKDIR /output

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

FROM alpine:3.20
FROM alpine:3.21

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

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := 0.8.4
VERSION := 0.8.5
NAMESPACE := github.com/wallarm/api-firewall

.DEFAULT_GOAL := build
Expand Down
Binary file modified cmd/api-firewall/tests/wallarm_api2_update.db
Binary file not shown.
2 changes: 1 addition & 1 deletion demo/docker-compose/OWASP_CoreRuleSet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"
services:
api-firewall:
container_name: api-firewall
image: wallarm/api-firewall:v0.8.4
image: wallarm/api-firewall:v0.8.5
restart: on-failure
environment:
APIFW_URL: "http://0.0.0.0:8080"
Expand Down
2 changes: 1 addition & 1 deletion demo/docker-compose/docker-compose-api-mode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:
api-firewall:
container_name: api-firewall
image: wallarm/api-firewall:v0.8.4
image: wallarm/api-firewall:v0.8.5
restart: on-failure
environment:
APIFW_MODE: "api"
Expand Down
2 changes: 1 addition & 1 deletion demo/docker-compose/docker-compose-graphql-mode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'
services:
api-firewall:
container_name: api-firewall
image: wallarm/api-firewall:v0.8.4
image: wallarm/api-firewall:v0.8.5
restart: on-failure
environment:
APIFW_MODE: "graphql"
Expand Down
2 changes: 1 addition & 1 deletion demo/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"
services:
api-firewall:
container_name: api-firewall
image: wallarm/api-firewall:v0.8.4
image: wallarm/api-firewall:v0.8.5
restart: on-failure
environment:
APIFW_URL: "http://0.0.0.0:8080"
Expand Down
5 changes: 5 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This page describes new releases of Wallarm API Firewall.

## v0.8.5 (2024-12-13)

* Dependency upgrade
* Bump Go version to 1.22.10

## v0.8.4 (2024-11-12)

* Fixed the DNS resolver issue in the GraphQL mode
Expand Down
31 changes: 14 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
module github.com/wallarm/api-firewall

go 1.22.9
go 1.22.10

require (
github.com/andybalholm/brotli v1.1.1
github.com/ardanlabs/conf v1.5.0
github.com/clbanning/mxj/v2 v2.7.0
github.com/corazawaf/coraza/v3 v3.2.1
github.com/dgraph-io/ristretto v0.2.0
github.com/fasthttp/websocket v1.5.10
github.com/fasthttp/websocket v1.5.11
github.com/foxcpp/go-mockdns v1.1.0
github.com/gabriel-vasile/mimetype v1.4.5
github.com/gabriel-vasile/mimetype v1.4.7
github.com/getkin/kin-openapi v0.124.0
github.com/go-playground/validator v9.31.0+incompatible
github.com/golang-jwt/jwt v3.2.2+incompatible
Expand All @@ -23,11 +23,11 @@ require (
github.com/savsgio/gotils v0.0.0-20240704082632-aef3928b8a38
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
github.com/valyala/fasthttp v1.57.0
github.com/valyala/fasthttp v1.58.0
github.com/valyala/fastjson v1.6.4
github.com/wundergraph/graphql-go-tools v1.67.4
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
golang.org/x/sync v0.8.0
golang.org/x/sync v0.10.0
gopkg.in/yaml.v3 v3.0.1
)

Expand All @@ -36,7 +36,7 @@ require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/corazawaf/libinjection-go v0.2.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
Expand All @@ -45,7 +45,6 @@ require (
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-playground/locales v0.13.0 // indirect
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/huandu/xstrings v1.2.1 // indirect
Expand All @@ -58,7 +57,7 @@ require (
github.com/leodido/go-urn v1.2.0 // indirect
github.com/magefile/mage v1.15.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/miekg/dns v1.1.57 // indirect
github.com/miekg/dns v1.1.62 // indirect
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/reflectwalk v1.0.0 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
Expand All @@ -74,18 +73,16 @@ require (
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/tidwall/sjson v1.2.5 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.26.0 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/tools v0.25.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/net v0.32.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/tools v0.28.0 // indirect
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
nhooyr.io/websocket v1.8.7 // indirect
nhooyr.io/websocket v1.8.17 // indirect
rsc.io/binaryregexp v0.2.0 // indirect
)
Loading

0 comments on commit 18f2508

Please sign in to comment.