Skip to content

Commit b45197f

Browse files
authored
Migrate to gopxl/pixel/v2 (#39)
* migrate to gopxl/pixel/v2 * fix text positioning for new behaviour * upgrade to go 1.21 * upgrade to Arche 0.9.0 and arche-model 0.5.0 * fix readme link to new version of pixel * update changelog for v0.5.0
1 parent e39ed20 commit b45197f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+253
-266
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: '1.20.x'
21+
go-version: '1.21.x'
2222
- name: Install dependencies
2323
run: |
2424
sudo apt-get update -y
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Go
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: '1.20.x'
38+
go-version: '1.21.x'
3939
- name: Install dependencies
4040
run: |
4141
sudo apt-get update -y
@@ -54,7 +54,7 @@ jobs:
5454
- name: Setup Go
5555
uses: actions/setup-go@v3
5656
with:
57-
go-version: '1.20.x'
57+
go-version: '1.21.x'
5858
- name: Install dependencies
5959
run: |
6060
sudo apt-get update -y
@@ -78,11 +78,12 @@ jobs:
7878
name: Run SemVer check
7979
runs-on: ubuntu-latest
8080
steps:
81-
- uses: actions/checkout@v3
81+
- name: Checkout repo
82+
uses: actions/checkout@v3
8283
- name: Setup Go
8384
uses: actions/setup-go@v3
8485
with:
85-
go-version: '1.20.x'
86+
go-version: '1.21.x'
8687
- name: Install dependencies
8788
run: |
8889
go get .

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Changelog
22

3-
## [[v0.4.0]](https://github.com/mlange-42/arche-model/compare/v0.3.0...v0.4.0)
3+
## [[v0.5.0]](https://github.com/mlange-42/arche-pixel/compare/v0.4.0...v0.5.0)
4+
5+
### Breaking changes
6+
7+
* Migrate to [gopxl/pixel v2](https://github.com/gopxl/pixel) (#39)
8+
* Upgrade to Arche 0.9 (#39)
9+
* Upgrade to Arche-Model 0.5 (#39)
10+
11+
### Infrastructure
12+
13+
* Upgrade to Go 1.21 toolchain (#39)
14+
15+
## [[v0.4.0]](https://github.com/mlange-42/arche-pixel/compare/v0.3.0...v0.4.0)
416

517
### Breaking changes
618

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![GitHub](https://img.shields.io/badge/github-repo-blue?logo=github)](https://github.com/mlange-42/arche-pixel)
77
[![MIT license](https://img.shields.io/github/license/mlange-42/arche-pixel)](https://github.com/mlange-42/arche-pixel/blob/main/LICENSE)
88

9-
*Arche Pixel* provides OpenGL graphics and live plots for the [Arche](https://github.com/mlange-42/arche) Entity Component System (ECS) using the [Pixel](https://github.com/faiface/pixel) game engine.
9+
*Arche Pixel* provides OpenGL graphics and live plots for the [Arche](https://github.com/mlange-42/arche) Entity Component System (ECS) using the [Pixel](https://github.com/gopxl/pixel) game engine.
1010

1111
<div align="center" width="100%">
1212

go.mod

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,38 @@
11
module github.com/mlange-42/arche-pixel
22

3-
go 1.20
3+
go 1.21
4+
5+
toolchain go1.21.3
46

57
require (
6-
github.com/faiface/pixel v0.10.0
8+
github.com/gopxl/pixel/v2 v2.1.0
79
github.com/mazznoer/colorgrad v0.9.1
8-
github.com/mlange-42/arche v0.8.0
9-
github.com/mlange-42/arche-model v0.4.0
10-
github.com/stretchr/testify v1.8.2
11-
golang.org/x/image v0.7.0
12-
gonum.org/v1/plot v0.12.0
10+
github.com/mlange-42/arche v0.9.0
11+
github.com/mlange-42/arche-model v0.5.0
12+
github.com/stretchr/testify v1.8.4
13+
golang.org/x/image v0.13.0
14+
gonum.org/v1/plot v0.14.0
1315
)
1416

1517
require (
16-
git.sr.ht/~sbinet/gg v0.3.1 // indirect
18+
git.sr.ht/~sbinet/gg v0.5.0 // indirect
1719
github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b // indirect
20+
github.com/campoy/embedmd v1.0.0 // indirect
1821
github.com/davecgh/go-spew v1.1.1 // indirect
19-
github.com/faiface/glhf v0.0.0-20211013000516-57b20770c369 // indirect
20-
github.com/faiface/mainthread v0.0.0-20171120011319-8b78f0a41ae3 // indirect
21-
github.com/go-fonts/liberation v0.3.0 // indirect
22-
github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
23-
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20221017161538-93cebf72946b // indirect
24-
github.com/go-gl/mathgl v1.0.0 // indirect
22+
github.com/go-fonts/liberation v0.3.2 // indirect
23+
github.com/go-gl/gl v0.0.0-20231021071112-07e5d0ea2e71 // indirect
24+
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20231102141658-eca20e8abded // indirect
25+
github.com/go-gl/mathgl v1.1.0 // indirect
2526
github.com/go-latex/latex v0.0.0-20230307184459-12ec69307ad9 // indirect
26-
github.com/go-pdf/fpdf v0.7.0 // indirect
27+
github.com/go-pdf/fpdf v0.9.0 // indirect
2728
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
29+
github.com/gopxl/glhf/v2 v2.1.0 // indirect
30+
github.com/gopxl/mainthread/v2 v2.1.0 // indirect
2831
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
2932
github.com/mazznoer/csscolorparser v0.1.3 // indirect
3033
github.com/pkg/errors v0.9.1 // indirect
3134
github.com/pmezard/go-difflib v1.0.0 // indirect
32-
golang.org/x/exp v0.0.0-20230418202329-0354be287a23 // indirect
33-
golang.org/x/text v0.9.0 // indirect
35+
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
36+
golang.org/x/text v0.14.0 // indirect
3437
gopkg.in/yaml.v3 v3.0.1 // indirect
3538
)

0 commit comments

Comments
 (0)