⏰Upgrading your v4 instance to our v5 beta will break your install of Coral ⏰
📢 If you're interested in helping us beta test v5, contact us at support@coralproject.net 📢
Features
- Custom Reactions 🤝
- You can change the default "Respect" to "Like", "Recommend", or your custom reaction in Admin > Configure > General Settings
- More info: #2490
- Delete My Account ❎
- Commenters can now delete their accounts if they wish
- This is found in My Profile > Settings > Delete My Account
- More info: #2495
- Change My Email Address 📥
- This is found in My Profile > Settings > Change My Email Address
- More info: #2461
- Disable/Enable Account Management features ⚙️
- Newsrooms using their own SSO and Account systems can now disable Account Management features for their communities
- More info: #2497
- In-Stream Banning 🚫
- Moderators can now ban commenters directly from the comment stream
- More info: #2385
- Resend Email Verification ✉️
- Commenters can now request an email verification to be resent, if they haven't verified their email yet
- More info: #2492
Fixes & Enhancements
- Fixes issue with rate limiting and setting expiry dates on set tokens that was breaking Download My Comments if button pressed more than once: #2519
- Adds required support for Perspective API that was causing it to fail #2478
- Fixes issue with callback for social auth integration #2493
- Fixes wrong counts showing on My Profile and in Mod Queues #2516, #2518
- Fixes bug with username change status in the Commenter History #2469
- Hash size was too small and was causing caching bugs, this expands the hash size to avert the issue #2484
- Adjusts the parsing of the proxy parsing options to better allow configuration based on the express documentation #2473
- Fixes Report dialog showing outside iframe #2476
- Updates Install copy #2479
- Fixes lookup and recursive types #2472
- Fixes issue with admin screen not loading #2509
- Don't show logout link when SSO is enabled #2487
Dev Support
- For newsrooms using SSO, we've added support for enabling login prompts when commenters take actions
-
This can be implemented like so:
var embed = Coral.createStreamEmbed({ // Don't forget to include the parameters from the // "Embed On Your Site" section. events: function(events) { events.on("loginPrompt", function() { // Redirect user to a login page. location.href = "http://example.com/login"; }); }, }); -
More info here: #2474
-
- For newsrooms using SSO, we've added support for Badges and Roles
- Adds a new optional
closedAtfield to thecreateStory mutation- More info here: #2496
- This allows devs to create a story that is already closed, or closed in the future in a single GraphQL call
- Adds support for Persisted Queries #2445
- Fixes issue in development with persisted queries #2482
- Adds additional CSS classnames for styling the stream tabs: Comments, My Profile, and Configure
- You can find all the classnames here:
src/core/client/stream/classes.ts - Breaking changes:
- Removes
.coral-createComment-box; use.coral-createComment .coral-rteinstead or any of the more specific rte selectors like .coral-rte-content .coral-tabBar-allCommentsis now.coral-tabBar-comments
- Removes
- More info here: #2477, #2515
- You can find all the classnames here:
Migrations Required
- There is one migration required to upgrade from a previous beta 5 version:
- Update account management features: #2497
How to Try v5
- All of v5 will live on the
nextbranch until we merge intomasterwhen it leaves the beta stage. We anticipate this will happen by Q3 2019 - For beta-ready features and code, you can use release tag
v5.0.0-beta.8 - If you'd like the
nightly build, you can pull directly from thenextbranch - Documentation related to v5 is located in our
READMEin thenextbranch - Please note that we currently do not support a migration path from v4 and below to v5; this will be coming in the future
- One more time: ⏰Upgrading your v4 instance to our v5 beta will break your install of Coral. This is not migration ready. ⏰
- If you have any questions, write us a note in our GitHub Issues