- Added a prefix setting so you can change the prefix for localStorage items (more info here and here)
- Fixed an issue that was introduced in v1.2.10 when we added the Proxy library to make the
window.parleySettings object send out events whenever a value changes. Our Proxy polyfill was conflicting with other Proxy polyfills on the website our chat was implemented on. Our Proxy polyfill now gets called as ParleyProxy() instead of Proxy().
- Added a scope setting that restricts the communication the serviceWorker has with different pages. (more info here and here)
- Improved further serviceWorker initialization
Added
- An api unreachable notification (shown when the API returns status 502/3/4 or if the browser blocks the request)
- Settings to change the text in the api unreachable notification
serviceUnreachableNotification and serviceUnreachableNotificationAlert
- Some more error texts to the settings:
imageTooBig, imageFormatIncorrect and messageSendFailed
- Support for formatted urls, you can now use
[Google](www.google.com) in almost all texts inside the conversation window
- The new settings object
events. Here you can create a custom callback for the event events.onAuthorizationExpired. This callback is then called whenever the API returns that the client's authorizationHeader is expired.
- Agent names to the conversation above the message they have sent. Possible to disable this using
window.parleySettings.runOptions.showAgentName = false.
userAdditionalInformation, more info on how to use it can be found in the docs
Improved
- The conversation window layout (small improvements using
grids)
Fixed
- A bug where startTyping event would trigger when you press ENTER to send your message
- Render emojis with special font so that they are not black/white on IE11 (other browsers ignore this font)
- A bug where multiple links where not rendered correctly
- The bug where urls with a
: in front would fail, because it sees it as the protocol ex: "check: www.google.com" would fail "check www.google.com" would succeed. Now they both succeed.
- The conversation is re-rendered completely when calling
window.parleySettings.registerNewDevice() so that when you log-in that way, the "anonymous" messages are directly visible in the "non-anonymous" conversation.
Removed
- An unneeded reference to Messenger that caused an error on IE11
Improved
- Images are now retrieved through our new API endpoint that is more secure than our previous solution. The old solution is now deprecated and will be removed in the future.
Fixed
- Various UI fixes (mainly placement of icons)
Improved
- Further improvements to iOS mobile view
Added
- It is now possible to hide sensitive data for Analytic plugins (like Hotjar), see here and here
- It is now possible to download your conversation by clicking the menu icon and clicking on "download conversation".
- You can automatically open the chat screen by supplying the GET paramater "openmessenger" to the url (ex: https://parleycdn.com/demo?openmessenger)
Improved
- The fullscreen on mobile is improved.
Fixed
- When closing chat (X button) and clicking 'yes', we now delete the messages from the memory and hidden html (we did not do that before, thats why sometimes you could briefly see your old convo when starting a new chat)
- Error that would show isTyping when agent wasn't actually typing.
- Fixed error that would be thrown if GET /messages returned agent null
- Setting hideChatAfterBusinessHours now really hides the chat (updated in the messenger.css)
- Trailing dot "." is now ignored when creating a clickable URL
Removed
offlineText setting is removed
closeAlert setting is removed
Added
- The customer can now see when an agent is typing.
- An agent can now see when a customer is typing.
- A constructor method that enables you to initialize the messenger (with a custom config) after it is loaded in. If the window.parleySettings is set it will automatically use that config and start up (for backwards compatibility).
Improved
- The messenger is now fullscreen on most mobile devices (not on tablets).
- Parley errors prefixed with [Parley Error] that appear in the browser's developer tools console.
improved
- The chat is now fullscreen on mobile devices, this makes it easier to use the chat on mobile
Fixed
- Issue where setting 'hideInviteNotification' was ignored
- Issue with the buttonLabel, the styling changed when setting your own text instead of the default text