This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.


Summary: This document provides information about changes and new features introduced in this release.

1.2.7-funcrel

Resolved issues

Internal IDCall IDSummary
ANGTS-23919795When no call to an anonymous function is found, a callLink from the callable in which the anonymous function is defined to that anonymous function is created
ANGTS-23519687Traceback AttributeError: 'list' object has no attribute 'get_parameters'
ANGTS-23719703Warning of the type No function found for function under <symbols.Function object at ...>
ANGTS-24119799Problem: Missing Link between Angular AngularGET HTTP Operation to Spring MVC Get Operation
ANGTS-22019357Missing links between typescript method and JAX operations
ANGTS-21418885Onboarding :Traceback 

1.2.6-funcrel

Updates

  • Better resolution of methods in HTML5 fragments and component templates
  • A single link is created from HTML5 fragments (or templates) and TypeScript method having many references

Resolved issues

Internal IDCall IDSummary
ANGTS-18917949Cyclomatic Complexity is not correctly calculated by Metric Assistant for Typescript files
ANGTS-18518345Violations missing for rule "Avoid using ngFor loop without TrackBy option"

1.2.5-funcrel

Due to a conflict of a property ID between this version and previous versions, this release has been disabled.

1.2.4-funcrel

Updates

ANGTS-183

Change in rule name:  'Avoid having code dynamically executed' -> 'Avoid using eval() (Typescript)'

Resolved issues

ANGTS-181

Correct parsing error in nested generics
ANGTS-179, ANGTS-180Support diverse methods to evaluate string concatenations (formation of urls)
ANGTS-177Improved support of string templating

1.2.3-funcrel

New feature

New rule added, see https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.2.3-funcrel:

1020850

Always handle errors when using ajax with RxJS

Resolved issues

The following issues have been fixed in this release of the extension:

Internal ID

Summary

ANGTS-136

Allow links to be created to anonymous functions which are returned by a function

ANGTS-165

Support generator function definitions

ANGTS-15Create calllinks from field initialization
ANGTS-143Parse nested assignments (a=b=2)

1.2.2-funcrel

Resolved issues

The following issues have been fixed in this release of the extension:

Internal ID

Summary

ANGTS-151

Improve parsing of binary operation in multiple variable declarations.

ANGTS-153

Added bookmark to function definition for the rule "Avoid using output of the function that does not return anything".

ANGTS-155Improved the parsing of methods.
ANGTS-156 and ANGTS-158Improved the parsing of arrow functions.
ANGTS-161The reason for skipping files is now logged.
ANGTS-163Prevent infinite recursion error during evaluations.

1.2.1-funcrel

Resolved issues

The following issues have been fixed in this release of the extension:

Internal ID

Summary

ANGTS-111

Added support of anonymous and arrow functions. Expect new functions objects and links to be created if your code uses arrow functions.

ANGTS-141'environment' variables supported (defined in environment.ts). See main documentation page for further details.
ANGTS-146Detection and skipping of unit-test files from jest-enzyme framework 
ANGTS-147Full support for omission of (optional) ending semicolons and multiline statements
ANGTS-142Improved evaluation of URL values (when passing into a function/method as an argument) in Web Service objects.

1.2.0-funcrel

Updates

The following feature has been added:

Internal ID

Summary

ANGTS-120Parsing of complex assignment statements

1020848

Always favour pipeable operators in RxJS

1020082Avoid undocumented functions

1.2.0-beta2

Updates

The following features have been added:

Internal ID

Summary

ANGTS-110Handling of functions that return an anonymous extended class
ANGTS-115Analysis of .tsx file
ANGTS-121

Resolve imported dictionary variables

ANGTS-123Allow all keywords to be used for method calls
ANGTS-125Support number of lines count in typescript files
1020840Avoid using ngForloop without TrackBy option

Resolved issues

The following issues have been fixed in this release of the extension:

Internal ID

Call ID

Summary

ANGTS-116

15408Typescript extension is crashing due to attributes coming from filter.jsp file

1.2.0-beta1

Updates

1020822Always provide error callbacks when subscribing to HttpClient observables
1020838Avoid using Rx.observable.fromEvent without a debouncetime set

Resolved issues

Internal ID

Summary

ANGTS-86

Blinking Quality Rule - Avoid using output of the function that does not return anything

ANGTS-92Evolution - Avoid using string concatenation in loops
ANGTS-98

Parsing problem in method definition with unioned type

ANGTS-103Improve scheme for managing imports
ANGTS-105Filtering of method / function call resolutions by their number of parameters

1.2.0-alpha2

Updates

1020834Avoid using <script> tag into HTML template used by Angular Application

Resolved issues

Internal ID

Summary

ANGTS-100

Correct identification of string templates resulting in better parsing and processing for Quality Rules

ANGTS-99

Import the entire module into a single variable is now handled

ANGTS-93Use of axios and fetch API now raise of violation of the rule Avoid using JavaScript HTTP request in Angular application

1.2.0-alpha1

Updates

1020818Avoid disabling xsrf check in HttpClientXsrfModule
1020826Avoid hardcoded network resource names
1020828Avoid string concatenation in loops
1020830Avoid using Angular ElementRef API to manipulate DOM
1020832Avoid using JavaScript HTTP request in Angular application