From d2a67fa26e4cfbdf68a6c116dfe9a9e919c8bcba Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Mon, 1 Jul 2024 08:46:05 -0700 Subject: [PATCH] prepare for 0.12.0 release and add Mac ARM Github workflow --- .github/workflows/build-macos-arm64.yml | 51 +++++++++++++++++++ .../{build-macos.yml => build-macos-x64.yml} | 2 +- CHANGELOG.md | 16 ++++++ Makefile | 2 +- ...io.github.dweymouth.supersonic.appdata.xml | 28 +++++----- res/metadata.go | 27 ++++------ 6 files changed, 92 insertions(+), 34 deletions(-) create mode 100644 .github/workflows/build-macos-arm64.yml rename .github/workflows/{build-macos.yml => build-macos-x64.yml} (98%) diff --git a/.github/workflows/build-macos-arm64.yml b/.github/workflows/build-macos-arm64.yml new file mode 100644 index 00000000..d18397df --- /dev/null +++ b/.github/workflows/build-macos-arm64.yml @@ -0,0 +1,51 @@ +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go + +name: Build Mac arm64 + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: macos-14 + steps: + - uses: actions/checkout@v3 + + - name: Set up Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.21' + + - name: Install Dependencies + run: brew install --force mpv && brew install --force dylibbundler + + - name: Setup path + run: export C_INCLUDE_PATH=/usr/local/include:/opt/homebrew/include:$C_INCLUDE_PATH && export LIBRARY_PATH=/usr/local/lib:/opt/homebrew/lib:$LIBRARY_PATH + + - name: Build + run: CGO_CFLAGS="-I/usr/local/include -I/opt/homebrew/include" CGO_LDFLAGS="-L/usr/local/lib -L/opt/homebrew/lib" go build + + - name: Install Fyne tool + run: go install fyne.io/fyne/v2/cmd/fyne@latest + + - name: Package app bundles + run: > + make package_macos && + make bundledeps_macos_homebrew && + make zip_macos + + - name: Upload package + uses: actions/upload-artifact@v3 + with: + name: Supersonic.zip + path: Supersonic.zip + diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos-x64.yml similarity index 98% rename from .github/workflows/build-macos.yml rename to .github/workflows/build-macos-x64.yml index 63e68a60..bb79ac78 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos-x64.yml @@ -1,7 +1,7 @@ # This workflow will build a golang project # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go -name: Build Mac OS +name: Build Mac x64 on: push: diff --git a/CHANGELOG.md b/CHANGELOG.md index ce0f77c6..369b59e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Change Log +## [0.12.0] - 2024-07-01 + +### Added +- [#363](https://github.com/dweymouth/supersonic/issues/363) Enable drag-and-drop reordering of tracks in the play queue and playlists +- [#403](https://github.com/dweymouth/supersonic/pull/403) Add command-line options to control playback +- Add option to show album years in grid views +- Include radio station results in Quick Search +- Better stringification of play times longer than 1 hour +- Add fallback logic for populating related tracks and artist top tracks if server returns none + +### Fixed +- [#397](https://github.com/dweymouth/supersonic/issues/397) Add "Play next/later" options to the related tracks list on the Now Playing page +- [#405](https://github.com/dweymouth/supersonic/pull/405) Change wording of the Add/Edit server form to be less confusing (thanks @mintsoft!) +- Window occasionally misrendered into smaller space on opening for Linux over xwayland +- Don't crash if server returns nil saved play queue but no Subsonic error + ## [0.11.0] - 2024-06-05 ### Added / Changed diff --git a/Makefile b/Makefile index cd8f57fe..60e43d6b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ icon_path = ./res/appicon-512.png app_name = Supersonic -app_version = 0.11.0 +app_version = 0.12.0 build: go build diff --git a/res/io.github.dweymouth.supersonic.appdata.xml b/res/io.github.dweymouth.supersonic.appdata.xml index badb353e..27d8cd38 100644 --- a/res/io.github.dweymouth.supersonic.appdata.xml +++ b/res/io.github.dweymouth.supersonic.appdata.xml @@ -61,36 +61,32 @@ - +

- Version 0.11.0 of Supersonic + Version 0.12.0 of Supersonic

Added

    -
  • Automatically load fonts from the OS as needed to display CJK and other scripts
  • -
  • Synced lyrics support and Jellyfin lyrics support
  • -
  • LrcLib.net as a backup lyric source (disable in config file if desired)
  • -
  • Improve UX of Add to Playlist dialog
  • -
  • Show track thumbnails in tracklist views
  • -
  • Support for internet radio stations for Subsonic servers
  • -
  • New "option button" to right of current track title to bring up action menu
  • -
  • Ctrl+{backspace/delete} to remove words in text inputs
  • -
  • Improves performance and behavior of Random albums sort with upcoming Navidrome releases
  • -
  • Dynamic gradient background on Now Playing page
  • +
  • Enable drag-and-drop reordering of tracks in the play queue and playlists
  • +
  • Add command-line options to control playback
  • +
  • Add option to show album years in grid views
  • +
  • Include radio station results in Quick Search
  • +
  • Better stringification of play times longer than 1 hour
  • +
  • Add fallback logic for populating related tracks and artist top tracks if server returns none

Fixed

    -
  • Last track occasionally missing in album view depending on window size
  • -
  • Album filter button disappearing when restoring pages from history
  • -
  • Artist radio button sometimes plays radio for wrong artist
  • -
  • Clicking Home button doesn't automatically refresh page
  • +
  • Add "Play next/later" options to the related tracks list on the Now Playing page
  • +
  • Change wording of the Add/Edit server form to be less confusing
  • +
  • Window occasionally misrendered into smaller space on opening for Linux over xwayland
  • +
  • Don't crash if server returns nil saved play queue but no Subsonic error
diff --git a/res/metadata.go b/res/metadata.go index 2f782ff8..4f05fa61 100644 --- a/res/metadata.go +++ b/res/metadata.go @@ -3,7 +3,7 @@ package res const ( AppName = "supersonic" DisplayName = "Supersonic" - AppVersion = "0.11.0" + AppVersion = "0.12.0" AppVersionTag = "v" + AppVersion ConfigFile = "config.toml" GithubURL = "https://github.com/dweymouth/supersonic" @@ -15,24 +15,19 @@ const ( var ( WhatsAdded = ` ## Added -* Automatically load fonts from the OS as needed to display CJK and other scripts -* Synced lyrics support and Jellyfin lyrics support -* LrcLib.net as a backup lyric source (disable in config file if desired) -* Improve UX of Add to Playlist dialog -* Show track thumbnails in tracklist views -* Support for internet radio stations for Subsonic servers -* New "option button" to right of current track title to bring up action menu -* Ctrl+{backspace/delete} to remove words in text inputs -* New portable mode option -* Improves performance and behavior of Random albums sort with upcoming Navidrome releases -* Dynamic gradient background on Now Playing page +* Enable drag-and-drop reordering of tracks in the play queue and playlists +* Add command-line options to control playback +* Add option to show album years in grid views +* Include radio station results in Quick Search +* Better stringification of play times longer than 1 hour +* Add fallback logic for populating related tracks and artist top tracks if server returns none ` WhatsFixed = ` ## Fixed -* Last track occasionally missing in album view depending on window size -* Album filter button disappearing when restoring pages from history -* Artist radio button sometimes plays radio for wrong artist -* Clicking Home button doesn't automatically refresh page +* Window occasionally misrendered into smaller space on opening for Linux over xwayland +* Add "Play next/later" options to the related tracks list on the Now Playing page +* Change wording of the Add/Edit server form to be less confusing +* Don't crash if server returns nil saved play queue but no Subsonic error ` )