v3.0.0
IMPORTANT: This release contains new plugin prefixes; please test thoroughly before you deploy to a production environment, as you will have to update your plugins.json
and ensure there are no errors. If you run into trouble, log an issue and our team will reach out to help you.
Plugins
- For consistency and ease of understanding, we have renamed all Talk Plugin prefixes from
coral-plugin
totalk-plugin
; we will be usingtalk-plugin
exclusively moving forward and recommend you also use this for your Talk Plugins 🔌
Features
- Talk now supports event tracking via 3rd party systems via an Event Emitter; the events currently provided are those that exist by default from GraphQL and Redux; you can see an example config in
views/article.ejs
:
{
// The argument passed is the event emitter from https://github.com/asyncly/EventEmitter2
events: function(events) {
events.onAny(function(eventName, data) {
// logs all available events.
console.log(eventName, data);
});
},
}
- User Details are available from more places in the Admin (anywhere a username is provided), so moderators can easily get user context when making moderation decisions
- The "New" Comments queue shows new comments that haven't been moderated that might need attention
- Admins and Mods can view the context of rejected and pre-mod comments in the Comment Stream and Permalink pages, but this isn't available to commenters for privacy reasons
- "Don't agree" reporting is no longer listed as a flag, as it doesn't trigger a flag in the Mod Queues
- Moderators can now Feature and Un-Feature comments from the Mod Queues 🌟
Dev Support
- Exposes the
JWT_ALG
as a config param; allows parsing of token from query param - Generates and integrates introspection query results (ref: #772)
events) & remove token from local store when getting a 401 Unauthorized response (ref: #815) - Adds support for disabling the babel-polyfill on the parent embed.js (ref: #818)
- Allows hosting of Talk on a different URL by adding support to the pre-existing
ROOT_URL
param (set viaprocess.env.TALK_ROOT_URL
) to contain path routing information - Supports returning an object on Talk.render to control the embed (currently triggering login / logout and listening to events); also removes the token from local store when getting a 401 Unauthorized response (ref: #815)
Translations
- Talk now supports Brazilian Portuguese! 🇧🇷
Fixes
- Only allow permalinks for comments on a particular asset
- Fix Safari issues for popups