All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- warn when user bundle all the types and suggest a way to fix it
- upload asset was not working due to bad url creation.
- removed duplicated sources of adapters & types (removed duplicate folder
/types
ofapi/types
). Affect only v5.0.3 - change type of property
relatedObjects
from array to map
before
export interface KalturaObjectBaseArgs { relatedObjects? : KalturaObjectBase[]; }
after
export interface KalturaObjectBaseArgs { relatedObjects? : { [key: string] : KalturaObjectBase }; }
- typescript declaration issue for error response
- async unit-tests
- cancel request now the cancel underline xhr request
- use user custom chunk size if provided
- update minimal custom chunk size to 100Kb
- use user custom chunk size if provided
- upgrade dependencies to handle vulnerabilities
- build upload url correctly to prevent failured during upload
- provide api to allow sending empty arrays to the server
To allow sending empty arrays for properties, use allowEmptyArray()
method:
yourObjectInstance.allowEmptyArray('theRelevantArrayPropertyName')
this will instruct the kaltura client to send empty arrays if assigned for restrictions
property
- parse relatedObjects in responses from the server
- provide the api version as part of the multi-request payload instead of sending it as part of each inner requests payload
6.1.1 (2017-12-07)
- non-chunked file upload progress fix
6.1.0 (2017-12-05)
- support requests that serve files by returning a valid download url for that files
6.0.0 (2017-11-26)
- append action value to endpoint uri only if provided by request (e53a9b5)
- generate endpoint to service with '/api_v3/' as a prefix. (fdaf513)
- support empty array as a valid resopnse (6c677df)
- Fix upload file in IE11 and edge and Safari
- before:
The service api provided by the application included
/api_v3/
when provided
"https://www.kaltura.com/api_v3/"
after:
The service api provided by the application shouldn't include /api_v3/
when provided
"https://www.kaltura.com"
5.1.2 (2017-10-29)
- compile issue with typescript version (c3cfd95)
- use chunk upload only for services that support it (43dd5e2)
5.1.1 (2017-10-22)
- upload of new files whose size is smaller then the chunk size (107635e)
5.1.0 (2017-10-16)
- generated package.json private attribute is set to false to allow publish to npm (525a295)
- remove gibrish that prevented compilation (c61caac)
- add documentation to service actions (301586e)
- support chunk file upload and resume upload action (e04830a)
- syncing services with server changes on date 02/10/17 04:15:21 (de7a5a1)
5.0.0 (2017-08-14)
- fix 'acceptedTypes' property compilation issue. (efe50aa)
- attach generated schema 'apiVersion' to each request (5e5e2c8)
- support kaltura object properties of type map (c866ca2)
- update services/actions (46beb73)
- changes in public api (services/actions/objects)
4.0.0 (2017-07-13)
- add service XInternal action XAddBulkDownload (59b0ac6)
- prevent importing the complete library implicitly, force import types explicitly (cdfa3a6)
- Any imports from types/all should be modified to explicitly import the relevant types.
Before:
import { KalturaPermissionFilter, UserLoginByLoginIdAction } from 'kaltura-typescript-client/types/all';
After:
import { KalturaPermissionFilter } from 'kaltura-typescript-client/types/KalturaPermissionFilter'; import { UserLoginByLoginIdAction } from 'kaltura-typescript-client/types/UserLoginByLoginIdAction';
3.0.0 (2017-07-13)
- expose global ks and partner id from the client instead of from the configuration object. (fac1eb7)
- the global ks and partner id must be assigned on the client (previously was on the configuration)
1.1.1 (2017-05-10)
2.1.0 (2017-05-22)
- separate dynamic info (ks, partnerid) from configuration info (client tag, endpointUrl) (12bf78e)
2.0.0 (2017-05-18)
- kaltura-clients: remove configuration objects, assign dynamic data directly on the clients (8a30a72)
- kaltura-clients: the 'KalturaClientBaseConfiguration' and 'KalturaHttpClientConfiguration' objects were removed.
Any dynamic data assigned on them should be done directly on the client instance.
1.1.1 (2017-05-10)
1.1.0 (2017-05-09)
- fix upload file process (2db951c)
- prevent IDE intellisense from importing by default types from the module that bundle the complete library (61e5c4e)
- seamlessly add enum types used by requests to the bundle (c417868)
- send 'partnerId' only if provided (previously was sending 'undefined' if wan't provided) (e128dfc)
- setting dependent property in multi-request now uses zero index base. (1599905)
- notify developer when response from server returned with kaltura object type that wasn't bundled into the application (78a2f7c)
- bundling: we now support bundling only what the app is using (a7b8ef4)
- Bundle only used actions, classes and enums (a.k.a kaltura types) in your application to reduce bundle size.
- Represent each kaltura types as a typed object with simple API.
- Use generated action classes to easily access Kaltura services.
- Invoke multi-requests against the server.
- Handle each request response separately.
- Expose interceptors to handle multi-request responses together.
- Use simple API to define dependent properties between requests using placeholders.
- Support default properties value in requests.
- Support the following property types:
- Dates.
- Simple types (number, string, boolean).
- Enums (both numeric enums or string enums).
- Kaltura objects including inheritance and fallback mechanism.
- Handle 'readonly' fields, guard against mutating them or sending them to the server.
- Ability to upload files including abort & retry operations.
- Hide complex server API syntax such as:
- Classify objects using 'objectType' property.
- Mark Field for deletion
- Share properties among requests to reduce code duplication.
- Valid KS
- Partner Id
- Client Tag