Release Notes - 2.2

2.2.6-funcrel

Other Updates

Details
Fixes the missing GetHttpRequestService with Axios.
Provided support of resolution through "window" global variable.
Provided support of resolution of a function call inside a function call inside a quoted string.
Fixes the missing link from a function call inside a string.
Libraries or tests must be skipped
Fixes an issue wherein the analyzer failed during deep analysis for an application.
Fixes an issue wherein functions named "NONAME" were created as duplicates of functions named "xxx_PARAM_n".
Fixes an issue wherein resolution failed to work when import statement referred to a module defined with jest in a package.json.
Fixes an issue wherein the following file was skipped platform\edunav-admin-app\edunav-admin-app\Sources\controllers\requirements.js.
Fixes the missing link when a function is called through a "require" statement.
Fixes a badly parsed statement when a string is alone inside a parenthesis.
Fixes the badly parsed loop "for await", and the missing links from inside the loop.
Fixes the wrong parsing when jsx code contained HTML empty tags: many functions of the file are not created.
Fixes the autocalled function which was badly parsed and badly resolved.
Enhanced the links on smartplan analysis.
Arrow functions returning a parenthesed expression are badly parsed, then badly resolved
Fixes the ((params.type === 'alt') ? getAnotherOptimizeReportData : getOptimizeReportData)(params, callback); which was badly parsed, then badly resolved.
Support provided for "void" operator.
Fixes the TypeError: 'bool' object is not callable and stop analysis on splendidcrm analysis.

2.2.5-funcrel

Resolved Issues

Customer Ticket Id Details
45964 Fixes the incorrect links created between JavaScript Function to JavaScript HTTP Request Operations.

Other Updates

Details
Improvised the resolution between JavaScript and TypeScript languages.
Libraries or tests must be skipped.
Fixes a missing link to function, when function call is present in a JSX HTML expression with JavaScript code inside attributes without name.
Fixes missing link between JavaScript function objects.
Removed Traceback from logs.
Fixes the false links from export JavaScript Function to Translate JavaScript Function not belonging to same project Path.
False inheritance links between JavaScript Classes.
Fixes an issue whrein the "import" statements with path starting with "~/" were not handled well.

New Support

Summary Details
Support ".prisma" file extensions Added support for ".prisma" file extensions for TypeScript usage (technical).

2.2.4-funcrel

Other Updates

Details
A technical update to prepare for TypeScript extension dependency: mixed resolution between Typescript and JavaScript. No impact to existing results.

2.2.3-funcrel

Resolved Issues

Customer Ticket Id Details
45112 Fixes missing links between HTML and JS files due to traceback error.
44788 Fixes a missing link between CSS or SCCS files when @import is used in the Angular context or without extension.

Other Updates

Details
The behaviour of the analyzer has been changed: files other than *.js should not be skipped when they are in a "i18n" folder.
Fixes an issue were transactions starting from CAST_HTML5_HAML_SourceCode objects were not visible in previous releases.
Fixes a problem when parsing function calls with the name "from".

2.2.2-funcrel

Other Updates

Details
Create include links for "@Html.Partial", "Html.RenderPartial" and "@Html.RenderPage" in .cshtml files.
Support new version of "pygment" lexer (internal technical update).
Fixes an issue causing the analysis to fail during the snapshot with the error "Error Duplicate key value violates unique constraint (duplicated checksum)".

2.2.1-funcrel

Resolved Issues

Customer Ticket Id Details
44090 Fixes missing links from JSP (service-roles.jsp) to JavaScript Function (initServiceRolesTable).
44282 Fixes an issue causing the error "Extension com.castsoftware.html5 has encountered an issue : Traceback (most recent call last)" during the onboarding process.

Other Updates

Details
The filters.json file (which lists third-party libraries to ignore) has been updated to add "momentjs.com" and "layui.com".
Fixes an issue where links to functions declared as parameters of a function call were not always created.
Fixes a regression when comparing results produced by HTML5/JavaScript 2.1.29-funcrel and 2.2.0-funcrel with regard to HTML5 bean objects (less objects are resolved in 2.2.0-funcrel).

New Support

Summary Details
Apache Tiles support Added support for Apache Tiles definitions in xml files present mainly under the "WEB-INF" director (but not always). See documentation for more information.
Support *.tml, *.mustache, *.njk, *.nunjucks, *.liquid, *.ejs, *.jst source file extensions (for template engines) See documentation
Support *.shtml, *.sshtml, *.ssi, *.shtm, *.stm source file extensions (Server Side Includes (SSI)) See documentation
Support *.haml source file extensions (for template engines) See documentation

2.2.0-funcrel

Resolved Issues

Customer Ticket Id Details
43963 Fixes an issue causing missing Axios HTML5/JS resource services objects.
43898 Fixes an issue causing missing HTML5 Post Operation objects needed to link to Struts Operations.
44082 Fixes an issue causing missing HTML5 Post Operation objects needed to link to Struts Operations.

Other Updates

Details
The filters.json file (which lists libraries to ignore) has been updated to add "/casper/" and "**/casper.js".
Various updates have been implemented to improve resolution of Jakarta Faces (JSF).
Fixes an issue causing some links to not be found when code is inside "define(function (require) {…})".
Updates have been made to reduce the occurrence of "traceback" entries in the analysis log file.

New Support

Summary Details
Added support for Backbone combined with Marionette frameworks. See https://doc.castsoftware.com/display/TECHNOS/HTML5+and+JavaScript+-+2.2#HTML5andJavaScript2.2-SupportofMarionettewithBackboneframework .