Skip to content

Commit 7bd6068

Browse files
authored
Merge branch 'pterodactyl:develop' into develop
2 parents 124caaa + 00605c9 commit 7bd6068

24 files changed

Lines changed: 480 additions & 202 deletions

.github/FUNDING.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github: [matthewpi]
1+
github: [pterodactyl]

.github/workflows/push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-24.04]
19-
go: ["1.23.7", "1.24.1"]
19+
go: ["1.24.1"]
2020
goos: [linux]
2121
goarch: [amd64, arm64]
2222
permissions:

.github/workflows/release.yaml

Lines changed: 16 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,49 @@
11
name: Release
2-
32
on:
43
push:
54
tags:
65
- "v*"
7-
86
jobs:
97
release:
108
name: Release
11-
runs-on: ubuntu-24.04
9+
runs-on: ubuntu-latest
1210
permissions:
13-
contents: write # write is required to create releases and push.
14-
11+
contents: write
1512
steps:
16-
- name: Code checkout
17-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18-
19-
- name: Setup Go
20-
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
13+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
14+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
2115
with:
22-
go-version: "1.23.7"
23-
16+
go-version: "1.24.1"
2417
- name: Build release binaries
2518
env:
2619
CGO_ENABLED: 0
27-
REF: ${{ github.ref }}
2820
run: |
29-
GOARCH=amd64 go build -o dist/wings_linux_amd64 -v -trimpath -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=${REF:11}" github.com/pterodactyl/wings
21+
GOARCH=amd64 go build -o dist/wings_linux_amd64 -v -trimpath -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=${{ github.ref_name }}" github.com/pterodactyl/wings
3022
chmod 755 dist/wings_linux_amd64
31-
GOARCH=arm64 go build -o dist/wings_linux_arm64 -v -trimpath -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=${REF:11}" github.com/pterodactyl/wings
23+
GOARCH=arm64 go build -o dist/wings_linux_arm64 -v -trimpath -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=${{ github.ref_name }}" github.com/pterodactyl/wings
3224
chmod 755 dist/wings_linux_arm64
33-
34-
- name: Extract changelog
35-
env:
36-
REF: ${{ github.ref }}
37-
run: |
38-
sed -n "/^## ${REF:10}/,/^## /{/^## /b;p}" CHANGELOG.md > ./RELEASE_CHANGELOG
39-
40-
- name: Create checksum and add to changelog
41-
run: |
42-
SUM=`cd dist && sha256sum wings_linux_amd64`
43-
SUM2=`cd dist && sha256sum wings_linux_arm64`
44-
echo -e "\n#### SHA256 Checksum\n\`\`\`\n$SUM\n$SUM2\n\`\`\`\n" >> ./RELEASE_CHANGELOG
45-
echo -e "$SUM\n$SUM2" > checksums.txt
46-
4725
- name: Create release branch
4826
env:
49-
REF: ${{ github.ref }}
27+
VERSION: ${{ github.ref_name }}
5028
run: |
51-
BRANCH=release/${REF:10}
29+
BRANCH=release/${{ env.VERSION }}
5230
git config --local user.email "ci@pterodactyl.io"
5331
git config --local user.name "Pterodactyl CI"
5432
git checkout -b $BRANCH
5533
git push -u origin $BRANCH
56-
sed -i "s/var Version = \".*\"/var Version = \"${REF:11}\"/" system/const.go
34+
sed -i "s/var Version = \".*\"/var Version = \"${VERSION:1}\"/" system/const.go
5735
git add system/const.go
58-
git commit -m "bump version for release"
36+
git commit -m "ci(release): bump version"
5937
git push
60-
61-
- name: Create release
62-
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
38+
- name: write changelog
39+
run: |
40+
sed -n "/^## ${{ github.ref_name }}/,/^## /{/^## /b;p}" CHANGELOG.md > ./RELEASE_CHANGELOG
41+
- uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
6342
env:
6443
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6544
with:
6645
draft: true
67-
prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}
46+
prerelease: ${{ contains(github.ref_name, 'rc') || contains(github.ref_name, 'beta') || contains(github.ref_name, 'alpha') }}
6847
body_path: ./RELEASE_CHANGELOG
6948
files: |
7049
dist/*
71-
checksums.txt

CHANGELOG.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
# Changelog
22

3-
## v1.11.14
3+
## v1.12.0
4+
### Fixed
5+
* [CVE-2025-68954](https://github.com/pterodactyl/panel/security/advisories/GHSA-8c39-xppg-479c)
6+
* [CVE-2025-69199](https://github.com/pterodactyl/panel/security/advisories/GHSA-8w7m-w749-rx98)
7+
* [CVE-2026-21696](https://github.com/pterodactyl/wings/security/advisories/GHSA-2497-gp99-2m74)
8+
* Fixes folders not being sorted before files when returning list of directory contents ([#5078](https://github.com/pterodactyl/panel/issues/5078))
9+
* User-defined labels not being passed to environment ([#191](https://github.com/pterodactyl/wings/pulls/191))
10+
* Fixes handling of termination signals for containers ([#192](https://github.com/pterodactyl/wings/pulls/192))
11+
* Fixes logic to use base2 (1024, *bibyte) when calculating memory limits ([#190](https://github.com/pterodactyl/wings/pulls/190))
12+
* Fixes hard-links being counted multiple times when calculating disk usage ([#181](https://github.com/pterodactyl/wings/pulls/181))
413

514
### Added
6-
715
* Support relative file paths for the Wings config ([#180](https://github.com/pterodactyl/wings/pull/180))
8-
9-
### Fixed
10-
11-
* Folders not being sorted before files properly ([#5078](https://github.com/pterodactyl/panel/issues/5078)
16+
* Support mounting generated `/etc/passwd` files to containers ([#197](https://github.com/pterodactyl/wings/pulls/197))
1217

1318
## v1.11.13
14-
1519
### Fixed
16-
1720
* Auto-configure not working ([#5087](https://github.com/pterodactyl/panel/issues/5087))
1821
* Individual files unable to be decompressed ([#5034](https://github.com/pterodactyl/panel/issues/5034))
1922

2023
## v1.11.12
21-
2224
### Fixed
2325
* Arbitrary File Write/Read ([GHSA-gqmf-jqgv-v8fw](https://github.com/pterodactyl/wings/security/advisories/GHSA-gqmf-jqgv-v8fw))
2426
* Server-side Request Forgery (SSRF) during remote file pull ([GHSA-qq22-jj8x-4wwv](https://github.com/pterodactyl/wings/security/advisories/GHSA-qq22-jj8x-4wwv))

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1 (Build)
2-
FROM golang:1.23.7-alpine AS builder
2+
FROM golang:1.24.1-alpine AS builder
33

44
ARG VERSION
55
RUN apk add --update --no-cache git make mailcap

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies, and allowing users to authenticate with the same credentials they
1616
## Sponsors
1717

1818
I would like to extend my sincere thanks to the following sponsors for helping fund Pterodactyl's development.
19-
[Interested in becoming a sponsor?](https://github.com/sponsors/matthewpi)
19+
[Interested in becoming a sponsor?](https://github.com/sponsors/pterodactyl)
2020

2121
| Company | About |
2222
|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

cmd/configure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func configureCmdRun(cmd *cobra.Command, args []string) {
125125
}
126126

127127
fmt.Printf("%+v", req.Header)
128-
fmt.Printf(req.URL.String())
128+
fmt.Println(req.URL.String())
129129

130130
res, err := c.Do(req)
131131
if err != nil {

go.mod

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/pterodactyl/wings
22

3-
go 1.23.0
3+
go 1.24.0
44

55
toolchain go1.24.1
66

@@ -35,16 +35,16 @@ require (
3535
github.com/klauspost/pgzip v1.2.6
3636
github.com/magiconair/properties v1.8.9
3737
github.com/mattn/go-colorable v0.1.14
38-
github.com/mholt/archives v0.1.3
38+
github.com/mholt/archives v0.1.5
3939
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
4040
github.com/patrickmn/go-cache v2.1.0+incompatible
41-
github.com/pkg/sftp v1.13.9
41+
github.com/pkg/sftp v1.13.10
4242
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
4343
github.com/spf13/cobra v1.9.1
4444
github.com/stretchr/testify v1.10.0
45-
golang.org/x/crypto v0.41.0
46-
golang.org/x/sync v0.16.0
47-
golang.org/x/sys v0.35.0
45+
golang.org/x/crypto v0.46.0
46+
golang.org/x/sync v0.19.0
47+
golang.org/x/sys v0.39.0
4848
gopkg.in/ini.v1 v1.67.0
4949
gopkg.in/yaml.v2 v2.4.0
5050
gopkg.in/yaml.v3 v3.0.1
@@ -54,10 +54,10 @@ require (
5454
require (
5555
github.com/Microsoft/go-winio v0.6.2 // indirect
5656
github.com/Microsoft/hcsshim v0.12.9 // indirect
57-
github.com/STARRY-S/zip v0.2.2 // indirect
58-
github.com/andybalholm/brotli v1.1.2-0.20250424173009-453214e765f3 // indirect
57+
github.com/STARRY-S/zip v0.2.3 // indirect
58+
github.com/andybalholm/brotli v1.2.0 // indirect
5959
github.com/bodgit/plumbing v1.3.0 // indirect
60-
github.com/bodgit/sevenzip v1.6.0 // indirect
60+
github.com/bodgit/sevenzip v1.6.1 // indirect
6161
github.com/bodgit/windows v1.0.1 // indirect
6262
github.com/bytedance/sonic v1.13.1 // indirect
6363
github.com/bytedance/sonic/loader v0.2.4 // indirect
@@ -81,8 +81,6 @@ require (
8181
github.com/go-playground/validator/v10 v10.25.0 // indirect
8282
github.com/goccy/go-json v0.10.5 // indirect
8383
github.com/gogo/protobuf v1.3.2 // indirect
84-
github.com/hashicorp/errwrap v1.1.0 // indirect
85-
github.com/hashicorp/go-multierror v1.1.1 // indirect
8684
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
8785
github.com/inconshreveable/mousetrap v1.1.0 // indirect
8886
github.com/jinzhu/inflection v1.0.0 // indirect
@@ -96,15 +94,15 @@ require (
9694
github.com/mattn/go-isatty v0.0.20 // indirect
9795
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
9896
github.com/mikelolasagasti/xz v1.0.1 // indirect
99-
github.com/minio/minlz v1.0.0 // indirect
97+
github.com/minio/minlz v1.0.1 // indirect
10098
github.com/moby/docker-image-spec v1.3.1 // indirect
10199
github.com/moby/sys/atomicwriter v0.1.0 // indirect
102100
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
103101
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
104102
github.com/modern-go/reflect2 v1.0.2 // indirect
105103
github.com/morikuni/aec v1.0.0 // indirect
106104
github.com/ncruces/go-strftime v0.1.9 // indirect
107-
github.com/nwaples/rardecode/v2 v2.1.1 // indirect
105+
github.com/nwaples/rardecode/v2 v2.2.0 // indirect
108106
github.com/opencontainers/go-digest v1.0.0 // indirect
109107
github.com/opencontainers/image-spec v1.1.1 // indirect
110108
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
@@ -114,11 +112,12 @@ require (
114112
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
115113
github.com/robfig/cron/v3 v3.0.1 // indirect
116114
github.com/sirupsen/logrus v1.9.3 // indirect
117-
github.com/sorairolake/lzip-go v0.3.5 // indirect
115+
github.com/sorairolake/lzip-go v0.3.8 // indirect
116+
github.com/spf13/afero v1.15.0 // indirect
118117
github.com/spf13/pflag v1.0.6 // indirect
119118
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
120119
github.com/ugorji/go/codec v1.2.12 // indirect
121-
github.com/ulikunitz/xz v0.5.14 // indirect
120+
github.com/ulikunitz/xz v0.5.15 // indirect
122121
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
123122
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
124123
go.opentelemetry.io/otel v1.35.0 // indirect
@@ -130,9 +129,9 @@ require (
130129
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
131130
golang.org/x/arch v0.15.0 // indirect
132131
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect
133-
golang.org/x/net v0.42.0 // indirect
134-
golang.org/x/term v0.34.0 // indirect
135-
golang.org/x/text v0.28.0 // indirect
132+
golang.org/x/net v0.47.0 // indirect
133+
golang.org/x/term v0.38.0 // indirect
134+
golang.org/x/text v0.32.0 // indirect
136135
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af // indirect
137136
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
138137
google.golang.org/protobuf v1.36.5 // indirect

0 commit comments

Comments
 (0)