On this page:
Summary: This document provides information about changes and new features introduced in this release.
1.2.7-funcrel
Resolved issues
Internal ID | Call ID | Summary |
---|---|---|
ANGTS-239 | 19795 | When 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-235 | 19687 | Traceback AttributeError: 'list' object has no attribute 'get_parameters' |
ANGTS-237 | 19703 | Warning of the type No function found for function under <symbols.Function object at ...> |
ANGTS-241 | 19799 | Problem: Missing Link between Angular AngularGET HTTP Operation to Spring MVC Get Operation |
ANGTS-220 | 19357 | Missing links between typescript method and JAX operations |
ANGTS-214 | 18885 | Onboarding :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 ID | Call ID | Summary |
---|---|---|
ANGTS-189 | 17949 | Cyclomatic Complexity is not correctly calculated by Metric Assistant for Typescript files |
ANGTS-185 | 18345 | Violations 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-180 | Support diverse methods to evaluate string concatenations (formation of urls) |
ANGTS-177 | Improved 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-15 | Create calllinks from field initialization |
ANGTS-143 | Parse 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-155 | Improved the parsing of methods. |
ANGTS-156 and ANGTS-158 | Improved the parsing of arrow functions. |
ANGTS-161 | The reason for skipping files is now logged. |
ANGTS-163 | Prevent 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-146 | Detection and skipping of unit-test files from jest-enzyme framework |
ANGTS-147 | Full support for omission of (optional) ending semicolons and multiline statements |
ANGTS-142 | Improved evaluation of URL values (when passing into a function/method as an argument) in Web Service objects. |
- New rule added, see https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.2.1-funcrel
1.2.0-funcrel
Updates
The following feature has been added:
Internal ID | Summary |
---|---|
ANGTS-120 | Parsing of complex assignment statements |
- New rule added, see https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.2.0-funcrel:
1020848 | Always favour pipeable operators in RxJS |
1020082 | Avoid undocumented functions |
1.2.0-beta2
Updates
The following features have been added:
Internal ID | Summary |
---|---|
ANGTS-110 | Handling of functions that return an anonymous extended class |
ANGTS-115 | Analysis of .tsx file |
ANGTS-121 | Resolve imported dictionary variables |
ANGTS-123 | Allow all keywords to be used for method calls |
ANGTS-125 | Support number of lines count in typescript files |
- New rule added, see https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.2.0-beta2:
1020840 | Avoid 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 | 15408 | Typescript extension is crashing due to attributes coming from filter.jsp file |
1.2.0-beta1
Updates
- New rules added, see https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.2.0-beta1:
1020822 | Always provide error callbacks when subscribing to HttpClient observables |
1020838 | Avoid 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-92 | Evolution - Avoid using string concatenation in loops |
ANGTS-98 | Parsing problem in method definition with unioned type |
ANGTS-103 | Improve scheme for managing imports |
ANGTS-105 | Filtering of method / function call resolutions by their number of parameters |
1.2.0-alpha2
Updates
- New rule added, see https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.2.0-alpha2:
1020834 | Avoid 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-93 | Use 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
- Added support for TypeScript 3.x and Angular 7.
- New rules added, see https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.2.0-alpha1:
1020818 | Avoid disabling xsrf check in HttpClientXsrfModule |
1020826 | Avoid hardcoded network resource names |
1020828 | Avoid string concatenation in loops |
1020830 | Avoid using Angular ElementRef API to manipulate DOM |
1020832 | Avoid using JavaScript HTTP request in Angular application |