Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.7.0 #2358

Merged
merged 9 commits into from
Apr 26, 2024
Merged

Release 2.7.0 #2358

merged 9 commits into from
Apr 26, 2024

Conversation

AlvinSchiller
Copy link
Collaborator

@AlvinSchiller AlvinSchiller commented Apr 26, 2024

Caution

Do NOT use the latest RaspberryPi OS Bookworm release (also don't upgrade via apt) with the new kernel 6.6, if you need to use GPIO components . There have been incompatible changes for the RPi.GPIO library, so Buttons, Shims and Rfid Reader usage can be broken (#2295).
Using RaspberryPi OS Bullseye is the current recommendation as it does not use the new kernel.

Summary

Features

  • Support for Spotify again!
    • a prerelease of mopidy-spotify is used to bring back the spotify integration. Please see Spotify-FAQ for further information
    • this includes startup speed improvements for mopidy due to playlists refresh optimization in the prerelease
  • Raspberry Pi OS Buster and Python < 3.9 will not be supported/tested anymore with this release.
    • official Buster support is running out by June 30th, 2024
    • mopidy-spotify minimum support is Bullseye

Improvements

  • some refactorings of the installation script
  • better installation logging
  • documentation updates
  • version updates for github actions

Fixes

  • fix for special characters entered during setup (spotify credentials, wifi, ...)
  • fix for function calls from RotaryEncoder
  • update defaults and fixed handling for some yes/no questions
  • improved startup time for wifi in combination with the autohotspot feature

Note

Version 3 is becoming mature and will soon be the new default of Phoniebox. Therefore Version 2 is slowly going into a maintenance mode and no new features will be added to this version.

AlvinSchiller and others added 7 commits March 29, 2024 22:28
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: remove dist codename from config filenames

removed obsolete files

* feat: remove buster from ci tests

* Update pythonpackage.yml

* added Python 3.12

* fix: update CONTRIBUTING
* feat: update spotify packages

* fix: removed unnecessary mopidy user conf

* fix: dont start services right away (wait for reboot)

* fix: replace yotube-dl with yt-dlp. Run command in background

* chore: update formatting and typo

* fix: scan for mopidy on startup

* fix: failure in check_chmod_chown should also fail overall tests

* fix: change sudoers to seperate files

* fix: python path for mopidy sudoers file

* test: add special characters for spotify password

* fix: handle special charactes in spotify password correctly

* fix: add handling for dollar char

* fix: removed unnecessary options

* fix: download plugin for correct architecture

* fix: also escape spotify client id and secret

* fix: change targets for autohotspot services

* fix: removed "spotify not working" note

* fix: update Mopidy-Spotify to 5.0.0a2
* fix: added vars into logfile

* refactor: split finish_installation routine

extracted rfid_reader setup

* refactor: removed "Replace homedir" code in installation

v2 will not be refactored to be used with a different user

* fix: add escaping for all vars written to PhonieboxInstall.conf

* refactor: change and unify sed delimiter to pipe char

* fix: add escaping for sed replacements

* refactor: moved network setup into install_main

* refactor: introduce helper script, moved functions

* fix: add escaping for autohotspot

* fix: command for special char handling

* fix: update testdata for special chars
* fix: handle args for rotaryEncoder

don't pass args to callback if 'None'.
reorder args for callback to pass functionCallArgs first, if definied.
added functionCallArgs to rotaryEncoder definition, to support other functionCalls then volume.

* doc: update docs. removed duplicate / obsolete examples

Merged wiki page "Audio-RotaryKnobVolume"

* fix: fix tests

* Apply suggestions from code review

Co-authored-by: s-martin <s-martin@users.noreply.github.com>

* Update codeblock type

Co-authored-by: s-martin <s-martin@users.noreply.github.com>

---------

Co-authored-by: s-martin <s-martin@users.noreply.github.com>
@AlvinSchiller AlvinSchiller added Release Informs about a Release candidate legacy_v2 Issues, discussions and PRs related to Version 2.x labels Apr 26, 2024
@AlvinSchiller AlvinSchiller added this to the v2.7.0 milestone Apr 26, 2024
@AlvinSchiller AlvinSchiller self-assigned this Apr 26, 2024
@AlvinSchiller
Copy link
Collaborator Author

Would like to also integrate #2357

Copy link
Collaborator

@s-martin s-martin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Massive startup speed improvements especially for Spotify could also be mentioned in the release notes.

@@ -15,7 +15,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are also dropping 3.8 here (release note state only dropping 3.7)

@AlvinSchiller AlvinSchiller marked this pull request as ready for review April 26, 2024 12:25
settings/version-number Outdated Show resolved Hide resolved
@AlvinSchiller AlvinSchiller merged commit 550a258 into master Apr 26, 2024
12 checks passed
@s-martin s-martin modified the milestones: v2.7.0, v3.6 May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy_v2 Issues, discussions and PRs related to Version 2.x Release Informs about a Release candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants