Skip to content

Latest commit

 

History

History
2766 lines (1546 loc) · 149 KB

CHANGELOG.md

File metadata and controls

2766 lines (1546 loc) · 149 KB

3.57.0 (2021-06-01)

Features

  • add CI mode info to Readme (8ab52e5)
  • use recursive scan when running in CI mode by default (109652e)

3.56.0 (2021-05-27)

Features

  • Add support for detecting multiple filenames (3037a60)
  • add tests for multiple filenames match (8fb6af3)
  • detect bower projects (80637e2)

3.55.0 (2021-05-06)

Bug Fixes

  • use parseInt to convert PR number for Cloud Build (f388909)

Features

  • Cloud Build integration for CI Reporter (15d9bd0)

3.54.2 (2021-03-01)

Bug Fixes

  • deps: update commitlint monorepo to v12 (ac6da4a)
  • deps: update dependency npm-check-updates to v11 (04e0cb8)

3.54.1 (2021-02-26)

Bug Fixes

  • deps: update dependency commander to v7 (8613552)

3.54.0 (2021-02-11)

Bug Fixes

  • disable release GH action for now (8446a11)

Features

3.53.0 (2021-02-04)

Features

  • change default value of --fail flag (7f3644e)

3.52.0 (2021-02-02)

Features

  • simple git clone depth set to 100 (57abc40)

3.51.1 (2021-02-01)

Bug Fixes

  • make lockfile practice only for js and ts (660cd0b)
  • practice id (0862f20)

3.51.0 (2021-01-29)

Features

  • output zero exit code when practices fail on CI (192bd88)

3.50.3 (2021-01-29)

Bug Fixes

3.50.2 (2021-01-19)

Bug Fixes

  • add debug in dashboard reporter (79cfc4e)

3.50.1 (2021-01-18)

Bug Fixes

  • make ServiceDataCollector optional (dcd5533)

3.50.0 (2021-01-15)

Bug Fixes

Features

3.49.3 (2021-01-15)

Bug Fixes

3.49.3 (2021-01-15)

3.49.2 (2021-01-14)

Bug Fixes

  • do not fail when services are unknown (9db3676)
  • try to define service first before local (2f3c620)

3.49.1 (2021-01-13)

Bug Fixes

  • filter git lab contributors (68ddd72)
  • gitignore is correctly set practice (a047158)

3.49.0 (2021-01-11)

Bug Fixes

Features

  • Add logfile option\nLogfile contains information useful for debugging (f86bf24)

3.48.8 (2021-01-11)

Bug Fixes

3.48.7 (2021-01-08)

Bug Fixes

3.48.6 (2021-01-05)

Bug Fixes

  • eslintrc yml not properly loaded (c1448de)

3.48.5 (2021-01-05)

Bug Fixes

  • rust component detector: use triple equality (5f4c2b9)

3.48.4 (2021-01-05)

Bug Fixes

  • deps: update dependency js-yaml to v4 (9139bf3)
  • deps: update dependency js-yaml to v4 (e19a972)
  • add authorization arg specifier (26b21f4)

3.48.3 (2021-01-04)

Bug Fixes

  • Dockerfile chmod for entrypoint not versioned (7d14690)

3.48.2 (2021-01-04)

Bug Fixes

  • deps: update all non-major dependencies (72b16b4)

3.48.1 (2020-12-16)

Bug Fixes

  • update only non breaking dependencies (3775b4a)
  • deps: update all non-major dependencies (b3ed6a7)

3.48.0 (2020-12-14)

Bug Fixes

  • fix some review comments (774e718)

Features

  • add Rust language support and gitignore practice (a297687)
  • refactor practices into GitignoreCorrectlySetPracticeBase (966648f)

3.47.1 (2020-12-10)

Bug Fixes

  • remove broken symlink tests (d8cceb1)

3.47.0 (2020-12-09)

Bug Fixes

  • change evaluation of CorrectCommitMessagesPractice (36726b2)
  • missing state param in enum (e2a310c)

Features

3.46.3 (2020-12-07)

Bug Fixes

3.46.2 (2020-11-16)

Bug Fixes

  • return practiceEvaluation result (a686ebd)

3.46.1 (2020-11-10)

Bug Fixes

  • deps: update all non-major dependencies (a79318f)
  • deps: update dependency npm-check-updates to v10 (e175885)

3.46.0 (2020-11-05)

Features

  • linter used python practice (c8aeba2)
  • linter used python practice tests (886e5bf)

3.45.1 (2020-11-02)

Bug Fixes

  • deps: update all non-major dependencies (002502c)

3.45.0 (2020-10-26)

Bug Fixes

  • add possibility to paginate list of pull requests (f2a9444)
  • add tests for paginated requests (5d0ae2d)
  • change the logic since the logic in GQL pagination is different (ce41014)
  • migrate listPullRequests() from REST to GraphQL (4b9a1bf)
  • remove commented code (cba0f74)
  • rename Go linter practice file (1d963b7)

Features

3.44.0 (2020-10-19)

Features

  • add ruby gitignore practice (be7e244)

3.43.0 (2020-10-16)

Bug Fixes

  • bitbucket: Handle disabled issue tracker (0c774f7)
  • address review comments for #452 (7c76dc0)
  • fix linting errors in commit 1395228 (8f95b37)
  • fixed composer.json parsing (22bc648)
  • fixed JSON parsing error for composer.json (e3eb8d9)
  • fixed tests not passing with PHPPackageInspector (912c281)

Features

  • added PHP support to README (f6888bc)
  • added PHPComponentDetector and updated context bindings (235b0fc)
  • added PHPLinterUsedPractice (8834776)
  • added PHPPackageInspector (94e8b38)
  • added tests for php linter used practice (497cdd4)
  • used linter for swift (51b8d2d)
  • used linter for swift (27008f8)

3.42.1 (2020-10-16)

Bug Fixes

  • deps: update dependency update-notifier to v5 (251e577)

3.42.0 (2020-10-16)

Features

  • add funding file to get sponsor button on github (7f00fd6)

3.41.3 (2020-10-15)

Bug Fixes

  • deps: update all non-major dependencies (a402ccf)

3.41.2 (2020-10-15)

Bug Fixes

3.41.1 (2020-10-15)

Bug Fixes

  • Minor refactor to make commands more consistent (a0a8ab9)
  • Reduce unnecessary Docker image layers (075e812)

3.41.0 (2020-10-14)

Features

  • add linter practice for Go (c47a54e)

3.40.1 (2020-10-13)

Bug Fixes

3.40.0 (2020-10-07)

Features

  • support github-actions in ci pratice (3aaa238)

3.39.3 (2020-10-06)

Bug Fixes

  • use Array.isArray() as isArray() is deprecated, upgrade pkgs (acefc72)

3.39.2 (2020-10-06)

Bug Fixes

  • deps: update all non-major dependencies (f14ec12)

3.39.1 (2020-09-29)

Bug Fixes

  • dependencies changes (a493bce)
  • remove --fixed-strings (5a6fadc)
  • deps: update all non-major dependencies (7f8301a)

3.39.0 (2020-09-29)

Bug Fixes

  • add username if GH is used and remove unmaintained package url (a70ed48)
  • revert url package (b3ac44e)

Features

  • use mergify for renovate's PRs (a4974d1)

3.38.2 (2020-09-21)

Bug Fixes

  • deps: update commitlint monorepo to v11 (334d3ff)
  • deps: update dependency @types/table to v6 (a2fb8fb)
  • deps: update dependency npm-check-updates to v9 (bd5a543)

3.38.1 (2020-09-11)

Bug Fixes

  • CI reporter formatting for unknown, turned off and fixable practices (f757528)

3.38.0 (2020-09-10)

Bug Fixes

Features

  • add new error for practice evaluate (e38e596)
  • Changed Java gitignore practice return (4a5eb4b)

3.37.2 (2020-09-10)

Bug Fixes

  • deps: update dependency npm-check-updates to v8 (cdabc50)
  • deps: update dependency table to v6 (4565b91)

3.37.1 (2020-09-08)

Bug Fixes

  • migrate CLIEngine to Eslint Class and fix linted files (23e4a51)

3.37.0 (2020-09-04)

Features

  • Add warning when no languages detected (d2918fd)

3.36.1 (2020-09-03)

Bug Fixes

  • run fix command only on local folder (3e37361)
  • update CLIReporter error message to be more clear about the fix command (1baa2dc)

3.36.0 (2020-08-27)

Features

  • add git exist check before the scanner run (2138bd7)

3.35.0 (2020-08-25)

Bug Fixes

Features

  • binding contributors collector (20db787)
  • list gitlab contributors (7332117)
  • try to get contributors from bitbucket (48c2a59)
  • use data collector (766b3f4)

3.34.0 (2020-08-07)

Bug Fixes

Features

3.33.1 (2020-07-24)

Bug Fixes

  • deps: update dependency commander to v6 (820a5fa)

3.33.0 (2020-07-22)

Bug Fixes

Features

3.32.2 (2020-07-22)

Bug Fixes

  • component repository path (a8fde44)
  • re-export all from DashboardReporter (71ca40e)

3.32.1 (2020-07-20)

Bug Fixes

3.32.0 (2020-07-20)

Bug Fixes

Features

3.31.0 (2020-07-15)

Features

3.30.2 (2020-07-15)

Bug Fixes

  • send data only if it's public or private but with apiToken (dd7fc18)

3.30.1 (2020-07-15)

Bug Fixes

  • deps: update all non-major dependencies (7340a04)

3.30.0 (2020-07-13)

Bug Fixes

  • imports and set data also for javaDependencies practice (e4f81c8)

Features

  • send updated dependencies stats to the dashboard (ae15144)

3.29.0 (2020-07-09)

Features

  • send statistics of security issues from npm and yarn audit (6b28126)
  • send yarn audit detailed data to dxse (f2e910a)

3.28.2 (2020-07-09)

Bug Fixes

  • lower the bitbucket as it has breaking changes (a2c8895)

3.28.1 (2020-07-02)

Bug Fixes

  • component paths (9733969)
  • component repo url (fdd9217)
  • correct component paths (1cd53f9)
  • full repositoryPath in report including fixes for local path (b54a885)

3.28.0 (2020-07-02)

Features

  • add updated dependencies dto (1d79530)
  • add updated dependencies property (dde517b)

3.27.0 (2020-06-30)

Bug Fixes

  • recursion when then flag is false (0d04fe8)

Features

  • do not require auth input (75fba94)
  • remove unused libs & lockfile maintenance (41ff45c)

3.26.8 (2020-06-29)

Bug Fixes

  • add nestjs to backend packages for JS/TS (b6264e4)

3.26.7 (2020-06-29)

Bug Fixes

  • relaxing conditions for .gitignore & fix tests (1afdcbe)

3.26.6 (2020-06-24)

Bug Fixes

  • use repository root path as a root path for FileInspector (5763a18)

3.26.5 (2020-06-23)

Bug Fixes

  • deps: update commitlint monorepo to v9 (736dc6d)

3.26.4 (2020-06-23)

Bug Fixes

  • enterprise-reporter: do not add undefined auth header (268a36f)

3.26.3 (2020-06-22)

Bug Fixes

3.26.2 (2020-06-19)

Bug Fixes

  • octokit types due to changes in library (3bf1d6f)
  • deps: update dependency @octokit/plugin-rest-endpoint-methods to v4 (d10bd32)
  • deps: update dependency @octokit/plugin-rest-endpoint-methods to v4 (6a3461f)

3.26.1 (2020-06-19)

Bug Fixes

  • add missing security issue array (8711b8b)

3.26.0 (2020-06-18)

Features

3.25.0 (2020-06-17)

Features

  • types: export types from the index.ts (f617c57)

3.24.1 (2020-06-03)

Bug Fixes

  • importing and using axios (71a554a)
  • lint issues (231ef8b)
  • deps: update all non-major dependencies (abdae57)
  • deps: update all non-major dependencies (76dbc10)

3.24.0 (2020-05-26)

Features

  • allow user to pass apiToken in CLI or env variables (c9a4417)

3.23.5 (2020-05-21)

Bug Fixes

  • OctokitTypes and lower the TS version because of breaking changes (04d71b0)
  • deps: update all non-major dependencies (db9816e)
  • docker: fix entrypoint's "starts with" check (176cdb4)

3.23.4 (2020-05-18)

Bug Fixes

  • deps: update dependency npm-check-updates to v6 (efae05f)
  • deps: update dependency tslib to v2 (19b76ce)
  • data report (9594d24)

3.23.3 (2020-05-13)

Bug Fixes

  • define types for Octokit, fix type of qs.parse() (bf2d3e6)
  • deps: update all non-major dependencies (3eec294)

3.23.2 (2020-05-12)

Bug Fixes

  • docker: use ash (alpine's sh) syntax for "ends with" check (97f8f7e)

3.23.1 (2020-05-12)

Bug Fixes

  • deps: update dependency npm-check-updates to v5 (b6b677d)

3.23.0 (2020-05-12)

Bug Fixes

  • deps: update dependency eslint to v7 (c55858d)

Features

  • add version and id to enterprise report (38d9321)

3.22.2 (2020-05-11)

Bug Fixes

  • deps: update dependency uuid to v8 (30e9647)

3.22.1 (2020-05-04)

Bug Fixes

  • deps: update dependency simple-git to v2 (53b329c)

3.22.0 (2020-05-03)

Features

  • deps: move types, ts-node, ts and prettier to devdeps (f5c479d)
  • deps: remove @types/yaml dependency (1861ad5)
  • Dockerfile: use node dockerfile image (35682fc)

3.21.3 (2020-04-30)

Bug Fixes

  • reporter: disable enterprise reporter logs for now (1d51b91)

3.21.2 (2020-04-27)

Bug Fixes

3.21.1 (2020-04-26)

Bug Fixes

  • e-reporter: use url for provider (a42ab50)

3.21.0 (2020-04-26)

Features

  • fixer: add basic gitignore fixer test (4cabda3)
  • fixer: add gitignore fixer (4d07446)
  • fixer: add missing gitignore typedef (fc97111)
  • fixer: add user input option to gitignore practice fixer (f4d0b26)
  • fixer: fix gitignore fixer test (ba86907)
  • fixer: More generic gitignore guesser (2d1fac0)

3.20.5 (2020-04-26)

Bug Fixes

  • dep: add missing dependency (9c169fd)
  • deps: update all non-major dependencies (c2d2730)
  • practice: pass console to yeoman-environment (6716e50)

3.20.4 (2020-04-14)

Bug Fixes

  • docker: use 18.04 LTS and don't let Renovate update Dockerfile (d52356c)

3.20.3 (2020-04-13)

Bug Fixes

  • deps: update dependency camelcase to v6 (d1fac22)

3.20.2 (2020-04-13)

Bug Fixes

  • deps: pin dependency tsconfig to 7.0.0 (05f9a0a)

3.20.1 (2020-04-12)

Bug Fixes

  • deps: update dependency prettier to v2 (9115667)

3.20.0 (2020-04-09)

Features

  • report: omit URL credentials from component path (3123972)
  • reporter: add test for no active practices percentage (f6a66b6)
  • reporter: fix edge case where no practice is active (8701dc6)

3.19.0 (2020-04-09)

Features

  • fixer: add fixer for TS gitignore practice (9cd1c74)
  • fixer: add tests for TS gitignore fixer (0cd8c66)

3.18.1 (2020-04-09)

Bug Fixes

  • docker: use LTS version of Ubuntu (08bf4c2)

3.18.0 (2020-04-09)

Features

  • files: add appendFile to FileInspector (dd798ce)
  • fixer: add fixer for JsGitignore practice (d31588d)
  • fixer: add tests for JsGitignore practice (6491406)

3.17.3 (2020-04-09)

Bug Fixes

  • report: logo path for new web (819d9be)

3.17.2 (2020-04-07)

Bug Fixes

  • deps: update dependency @types/table to v5 (2086d40)

3.17.1 (2020-04-05)

Bug Fixes

  • move prettier dependency to root dependencies (8c6012a)

3.17.0 (2020-04-05)

Features

  • check for existing .properties (c8edd3d)

3.16.0 (2020-04-03)

Bug Fixes

  • gitlab: enhance Gitlab detection (76d0c92)

Features

  • gitlab: better GitLab detection with more API endpoints (e9382e2)

3.15.0 (2020-04-03)

Bug Fixes

  • unfreezing lockfile (ea7797c)
  • inspector: rename fileInspector method (676ea1e)

Features

  • fixer: add fixer for JavaScript.PrettierUsed (3768c46)
  • fixer: add tests for prettier fixer (ef49f75)
  • fixer: change format script command (07a06ea)
  • utils: add package install method (0bbfd50)

3.14.0 (2020-04-03)

Features

  • errors: add handler for errors (fab557a)
  • github: throw error if rate limit has been exceeded (d5f5c72)

3.13.2 (2020-04-03)

Bug Fixes

  • resolves error if it's gitlab but user is offline (379a85e)
  • show right component path in report (48c956a)

3.13.1 (2020-04-03)

Bug Fixes

  • CIReporter: invalid equality (aa85c92)

3.13.0 (2020-04-02)

Bug Fixes

  • insert a blank line to avoid germans (39db268)
  • remove auto delete rule on merge (821a896)

Features

  • fixer: add fixer for .editorconfig practice (898e281)
  • fixer: add test for editorconfig practice (4d5853d)
  • fixer: add virtual fs to testing fixer context (6fa4a30)
  • fixer: use absolute path for editorconfig fixer (e42e70a)
  • fixer: use fileInspector for editorConfig fixer (01ac08d)
  • fixer: use normalized path in fileinspector createfile (c702599)

3.12.1 (2020-04-02)

Bug Fixes

  • gitlab: name of body parameter (70ff955)

3.12.0 (2020-03-31)

Features

  • inspectors: cache all functions in CollaborationInspector and IssueInspector (ba43873)

3.11.0 (2020-03-31)

Bug Fixes

  • consideration for .yml using case fallthrough (7b8c660)
  • java code styles pre-condition & added mock for loggers (9b2de65)
  • lockfile from merge conflict (9bd940d)
  • pkg relative versioning to absolute (9b7e02b)
  • removing ambiguity from the test for file extension testing (78c74a2)

Features

  • adding a new java log4j config checker practice (a4d045f)
  • adding a properties pkg for parsing & re-typing (6d440b8)

3.10.0 (2020-03-31)

Bug Fixes

  • deps: update dependency @octokit/rest to v17 (cb7cf1d)
  • deps: update dependency @octokit/rest to v17 (1468824)
  • deps: update dependency @octokit/rest to v17 (b293915)
  • deps: update dependency commander to v5 (2f6a454)
  • deps: update dependency commander to v5 (017bf43)

Features

  • Added HTMLReporter (8a136bf)
  • implement ReportCollectData with tests (5c5c479)

3.9.0 (2020-03-28)

Features

  • fixer: add fixer for JS patch and minor deps (4355d69)
  • fixer: add test for deps fixer (9a73424)

3.8.2 (2020-03-28)

Bug Fixes

3.8.1 (2020-03-27)

Bug Fixes

  • scanning local repos without git hotfix (80cc492)

3.8.0 (2020-03-26)

Features

  • added code style recognition using dependencies (8e8d860)
  • java code styles practice (478f4e7)

3.7.0 (2020-03-26)

Features

  • fixer: add fixer for lockfile practice (0990c4a)
  • fixer: add fixer tests for lockfile practice (5f78b71)
  • fixer: remove redundant checks in Lockfile practice (c997a3b)

3.6.2 (2020-03-25)

Bug Fixes

  • set isOnline variable to true if the API request is ok (f5c763a)

3.6.1 (2020-03-25)

Bug Fixes

  • gitlab: update comment with PR ID (fe5f357)

3.6.0 (2020-03-23)

Bug Fixes

  • gitlab: do not reject unauthorized certificates (5338a29)
  • getPagination() (1c5d5c6)
  • rename getContributorsStats() to listContributorsStats() (6bc3346)

Features

  • implement parseGitHubHeaderLink() (7159da5)
  • implement parseLinkHeader() (e08a26f)
  • save also headers, not only data (add8f4b)
  • wip - parseLinkHeader() (504b628)

3.5.3 (2020-03-23)

Bug Fixes

  • deps: pin dependency yeoman-gen-run to 1.2.3 (b7942cf)

3.5.2 (2020-03-22)

Bug Fixes

  • cireporter: post comment to PR as a body key in data (797a27b)

3.5.1 (2020-03-22)

Bug Fixes

  • cireporter: use external ID of PR intstead of internal in GitLab (3e27383)

3.5.0 (2020-03-22)

Bug Fixes

  • add deleted comment (df4d4fc)
  • add suggestion text to correctCommitMessagesPractice (9a96271)
  • bind ScanningStrategyDetector and services in testContainer (ebab4df)
  • refactor the code (b8bb465)
  • remove comments (b2f7307)
  • use scanningStatrategy.remoteUrl instead of argumentsProvider.uri (06440c2)

Features

  • implement discovery Container, fix issue #280 (b619fcd)
  • wip - implement discoveryContainer; repositoryConfig (a7d191e)
  • wip implement DiscoverContext (49be8b8)

3.4.0 (2020-03-21)

Bug Fixes

  • undefined error on non-existing versions (6ab4535)
  • using error factory instead in rethrowing (1c76496)
  • semver-check: add semver checker tests (4ada25f)
  • semver-check: return only updates of the required semver level (7456f2a)
  • semver-check: update Java.DependenciesVersionMinorPatchLevel test so that it does not increase major level (be4fffd)

Features

  • practice to check for specified versions (1c9ecef)

3.3.0 (2020-03-19)

Features

  • fixer: add CI version of license fixer (1723d7d)
  • fixer: add more data to fixer context (c4ab2ae)

3.2.0 (2020-03-18)

Features

  • fixer: add info about not-fixed practices to fixer reporter (08d3db9)

3.1.2 (2020-03-18)

Bug Fixes

  • cireporter: use https in host as default (0ef888c)

3.1.1 (2020-03-18)

Bug Fixes

  • cireporter: use full URL including protocol from gitlab ENV vars (05c0991)

3.1.0 (2020-03-17)

Features

  • gitlab: support CI reporter (65a2ca2)

3.0.5 (2020-03-17)

Bug Fixes

  • running ci mode w/ invalid credentials (c72feb1)

3.0.4 (2020-03-17)

Bug Fixes

  • gitlab: handle 404 error while scanning locally (9479044)

3.0.3 (2020-03-17)

Bug Fixes

  • docker: exec all sh&bash commands with all args (30f9d05)

3.0.2 (2020-03-17)

Bug Fixes

  • docker: remove bash/shell regex (9ca0796)

3.0.1 (2020-03-17)

Bug Fixes

Reverts

3.0.0 (2020-03-16)

Bug Fixes

  • add pagination to listIssueComments() (b19028a)
  • add param paramsSerializer() to axios for getting right path (badf5d9)
  • add return type in getPullsDiffStat (601cb35)
  • add ServicePagination as return type of getPagination() (56d0ff1)
  • add type to practicesAfterFix and remove unnecessary todo (10bd49e)
  • allow to change page and perPage in tests (0efe4fa)
  • choose smaller repositories as examples (ddac9b8)
  • clone gitlab private repo properly; try to call gitlab url (1733524)
  • debug getRepo() returning response (835f902)
  • decrease default timeout and increase it for getting group info (f188bc6)
  • don't save undefined if there are no pagination params (c2bca1c)
  • don't save undefined to params (7399ad4)
  • encode groupName so it's working if it's subgroup (58c5fbf)
  • endpoint to get group information (aa0c36c)
  • fix getting data after refactoring getRepo() (04f854e)
  • getting host (9aecbcd)
  • interfaces and names of mocks (00ee6a0)
  • move GitLabCustom and rename it to GitLabClient (a3d699e)
  • move initializing GitLab Client; allow to set timeout (7aa0f41)
  • name = 'opened' instead 'active' (c5d0abe)
  • pagination param (2aa0a66)
  • params of listPullCommits() and type of param in getPagination() (6c99b25)
  • protect creating Axios Instance (2160b29)
  • remove duplicate file (73798e8)
  • remove unnecessary params (a2abac0)
  • remove unnecessary comments (28af4f6)
  • remove unnecessary condition and fix path for host (95fac97)
  • remove unnecessary timeouts (0eef498)
  • remove unused package (e48df0d)
  • remove unused param (3d6d106)
  • remove unused parameter (3ab958c)
  • remove unused sha from methods (942e8e5)
  • rename MergeCommit to Commit and type responses for Commits (8aa4b95)
  • rename methods (b702451)
  • return just one Merge Commit (272e432)
  • run fix() only if fix is true in argumentsProvider (baf2475)
  • set bash and exec commands instead of raw commands (3ba2d64)
  • show full url including subdomains (e9507f1)
  • split getting user and group add interfaces (29dcad8)
  • test for getCommit() (eb5ccff)
  • typos and remove unnecessary code (75be10b)
  • update yeoman-environment (5acfb8b)
  • deps: pin dependencies (2a6d43a)
  • unwrap responses from bitbucket client for debugging (2af956c)
  • unwrap responses from client for debugging (39b4841)
  • use host with protocol to have absolute path; use own client (ef0d316)
  • use specific method for getting owner and repo name (0bdbd30)
  • wrong named method and add pagination options (fcfbdde)
  • y add bitbucket (8d731a9)

Features

  • cli: rename ENV variable to be prefixed with DXSCANNER (728ffbe)
  • Gitlab: determine gitlab service on version endpoint (bb6fb7c)
  • practice: automatic fixer for license practice (ea47417)
  • add case when it is gitlab (5126888)
  • add gitlab in models (8085cbd)
  • add GitLabPullRequestState enum (64fc133)
  • add interface CustomAxiosResponse (7105abb)
  • add interface for GitLabIssueState (e01776b)
  • add interfaces and type responses (4b795ec)
  • add interfaces and type responses (74ff964)
  • add ListFilterOptions interface (1a0301e)
  • add TODOs (6d87b91)
  • bind gitlab when needed (0120bad)
  • bundle classes to GitlabClient (4dd21ec)
  • determine access type for gitlab (49b8903)
  • get gitlab serviceType if it's gitlab (b6ebd4f)
  • implement all function in GitLab Service (2a63c5b)
  • implement comments(), createComment(), updateComment() (04515dc)
  • implement commits() to get all commits of specific Merge Request (8d5d028)
  • implement get() - mergeRequests (3cbe59e)
  • implement get() for Projects (2093722)
  • implement get(), private getUser(), private getGroup() for Users (26ffdfe)
  • implement getGitLabIssueState() (e96e51a)
  • implement getGitLabPRState() (e4e3bdb)
  • implement getPagination(); return customized interface of PRs (8122415)
  • implement getPullRequest() (aa5b0fa)
  • implement getRepo() in GitlabService (0553a5f)
  • implement GitLabClient (332e537)
  • implement isGitLabPath() (17e9bc4)
  • implement list(), get() for Commits (a77d847)
  • implement list(), get(), comments() for Issues (9acfd30)
  • implement listPullCommits() (43e3e34)
  • implement listPullrequests() (8aef68e)
  • implement mapper and bundler (7fba9ed)
  • implement MergeRequests class with list() (8551811)
  • implement parseGitlabUrl() (06cd9e3)
  • implement parseResponse() for parsing resp from Gitlab API call (83c2341)
  • prompt user to insert token if it's necessary (8a5da7a)
  • y add gitlab client (d167f97)

BREAKING CHANGES

  • cli: rename ENV variable DX_GIT_SERVICE_TOKEN to DXSCANNER_GIT_SERVICE_TOKEN

2.10.1 (2020-03-05)

Bug Fixes

  • errors: use specific imports in ErrorFactory (a52eaec)

2.10.0 (2020-03-05)

Bug Fixes

  • practice: SecurityVulnerabilitiesPractice won't crash on npm audit error (39b1523)

Features

  • fixer: add custom reporter for fixer run (4fb9868)
  • fixer: add info about fixable practices to CI reporter (cf361bc)
  • fixer: add info about fixable practices to CLI reporter (d0e7c1a)
  • tests: add SecurityVulnerabilites test (033a339)

2.9.0 (2020-03-04)

Bug Fixes

  • german fix (67630d2)
  • relocated interfaces of individual practices in the current architecture (ed48f7b)
  • removed console.logs & provided tests for the changes (e44d952)
  • removed the override from yml config (0edc1c0)

Features

  • dynamic max threshold customization (e9714f1)
  • dynamic max threshold customization (#256) (7a6cb01)

2.8.1 (2020-03-03)

Bug Fixes

  • add back missing octokit lib (2835480)
  • add back missing octokit lib (#257) (5731aae)
  • revert Octokit to version to ^16.0.0 (88f2cca)

2.8.0 (2020-03-03)

Bug Fixes

  • registering java linter practice to index (33b40ec)
  • test descriptions (3500597)

Features

  • java linter practice for maven & gradle scripts (cd1efaf)

2.7.0 (2020-03-02)

Bug Fixes

  • merged master into feat branch & solved merge conflicts (3b720bb)
  • small typos in Java tests (8b0f87e)
  • small typos in test descriptions (d3ccafe)

Features

  • python package inspector (388eef3)
  • test for python package inspector (02da5fc)
  • python: init python component detector and base for inspector (ec6a7a9)

2.6.0 (2020-02-27)

Bug Fixes

  • adding new tests for offline mode (0ed69e9)
  • considering offline mode of dxs (aaef314)
  • context test for isOnline (2924ee7)
  • merged master to feat branch & solved merge conflicts (9f084be)
  • re-enabling net connect after tests (c8d1d04)
  • tests & isOnline logic to pass all tests (a8f8783)

Features

  • reporters: show error message from failed practice in CLI log (e0d46dc)

2.5.0 (2020-02-27)

Bug Fixes

  • tests: restore nock after each test suite using nock (2ce7313)

Features

  • fixer: add fix config tests (26b81dc)
  • fixer: add fixPattern tests (b85154f)
  • fixer: add jest-mock-extended dependency (bf20ae2)
  • fixer: clean nock before scanner tests (f172f81)
  • fixer: fix fixer logic (61a1cba)
  • fixer: refactor scanner's fix (b4dd956)
  • fixer: use mocks in fixer tests (d17c443)

2.4.0 (2020-02-25)

Features

  • upgrade TS dependencies (cfa32ee)

2.3.3 (2020-02-25)

Bug Fixes

  • adjusting practices & inspector for gradle/kotlin variation (f57c097)
  • test suites readjusted for build.gradle.kts (00acff1)

2.3.2 (2020-02-24)

Bug Fixes

  • deps: remove octokit (#248) (15f6bb9)
  • remove octokit as it is no longer used (d5772e4)
  • deps: update dependency @octokit/rest to v17 (458402d)

2.3.1 (2020-02-24)

Bug Fixes

  • deps: update dependency node-filter-async to v2 (e56a1dc)
  • deps: update dependency node-filter-async to v2 (#249) (1b64097)

2.3.0 (2020-02-18)

Features

  • set practices url to dxkb.io + add urls to the list of practices (0f7dec7)

2.2.0 (2020-02-11)

Bug Fixes

  • deps: update dependency bitbucket to v2 (cd59447)
  • deps: update dependency bitbucket to v2 (fc863b7)
  • deps: update dependency bitbucket to v2 (ce7be48)

Features

  • bitbucket: update to v2 (8d30e90)

2.1.2 (2020-02-11)

Bug Fixes

  • deps: pin dependency camelcase to 5.3.1 (c1f804a)

2.1.1 (2020-02-10)

Bug Fixes

  • deps: update all non-major dependencies (5274c8b)

2.1.0 (2020-02-05)

Bug Fixes

  • impact level to small (0d0c5fb)
  • merge conflicts & naming conventions test cases (a1f2ef7)
  • renamed tests & practice desciptions correctly to Kotlin (ca70cbc)
  • solved merge conflict (287e5ba)
  • updated the practice for Kotlin & considered more edge cases (c2cb6be)

Features

  • java practice for naming conventions (b63c767)

2.0.5 (2020-02-04)

Bug Fixes

  • init: Win architecture & tests (2d1aea6)
  • init: Win architecture & tests (#238) (0d3fbe1)
  • services: deprecation notice removed (b494c01)
  • services: deprecation notice removed (#239) (d759beb)

2.0.4 (2020-02-03)

Bug Fixes

  • customize help (1520daf)
  • increase timeout limit (0ec88ec)
  • core: load default Command from oclif (afc3e4c)

Reverts

  • add update-notifier back (cec2fde)
  • changelog: back to v2 (d1b1f37)
  • add changes for list of practices (3993010)
  • back the DXS config file (726df9b)

2.0.4-beta.1 (2020-02-03)

Bug Fixes

  • customize help (1520daf)
  • increase timeout limit (0ec88ec)
  • core: load default Command from oclif (afc3e4c)

Reverts

  • add update-notifier back (cec2fde)
  • changelog: back to v2 (d1b1f37)
  • add changes for list of practices (3993010)
  • back the DXS config file (726df9b)

2.0.3 (2020-02-03)

Bug Fixes

  • deps: update all non-major dependencies (046576a)

2.0.3-beta.1 (2020-02-02)

Bug Fixes

  • customize help (1520daf)
  • increase timeout limit (0ec88ec)
  • core: load default Command from oclif (afc3e4c)

Reverts

  • add update-notifier back (cec2fde)
  • changelog: back to v2 (d1b1f37)
  • add changes for list of practices (3993010)
  • back the DXS config file (726df9b)

2.0.2 (2020-02-02)

Bug Fixes

  • binding Kotlin to context (5472b0c)
  • improved JavaLanguageDetector tests for Kotlin support (695716c)
  • Kotlin reintegration to Java practices & test fixes (1efac9d)

2.0.1 (2020-01-28)

Bug Fixes

  • back to single-command CLI (21c539b)

2.0.0 (2020-01-28)

Bug Fixes

  • allow fail and recursive to be optional (457eb72)
  • inform user if the config file already exists (569725a)
  • parse flags with init subcommand (3ede8e0)
  • remove comments a comment ideas (e604238)
  • remove unnecessary code (bb88dd4)
  • remove unused commented code and import reflect-metadata (5ad591a)
  • remove unused flag, aliases and set new examples (cccdf57)
  • rename method (d8a88cf)
  • rename subcommand (e939b9e)
  • revert change (b4b6497)
  • set arguments back to be required (dc8edd6)
  • typo (19e8bd1)

Features

  • core: CLI changed to multi-command (cbf03b0)
  • add two subcommands (9661d6b)
  • convert init flag to subcommand (9594d3a)
  • implement method to get practices (871f7f2)
  • list practices in a table (9d8a8f6)
  • wip - add subcommand (6c33fc4)

BREAKING CHANGES

  • core: now exists commands such as init, practices and run

1.38.0 (2020-01-27)

Bug Fixes

  • added java testing practice to index (cf4e762)
  • resolved merge conflicts (94b7aeb)

Features

  • add CLI fix flag (7673350)
  • add fix interface to Practice (7340d8e)
  • implement fix for EsLintWithoutErrors (6b0d5c8)
  • java logger used practice (26a4754)
  • java practice for detecting test mock frameworks (0453a03)
  • java practices that check testing frameworks (0913ca1)
  • run fix only when flag provided (5fee2ae)
  • run fixes for all failed practices (6c8d7a9)
  • test for mocking frameworks practice (ea6b972)

1.37.1 (2020-01-27)

Bug Fixes

  • deps: update dependency cross-env to v7 (5698c32)
  • deps: update dependency cross-env to v7 (#223) (449613c)

1.37.0 (2020-01-23)

Bug Fixes

  • isApplicable tests for different languages (6147ef5)
  • return statement to apply only for JS & TS (bf15e8d)
  • java: fixed logic package management used practice (2255485)
  • java: restrict practice application to only Java & updated tests (85b36b0)

Features

  • java: package management used practice (e7063dc)
  • java: package management used practice (#213) (401d706)

1.36.0 (2020-01-21)

Bug Fixes

  • add filtering and pagination in getIssues() (e4b1cf5)
  • add state to params and delete commented code (f9e1877)
  • allow user to pass more than one issue state (5c06622)
  • failing ESLintWithoutErrosPractie by gettting right path (088fe62)
  • import from right files (295f196)
  • return undefined if state is not defined (dd321de)
  • split getIssueState to two methods according to used service (fa61acc)
  • use BitbucketIssueState instead of BitbucketPullRequestState; use q as queryParams according to Bitbucket API filtering (d2a413f)
  • use new method for getting state (a08d0e0)
  • wip get issue state without quotes, fix passing array of states (165bb8c)

Features

  • add BitbucketIssueState enum (f46cfc1)
  • implement getIssueState() (98a677b)

1.35.3 (2020-01-21)

Bug Fixes

  • change id to number (5fccdf9)
  • increase default allowed number of changes (c3e4ef4)
  • save the right value to the id (prNumber) (3533026)
  • suggestion text (8ad09e0)
  • tests according to change id value (739354f)

1.35.2 (2020-01-20)

Bug Fixes

  • deps: update all non-major dependencies (8cf77f4)

1.35.1 (2020-01-16)

Bug Fixes

  • name of test (70dd87e)
  • pass the no PR right into getPullRequests() (1122795)
  • passing number in getPullsDiffStat() instead of string (785dfe8)
  • remove comments (b0402b4)
  • remove non existing file path (9720107)
  • remove tests for InvalidPractice as it causes CI fail (98d59e2)
  • remove tests for mocking practices as it causes CI fail (3facd70)
  • remove unused code (1e957ab)
  • remove unused method (8a0b493)
  • use ErrorFactory for customized error (74f9db4)

1.35.0 (2020-01-15)

Features

  • ghaction: configuration added (1a4f0e3)

1.34.0 (2020-01-15)

Bug Fixes

  • dependnecies: lock versions & recreate lockfile (236a7d2)
  • --init command with specific file path (eaacb8b)
  • fixing a test and writeFile (f19827a)
  • Kotlin recognition fixed & improved detector (c5aaa4c)
  • replacing a string templator with query stringify (b3145c1)
  • streamlined practice business logic & introduced new utils (b278dae)
  • java: improved PackageInspector for Maven to include groupId (3cb77c6)

Features

  • java: Added Major Version Dependency check practice for Java (258c44e)
  • Kotlin: added Kotlin recognition to Language Detector (d62e6a8)

1.33.1 (2020-01-14)

Bug Fixes

  • practices: correct commit msg use only X relevant commits (343619a)
  • practices: correct commit msg use only X relevant commits (e8c1d60)
  • practices: display properly correct commit messages practice detailed data (8b4e489)

1.33.0 (2020-01-14)

Bug Fixes

  • rename vulnerabilities practice (dad49cf)

Features

  • add audit fallback to npm (39e8998)
  • add table detail to vulnerabilities practice (b1fc789)
  • add yarn audit vulnerabilities report, increase yarn fail level (cfd79cc)

1.32.1 (2020-01-13)

Bug Fixes

1.32.0 (2020-01-10)

Bug Fixes

Features

  • implement TimeToSolveIssues practice (bea4853)

1.31.0 (2020-01-10)

Bug Fixes

  • 2nd run of unauthenticated scan (b0ef8fd)
  • don't prompt auth on travis (60ba483)
  • scanner imports (a6b3c52)
  • scanningDetector tests (d3cd41b)

Features

  • add auth check to CIReporter (47cb520)
  • add local path's repo detect test (11e22ab)
  • require auth token when scanning local path's repo (7d26e3c)
  • use ci flag instead of is-travis (c1ef2ec)
  • use flag for authentication prompt (8b93653)

1.30.0 (2020-01-10)

Features

  • add gitignore practice lockfile tests (1571047)
  • change gitignore practices to allow only one lockfile (1661f47)
  • update lockfile rule to allow only exactly one lockfile (68f0c21)
  • js: remove lock check from gitignore practice (996b8e7)
  • ts: remove lock check from gitignore practice (ddb6506)

1.29.2 (2020-01-08)

Bug Fixes

  • conventionalcommmits practice: change used library (8b71fce)

1.29.1 (2020-01-08)

Bug Fixes

  • do not require engines strictly (dff5212)

1.29.0 (2020-01-08)

Features

  • CIReportBuilder: add PR msg builder and change a structure (3c332b3)
  • GHActions: publish GH Marketplace Docker image with DX Scanner (71db6c0)

1.28.2 (2020-01-08)

Bug Fixes

  • deps: update dependency npm-check-updates to v4 (cd93413)

1.28.1 (2020-01-08)

Bug Fixes

  • deps: update all non-major dependencies (9c28781)

1.28.0 (2020-01-08)

Bug Fixes

  • CIReporter: load all comments instead of just a first page (42ef331)
  • add suggestion, name and url (ac0a1d7)
  • allow to customize addition and deletions (eeda833)
  • allow to insert just page or just perPage value (35b0103)
  • bad letter case (17ef395)
  • condition (770ad50)
  • merge params state and pagination if both are provided (2844629)
  • pass state and pagination as params to axios (a4b5e19)
  • rename practice (3938c12)
  • CIReporter: await all reporters (2fbe97b)
  • use customized diffStat (405dfae)
  • core: enable reporters (7d02505)

Features

  • add Fat PullRequests Practice (88e7c9e)
  • implement getMacNumberOfPullRequests() (fa21f3f)
  • maxNumberOfPrs (b5c1958)
  • move list all PRs to a practice (6d374cf)
  • CIReportBuilder: add PR msg builder and change a structure (116f925)
  • CIReporter: add CI reporter (cb15cd3)

1.27.0 (2019-12-17)

Bug Fixes

  • Add comments (2c33c17)
  • add linesAdded and linesRemoved to own interface of Commit. Implement it in BitbucketService and rewrite tests. (0648ce9)
  • add pagination to getPullrequests() in Bitbucket (47e57ad)
  • adding values (35f27d5)
  • concating url (b0eaaf0)
  • remove unnecessary code (5dcf879)
  • remove unnecessary Promise.all(); remove request for getting diffStat (07e88e5)
  • rename value (adcec08)
  • tests after refactoring (a6f465c)
  • use method to get an email and fix test after that (f11ac89)
  • use pagination if it's provided (fad8e78)
  • use withDiffStat value separately, not within ListGetterOptions (281ab83)
  • value name (eacdd7b)

Features

  • allow to get one specific pull request with diffStat in GithubService and BitbucketService (837e8a0)
  • add getPullsDiffStat() in CollaborationInspector; allow to get one specific pull request with diffStat (81cb265)
  • add Lines interface (d1232ed)
  • get pullrequests with diffStat if withDiffStat value is true (dcba226)
  • implement getPullsDiffStat() in BitbucketService and add test for that (3c78fe3)

1.26.4 (2019-12-16)

Bug Fixes

  • deps: update dependency semver to v7 (76de07d)

1.26.3 (2019-12-16)

Bug Fixes

  • deps: update dependency update-notifier to v4 (373ce00)

1.26.2 (2019-12-16)

Bug Fixes

  • deps: update all non-major dependencies (96f59c9)

1.26.1 (2019-12-16)

Bug Fixes

1.26.0 (2019-12-11)

Features

  • CLIReporter: add rich suggestion text to the report (2db8559)
  • CLIReporter: show detailed info (collected data) from practices (30458ce)
  • collect data from practices (4fa1b85)

1.25.0 (2019-12-10)

Bug Fixes

  • add a comment (26ea99f)
  • add a comment about logic to try catch (9c8bba4)
  • add possibility return no pullrequests by not passing state (633caea)
  • as the bitbucket fails if the account is a team account add possibility to ownerId be a null (37bc6f2)
  • change updatedAt only if it's provided (ec2f240)
  • get the ownerId via repo info with one request (2b83d63)
  • getting ownerId if it's team account (bd86a78)
  • implement getOwnerId() in bitbucketNock (81daee8)
  • invalid letter case (c1aa97d)
  • path (af50b8d)
  • rebind IContentRepositoryBrowser in practice instead of binding in inversify.config.ts (1141cad)
  • reflect used service (48b3429)
  • remove unnecessary code (4118637)
  • remove unnecessary condition (0fe3e8b)
  • remove unnecessary line of code (269f384)
  • remove unnecessary test (cd746f4)
  • rename practice and files. Add name and suggestion text. (9e18b76)
  • tests (e9f9943)
  • tests as it is possible to get team account id (c9f7d91)
  • use arguments provider uri to detect if bind GithubService or BitbucketService (ba705b4)
  • value of owner id (c56e67f)
  • wrong letter case (f8bd6a5)

Features

  • add TimeToSolvePractice (a667a78)

1.24.0 (2019-12-06)

Bug Fixes

  • add BitbucketService to the type (7a71226)
  • add condition so it doesn't fail if there are no PRs (4839367)
  • add getRepoCommits() into interface, (8b544ef)
  • add getRepoCommits() into interface, (648f066)
  • add moment to package.json (20fec03)
  • Add parse-commit-message (d5c6a08)
  • add queryState to new GitHubNock() (46a7a31)
  • add yarnrc to ignore engines (71421c1)
  • bind CollaborationInspector and IssueTrackingInspector, (b23c983)
  • change date of PR so it can for testing practicing Does PR practice (69932c3)
  • change dates (8f9d5c1)
  • condition, (4213929)
  • disable camel case in whole file instead of each line (caef75b)
  • get all pullRequests (7bbca3b)
  • getRepoCommits() test (7ff57d6)
  • if the PR is updated, count with that date, not with the createdAt date (bb374f0)
  • increase coverage by adding some tests (3801a6d)
  • move getPathOrRepoUrl from ReporterUtils to GitServiceUtils (2198384)
  • move inspectors to language component context instead of overall container (a19410f)
  • name of tests (9f025d2)
  • name of value (a42909e)
  • optional created_at and updated_at (a7773a5)
  • refactor code (2bd8bd9)
  • remove ambiguous binding (005b88b)
  • remove comma (cf555bf)
  • remove console.log() (ae095e3)
  • remove merge conflict (dd8216d)
  • remove unnecessary condition (e0a43f5)
  • remove unnecessary name of branch (9473353)
  • remove unused imports (535e1c7)
  • rename files (3769e64)
  • rename practice (c96061d)
  • return CollaborationInspector and IssueTrackingInspector (not undefined), (d461ad7)
  • return repoCommits in own interface (dca5707)
  • return repoCommits in own interface (63fe746)
  • revert change (741e491)
  • revert change (e8ae9ac)
  • revert changes (89765c2)
  • revert changes (43d3f16)
  • revert changes (43c8eaf)
  • revert changes and fix tests (98b444c)
  • revert changes and fix tets (0437471)
  • tests (1c660ef)
  • unify name (c5bde88)
  • url (6710a7f)
  • use different date as default (a589a04)
  • use method to change the message of the repo commits (bbf2136)
  • use moment.js to convert days to milliseconds (99585fe)
  • use parser-commit-message instead of manual parsing (cf4b5cb)
  • use qs (e324c1f)
  • version of parse-commit-message (b804092)

Features

  • add getRepoCommits into CollaborationInspector (fba7af9)
  • add getRepoCommits into CollaborationInspector (dccf3eb)
  • add new practice (70e796a)
  • Detect parcticing/notPracticing based on date of commit and date of PR minus 30 days (1948193)
  • install parse-commit-message and add typings for that library (2e04ac9)

1.23.2 (2019-12-06)

Bug Fixes

1.23.1 (2019-12-06)

Bug Fixes

  • add BitbucketIssueState enum (563a7eb)
  • add BitbucketPRState (e05ca58)
  • add value closedAt and mergedAt dynamically (cf4bf51)
  • define tests better (422f962)
  • mergedAt and closedAt values, also fix tests for that (e2e6dc6)

1.23.0 (2019-12-06)

Bug Fixes

  • add BitbucketPullRequestState because of CollaborationInspector to the options (74fe662)
  • add filtering to the getPullRequests() (90b995b)
  • add qs (6022e9e)
  • auth is possibly undefined (1f35259)
  • data of owner (fa0d129)
  • delete unnecessary mock file (952bb79)
  • fix tests and use mockBitbucketPullRequestResponse() (1b6be4a)
  • get the info about user only once as it is always the same (f54425d)
  • rename CVS to VCS (c8c2f09)
  • rename files (4a2d83d)
  • rename interfaces - add mock to the end of the name (0ff0093)
  • return array of states (7f19213)
  • retype return type from getPRState() (1769b52)
  • stringify undefined value (2ddd585)
  • typo (0815844)
  • use axios because bitbucket client can't allow to get all pullrequests. Write tests for that. (03eafcf)
  • use different interfaces for GitHub PR and Bitbucket PR (7d2ecb5)
  • use own definition of PR -> implement getPRState() to get the state specific for services (2b67091)
  • use qs library (42a10e5)
  • values of owner (c3c5ab2)

Features

  • add mockBitbucketPullRequestResponse() (905fd11)
  • add options for filtering in CollaborationInspector (572371b)

1.22.1 (2019-12-06)

Bug Fixes

  • deps: update dependency memfs to v3 (6c8c259)

1.22.0 (2019-12-02)

Bug Fixes

  • cli: added an action start and stop to --init (88edb72)
  • cli: added more conditions to check for existing files for --init (5e98e0f)
  • cli: using sync method to write files & practices are sorted alphabetically (fb46b95)

Features

  • cli: --init command creates a yaml config file (29f0cbc)

1.21.1 (2019-11-28)

Bug Fixes

  • practices: unify impact and defaultImpact to impact and ove… (#170) (65adccb)
  • case of id in a practice (cf00f5a)
  • change ID of practices for dependencies (1bbcfe8)
  • practices: unify impact and defaultImpact to impact and overridenImpact (55ae3f8)

1.21.0 (2019-11-28)

Bug Fixes

Features

  • add RepoCommit and RepoCommits class; (9ccfead)
  • implement getRepoCommits() (8cd4fec)

1.20.0 (2019-11-25)

Features

  • fileInspector: file inspector with root base path to scan files in whole root folder (d0d66c3)
  • practices: use root FileInspector (caa6a72)

1.19.0 (2019-11-21)

Bug Fixes

Features

  • add semverToPackageVersion() method, (27ee181)
  • add Update Dependencies With Minor or Patch Level practice and tests for that (1569601)
  • change practice 'Update Dependencies' to 'Update Dependencies with Major Level' (3daf397)

1.18.2 (2019-11-19)

Bug Fixes

  • configuration: customized practices are not coumputed to the final DX Score now (7c854d3)
  • configuration: customized practices are not coumputed to the final DX Score now (b5873ee)

1.18.1 (2019-11-18)

Bug Fixes

  • bitbucket: do not require bitbucket credentials twice (381ca6f)

1.18.0 (2019-11-18)

Features

  • cli: do not require -a argument, accept env variable DX_GIT_SERVICE_TOKEN (c10fdf9)

1.17.10 (2019-11-18)

Bug Fixes

  • cli: remove sh because windows doesn't have it installed (51402a0)

1.17.9 (2019-11-16)

Bug Fixes

  • bitbucket: attempt to fix bitbucket URL parsing (ef1a4d8)
  • bitbucket: catch private/public repository attribute (0aa04e6)

1.17.8 (2019-11-15)

Bug Fixes

  • deps: update dependency ts-node to v8.5.2 (93dcdd3)

1.17.7 (2019-11-14)

Bug Fixes

  • deps: update dependency bitbucket to v1.15.2 (bc24600)

1.17.6 (2019-11-12)

Bug Fixes

  • use Regex for finding tslint package (8010dd4)

1.17.5 (2019-11-12)

Bug Fixes

  • Log msg about number of components under report. (532c786)
  • refactor logging msg about number of components, (e62a490)
  • remove comment (b2c5cd6)
  • remove unnecessary returning (0d33fd3)
  • rename totalComponents, (9acb9ad)

1.17.4 (2019-11-11)

Bug Fixes

  • deps: update dependency ts-node to v8.5.0 (b554ce8)

1.17.3 (2019-11-11)

Bug Fixes

  • deps: update dependency @octokit/rest to v16.35.0 (8444d64)

1.17.2 (2019-11-07)

Bug Fixes

  • deps: update dependency npm-check-updates to v3.2.1 (28412af)

1.17.1 (2019-11-07)

Bug Fixes

1.17.0 (2019-11-07)

Bug Fixes

  • deps: update dependency glob to v7.1.6 (09fd91f)
  • java: added Java into context for GitignoreIsPresent (d777527)
  • better AUTH error handling in index.ts (203d3c2)

Features

  • java: re-defined Java practice for .gitignore (73451ac)

1.16.0 (2019-11-05)

Bug Fixes

  • CLI auth: prompt Bitbucket credentials only if a path is bbucket url (999dd25)
  • CLIReporter: remove brackets after links (7472643)
  • scan recursively if found 0 components in a root path (3801970)

Features

  • scanner: run on a root component only if not specified (7a3d413)
  • scanner: run on a root component only if not specified (609e450)

1.15.2 (2019-11-03)

Bug Fixes

  • deps: update dependency npm-check-updates to v3.2.0 (573f299)

1.15.1 (2019-10-31)

Bug Fixes

  • CIUsedPractice: respect config filed for Azure and Circle CI (4efa8cb)
  • FileInspector: do not throw error if scanning for a files in subfolders (7f2f5d9)
  • JS Practices: mark as notPracticing if not exists scripts in package.json (e2893e7)

1.15.0 (2019-10-31)

Features

  • practices: split gitignore correctly set to separated JS & TS (bb69702)

1.14.3 (2019-10-31)

Bug Fixes

  • deps: update dependency @octokit/rest to v16.34.1 (047eaa8)
  • deps: update dependency memfs to v2.16.1 (391dcd8)

1.14.2 (2019-10-30)

Bug Fixes

  • detectors: unbind PythonLanguageDetector until fully supported (c521abf)

1.14.1 (2019-10-30)

Bug Fixes

  • core: exit after the printing the debug (8623d57)

1.14.0 (2019-10-30)

Bug Fixes

  • add filtering method to ScannerUtils and remove it from Scanner, (03bf0e8)
  • arguments of getImpactFailureLevels(), (53a15d6)
  • lint code (4bba638)
  • lint code (121bbd2)
  • Refactor code using .filter() method. (f114c6e)
  • remove constant and use practiceWitchContextFactory instead (181d79a)
  • remove unnecessary code (397e44e)
  • set default fail argument to high; (7e27427)

Features

  • CI failure: fail on recursive impacts (31f6558)
  • CLI: add default value of fail (7198ca7)

1.13.5 (2019-10-30)

Bug Fixes

  • deps: update dependency @oclif/config to v1.13.3 (43d6a81)
  • deps: update dependency @oclif/plugin-help to v2.2.1 (a8567b0)
  • deps: update dependency oclif to v1.14.2 (0a7eabf)
  • deps: update dependency ts-node to v8.4.1 (47aec18)

1.13.4 (2019-10-30)

Bug Fixes

  • deps: update dependency eslint to v6.6.0 (ae11775)

1.13.3 (2019-10-30)

Bug Fixes

  • deps: update dependency @oclif/command to v1.5.19 (75bcef3)

1.13.2 (2019-10-29)

Bug Fixes

  • deps: pin dependencies (f9612f5)
  • practice: upgrade ncu to new version with fixed process.on in for loop (d19ae2f)

1.13.1 (2019-10-25)

Bug Fixes

  • Add PracticeImpact types (28ac483)
  • Loading yaml .eslintrc file (938e178)
  • name and id of practice (fcfa1c7)
  • Remove unnecessary comments. (4e352eb)
  • return impact in object (1d1935d)
  • Showing error message in debug mode. (d7c3d2b)

1.13.0 (2019-10-24)

Bug Fixes

  • CIUsedPractice: detect Appveyor CI (68456fa)
  • CLI: remove experimental warnings with Unix compatibility (545a528)
  • CLIReport: off and failed practices read from component instead of all (b705f9e)

Features

  • CLI: remove experimental warnings (b173afe)

1.12.0 (2019-10-24)

Bug Fixes

  • dockerization: correctly detect library component instead of application (b7aab05)

Features

1.11.0 (2019-10-23)

Bug Fixes

  • upgraded TS interfaces according to TS 3.6 update (a5934a7)
  • cache: purge cache after each test suite (557207a)
  • practices: detect library correctly (7f896ca)

Features

  • CLI: add scan duration time (8c92bc1)
  • FileInspector: add cache to all methods (0f137a3)

1.10.0 (2019-10-21)

Bug Fixes

Features

  • add isBitbucketPath() to check if the path is from Bitbucket. (a958164)
  • bind BitbucketService (c511023)

1.9.0 (2019-10-21)

Bug Fixes

  • ruby language detector Gemfile (672680e)

Features

  • add ruby language detector (59a430f)

1.8.0 (2019-10-21)

Features

  • add composer file to the detector (5ad4c7d)
  • add cpp language detector (871c47d)
  • add php language detector (54e0ac6)

1.7.0 (2019-10-17)

Features

  • add golang language detector (b063c3d), closes #82

1.6.1 (2019-10-03)

Bug Fixes

  • add tests for EslintCorrectlyUsedPractice (187f697)
  • Allow user to add impact in object in dx config file (22e1577)
  • allow user to customize configuration of DX scanner so it could be string or object (a58f571)
  • Catch the error and if it's SyntaxError return PracticeEvaluationResult.unknown (be7d1b9)
  • compare RegExp name with the package.name (3e4a3f4)
  • eslint practice (6acf75f)
  • Fix the condition for eslintIgnore (54ca010)
  • Interface of Config; add interface for EslintConfig and use it in PracticeContext (70f4c9c)
  • Path for scanFor() (c29708a)
  • Remove console.logs, (08a78cf)
  • Remove unnecessary logs. (85baa4e)
  • remove unnecessary type definition (3e6fd36)
  • rename EslintConfig to PracticeConfig; return always PracticeConfig in getOverridenPractice() (81e00cd)
  • rename practice (05c09f7)
  • run on eslint/espree repo (faa838e)
  • throw error if it's not a SyntaxError (3644149)
  • typo (2dcb4c4)
  • typo (898dcc6)

1.6.0 (2019-10-02)

Features

1.5.0 (2019-10-02)

Features

  • cli: add postinstall message with hint to create .dxscannerrc config file (b652ee2)

1.4.2 (2019-10-02)

Bug Fixes

  • GitService: change join for resolve (#74) (e5e4827)

1.4.1 (2019-09-12)

Bug Fixes

  • add new practicesWitchContext for every component in for loop. (#46) (d5d50db)

1.4.0 (2019-08-30)

Bug Fixes

  • Improve the JSONReport. (da37a50)
  • Improve the reporter interface. (e4c0465)
  • Remove reporting in the new file. (eac49c1)

Features

  • Add JSON Reporter. (80a0bd4)
  • Add possibility to have an output in JSON. (3142f0f)
  • Write JSON report to the new file. (fe4fb26)

1.3.0 (2019-08-27)

Bug Fixes

  • remove unnecessary condition (d0a80fa)
  • cli: Remove console.log when a 404 error happens. Use debug() instead. (d8917f3)
  • Catch the auth error and handle it in index.ts instead of ScanningStrategyDetector (af617c8)
  • determining private/public repo, (f9966f5)
  • Logic with accessType and tests for private repo. (95c7036)
  • Remove nonsense condition. (b5d3d99)
  • Remove unnecessary import (e2c391a)
  • Remove unnecessary piece of code (8e0e42a)
  • Remove unused import. (c3b22d0)
  • Remove unused interface. (0f7fe62)
  • Remove unused interface. (bf5b5c5)
  • Remove unused variable. (f0031b1)
  • Tests for private repos. (1bb96ed)
  • throw right error (4f83feb)
  • throwing error (9696f91)

Features

  • cli: add possibility to insert AT after running scanner if the AT was not provided. (47353dd)

1.2.0 (2019-08-21)

Features

  • CI: add scripts to run on travis (#39) (c701407)

1.1.4 (2019-08-20)

Bug Fixes

  • practices: add dependsOn in related practices (#38) (019ee6a)

1.1.3 (2019-08-19)

Bug Fixes

  • move misuesed devDependencies to dependencies (#37) (62fcc4f)

1.1.2 (2019-08-19)

Bug Fixes

  • remote url is ssh (f9d57bc)
  • cli: set relative path to correct index.js file for real runtime (4bc4051)

1.1.1 (2019-08-16)

Bug Fixes

  • README: fix command for installing (#29) (81fff27)

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Fixed

  • Works on Windows
  • Possible to develop on Windows

[1.0.0] - 2019-07-31

Added

  • First version of DX Scanner