2.0.0
Breaking Changes
Removed shim libraries and thereby out of the box support for Internet Explorer
This version drops out of the box support for Internet Explorer. This means a lot of the shim libraries have been removed in favor of adding the following code to your index.html:
Note that this will also be the last major version of the Vidyano web client that will support Internet Explorer at all.
Upgraded Typescript to version 3
This update together with the removal of the shim libraries (see below) will require you to add a lib section to the tsconfig.json file:
Deprecated LINQ for JavaScript and removed all references from base library
The most major breaking change is the deprecation of the linq.js base library.
The bad news
all code using LINQ for JavaScript will write a deprecation warning to the console. The next major version of the client will no longer include the library by default.
The good news
we added replacements for the most used functions directly on the native JavaScript Array prototype.
you can easily include the library if you choose not to migrate your code. Simply add the following line of code to the ```<head>``` element in your index.html file:
adding this code below the Vidyano import will also get rid of the deprecation warning in version 2.
Migrating away from linq.js
Enumerable.from
Can be omitted in most cases as the argument will most likely be an array already. In case the argument is for example a DOM NodeList, you can use the native Array.from() function instead:
Array extensions
Enumerable.SelectMany
SelectMany can be easily written with native JavaScript:
What's New
Tags
You can now add the inputtype=tags typehint to a MultiString attribute to display the strings as tags.
is-ie attribute on vi-app
This attribute is now added automatically to the vi-app element so the child elements can more easily add custom styles via :host-context specifically for Internet Explorer.
Last updated
Was this helpful?