JavaScript API Changelog

v. 0.83.1

Released on 20 Oct 2021

Minor bug fixes.

v. 0.83.0

Released on 18 Oct 2021

Now4real’s pagechats now support GIFs!

Added the gifsStatus property to the Parameters subject in order to handle GIFs settings.

v. 0.82.1

Released on 29 Sep 2021

Fixed a bug that could have caused the widget to incorrectly highlight links that contain non-ASCII characters.

v. 0.82.0

Released on 20 Sep 2021

Added the clickableLinks property to the Parameters subject. This reflects the settings for the external links in the new “Custom Filter” section of the Dashboard.

The setMute method now supports null as a valid duration value, to be used to mute a user for an unlimited period of time.

Introduced French translation for the widget.

v. 0.81.0

Released on 05 Aug 2021

Introduced Swedish translation for the widget.

v. 0.80.0

Released on 02 Aug 2021

Now4real now lets the administrator of the site to define the Guest and Moderator roles for their users, empowering them with special powers within a pagechat.

For this, the following new methods are added to the client API.
flushChat: allows a Moderator to clean the entire chat.
setChatEnabled: allows a Moderator to disable/enable the pagechat.
getMute: allows to read the mute period for a user.
setMute: allows a moderator to mute a user in the pagechat for a period of time.

The post method can now return the new USER_MUTED and CHAT_DISABLED errors.

The Parameters subject exposes new properties:
messageMaxLengthModerator: the max message length that a Moderator can post in the chat.
messageMaxLengthGuest: the max message length that a Guest can post in the chat.
messageResendPeriodModerator: the post throttling period for a Moderator.
messageResendPeriodGuest: the post throttling period for a Guest.
chatStatus: indicates if the chat was disabled and, in that case, by whom.

The User object now specifies the role that the user assumes through the new optional role property. The optional badge property has also been added, with the text and colors of the badge, as configured in the Dashboard.

The API now exposes the author of the deletion of a message in the pagechat. This can be read in the new optional property of the MessageListUpdate object named deleted.

Added the new chat_enabled parameter to the widget configuration object, to control the appearance of the chat tab in the opened widget.

Deprecated the POST_STATUS subject.

Introduced the Romanian translation for the widget.

v. 0.70.2

Released on 16 Jul 2021

Fixed a bug that could have caused the widget to incorrectly highlight a link to a subdomain.

v. 0.70.1

Released on 21 Jun 2021

Fixed a bug that could have caused the widget to show an old message notification bubble when the page gained the visibility.

v. 0.70.0

Released on 17 Jun 2021

Added messageDurationValue and messageDurationUnit to the Parameters subject. These reflect those configured in the “Message duration” setting of the Dashboard.

Introduced Polish translation for the widget.

The URLs found in the chat, are now rendered as link even if they point to pages of subdomains of your site.

v. 0.60.2

Released on 01 Jun 2021

Bug fix.

v. 0.60.1

Released on 04 May 2021

Stats bug fix.

v. 0.60.0

Released on 03 May 2021

Introduced the new AUTHORIZATION subject to deal with the site authorization.

The widget fully support this new subject and adapt itself to the authorization settings.

v. 0.50.1

Released on 10 Mar 2021

Fixed a bug that could have caused the widget to not load correctly the chat when the container parameter is configured but the corresponding element is not present into the DOM.

v. 0.50.0

Released on 10 Mar 2021

Introduced the possibility to reply to a message of the pagechat. To do this, the API method now takes an options parameter with the id of the message to reply to.

Introduced the new now4real.deleteMessage API method to delete a message of the pagechat.

The widget implements these new features.

v. 0.46.0

Released on 15 Feb 2021

The URLs found in the chat, which point to pages of the site, are now rendered as links.

v. 0.45.0

Released on 03 Feb 2021

The pages of the sites embedded on a domain are now automatically considered as they were on their original domain.

v. 0.44.0

Released on 01 Feb 2021

Bandwidth optimization.

v. 0.43.2

Released on 12 Jan 2021

Disabled the appearance of the chat invitation bubble above the closed widget.

v. 0.43.1

Released on 23 Dec 2020

Disabled the widget chat input area autofocus when embedded in a webpage through the container parameter.

v. 0.43.0

Released on 22 Dec 2020

The color_1 and color_2 properties of the widget parameter within the now4real.config object are now deprecated in favor, respectively, of color_external_background and color_external_text.

Added the color_internal_background and color_internal_text properties to customize the colors of the open widget too.

Now4real now can be configured to blend seamlessly with the look and feel of your site.

Add Now4real to your site now

It's easy. It's free.

Enable your visitors to chat with each other. Let them find out the most popular pages.
Spark up instant communities on your website!

© 2021 Now4real Srl. All rights reserved. P.IVA IT10328990964. Illustrations by Freepik Storyset