Skip to main content

Web library v1.2.15

Fixed bug where the interval of Polling would be reset every time a INFO message was received by the chat. Now it only resets on all new messages except INFO messages.

Web library v1.2.14

  • Added a core-js-builder that lets us make custom core-js builds (this way we minimize the amount of Polyfills that are
  • bundled with the chat files and thus minimize the chances for conflicting Polyfills)

Web library v1.2.13

  • Added custom proxy for converting Maps to proxies
  • Turned the events object into a Map so it also works on IE11 (the proxy-polyfill for IE seals the objects when creating a Proxy, so we couldn't add any events to the events object. To fix this we made a Map instead of Object for the events)
  • Added core-js polyfills mainly for the Reflect polyfill which is used for the custom proxies for Map objects

Web library v1.2.11

  • 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

Web library v1.2.10

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

Web library v1.2.9

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)

Web library v1.2.7

Fixed

  • Intro text invisible when runOptions->hideInviteNotification = true
  • Downloading of the conversation did not work on iOS v12
Known issue

Downloading of the conversation does not work on iOS v12 Chrome v71+

Web library v1.2.6

Fixed

  • Issue where you could not close the invite notification window on mobile devices
  • Issue where month number was not displayed right in the downloaded conversation
  • Issue where the intro text keeps disappearing and reappearing