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
exit
so 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::$sourceUrl
field 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
random
magazine 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+json
for 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: true
by @asdfzdfj in #738 - post-upgrade detect env by reading
.env.local.php
directly 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 #763
- update readme development server link by @e-five256 in #764
- fix small eslintrc rules typo by @asdfzdfj in #765
- fix visibility info no longer being shown by @e-five256 in #767
- fix construct variable usage on registercontroller by @e-five256 in #769
- Restyle login/register social and action button sections by @e-five256 in #706
- connect mercure endpoint url to noti controller directly by @asdfzdfj in #766
- webfinger controller event pass request once by @asdfzdfj in #739
- Exclude
node_modules
andvendor
directories from PHP linter by @nobodyatroot in #775 - Make 2fa input field required to submit form by @e-five256 in #774
- Do not auto-close issues because of stale by @melroy89 in #776
- Add note to lint docs by @melroy89 in #778
- Rework the tag system by @BentiGorlich in #654
- Extend AI user agent bot ban list by @melroy89 in #779
- Add SimpleLogin SSO by @nobodyatroot in #762
- Add available simple-icons to SimpleLogin SSO by @nobodyatroot in #781
- front controller path/routing adjustment by @asdfzdfj in #687
- Fixes to user filters on active user sidebar and people pages by @e-five256 in #773
- apply some simple eslint fixes by @asdfzdfj in #786
- slight MentionManager robustness improvement by @asdfzdfj in #787
- added lock when updating actor via UpdateActorHandler by @asdfzdfj in #620
- Translations update from Hosted Weblate by @weblate in #794
- Include image blur hash in
ImageDto
by @BentiGorlich in #796 - Update packages by @melroy89 in #793
- Fix/outgoing deletes by @BentiGorlich in #795
- version bump in preparation for 1.6.0 release by @nobodyatroot in #789
- Update Docker caddy builder version by @nobodyatroot in #800
New Contributors
- @WebVoid made their first contribution in #665
- @github-actions made their first contribution in #760
Full Changelog: v1.5.2...v1.6.0