Skip to content

Commit

Permalink
Merge pull request #3849 from Jacalz/go1.17
Browse files Browse the repository at this point in the history
Bump minimum version to Go 1.17
  • Loading branch information
andydotxyz authored May 6, 2023
2 parents 7de9188 + eb44f60 commit b1d74e2
Show file tree
Hide file tree
Showing 42 changed files with 63 additions and 1,477 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
run: go install lucor.dev/lian@latest

- name: Check license of dependencies against go.mod
run: lian -d --allowed="Apache-2.0, BSD-2-Clause, BSD-3-Clause, MIT"
run: lian -d --allowed="Apache-2.0, BSD-2-Clause, BSD-3-Clause, MIT, ISC" --excluded=github.com/jsummers/gobmp@v0.0.0-20151104160322-e2ba15ffa76e

4 changes: 2 additions & 2 deletions .github/workflows/mobile_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.14.x, 1.20.x]
go-version: ['1.17.x', '1.20.x']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: WillAbides/setup-go-faster@v1.8.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/platform_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ['1.14.x', '1.20.x']
go-version: ['1.17.x', '1.20.x']
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
This file lists the main changes with each version of the Fyne toolkit.
More detailed release notes can be found on the [releases page](https://github.com/fyne-io/fyne/releases).

## 2.4.0 - Unreleased

## Changed

* Go 1.17 or later is now required.

## 2.3.4 - 3 May 2023

### Fixed
Expand All @@ -18,7 +24,6 @@ More detailed release notes can be found on the [releases page](https://github.c
* VBox and HBox using heap memory that was not required
* Menu hover is slow on long menus


## 2.3.3 - 24 March 2023

### Fixed
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ To run a showcase of the features of Fyne execute the following:
go install fyne.io/fyne/v2/cmd/fyne_demo@latest
fyne_demo

(For Go versions earlier than v1.16 use `go get fyne.io/fyne/v2/cmd/fyne_demo`)

And you should see something like this (after you click a few buttons):

<p align="center" markdown="1" style="max-width: 100%">
Expand Down Expand Up @@ -127,8 +125,6 @@ application location you can use the fyne utility and the "install" subcommand.
go install fyne.io/fyne/v2/cmd/fyne@latest
fyne install

(for Go versions before v1.16 use `go get fyne.io/fyne/v2/cmd/fyne`)

# Packaging for mobile

To run on a mobile device it is necessary to package up the application.
Expand Down
16 changes: 15 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module fyne.io/fyne/v2

go 1.14
go 1.17

require (
fyne.io/systray v1.10.1-0.20230403195833-7dc3c09283d6
Expand Down Expand Up @@ -33,3 +33,17 @@ require (
golang.org/x/tools v0.1.12
honnef.co/go/js/dom v0.0.0-20210725211120-f030747120f2
)

require (
github.com/akavel/rsrc v0.10.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/jsummers/gobmp v0.0.0-20151104160322-e2ba15ffa76e // indirect
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/tevino/abool v1.2.0 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/text v0.7.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
10 changes: 0 additions & 10 deletions vendor/fyne.io/systray/go.mod

This file was deleted.

6 changes: 0 additions & 6 deletions vendor/fyne.io/systray/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/BurntSushi/toml/go.mod

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/fredbi/uri/go.mod

This file was deleted.

15 changes: 0 additions & 15 deletions vendor/github.com/fredbi/uri/go.sum

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/fsnotify/fsnotify/go.mod

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/github.com/fsnotify/fsnotify/go.sum

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/fyne-io/gl-js/go.mod

This file was deleted.

Loading

0 comments on commit b1d74e2

Please sign in to comment.