Blog

Official release announcements and other updates from the Waterhole team.

Waterhole 0.3

Waterhole 0.3 is here with pinned posts, comment hiding, smart mention suggestions, performance impr...

Create a Post You don't have permission to do this.
Toby Toby Waterhole Founder Jul 31, 2023

Waterhole 0.3

Actions

Waterhole 0.3 is here with pinned posts, comment hiding, smart mention suggestions, performance improvements, and a ton of other improvements and fixes.

Highlights

0.3 contains some essential features to help manage posts and comments in your community, improve the user experience when posting, and more. To explore all the smaller details, check out the Release Notes.

πŸ“Œ Pinned Posts

Moderators can now pin important posts to the top of the feed to give them increased visibility and make sure they can't be missed. You can have as many posts pinned as you like, although it's recommended to only pin one or two at a time so they don't take up too much space.

image.png

πŸ«₯ Comment Hiding

As an alternative to being deleted permanently, comments can now be hidden to clean up a discussion. Anyone can expand a hidden comment to read it in full. Moderators can also specify a reason for hiding a comment – such as off-topic, inappropriate, or spam – which will be displayed on the collapsed comment.

image.png

πŸ—‘οΈ Post Trash

Instead of deleting posts and all of their comments permanently, posts can now be moved to the trash, allowing them to be recovered if needed. Only admins and moderators can view trashed posts.

πŸ’¬ Smart Mention Suggestions

When you type the @ character while writing a comment, Waterhole will now suggest recent commenters as well as the original poster. Additionally, your comment will be marked as a reply to the selected user's most recent comment in the thread.

mentions.gif

🏎️ Performance Improvements

Waterhole is now even faster thanks to a few optimisations. In particular, reaction users and action menus now load lazily, speeding up page loads. The default number of posts and comments per page has also been slightly reduced, though this is configurable.

✨ Other Improvements

There are a whole range of minor enhancements and bug fixes, including:

  • Add a Comment button in the post sidebar
  • Use a more compact layout for comments on small screens
  • Use color to make search result keyword highlights more prominent
  • Get a "mention" notification when someone replies to your comment
  • Make "follow posts I comment on" preference also automatically follow posts you create
  • Limit one notification per user per new comment
  • Show links in channel picker when creating new posts

Upgrading From 0.2

In your composer.json file, change the waterhole/core requirement:

- "waterhole/core": "^0.2"
+ "waterhole/core": "^0.3"

Then run:

composer update waterhole/core --with-dependencies
php artisan migrate
php artisan waterhole:cache:clear

What's Next

The next release, 0.4, will focus on integrations: single sign-on with external authentication providers, integration into existing Laravel apps, and a JSON API so you can read and write forum data outside of Waterhole.

πŸŽ‰ 7 Hooray Loading... ❀️ 4 Love Loading... πŸ‘οΈ 1 Like Loading...
18 ⁨18⁩ ⁨comments⁩
Toby Toby Waterhole Founder May 30, 2023

Waterhole 0.2

Actions

Waterhole 0.2 is here with a security fix, better emoji support, new translations, and a whole range of other improvements and fixes.

Highlights

0.2 is mostly about smaller enhancements and bug fixes, but there are a few notable changes. To explore all the smaller details, check out the Release Notes.

🀩 Improved Emoji Support

Emojis are now rendered using TextFormatter, the formatting library used by Waterhole. This is more performant and fixes a security vulnerability with the old emoji rendering method. It also means you can configure Waterhole to use an alternative emoji set instead of Twemoji.

πŸ—£οΈ New Translations

Waterhole has been translated into πŸ‡«πŸ‡· French (thanks to @Qiaeru) and πŸ‡·πŸ‡Ί Russian (thanks to @Awilum). You can enable these locales on your installation by adding the following to your WaterholeServiceProvider:

Extend\Locales::add('French', 'fr');
Extend\Locales::add('Russian', 'ru');

✨ Other Improvements

There are a whole range of minor enhancements and bug fixes, including:

  • Internal links no longer open in a new window
  • The post last activity time now links to the last comment
  • Slightly decreased the container width and typographic measure to improve readability
  • Added the ability to look up users by ID in the CP
  • Fix the text editor emoji popup not displaying
  • Fix an error when running the waterhole:make:extension command
  • Fix the bottom of composer textarea going off-screen

Upgrading From 0.1

Upgrade Using Composer

In your composer.json file, change the waterhole/core requirement:

- "waterhole/core": "^0.1"
+ "waterhole/core": "^0.2"

Then run:

composer update waterhole/core --with-dependencies

Update Emoji Configuration

The emoji configuration in config/waterhole/design.php has changed. To continue using Twemoji in your project, you'll need to make the following change:

- 'twemoji_base' => 'https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.1/',
+ 'emoji_url' => 'https://cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/{@tseq}.svg',

Reformat Content

Emojis in content are now formatted at parse-time rather than at render-time. Run the following command to reparse emojis in all existing content:

php artisan waterhole:reformat
πŸ‘οΈ 7 Like Loading... πŸŽ‰ 4 Hooray Loading...
3 ⁨3⁩ ⁨comments⁩