npm @alfresco/js-api 3.0.0

latest releases: 7.8.0, 7.9.0-9127362140, 7.8.0-9114245417...
5 years ago

Single Sign On enhancement

SSO ticket fix

In order to make the SSO work completely with the new ACS 6.1.0, a new exchange token for alf_ticket mechanism has been introduced via a new flow in the JS-API that performs this operation.
For more details about this issue please refer to the this JIRA ticket.

withCredential

The withCredentials property has been added as a configuration Boolean parameter in the JS-API and in ADF.
This indicates whether or not cross-site Access-Control requests should be made using credentials.
This configuration is usually needed when you are dealing with Kerberos.

For more details please see the links below:

JS-API in Typescript

The Alfresco JS-API layer has been rewritten in TypeScript. Note that the output of the project is still JavaScript code so you can use in the usual way.
This rewrite has been necessary to make the JS-API lighter and faster with the following benefits:

  • Tree-shakable.
  • Strong typing enhances code quality and readability.
  • In the JS-API project, it is now easier to generate new code thanks our code generator template.
  • TypeScript already provides a number of features that are planned for future version of JavaScript.
  • Intellisense in your IDE will now work much better with the JS-API

Note that the following old package names have been deprecated: alfresco-js-api, alfresco-js-api-node.

The Node and Browser version are now both in: @alfresco/js-api
Refer to the official Alfresco JS-API documenation to learn more about this.

Fixes

[ADF-3648] add silent refresh in grant password
[ADF-3892] Add exchange alf_ticket for token
Add support for withCredentials calls

Don't miss a new js-api release

NewReleases is sending notifications on new releases.