Mbin Releases

Also view releases on GitHub.

This is the second release candidate for the upcoming 1.10 release. It contains mostly bugfixes and small improvements.

Comparison to previous stable version v1.10.0-rc1:

DB migrationsNew ENV varsRenamed ENV varsAdmin guide changesSuggest cache clearingNew dependencies
:x::x::x::ballot_box_with_check::ballot_box_with_check::ballot_box_with_check:

We have 3 different summaries below. One for end-users, one for server admins, and finally a summary for developers.

Summary for Users

  • added an option to use the old layout for posts in Combined view
  • boosted content in Combined feed will only be included if sorted by newest
  • user titles will ignore special Unicode characters
  • fix infinite scrolling of comments
  • disable reply button for comments on locked threads and posts
  • better layout for thread comments in Combined view

Summary for Server Admins

  • fix mbin:images:remove-remote command

Summary for developers

Mbin:

  • updated some dependencies

App:

  • new API endpoints for
    • get Combined feed for magazine (/api/magazine/{magazine_id}/combined[/v2])
    • get chat messages of specific user (/api/users/{user_id}/messages)
    • get content for a Tag (/api/tag/{name}/[entries|entryComments|post|postComments])

Fediverse:

  • Treat as:Public or just Public correctly
  • Fix support for image property on Page type, add support for string

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Ensure you have PHP 8.4 installed
  2. Login as the mbin/kbin user: su mbin
  3. Go to your repo cd /var/www/mbin
  4. Get the new release: git fetch && git checkout v1.10.0-rc1
  5. Run the update script: bash bin/post-upgrade.
  6. Run exit so we are back at the root user (or put a sudo in front of every command)
  7. clear your opcache by reloading php fpm systemctl restart php8.4-fpm
  8. Restart the messengers: supervisorctl restart messenger:*

[!WARNING] Executing the migrations might fail. If that is the case and the error message says something like "Unique violation: 7 ERROR: could not create unique index [...]", we prepared a command to fix these duplications. Bare metal (as the mbin/kbin user): php bin/console mbin:check:duplicates-users-magazines Docker: docker compose exec php php bin/console mbin:check:duplicates-users-magazines This command will start a guided tour to delete all duplicated users.

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.10.0-rc1...v1.10.0-rc2