Navigation

JavaScript SDK changelog

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

[2.6.0] - 2023-01-07

Added

  • Suspended users are now redirected to the suspended_url or a Sabil hosted suspended page.

[2.5.1] - 2022-12-07

Fixed

  • Calling attach multiple times does not add multiple overlays.

[2.5.0] - 2022-10-27

Added

  • Added the ability to change the language & add your own language to the blocking dialog.

Changed

  • The internal format of the language files to reduce size of library

[2.4.4] - 2022-10-27

Fixed

  • Fixed a bug introduced by the previous version causing on_other_device_logout call to be skipped.

[2.4.2] - 2022-10-12

Added

  • Added default identity detection.

[2.4.1] - 2022-10-11

Added

  • Added identity parameter to the attach function to expose device identification apis.

[2.4.0] - 2022-09-16

Added

  • The SDK now listens to remote events if the on_current_device_logout callback is provided.

Fixed

  • Returns the proper response for the attach function (including device_id) if the show_blocking_dialog is set to false.

[2.3.0] - 2022-08-30

Added

  • The library now exports two versions: an esmodule and a commonjs.

Changed

  • Reduced size of library to ~23K.

[2.2.0] - 2022-08-29

Changed

  • Reduced size of library to ~60K.
  • Added Sabil object to window so that websites can directly import it using script tags.
  • Removed unnecessary dependencies in favor of using the open source code directly.

[2.1.0] - 2022-08-25

Changed

  • Reduced payload size by 95%.
  • Stored device id locally to allow device lookup by id.