Skip to content

Releases: Leanplum/Leanplum-JavaScript-SDK

Leanplum JavaScript SDK 1.8.4

14 Apr 11:06

Choose a tag to compare

What's new:

  • The "Register for push" app function can now be used (#123, #124)

What's fixed:

  • Support for chained messages created in Messaging (#128)

Leanplum JavaScript SDK 1.8.3

25 Jan 09:51

Choose a tag to compare

What's new:

  • Additional data for App Inbox messages can be accessed through the .data() method. (#122)

What's fixed:

  • Resolve deprecated API warning when rendering In-App messages. (#121)

Leanplum JavaScript SDK 1.8.2

03 Nov 05:15

Choose a tag to compare

What's new:

  • When triggering an Open URL action, there's a preventable openUrl event that allows integration code to handle it, instead of using window.location directly. (#118)

What's fixed:

  • Lifetime occurrences were not counted correctly when starting new sessions. (#119)

Leanplum JavaScript SDK 1.8.1

29 Oct 05:58

Choose a tag to compare

What's fixed:

  • Rich In-App message may render under elements on the page (#117)

Leanplum JavaScript SDK 1.8.0

24 Aug 14:08

Choose a tag to compare

What's new:

  • In-App Messages: Rich In-App messages can be enabled with a single line of code: Leanplum.enableRichInAppMessages(true).

What's fixed:

  • App Inbox: JS error when used in IE11

Leanplum JavaScript SDK 1.7.0

24 Jun 16:04

Choose a tag to compare

What's new:

  • In-App Messages: subscribe to the showMessage event for custom rendering of in-app messages.
    See the Web In-App messages help topic for more information.
  • getFileUrl method that resolves a filename to link to the downloadFile API.
  • on and off methods for subscribing to events
  • getUserId method for getting the ID of the current user

What's fixed:

  • JS error when the development socket closes due to an error (#95)

Leanplum JavaScript SDK 1.6.0

18 May 15:40

Choose a tag to compare

What's new:

  • App Inbox support (API for getting data, Open URL function, action tracking)
  • API end-point has changed to the officially documented one, api.leanplum.com/api
  • New method: useSessionLength(seconds: number) that allows calls to start() to reuse a recent session
  • New method: setWebPushOptions({ serviceWorkerUrl: string, scope: string }) to allow calling registerForWebPush() without arguments and scoping the service worker to a specific path

What's fixed:

  • JS error when requests are queued (#82)
  • JS error in development mode (#83)

Leanplum JavaScript SDK 1.5.0

27 Apr 11:51

Choose a tag to compare

What's new:

  • Add the Leanplum.trackPurchase method (ISOM-3021, #59)
  • Add a Leanplum.VERSION field that allows scripts to get the used SDK version. (#64)

What's fixed:

  • Fix registerForWebPush method not resolving its promise on the first successful registration (ISOM-3020, #56)
  • Do not throw JS error when server variable response contains unknown fields (ISOM-2898, #45)
  • Fix TypeScript definitions for setUserAttributes (can be called without userId) (#64)

Leanplum JavaScript SDK 1.4.0

07 Feb 15:04

Choose a tag to compare

  • Add TypeScript definitions
  • Fix LP-10999 - Improper OS Name for Android devices

Leanplum JavaScript SDK 1.3.0

17 Jul 18:26

Choose a tag to compare

Added access to variant debug info