Skip to content

Latest commit

 

History

History
267 lines (203 loc) · 15.6 KB

CHANGELOG.md

File metadata and controls

267 lines (203 loc) · 15.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

[0.15.5] - 2023-10-10

Added

  • Direct Line Streaming: Added networkInformation option to assist detection of connection issues, by @compulim, in PR #412

[0.15.4] - 2023-06-05

Changed

[0.15.3] - 2023-06-05

Fixed

  • Fixed #398. In DirectLineStreaming, all calls to async function should be caught and rethrow appropriately, by @compulim in PR #399

[0.15.2] - 2023-03-21

Changed

[0.15.1] - 2022-02-09

Changed

[0.15.0] - 2021-07-29

Changed

[0.14.1] - 2021-02-10

Changed

[0.14.0] - 2021-02-09

Added

  • Create better handling of Web Socket errors, by @compulim, in PR #324
  • Added setUserId() function to set user ID before connection, by @timenick, in PR #316

[0.13.1] - 2020-09-09

Changed

[0.13.0] - 2020-08-17

Added

  • Added conversationStartProperties and locale, by @timenick, in PR #293

Fixed

[0.12.0] - 2020-06-04

Added

  • Added support of Direct Line App Service Extension, by @ckkashyap, in PR #183 and #274
  • Added support for Retry-After header and version information to x-ms-bot-agent header, by @swagatmishra2007, in PR #247
    • Also improved testability of the package

Changed

[0.11.6] - 2019-10-25

Fixed

[0.11.5] - 2019-09-30

Breaking Changes

  • Build folders updated
    • /dist/ contains JavaScript bundle
      • /dist/directline.js is now in lowercase
    • /lib/ contains ES modules and type definitions
  • Build scripts updated
    • npm run build: Development build, with instrumentation code, one-off
    • npm run start: Development build, with instrumentation code, with watch
    • npm run prepublishOnly: Production build, minified, one-off

Changed

Added

  • Fix #235. Added metadata when uploading attachments, including thumbnailUrl, by @compulim, in PR #236

Fixed

  • Avoid posting an error on intentional end, by @orgads in PR #172
  • Surface Web Socket errors, by @orgads in PR #171

[0.11.4] - 2019-03-04

Changed

  • Change reconnect delay to be a random amount between 3s and 15s, by @mingweiw in PR #164

Fixed

[0.11.2] - 2019-02-05

Fixed

  • Fixed an issue where pollingInterval set to undefined would cause high polling rate, by @cwhitten and @compulim, in PR #157

Changed

  • Used @babel/preset-typescript and webpack@4 to build, in PR #156
    • Moved to inline source map for pre-bundle
    • Added .editorconfig and .vscode for new line and tab size rules

[0.11.1] - 2019-01-31

Fixed

  • Fixed an issue causing a header to be incorrectly generated. #153

[0.11.0] - 2019-01-28

Added

  • Added protection against user-given pollingInterval values #129
  • Added custom user agent and header #148

Fixed

  • errorConversationEnded no longer thrown when calling DirectLine#end, by @orgads, in PR #133

[0.10.2] - 2019-01-09

  • Added messageBack to CardActionTypes and updated CardAction fields, by @corinagum, in PR #138
  • Expand CardActions with specific types, by @corinagum, in PR #141

[0.10.1] - 2018-12-21

Changed

  • Prevents infinite WebSocket reconnection spam on subsequent token expiration signals #127

[0.10.0] - 2018-10-30

Added

  • Add support for watermark in Web Socket, in #96

Changed

  • Delay before retrying Web Socket, in #97
  • Slow down polling on congested traffic, in #98
  • Bump dependencies, in #100
    • deep-extend from 0.4.2 to 0.5.1
    • randomatic from 1.1.7 to 3.1.0

[0.9.17] - 2018-08-31

Changed

  • Add handling of 403/500 for getSessionId, in #87

[0.9.16] - 2018-08-14

Added

  • Added optional role to User interface, must be either "bot", "channel", or "user", in #79

[0.9.15] - 2018-04-24

Added