Skip to content

v0.0.2

Latest
Compare
Choose a tag to compare
@aik099 aik099 released this 12 Dec 15:07
· 38 commits to master since this release

Added

  • Added tests command, that shows missing test files for given source files.
  • Added --format option to bc command to allow generating BC report in different formats: text, html, json.
  • The list of BC checkers now can be configured in new bc_checkers array-type setting of .code-insight.json file.
  • Added sync command to sync database with the code.
  • Added --source-project-fork and --target-project-fork options for bc command to allow operating on different (forked) version of database for same project.
  • Added --project-fork options to report command to allow operating on different (forked) version of database for same project.
  • Added --project-fork options to sync command to allow operating on different (forked) version of database for same project.
  • Added cache.provider setting to ~/.code-insight/config.json file, that can be set to memcache to use locally installed Memcache server for caching.
  • Adding/removing static from class property/method is considered as a BC break.
  • Allow specifying BC breaks, that were detected but should be ignored via bc_ignore setting in .code-insight.json file.
  • The project paths are now auto-completed in Bash.

Changed

  • The refresh option of report command was removed in favor of new sync command.
  • The code-insight.sqlite database is now stored in ~/.code-insight folder's sub-folder instead of scanned project folder.
  • Data processed by bc command is now cached for 1 hour for performance reasons. This however results in project code changes not being detected within that hour.
  • The source-project-path argument of bc command is no longer required, when --source-project-fork option is specified.
  • The BC breaks are sorted by element alphabetically (e.g. several BC breaks from same class would be shown next to each other).

Fixed

  • The in sync state of changed files wasn't updated on subsequent code syncs resulting is slower syncing process.
  • The non-tag methods in TagProcessor classes were detected as tags.
  • Renaming of PHP5 into PHP4 constructor is no longer considered a BC break.
  • Changes to protected members in final classes are no longer considered a BC break.
  • Adding new optional parameters to the function/method no longer considered a BC break.
  • Making existing parameter of a function/method into optional no longer considered a BC break.
  • BC breaks weren't sorted by their type (class > constant > property > method).