Skip to content

Commit

Permalink
prepare for 0.12.0 release and add Mac ARM Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jul 1, 2024
1 parent 249c61d commit d2a67fa
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 34 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/build-macos-arm64.yml
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
@@ -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:
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
28 changes: 12 additions & 16 deletions res/io.github.dweymouth.supersonic.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,36 +61,32 @@
</screenshots>

<releases>
<release date="2024-06-05" version="0.11.0">
<release date="2024-07-01" version="0.12.0">
<description>
<p>
Version 0.11.0 of Supersonic
Version 0.12.0 of Supersonic
</p>

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

<p>
Fixed
</p>
<ul>
<li>Last track occasionally missing in album view depending on window size</li>
<li>Album filter button disappearing when restoring pages from history</li>
<li>Artist radio button sometimes plays radio for wrong artist</li>
<li>Clicking Home button doesn't automatically refresh page</li>
<li>Add "Play next/later" options to the related tracks list on the Now Playing page</li>
<li>Change wording of the Add/Edit server form to be less confusing</li>
<li>Window occasionally misrendered into smaller space on opening for Linux over xwayland</li>
<li>Don't crash if server returns nil saved play queue but no Subsonic error</li>
</ul>

</description>
Expand Down
27 changes: 11 additions & 16 deletions res/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
`
)

0 comments on commit d2a67fa

Please sign in to comment.