Skip to content

v0.17.0

Compare
Choose a tag to compare
@ericmj ericmj released this 16 Jan 14:07
· 589 commits to main since this release
1303c8c

Private packages and organizations

Hex.pm is adding support for private packages with organizations. See https://hex.pm/docs/private for more details. To authorize an organization on your machine run mix hex.organization auth acme, this will store the organization's repository details in Hex so that you can fetch packages from the repository. As soon as you are added as a member to an organization you can administer and publish packages, if you have the appropriate role, with the --organization flag or by setting the :organization option on the package configuration.

Different from the last release packages will always be pulled from the default hexpm repository and you have to override it with the :organization or :repo options on the dependency configuration.

Enhancements

  • Add hex.organization task
  • Rename hex.user key flag --remove* to --revoke* to clarify what it does
  • Add --organization flag to tasks working on packages
  • Add :organization option to package configuration
  • Add support for publishing to organizations
  • Improve error message when docs task is missing
  • Add --confirm flag to hex.publish task

Bug fixes

  • Fix version validation exceptions
  • Reintroduce HEX_MIRROR environment variable
  • Preserve file modes when building tarball
  • Disallow :app option for dependencies