Changelog

23.7.3

  • Prioritise localStorage over cookies storage driver for local user data (votes, locale). LocalStorage will be used in first place when available.

Do not update to this version on an actively running project.

23.7.2

  • Fix a rare race condition which in some cases could cause the application to miss already published elements on application start.

23.7.1

  • Preventing elements revoke upon history re-fetching

23.7.0

  • Method LViS.User.login() replaces LViS.User.signIn()

  • Method LViS.User.login() (former LViS.User.signIn()) supports success and failure callbacks

  • setDelay() method fixes

23.6.0

  • elements UUIDs is used instead of IDs

23.5.0

  • History is refetched on reconnect

23.4.0

  • two new interfaces of LViS.Sync.setDelay() method

23.3.0

  • Fixed validation of nonexistant option vote

  • Removed support of a Combipoll element

23.2.0

  • Added new reveal results mode "always" for regular poll, prediction and trivia elements

  • Added max votes per option setting for regular poll, prediction and trivia elements

  • Changed the way of distribution: private registry https://npm.monterosa.co is used instead of public npmjs.com

23.1.1

  • A performance problem was fixed. In some cases, specifically when using events in on demand mode, internal message queue processing would be done more frequently than it should have. This is now fixed.

22.6.6

  • Prioritise localStorage over cookies storage driver for local user data (votes, locale). LocalStorage will be used in first place when available.

Do not update to this version on an actively running project.

22.6.5

  • A performance problem was fixed. In some cases, specifically when using events in on demand mode, internal message queue processing would be done more frequently than it should have. This is now fixed.

22.6.4

  • getResultsPerSource method returns null if results haven't been revealed yet

  • fixes a problem with votes breakdown percentage calculation for some very rare cases with extreme dis-balance of votes between different answer options

22.6.3

  • fixes a problem with setDelay which may result in incorrect order of elements if setDelay is called multiple times with different values

22.6.2

  • Fixes field requires_validated_user handling

22.6.1

  • Fixes max per option exceed validation message

22.6.0

  • Implemented max votes per option setting for regular polls, predictions and trivia

  • Combines multivote validations for prediction, quiz and regular poll

22.5.0

  • Added support for new results reveal mode "always"

22.4.0

  • Added support for flexible poll

22.3.0

  • LViS API 22.3.0

  • Removes deprecated regular poll vote() method alternative syntaxes

  • Removes deprecated callback function in LViS.setEvent method

  • Fixes addDemographicsCounter() deprecation message

  • internal scheduled runs prioritized to run first in order to update internal statuses before user scheduled runs

22.2.0

  • Simplifies addDemographicsCounter call

  • Elements re-sorted by publish time on element update

22.1.0

  • Publish time of Data element can be updated

  • Implements LViS.Run.next() method

22.0.0

  • Enmasse API 3.12.0

  • Using Date.next() inside library for a better synchronization

21.1.2

  • More precise handling of a delay change

21.1.1

  • Fixes handling of updated_at time on element update

21.1.0

  • Added elements getUpdatedAt() method

  • A bugfix, which prevents the API from triggering LViS.Event.ON_UPDATE and ON_REVOKE JavaScript events before LViS.Event.ON_READY. Previously there was a condition for a short space of time after Element end when this was possible for users who just opened the client App.

21.0.0

  • Adds possibility to force secure connection

20.2.3

  • Fixed proxy connection

20.2.2

  • Do not throw ON_ERROR upon double initialisation

20.2.1

  • API reinitialisation is forbidden

20.2.0

  • Fixes bug when poll can't be revealed

  • Improves Sync and Connection Adaptor modules

  • LViS.Listings.getCurrent() now also returns events start time of which is equal to current time

  • API initial load is improved by loading project settings in parallel

  • Removes deprecated LViS.Event.ON_ELEMENT_CREATE event

20.1.3

  • Fixes handling Data elements with duration on event stop

  • Fixes XHR error handling

20.1.2

  • New Enmasse API 3.10.4

  • Infrastructure scripts improvements

20.1.1

  • Fixes state determination for newly created durationable data elements

  • Removes forgotten console.log call

20.1.0

  • Event's data from messaging server have priority over history feed

20.0.3

  • All JSONP feeds replaced with CORS/JSON

20.0.2

  • New Enmasse API 3.10.1

20.0.1

  • New Enmasse API 3.10.0

20.0.0

  • Library can be included as npm package

  • Massive changes were made to convert ES3/5 code to ES2015 using modules and modern class system

  • A lot of custom written or outdated libraries were replaced with widely supported npm packages

19.3.4

  • Event state was incorrectly resolved during switch between active and finished state

19.3.3

  • Fixed handling of LViS Event readiness state

19.3.2

  • Preventing double triggering of LViS Event finished state

19.3.1

  • Fixes LViS.Sync.setDelay() method edge case

19.3.0

  • LViS.Sync.setDelay() allows to force an event reset

19.2.6

  • More strict vote validations in multi-vote poll

19.2.5

  • Introduces LViS.Event::getOriginalStartAt() method

19.2.4

  • Removes unnecessary jQuery dependency

  • Fixes LViS Event readiness handling

  • Other minor bug fixes

19.2.3

  • Introduces new LViS.Event::isReady() method

  • Fixes double call of LViS.Event.ON_READY on set delay

19.2.2

  • LViS.Event.ON_ELEMENT_CREATE event is deprecated, introduced LViS.Event.ON_ELEMENT_CREATE event instead

  • Ignoring non integer votes in multi-vote elements

  • Changing default delay in Studio reloads event and project listings

  • Limit user delay by Number.MAX_SAFE_INTEGER

  • Other minor bug fixes

19.2.1

  • New handling mechanics for set event, based on LViS.Event.ON_READY instead of a callback

  • New JavaScript events: LViS.Event.ON_READY, LViS.Event.ON_NOT_READY‚Äč

  • Bugfix: preventing setting the same delay value multiple times

19.2.0

  • Adding better support for On-Demand content through ability to re-synchronize LViS content when a user fast forwards and rewinds on-demand content.

19.1.2

  • Fixes validation for multi-voting elements

19.1.1

  • Empty votes are ignored

19.1.0

  • Adds multi-voting

1.51.2

  • Using event extra time instead of project level extra time

1.51.1

  • Bugfix: /fb/ message handling for final results

  • Bugfix: forcing element duration change on stop

  • Bugfix: two JS events of LViS.Event class had the same name

  • Bugfix: forcing use of http(s) protocols for all loading files

1.51.0

  • Handle elements update

1.50.6

  • Fixes event emitter

1.50.5

  • New Enmasse library v3.8.2

1.50.4

  • New Enmasse library v3.8.1

1.50.3

  • Selected language is preserved between sessions

  • LViS.Storage stores data against project UUID

1.50.2

  • Fixes results processing for Revealable elements

1.50.1

  • Fixes the way data in old format is handled

1.50.0

  • Adds support for multisource vote