- Added type definition to NPM package
- Upgraded release actions to use up-to-date dependencies
Breaking changes
- The halstead calculation was corrected which results in different halstead + FTA scores
Breaking changes
- Added the
include_comments
option with a default value offalse
, which means that comments are no longer included in scoring by default - Added the
exclude_under
option with a default value of6
, which means that files that are under n lines of code are excluded from output. This option also takes into account theinclude_comments
option. - Changed
output_limit
to (a) only affect thetable
format output and (b) work as expected.
Other changes
- Exposed
output_limit
,score_cap
,include_comments
andexclude_under
as CLI options - Fixed an
ENOBUFS
crash that could occur when analyzing very large projects
- Potentially breaking: changed linux target platforms: we now target
musl
linux onx86_64
,arm
andaarch64
- This change should result in a more portable and widely compatible
fta-cli
on Linux systems
- This change should result in a more portable and widely compatible
- Refactored Github Actions workflow so that the publishing of the npm packages is automatic and coupled with releasing the Rust crate
- Improved language detection, add retry mechanism (#31)
- Fix binaries for Ubuntu
- Set +x permissions on macOS + linux binaries during build
- Added WASM npm module
- Refactored internals
- Internal fixes for the NPM module
- Added
--json
option
- Added npm package
- Initial release