CHANGELOG 8.54 KB
Newer Older
1 2 3
Changelog
=========

4
.. towncrier
5

Agate's avatar
Agate committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
0.6 (2018-03-04)
----------------

Features:

- Basic activity stream for listening and favorites (#23)
- Switched to django-channels and daphne for serving HTTP and websocket (#34)

Upgrades notes
**************

This version contains breaking changes in the way funkwhale is deployed,
please read the notes carefully.

Instance timeline
^^^^^^^^^^^^^^^^^

A new "Activity" page is now available from the sidebar, where you can
browse your instance activity. At the moment, this includes other users
favorites and listening, but more activity types will be implemented in the
future.

Internally, we implemented those events by following the Activity Stream
specification, which will help us to be compatible with other networks
in the long-term.

A new settings page has been added to control the visibility of your activity.
By default, your activity will be browsable by anyone on your instance,
but you can switch to a full private mode where nothing is shared.

The setting form is available in your profile.

Switch from gunicorn to daphne
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This release include an important change in the way we serve the HTTP API.
To prepare for new realtime features and enable websocket support in Funkwhale,
we are now using django-channels and daphne to serve HTTP and websocket traffic.

This replaces gunicorn and the switch should be easy assuming you
follow the upgrade process described bellow.

If you are using docker, please remove the command instruction inside the
api service, as the up-to-date command is now included directly in the image
as the default entry point:

.. code-block:: yaml

    api:
      restart: unless-stopped
      image: funkwhale/funkwhale:${FUNKWHALE_VERSION:-latest}
      command: ./compose/django/gunicorn.sh  # You can remove this line

On non docker setups, you'll have to update the [Service] block of your
funkwhale-server systemd unit file to launch the application server using daphne instead of gunicorn.

The new configuration should be similar to this:

.. code-block:: ini

    [Service]
    User=funkwhale
    # adapt this depending on the path of your funkwhale installation
    WorkingDirectory=/srv/funkwhale/api
    EnvironmentFile=/srv/funkwhale/config/.env
    ExecStart=/usr/local/bin/daphne -b ${FUNKWHALE_API_IP} -p ${FUNKWHALE_API_PORT} config.asgi:application

Ensure you update funkwhale's dependencies as usual to install the required
packages.

On both docker and non-docker setup, you'll also have to update your nginx
configuration for websocket support. Ensure you have the following blocks
included in your virtualhost file:

.. code-block:: txt

    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
    }

    server {
        ...
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
    }

Remember to reload your nginx server after the edit.


Agate's avatar
Agate committed
97 98 99 100 101 102 103 104 105 106 107 108 109
0.5.4 (2018-02-28)
------------------

Features:

- Now stop running radio when clearing queue (#98)

Bugfixes:

- Fixed queue skipping tracks (#91)
- Now loop properly on queue when we only have one track (#95)


Agate's avatar
Agate committed
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
0.5.3 (2018-02-27)
------------------

Features:

- Added admin interface for radios, track files, favorites and import requests (#80)
- Added basic instance stats on /about (#82)
- Search now unaccent letters for queries like "The Dø" or "Björk" yielding more results (#81)


Bugfixes:

- Always use username in sidebar (#89)
- Click event outside of player icons (#83)
- Fixed broken import because of missing transaction
- Now always load next radio track on last queue track ended (#87)
- Now exclude tracks without file from radio candidates (#88)
- skip to next track properly on 40X errors (#86)


Other:

- Switched to towncrier for changelog management and compilation

Agate's avatar
Agate committed
134 135 136 137

0.5.2 (2018-02-26)
------------------

Agate's avatar
Agate committed
138 139
- Fixed broken file import due to wrong url (#73)
- More accurate mimetype detection
Agate's avatar
Agate committed
140 141
- Fixed really small size on small screens
- Added masonry layout for artists, requests and radios (#68)
Agate's avatar
Agate committed
142
- We now have a favicon!
Agate's avatar
Agate committed
143
- Fixed truncated play icon (#65)
Agate's avatar
Agate committed
144

Agate's avatar
Agate committed
145 146 147 148

0.5.1 (2018-02-24)
------------------

149
- Front: Fixed broken ajax call on radio builder (#69)
150
- Front: Shuffle now restart next track from beginning (#70)
151
- Front: volume slider should now have the same style everywhere (#72)
Agate's avatar
Agate committed
152

Agate's avatar
Agate committed
153

Agate's avatar
Agate committed
154
0.5 (2018-02-24)
Agate's avatar
Agate committed
155 156
----------------

157
- Front: Now reset player colors when track has no cover (#46)
Agate's avatar
Agate committed
158
- Front: play button now disabled for unplayable tracks
Agate's avatar
Agate committed
159
- API: You can now enable or disable registration on the fly, via a preference (#58)
Agate's avatar
Agate committed
160 161 162
- Front: can now signup via the web interface (#35)
- Front: Fixed broken redirection on login
- Front: Fixed broken error handling on settings and login form
Agate's avatar
Agate committed
163

Agate's avatar
Agate committed
164 165 166 167 168
About page:

There is a brand new about page on instances (/about), and instance
owner can now provide a name, a short and a long description for their instance via the admin (/api/admin/dynamic_preferences/globalpreferencemodel/).

Agate's avatar
Agate committed
169 170 171 172 173 174 175 176 177 178 179 180
Transcoding:

Basic transcoding is now available to/from the following formats : ogg and mp3.

*This is still an alpha feature at the moment, please report any bug.*

This relies internally on FFMPEG and can put some load on your server.
It's definitely recommended you setup some caching for the transcoded files
at your webserver level. Check the the exemple nginx file at deploy/nginx.conf
for an implementation.

On the frontend, usage of transcoding should be transparent in the player.
Agate's avatar
Agate committed
181

Agate's avatar
Agate committed
182 183 184 185 186 187 188
Music Requests:

This release includes a new feature, music requests, which allows users
to request music they'd like to see imported.
Admins can browse those requests and mark them as completed when
an import is made.

Agate's avatar
Agate committed
189 190
0.4 (2018-02-18)
----------------
Agate's avatar
Agate committed
191

Agate's avatar
Agate committed
192 193
- Front: ambiant colors in player based on current track cover (#59)
- Front: simplified front dev setup thanks to webpack proxy (#59)
194 195
- Front: added some unittests for the store (#55)
- Front: fixed broken login redirection when 401
Agate's avatar
Agate committed
196
- Front: Removed autoplay on page reload
197 198 199 200 201
- API: Added a /instance/settings endpoint
- Front: load /instance/settings on page load
- Added settings to report JS and Python error to a Sentry instance
  This is disabled by default, but feel free to enable it if you want
  to help us by sending your error reports :) (#8)
202

Agate's avatar
Agate committed
203

Agate's avatar
Agate committed
204 205 206 207 208 209
0.3.5 (2018-01-07)
------------------

- Smarter BACKEND_URL in frontend


Agate's avatar
Agate committed
210
0.3.4 (2018-01-07)
211 212 213
------------------

- Fixed wrong URL construction in ajax call
Agate's avatar
Agate committed
214 215


Agate's avatar
Agate committed
216
0.3.3 (2018-01-07)
Agate's avatar
Agate committed
217 218
------------------

Agate's avatar
Agate committed
219 220
- Users can now create their own dynamic radios (#51)

221

Agate's avatar
Agate committed
222 223 224 225 226 227
0.3.2
------------------

- Fixed an issue in the main dockerfile


Agate's avatar
Agate committed
228
0.3.1
Agate's avatar
Agate committed
229 230 231 232 233 234 235 236
------------------

- Revamped all import logic, everything is more tested and consistend
- Can now use Acoustid in file imports to automatically grab metadata from musicbrainz
- Brand new file import wizard


0.2.7
Agate's avatar
Agate committed
237 238
------------------

239 240 241
- Shortcuts: can now use the ``f`` shortcut to toggle the currently playing track
  as a favorite (#53)
- Shortcuts: avoid collisions between shortcuts by using the exact modifier (#53)
Agate's avatar
Agate committed
242
- Player: Added looping controls and shortcuts (#52)
Agate's avatar
Agate committed
243
- Player: Added shuffling controls and shortcuts (#52)
Agate's avatar
Agate committed
244 245
- Favorites: can now modify the ordering of track list (#50)
- Library: can now search/reorder results on artist browsing view (#50)
Agate's avatar
Agate committed
246 247 248 249 250 251 252 253 254 255 256 257
- Upgraded celery to 4.1, added endpoint logic for fingerprinting audio files
- Fixed #56: invalidate tokens on password change, also added change password form
- Fixed #57: now refresh jwt token on page refresh
- removed ugly dividers in batch import list
- Fixed a few padding issues
- Now persist/restore queue/radio/player state automatically
- Removed old broken imports
- Now force tests paths
- Fixed #54: Now use pytest everywhere \o/
- Now use vuex to manage state for favorites
- Now use vuex to manage state for authentication
- Now use vuex to manage state for player/queue/radios
258

Agate's avatar
Agate committed
259

Agate's avatar
Agate committed
260 261 262 263 264
0.2.6 (2017-12-15)
------------------

- Fixed broken Dockerfile

Agate's avatar
Agate committed
265 266

0.2.5 (2017-12-15)
Agate's avatar
Agate committed
267 268
------------------

269 270
Features:

271
- Import: can now specify search template when querying import sources (#45)
272
- Login form: now redirect to previous page after login (#2)
Agate's avatar
Agate committed
273
- 404: a decent 404 template, at least (#48)
274

275 276 277 278 279
Bugfixes:

- Player: better handling of errors when fetching the audio file (#46)
- Csrf: default CSRF_TRUSTED_ORIGINS to ALLOWED_HOSTS to avoid Csrf issues on admin (#49)

Agate's avatar
Agate committed
280 281 282 283
Tech:

- Django 2 compatibility, lot of packages upgrades (#47)

Agate's avatar
Agate committed
284 285

0.2.4 (2017-12-14)
286 287
------------------

288 289 290
Features:

- Models: now store relese group mbid on Album model (#7)
291
- Models: now bind import job to track files (#44)
292 293 294 295

Bugfixes:

- Library: fixen broken "play all albums" button on artist cards in Artist browsing view (#43)