Skip to content

0.2.0

Compare
Choose a tag to compare
@jpeddicord jpeddicord released this 14 May 03:38
· 202 commits to master since this release

Added

  • Full documentation for the public API.
  • The CLI can now read a list of filenames from stdin (batch mode).
  • The CLI is capable of crawling a directory tree, looking for license-like files and identifying them.
  • The library and CLI can now optimize a matched license to tell you where in your source the match was identified.

Changed

  • Revised API. API changes are likely to be much more rare from here on out.
  • Many performance improvements. analyze is now able to run in 3-5 ms on commodity hardware!
  • Text storage and normalization improvements.
  • Duplicate SPDX entries are now stored as aliases.
  • SPDX definitions have been updated.

Removed

  • The "diff" option is now only available if compiled with the "diagnostics" feature (off by default). This was intended for debugging and had no practical use in the binary.

Fixed

  • Resolved a potential panic for short/empty license files (a divide-by-zero was involved)