Releases: MbinOrg/mbin
Release list
v1.7.1-rc4
This the fourth release candidate of 1.7.1. It fixes some bugs with messages from deleted users, changes the microblog hashtag matching feature, updating dependencies (which itself should solve some bugs related to rabbitmq), fixes failed deletions when the user has reports attached to them, fixes PeerTube channel groups not having moderators and fixes updating actors failing when their instance doesn't have a nodeinfo endpoint
Comparison to previous version 1.7.1-rc3:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
|---|---|---|---|---|
| ☑️ | ❌ | ❌ | ☑️ | ❌ |
Upgrade Instructions
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d
For Bare Metal
- Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.7.1-rc4 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm(or for PHP 8.3:systemctl reload php8.3-fpm) - Restart the messengers:
supervisorctl restart messenger:*
What's Changed
- Fix 500 error when a thread is empty by @BentiGorlich in #1034
- Translations update from Hosted Weblate by @weblate in #1038
- Translations update from Hosted Weblate by @weblate in #1041
- Update PHP Dependencies by @BentiGorlich in #1037
- Fix user soft delete and user account restore within 30 days in #1013
- Change attributed to parsing to not expect a url by @BentiGorlich in #1035
- Add cascade delete to report.considered_by_id by @BentiGorlich in #1028
- Only match magazine by hashtag if post was in random by @BentiGorlich in #1036
- Fix error when updating an actor and the instance has no nodeinfo endpoint by @BentiGorlich in #1040
- Return only the host as audience for remote magazines by @BentiGorlich in #1039
- Bump Version to 1.7.1-rc4 by @BentiGorlich in #1042
Full Changelog: v1.7.1-rc3...v1.7.1-rc4
v1.7.1-rc3
This is the third release candidate of v1.7.1. It fixes some bugs relating to the PushNotificationsAPI and the max image size env var. It also introduces an error message if the image is too large and displays the maximum file size next to the image upload
Comparison to previous version 1.7.1-rc2:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
|---|---|---|---|---|
| ❌ | ❌ | ❌ | ☑️ | ❌ |
Upgrade Instructions
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d
For Bare Metal
- Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.7.1-rc3 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm(or for PHP 8.3:systemctl reload php8.3-fpm) - Restart the messengers:
supervisorctl restart messenger:*
What's Changed
- Translations update from Hosted Weblate by @weblate in #1017
- Make the API return the server public key and add a dedicated route for it by @BentiGorlich in #1018
- Use the default when the value is zero by @BentiGorlich in #1020
- Add an image too large error by @BentiGorlich in #1019
- Revert "Make the API return the server public key and add a dedicated route for it" by @jwr1 in #1024
- Fix user getting deleted when unregistering push by @BentiGorlich in #1029
- Fix
getAccessTokenalways returning null by @BentiGorlich in #1030 - docs(contributor): contributors readme action update by @github-actions in #1031
- Fix UserPushSubscriptionManager using wrong AccessToken type by @BentiGorlich in #1033
- Bump version to 1.7.1-rc3 by @BentiGorlich in #1027
Full Changelog: v1.7.1-rc2...v1.7.1-rc3
v1.7.1-rc2
This is the second release candidate of v1.7.1. This release fixes a critical bug that was introduced in v.1.7.1-rc1 related to image uploads failing if the instance admin forgets to set the MAX_IMAGE_BYTES environmental variable. Framework configuration for trusted proxies was also introduced to properly handle rate limiting trigged by user IP addresses.
Comparison to previous version 1.7.0:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
|---|---|---|---|---|
| ❌ | ☑️ | ❌ | ☑️ | ❌ |
Upgrade Instructions
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d
For Bare Metal
- Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.7.1-rc2 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm(or for PHP 8.3:systemctl reload php8.3-fpm) - Restart the messengers:
supervisorctl restart messenger:*
What's Changed
- add default null to Instance entity nullables field by @asdfzdfj in #1006
- Remove
\intvalaroundMAX_IMAGE_BYTESinsrc/Service/SettingsManager.php, breaks settings name resolution by @nobodyatroot in #1011 - Add trusted proxy config to framework configuration by @nobodyatroot in #1012
- Version bump for 1.7.1-rc2 by @nobodyatroot in #1015
Full Changelog: v1.7.1-rc1...v1.7.1-rc2
v1.7.1-rc1
This is the first release candidate for v1.7.1. This release brings a lot of bug fixes, but also a few new features: admins can verify users by clicking a button, new admin user lists, extend the API,
Comparison to previous version 1.7.0:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
|---|---|---|---|---|
| ❌ | ❌ | ❌ | ☑️ | ❌ |
Upgrade Instructions
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d
For Bare Metal
- Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.7.1-rc1 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm(or for PHP 8.3:systemctl reload php8.3-fpm) - Restart the messengers:
supervisorctl restart messenger:*
What's Changed
- Update docker php config to match bare metal guide by @jwr1 in #992
- docs(contributor): contributors readme action update by @github-actions in #993
- Update docker ini files to be a little more consistent with docs by @nobodyatroot in #994
- Fix the error when saving the admin settings by @BentiGorlich in #997
- Add posting restricted to mods to the API by @BentiGorlich in #998
- Add user ban and suspension lists to admin panel by @nobodyatroot in #995
- Translations update from Hosted Weblate by @weblate in #999
- Add user password set/reset command to
bin/consoleby @nobodyatroot in #1002 - Fix remove moderator api throwing error by @BentiGorlich in #1003
- Fix
ActivityHandlererrors regarding the payload by @BentiGorlich in #1004 - Fix the managers checking wrong fields for editing permissions by @BentiGorlich in #1005
- Allow admins to activate/verify accounts manually using the admin user panel by @nobodyatroot in #1000
- Stop banned or suspended users from notification creation on posts and entries by @nobodyatroot in #1007
- Invalidate collection cache before getting collection for likes, dislikes and shares by @BentiGorlich in #1008
- Bump version to 1.7.1-rc1 by @BentiGorlich in #1010
New Contributors
Full Changelog: v1.7.0...v1.7.1-rc1
v1.7.0
This is the v1.7.0 release of Mbin and it brings a lot of changes: improved instance wide modlog, new SSO providers, new translated languages, moderator updates in the modlog, new cake day display, better stability and scalability of the messengers, PeerTube support, federating direct messages, federate un-/pinning entries, updated robots.txt, improve the documentation, longer durability of the user session, adding admin notifications for reports, tombstones for deleted remote users, improve the federation of edits, push subscriptions, a new look of the federation page, add public API endpoints for getting de-/federated and dead instances, magazines can now restrict posting to mods, updating magazines and users should now federate instantly, new users and magazines now show a leaf icon next to them, improve the editing of threads, make the maximum image size configurable
The Mbin dev team now suggests using PHP 8.3. If you are using the docker setup you will automatically be running the new PHP version.
A total of 145 reviewed and approved pull requests have been merged into this release! As always, a special thank you to new and existing contributors, without you, future Mbin releases would not be possible!
Comparison to previous version 1.6.0:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
|---|---|---|---|---|
| ☑️ | ☑️ | ☑️ | ☑️ | ☑️ |
Upgrade Instructions for v1.6.0
Note
If you are upgrading from one of the release candidates, you just have to follow the default upgrade procedure, like the one described in the 2nd release candidate
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d - Generate VAPID keys to support push notifications (for encryption):
docker compose exec php php bin/console mbin:push:keys:update
For Bare Metal
- Stop all messenger processes by running
supervisorctl stop messenger:*as the root user - install the php extension
bcmath, be sure the extension is for your installed php version. On debian for php 8.2 it would look like this:apt install php8.2-bcmath. Check if that was successful by running:php -m | grep bcmath - Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.7.0 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Generate VAPID keys to support push notifications (for encryption):
php bin/console mbin:push:keys:update - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm(or for PHP 8.3:systemctl reload php8.3-fpm) - Refresh supervisor and start the new messenger group:
supervisorctl reread && supervisorctl update && supervisorctl start messenger:*
What's Changed
- Translations update from Hosted Weblate by @weblate in #798
- Translations update from Hosted Weblate by @weblate in #802
- Add Brazilian Portuguese and Danish language selectors by @nobodyatroot in #801
- change sso authentication success route to front page by @CocoPoops in #804
- Authentik SSO by @CocoPoops in #806
- Add moderator updates to the modlog by @BentiGorlich in #799
- docs(contributor): contributors readme action update by @github-actions in #808
- Docker caddy version bump by @nobodyatroot in #813
- fix modlog error when the user adding/removing a moderator is null by @BentiGorlich in #812
- Bump Symfony Framework to 7.0.8 by @nobodyatroot in #816
- docs(contributor): contributors readme action update by @github-actions in #817
- Add support for the Privacy Portal OAUTH provider by @privacyguard in #818
- Update contrib workflow with new version and permissions by @nobodyatroot in #820
- docs(contributor): contributors readme action update by @github-actions in #821
- Fix Authentik Account Registration by @CocoPoops in #824
- Improve modlog by @BentiGorlich in #828
- expose the
apFetchedAtfield of users and magazines for admins by @BentiGorlich in #826 - Translations update from Hosted Weblate by @weblate in #829
- New/cake day by @BentiGorlich in #827
- Include content of audience tag in the receivers by @BentiGorlich in #834
- Remove border radius on autocomplete form to fix letters from getting cutoff at the beginning of the item by @nobodyatroot in #835
- add aria attributes to cake day elements by @e-five256 in #841
- Try to fix wrong urls for images in the related panels by @BentiGorlich in #803
- Update all npm packages and address dependabot security notice by @nobodyatroot in #842
- Fix entries with not showing preview icon by @BentiGorlich in #847
- Try to fix the "Table too large for buffer" messenger errors by @BentiGorlich in #846
- Revert "Fix entries with not showing preview icon" by @BentiGorlich in #851
- improve
findActorOrCreateby @BentiGorlich in #825 - Translations update from Hosted Weblate by @weblate in #850
- Revert "improve
findActorOrCreate" by @BentiGorlich in #852 - Add Filipino language selector to sidebar by @nobodyatroot in #854
- Translations update from Hosted Weblate by @weblate in #856
- revert preview hide toggling visibility by @e-five256 in #855
- Fix rule mismatch on related entry front vs single by @e-five256 in #859
- Improve actor fetch by @BentiGorlich in #853
- reduce frequency of
lastoriginupdatedb writes by @e-five256 in #702 - Translations update from Hosted Weblate by @weblate in #865
- docs(contributor): contributors readme action update by @github-actions in #864
- Make outbox message handlers use the
DeliverManagerby @BentiGorlich in #862 - docs(contributor): contributors readme action update by @github-actions in #868
- Translations update from Hosted Weblate by @weblate in #871
- findActorOrCreate was changed to search by apPublicUrl which is wrong, revert to apProfileId by @BentiGorlich in #870
- Fix/actor 404 json error by @BentiGorlich in #872
- Translations update from Hosted Weblate by @weblate in #873
- Add new exception to provide descriptive error (returned false) from
openssl_pkey_get_publicin signature validator by @nobodyatroot in #874 - Translations update from Hosted Weblate by @weblate in #875
- Add peertube support by @BentiGorlich in #782
- Add Galician language support by @nobodyatroot in #876
- Cleanup deprecation warnings in Symfony profiler pre 1.6.1 release by @nobodyatroot in #877
- Implement message federation and redesign message view by @BentiGorlich in #830
- Translations update from Hosted Weblate by @weblate in #878
- Add send direct message button to profile by @melroy89 in #879
- Translations update from Hosted Weblate by @weblate in #881
- Fix/entry wrong type by @BentiGorlich in #880
- Remove text from DM button, stops excessive text wrap on desktop view with three columns by @nobodyatroot in #882
- Translations update from Hosted Weblate by @weblate in #884
- Federate pinned entries by @BentiGorlich in #831
- Translations update from Hosted Weblate by @weblate in #886
- Translations update from Hosted Weblate by @weblate in #888
- Add Discord SSO by @nobodyatr...
v1.7.0-rc2
This is the second release candidate for v1.7.0 which fixes problems coming from our framework upgrade, fix the creation of image posts and improve the editing of threads. Additionally we now suggest using php-8.3
Comparison to previous version 1.7.0-rc1:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
|---|---|---|---|---|
| ❌ | ❌ | ☑️ | ❌ | ❌ |
Upgrade Instructions
Warning
These instructions are only for directly upgrading from v1.7.0-rc1. Please review the upgrade instructions for all releases between the one you are upgrading from and v1.7.0-rc2
For Docker
Note
We updated the docker setup to use php-8.3
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d
For Bare Metal
- Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.7.0-rc2 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm(or for PHP 8.3:systemctl reload php8.3-fpm) - Restart the messengers:
supervisorctl restart messenger:*
What's Changed
- Translations update from Hosted Weblate by @weblate in #974
- Remove the newly introduced jitter by @BentiGorlich in #975
- Revert accidental change by @BentiGorlich in #976
- Docs: Move mercure supervisor config, add media reverse proxy by @BentiGorlich in #968
- Docs: add s3 reverse proxy and migration to docs by @BentiGorlich in #967
- Clean up doctrine deprecation warnings by @nobodyatroot in #977
- When editing an entry only use one type by @BentiGorlich in #971
- Translations update from Hosted Weblate by @weblate in #979
- Recommend new installs use php8.3 by @nobodyatroot in #981
- Bump docker php to 8.3 and rabbitmq versions by @nobodyatroot in #980
Full Changelog: v1.7.0-rc1...v1.7.0-rc2
v1.7.0-rc1
This is the first release candidate for v1.7.0 of mbin it brings a lot of changes: improved instance wide modlog, new SSO providers, new translated languages, moderator updates in the modlog, new cake day display, better stability and scalability of the messengers, PeerTube support, federating direct messages, federate un-/pinning entries, updated robots.txt, improve the documentation, longer durability of the user session, adding admin notifications for reports, tombstones for deleted remote users, improve the federation of edits, push subscriptions, a new look of the federation page, add public API endpoints for getting de-/federated and dead instances, magazines can now restrict posting to mods, updating magazines and users should now federate instantly, new users and magazines now show a leaf icon next to them
A total of 123 reviewed and approved pull requests have been merged into this release! As always, a special thank you to new and existing contributors, without you, future Mbin releases would not be possible!
Comparison to previous version 1.6.0:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing | New dependencies |
|---|---|---|---|---|
| ☑️ | ☑️ | ☑️ | ☑️ | ☑️ |
Upgrade Instructions
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d - Generate VAPID keys to support push notifications (for encryption):
docker compose exec php php bin/console mbin:push:keys:update
For Bare Metal
- Stop all messenger processes by running
supervisorctl stop messenger:*as the root user - install the php extension
bcmath, be sure the extension is for your installed php version. On debian for php 8.2 it would look like this:apt install php8.2-bcmath. Check if that was successful by running:php -m | grep bcmath - Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.7.0-rc1 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Generate VAPID keys to support push notifications (for encryption):
php bin/console mbin:push:keys:update - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm(or for PHP 8.3:systemctl reload php8.3-fpm) - Refresh supervisor and start the new messenger group:
supervisorctl reread && supervisorctl update && supervisorctl start messenger:*
What's Changed
- Translations update from Hosted Weblate by @weblate in #798
- Translations update from Hosted Weblate by @weblate in #802
- Add Brazilian Portuguese and Danish language selectors by @nobodyatroot in #801
- change sso authentication success route to front page by @CocoPoops in #804
- Authentik SSO by @CocoPoops in #806
- Add moderator updates to the modlog by @BentiGorlich in #799
- docs(contributor): contributors readme action update by @github-actions in #808
- Docker caddy version bump by @nobodyatroot in #813
- fix modlog error when the user adding/removing a moderator is null by @BentiGorlich in #812
- Bump Symfony Framework to 7.0.8 by @nobodyatroot in #816
- docs(contributor): contributors readme action update by @github-actions in #817
- Add support for the Privacy Portal OAUTH provider by @privacyguard in #818
- Update contrib workflow with new version and permissions by @nobodyatroot in #820
- docs(contributor): contributors readme action update by @github-actions in #821
- Fix Authentik Account Registration by @CocoPoops in #824
- Improve modlog by @BentiGorlich in #828
- expose the
apFetchedAtfield of users and magazines for admins by @BentiGorlich in #826 - Translations update from Hosted Weblate by @weblate in #829
- New/cake day by @BentiGorlich in #827
- Include content of audience tag in the receivers by @BentiGorlich in #834
- Remove border radius on autocomplete form to fix letters from getting cutoff at the beginning of the item by @nobodyatroot in #835
- add aria attributes to cake day elements by @e-five256 in #841
- Try to fix wrong urls for images in the related panels by @BentiGorlich in #803
- Update all npm packages and address dependabot security notice by @nobodyatroot in #842
- Fix entries with not showing preview icon by @BentiGorlich in #847
- Try to fix the "Table too large for buffer" messenger errors by @BentiGorlich in #846
- Revert "Fix entries with not showing preview icon" by @BentiGorlich in #851
- improve
findActorOrCreateby @BentiGorlich in #825 - Translations update from Hosted Weblate by @weblate in #850
- Revert "improve
findActorOrCreate" by @BentiGorlich in #852 - Add Filipino language selector to sidebar by @nobodyatroot in #854
- Translations update from Hosted Weblate by @weblate in #856
- revert preview hide toggling visibility by @e-five256 in #855
- Fix rule mismatch on related entry front vs single by @e-five256 in #859
- Improve actor fetch by @BentiGorlich in #853
- reduce frequency of
lastoriginupdatedb writes by @e-five256 in #702 - Translations update from Hosted Weblate by @weblate in #865
- docs(contributor): contributors readme action update by @github-actions in #864
- Make outbox message handlers use the
DeliverManagerby @BentiGorlich in #862 - docs(contributor): contributors readme action update by @github-actions in #868
- Translations update from Hosted Weblate by @weblate in #871
- findActorOrCreate was changed to search by apPublicUrl which is wrong, revert to apProfileId by @BentiGorlich in #870
- Fix/actor 404 json error by @BentiGorlich in #872
- Translations update from Hosted Weblate by @weblate in #873
- Add new exception to provide descriptive error (returned false) from
openssl_pkey_get_publicin signature validator by @nobodyatroot in #874 - Translations update from Hosted Weblate by @weblate in #875
- Add peertube support by @BentiGorlich in #782
- Add Galician language support by @nobodyatroot in #876
- Cleanup deprecation warnings in Symfony profiler pre 1.6.1 release by @nobodyatroot in #877
- Implement message federation and redesign message view by @BentiGorlich in #830
- Translations update from Hosted Weblate by @weblate in #878
- Add send direct message button to profile by @melroy89 in #879
- Translations update from Hosted Weblate by @weblate in #881
- Fix/entry wrong type by @BentiGorlich in #880
- Remove text from DM button, stops excessive text wrap on desktop view with three columns by @nobodyatroot in #882
- Translations update from Hosted Weblate by @weblate in #884
- Federate pinned entries by @BentiGorlich in #831
- Translations update from Hosted Weblate by @weblate in #886
- Translations update from Hosted Weblate by @weblate in #888
- Add Discord SSO by @nobodyatroot in #887
- Update npm minor releases by @melroy89 in #895
- Add SSO documentation by @BentiGorlich in #892
- Add a lock to the handle if a user manually approves followers by @BentiGorlich in #885
- Fix PrivacyPortal SSO by @BentiGorlich in #894
- Update ...
v1.6.0
This is the 1.6.0 release of Mbin. It brings several changes and improvements including, but not limited to, a new UI filter for sorting threads and microblog posts, a new hashtag system, Microsoft Azure and SimpleLogin SSO additions, private instance mode, framework upgrade to Symfony 7.0, outgoing federation of delete actions, several backend improvements to address federation stability and compatibility, UI fixes and route changes, etc. A full change log can be seen at the bottom of these release notes.
A total of 98 reviewed and approved pull requests have been merged into this release! As always, a special thank you to new and existing contributors, without you, future Mbin releases would not be possible!
Caution
Please review the upgrade notes below before proceeding. Do NOT interrupt the database migration process... database migrations may take several minutes to finish. If a migration deadlocks, please make sure there are no lingering database sessions active and try the upgrade again.
Comparison to previous version 1.5.3:
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
|---|---|---|---|
| ☑️ | ☑️ | ☑️ | ☑️ |
Upgrade Instructions
For Docker
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down - Start all containers
docker compose up -d
For Bare Metal
- Stop all messenger processes by running
supervisorctl stop messenger:*as the root user - Login as the mbin/kbin user:
su mbin - Go to your repo
cd /var/www/mbin - Get the new release:
git fetch && git checkout v1.6.0 - Run the update script:
bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database. - Run
exitso we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli, type inAUTH [YOUR PASSWORD]and thenFLUSHDB - clear your opcache by reloading php fpm
systemctl reload php8.2-fpm - Refresh supervisor and start the new messenger group:
supervisorctl reread && supervisorctl update && supervisorctl start messenger:*
What's Changed
- add editorconfig for more filetypes by @asdfzdfj in #663
- AttachEntryEmbedHandler add missing image source url (take 2) by @asdfzdfj in #650
- use markdown alert syntax for various emphasis in documentation by @e-five256 in #667
- Fix typo in admin guide warning message by @e-five256 in #669
- UI filter changes by @andrewmoise in #453
- ui adjustments by @e-five256 in #670
- Translations update from Hosted Weblate by @weblate in #659
- Admin option - Restrict magazine creation to admins/global moderators by @e-five256 in #610
- Translations update from Hosted Weblate by @weblate in #671
- Translations update from Hosted Weblate by @weblate in #672
- fix microblog post form missing from microblog pages by @e-five256 in #674
- add route requirements for filter options by @e-five256 in #673
- Update crosspost component, include entry title by @e-five256 in #587
- feat: implement microsoft azure oidc connector by @WebVoid in #665
- Removal of view counters and associated statistics by @nobodyatroot in #666
- Translations update from Hosted Weblate by @weblate in #675
- add back magazine to post dto when in magazine view by @e-five256 in #676
- restrict login css to main content containers by @e-five256 in #677
- Fix circular ChainActivityMessage again again by @BentiGorlich in #680
- Fix some API calls by @BentiGorlich in #681
- Remove ratio from entry view by @nobodyatroot in #682
- Translations update from Hosted Weblate by @weblate in #683
- Fix some bugs by @BentiGorlich in #679
- Adjust documentation for hosting by @BentiGorlich in #684
- Remove logo preload when header logo disabled by @e-five256 in #686
- disable trim trailing space on markdown files by @asdfzdfj in #688
- update links in readme by @e-five256 in #690
- Fix some type error when searching for an ap id by @BentiGorlich in #691
- Upgrade to Symfony 7.x, package updates and removal of deprecated features by @nobodyatroot in #662
- Fix email route and add exception logging on failed emails by @nobodyatroot in #693
- upgrade
Image::$sourceUrlfield to text for long links by @asdfzdfj in #695 - Admin and FAQ doc updates by @e-five256 in #685
- switch magazine list to show magazine display names by @e-five256 in #699
- limit magazine list column width to first column by @e-five256 in #700
- refactor base template by @e-five256 in #698
- Remove kbin migration, code bases are far too diverged to be a safe recommendation anymore by @nobodyatroot in #701
- update magazine ban and log table foreign keys by @e-five256 in #703
- add rel attribute when opening original urls by @e-five256 in #704
- fix topbar all link by @CocoPoops in #705
- bump version to 1.5.3 by @e-five256 in #707
- Small text changes to docs homepage by @melroy89 in #709
- use github format admonitions in docs by @asdfzdfj in #710
- Translations update from Hosted Weblate by @weblate in #713
- initial eslint integration and ruleset config by @asdfzdfj in #664
- Emphasize creating
randommagazine in first time install docs by @e-five256 in #714 - add rel to clipboard and github sidebar links by @e-five256 in #715
- add missing sensitivity field for entry comment AP Note by @asdfzdfj in #716
- Replace nucleos/antispam-bundle with omines/antispam-bundle by @nobodyatroot in #719
- Add contributors to the README (automated) by @melroy89 in #708
- use only
application/activity+jsonfor AP fetching by @asdfzdfj in #717 - update contributors workflow by @e-five256 in #720
- Update contributors readme by @melroy89 in #724
- Improve post-upgrade environment detection by @melroy89 in #726
- Add page to view specific entry comments by @e-five256 in #648
- refetch embed again on faulty redirect by @asdfzdfj in #718
- feat: implement private mode by @WebVoid in #678
- Update post-upgrade part 2 by @melroy89 in #730
- Implement rules federation, fix markdown federation by @BentiGorlich in #694
- Faq vacuum messages by @TheVillageGuy in #731
- set
doctrine.orm.controller_resolver.auto_mapping: trueby @asdfzdfj in #738 - post-upgrade detect env by reading
.env.local.phpdirectly by @asdfzdfj in #737 - Add page selector to user list at the top of the list users.html.twig by @TheVillageGuy in #736
- Add null check to magazine description/rules before getting passed to markdown converter by @nobodyatroot in #748
- move top pagination panel outside of section by @e-five256 in #746
- remove ratelimit on user create command for admins by @e-five256 in #747
- Fix 2fa redirect not being triggered on login by @e-five256 in #756
- Disable mercure by default on new installations by @nobodyatroot in #755
- Update contrib.yaml by @melroy89 in #759
- docs(contributor): contributors readme action update by @github-actions in #760
- Update cache action to v4 by @melroy89 in #761
- Add admin panel option to enable/disable SSO only mode by @e-five256 in #740
- Rename developement_server.md to development_server.md by @e-five256 in https://github.com/MbinOrg/...
v1.5.3
Caution
Do NOT checkout this release if you normally track main. Continue to track main as always. This release is ONLY for those that previously were on 1.5.2 0e63cdd. Those that track main already have these fixes and will get the new version number as usual.
Hotfix to circular chain activity messages and an account deletion FK violation that would cause deadlocks. Advise bringing down messengers in order the migrate the DB successfully, as there may be lock conflicts with the table changes.
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
|---|---|---|---|
| ☑️ | ❌ | ❌ | ❌ |
What's Changed
- Fix circular ChainActivityMessage again again by @BentiGorlich in #680
- update magazine ban and log table foreign keys by @e-five256 in #703
- bump version to 1.5.3 by @e-five256 in #707
Full Changelog: v1.5.2...v1.5.3
v1.5.2
Quick hotfix to some issues regarding local user actions and account deletion
In some scenarios:
- Local user replies to other local users weren't federating out
- Deleting your own posts may also have failed
- Account deletion may have failed due to foreign key constraints
These issues should now be resolved
| DB migrations | New ENV vars | Admin guide changes | Suggest cache clearing |
|---|---|---|---|
| ☑️ | ❌ | ☑️ | ☑️ |
What's Changed
- Remove password and 2fa options for sso controlled users by @e-five256 in #603
- Bye Dragonfly, Hello KeyDB by @melroy89 in #641
- AttachEntryEmbedHandler add missing image source url by @asdfzdfj in #639
- Revert "AttachEntryEmbedHandler add missing image source url" by @e-five256 in #649
- Rename yarn to npm by @melroy89 in #652
- fix some minor css typos by @e-five256 in #651
- Fix error on local user replies to local users by @e-five256 in #655
- Fix missing delete cascade on MessageThread by @melroy89 in #656
- Translations update from Hosted Weblate by @weblate in #657
- Remove obsolete package-versions-deprecated by @melroy89 in #653
- npm package bump, fix recent warnings in security audit by @nobodyatroot in #658
- Update Symfony console recipe by @nobodyatroot in #660
- bump version to 1.5.2 by @e-five256 in #661
Full Changelog: v1.5.1...v1.5.2