# Changelog
-## v5.0.0-rc.1 (not released yet)
+## v5.0.0
### IMPORTANT NOTES
* **Important** You need to manually execute a migration script after your upgrade to migrate private/internal video files:
* Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-5.0.js`
* Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-5.0.js`
- * There is a new `secrets.peertube` configuration. You must fill it before running PeerTube v5
+ * Configuration changes (`config/production.yaml`):
+ * There is a new `secrets.peertube` configuration. You must fill it before running PeerTube v5: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/config/production.yaml.example#L14
+ * `object_storage.upload_acl` is now a parent key that you must update: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/config/production.yaml.example#L153
* You must update your nginx configuration:
- * We introduced a new `location` for plugin websocket routes
- * We introduced a new `location` for private videos files
+ * We introduced a new `location` for plugin websocket routes: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/support/nginx/peertube#L135
+ * We introduced a new `location` for private videos files: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/support/nginx/peertube#L217
### Documentation
* Fix following/fetching remote Pleroma actor
* Prevent high Redis memory usage when having many jobs
* Fix overall viewers stats with start/end dates
+ * Remove limit of countries displayed in video/live stats
## v4.3.1