Skip to content

Releases: Cantido/hex_licenses

v0.3.3

28 Sep 17:53
v0.3.3
019a00f
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

Fixed

  • Now reports on deprecated licenses too

v0.3.2 - More Bugfixes

22 Sep 15:03
v0.3.2
d6c1be0
Compare
Choose a tag to compare
Pre-release

Fixed

  • No longer throws a FunctionClauseError when the target project has a non-Hex dependency [#2].
  • No longer throws a MatchError when the target project does not have :package or :licenses defined.

v0.3.1 - Fix LoadError

19 Sep 15:15
v0.3.1
885e8ea
Compare
Choose a tag to compare
Pre-release

Fixed

  • No longer throws a Code.LoadError when trying to find the cached licenses file (#1).

The Local Update

15 Sep 03:46
v0.3.0
ecc589e
Compare
Choose a tag to compare
The Local Update Pre-release
Pre-release

After some fabulous feedback, I've been able to change the tasks to get all their information locally. We're getting license info directly from the hex metadata file in deps/, so now you get feedback on the exact versions of the dependencies you're using.

Since we're now caching a version of the SPDX license list locally, it's possible that this may become out-of-date. However, the SPDX list does not change very often, so this is a good trade-off. If the list does update and you need that new information, give the --update flag to any task in order to pull fresh data.

I also made the remaining two prod dependencies optional, because they are now only used for the --update flag and nothing else. Might as well try to keep the number of dependencies down.

Added

  • All tasks now accept the --update flag to pull down a fresh copy of the license list instead of using the version checked into this repo.

Changed

  • No longer makes HTTP calls to Hex and SPDX, and instead uses locally-available information.
  • httpoison and poison deps are now optional, since using --update is optional.

v0.2.0

11 Sep 19:46
v0.2.0
7437c25
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Added

  • mix licenses.lint now accepts the --reuse flag for if you are following the REUSE specification and you want to check if your declared licenses match those in the LICENSES/ directory.

Changed

  • All tasks no longer return error codes when licenses are not OSI-approved. That functionality now requires the --osi flag to be provided.

Initial Release

11 Sep 04:25
v0.1.0
18981eb
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

This initial release introduces three mix tasks:

  • mix licenses - Summarize dependency licenses
  • mix licenses.explain - Show unrecognized and non-approved licenses
  • mix licenses.lint - Ensure a project has recognized license identifiers