Skip to content

Latest commit

 

History

History
967 lines (637 loc) · 34.3 KB

CHANGELOG.md

File metadata and controls

967 lines (637 loc) · 34.3 KB

CHANGELOG

v2.1.2-dev

v2.1.1 (2024-05-22)

Bug fixes

  • Fix overriding Hex packages from non Hex dependencies

v2.1.0 (2024-05-21)

Enhancements

  • Improve solver error message when collecting conflicting requirements from multiple places. Fixes the "empty" versions error. This is done by including path and git parents of hex packages in the solver.
  • Add "(CI)" to user-agent HTTP header if environment variable CI is set
  • Improve message for authentication errors
  • Set exit code 1 on mix hex.organization auth errors
  • Add --sort flag mix hex.outdated
  • Improve error message when trying to publish existing package with permissions
  • Consider ex_doc :output option when publishing documentation
  • Warn on unknown dependency options

Bug fixes

  • Do not close registry server in post_converge. Fixes the "the table identifier does not refer to an existing ETS table" error.
  • Revert Mix changes on Hex application stop
  • Fix passing requests from umbrella apps to solver
  • Handle empty package name in mix hex.info

v2.0.6 (2023-02-06)

Bug fixes

  • Fix application startup when there are configured organizations

v2.0.5 (2023-02-06)

Bug fixes

  • Fix HTTP authentication for repositories added before v2.0.3

v2.0.4 (2023-02-02)

Bug fixes

  • Fix trust lookup for organizations

v2.0.3 (2023-02-01)

Enhancements

  • Remove dependency on ssh application
  • Add trusted_mirror_url config and HEX_TRUSTED_MIRROR_URL environment variable. When setting either of these the repository authentication key will be included in requests. mirror_url config and HEX_MIRROR_URL have changed to no longer include the authentication key in requests. This is to ensure secrets are not sent to repository mirrors that are not trusted.

v2.0.2 (2023-01-30)

Enhancements

  • Remove hex.install task

Bug fixes

  • Fixes for upcoming Elixir 1.15.0 release

v2.0.1 (2023-01-09)

Enhancements

  • Raise when parsing intersected ranges
  • Skip unselected optionals during solving

Bug fixes

  • Fix converging of requirements from different sources
  • Fix organization owner prompt during publish
  • Do not override locked deps

v2.0.0 (2022-10-30)

Enhancements

  • New version solver with higher performance and better error messages
  • Switch to IPv6 if requests fail due to connection errors

Bug fixes

  • Fix browser opening on Windows

v1.0.1 (2021-12-14)

Bug fixes

  • Fix compatibility with some Elixir and OTP combinations

v1.0.0 (2021-12-13)

Enhancements

  • Set exit code to 1 when mix hex.publish fails
  • Validate OSS licenses
  • Read authorization credentials from ~/.netrc
  • Error if building package with an app: false dependency

Bug fixes

  • Do not error if the organization authorization key could not be verified, this improves handling of API server issues
  • Improvements to version solver to prevent scenarios where it takes a long time to find a solution
  • Improve error when update checker times out

v0.21.3 (2021-09-18)

Enhancements

  • Add config no_short_urls and env var HEX_NO_SHORT_URLS to disable short URL generation
  • Mention mix hex.sponsor when fetching packages that accept sponsorship
  • Add --key option to mix hex.repo show NAME to print repository key
  • Improve output when update check fails
  • Print hint if version resolution is slow

Bug fixes

  • Improve version backtracking to fix slow version resolutions and downgrading of dependencies

v0.21.2 (2021-04-14)

Enhancements

  • Add support for mix hex.package fetch PACKAGE (without version)

Bug fixes

  • Gracefully handle missing hex metadata in sponsor task
  • Fix building hex registry
  • Update ssl opts for host validation on redirect
  • Store correct password after confirmation failure

v0.21.1 (2021-01-15)

Enhancements

  • Warn when using ssl-10.2
  • Disable API write operations when using ssl-10.2

v0.21.0 (2021-01-14)

Enhancements

  • Add --epub option to mix hex.docs offline
  • Add --replace option to mix hex.publish
  • Add locked version to mix hex.info <package>
  • Clarify publish message around ownership
  • Remove reliance on colors for hex.outdated
  • Follow XDG Base Directory Specification
  • Add link to diffs page in footer of mix hex.outdated
  • Introduce latest branch to install Hex using mix archive.install git ...
  • Add --repo flag to mix hex.package task
  • Make mix hex.package diff more CLI-friendly
  • Customize hostname check to allow also wildcard certificates
  • Use API for dependency config in mix hex.info
  • Do not pass --canonical to docs task
  • Always add *.DS_Store to :exclude_patterns
  • Add note about updatable packages to mix hex.outdated task
  • Use tarball outer checksum to check cache freshness
  • Add --within-requirements flag to mix hex.outdated
  • Add --fetch-public-key FINGERPRINT to mix hex.repo add
  • Return non-zero exit when package or release are not found in mix hex.info
  • Add no_proxy configuration
  • Add mix hex.package diff APP VERSION
  • Add mix hex.sponsor for listing all dependencies ask for sponsors or support
  • Add mix hex.registry build for building registries locally

Bug fixes

  • Fix order of organizations displayed on mix hex.publish
  • Fix stacktrace warning
  • Hide mix hex.install private task
  • Fix mix hex.repo remove command doc
  • Fix backtracking on single parent
  • Do not unpack the tarball on mix hex.package fetch unless --unpack is passed
  • Re-fetch stale cached package if registry checksum changed
  • Fix compatibility with OTP 24

v0.20.6 (2020-10-20)

Bug fixes

  • Fix compatibility with OTP 24

v0.20.5 (2020-02-05)

Enhancements

  • Add timestamps to entries in registry cache for easier debugging
  • Bump registry cache version to invalidate old caches
  • Warn if fetching registry without outer checksum

Bug fixes

  • Do not require that the registry supports outer checksums
  • Missing outer checksum is not a mismatch, this will fix "out of date" errors when the manifest is newer than the lockfile

v0.20.4 (2020-02-04)

Bug fixes

  • Fix tarball file extraction through symlinks

v0.20.3 (2020-02-03)

Enhancements

  • Fetch the latest non-prerelease version of a package in mix hex.docs

Bug fixes

  • Correctly handle old manifest files without crashing

v0.20.2 (2020-02-03)

Enhancements

  • Add --output option to mix hex.package fetch task
  • Add cacerts_path configuration for custom CA certificate files
  • Improve output in mix hex.publish to make it more clear to what repository you are publishing
  • Explain red colors in hex.outdated

Bug fixes

  • Fix HTTP timeout config
  • Do not allow creating empty packages

Security fixes

  • Fix for directory traversal vulnerability for symlinks in tarballs
  • Update package checksum to include the entire tarball instead of specific files inside it

v0.20.1 (2019-06-10)

Bug fixes

  • Do not print transfer message when not transferring

v0.20.0 (2019-06-09)

Enhancements

  • Add per-project Hex configuration. Configure Hex under the :hex key inside your project configuration in mix.exs
  • Show location of package after running mix hex.build
  • List all available Hex tasks when running mix hex
  • List subtasks when running mix hex
  • Remove tarball if it is invalid to avoid it being as cache in the future
  • Show umbrella children mix.exs location in mix hex.outdated
  • Add mix hex.owner transfer task
  • Show improved error message on invalid configs
  • Add mix hex.package fetch task
  • Add mix hex.package diff task

Bug fixes

  • Fix mirror_url config
  • Fix api_url config
  • Do no try to remove docs after reverting package – docs are already automatically removed

v0.19.0 (2019-01-15)

Enhancements

  • Improve output of mix hex.config
  • Print publisher in mix hex.info PACKAGE VERSION
  • Add organization flag to dependency config in mix hex.info PACKAGE

Bug fixes

  • Don't follow symlinks when adding files to tarballs
  • Error with a descriptive msg when building a package with git dependencies
  • Improve listing of incompatible package versions when displaying backtrack error message
  • Improve resolver performance when it needs to do a lot of backtracking

Security fixes

  • Verify authenticity of registry records. This fixes a vulnerability that would allow a malicious mirror to serve modified versions of Hex packages. A new check has been introduced that requires the latest registry record version, if you are using a repository or mirror that has not been updated yet you can disable this check by setting the environment variable HEX_NO_VERIFY_REPO_ORIGIN=1. Further clarification of this issue will come at a later stage.

v0.18.2 (2018-11-08)

Enhancements

  • Add checks before publishing docs
  • Update generated protobuf files for Registry with OTP 21 compatibility
  • No longer list tasks in mix hex task
  • Use hexdocs organization URLs
  • Adds --dry-run option to publish tasks
  • Do not print "Unchanged" dependencies on mix deps.get in green
  • Validate hex config keys
  • Add c_src/ and Makefile to default package files
  • Publish Mix task docs on https://hexdocs.pm/hex
  • Add recommendation when retiring and require --message flag

Bug fixes

  • Use rebar3, not rebar, when guessing build tool
  • Fix issue saving write key when resetting local password

v0.18.1 (2018-07-06)

Bug fixes

  • Fix normalization of repo paths when authenticating organization

v0.18.0 (2018-07-05)

API keys

When authenticating with mix hex.user auth two API keys are generated instead of single one. One key is unencrypted with read access and the other is encrypted with your local password and has full read/write access to the API. Now commands that don't make any changes will not require a password.

Additionally, we generate a single key that gives access to all your organization repositories, instead of one key for each repository. It also has the added benefit that you don't have to reauthenticate if you are added to a new organization.

We have also added support for keys owned directly by an organization instead of a specific user, these keys can be accessed through mix hex.organization. This is useful when generating keys for a CI environment, previously when personal keys were used, a person leaving an organization or revoking the key could negatively affect CI workflow.

Improvements to continuous integration workflows

The HEX_API_KEY environment variable has been introduced to be able run commands that require an authentication without having to authenticate manually with mix hex.user auth which has user input prompts. The key set with HEX_API_KEY can be generated with mix hex.user key generate or mix hex.organization key ORGANIZATION generate. It also makes it possible to run commands such as mix hex.publish without being prompted for a password.

By passing the --yes flag to mix hex.publish you can publish your package (together with HEX_API_KEY) without any confirmation prompts. This allows you to publish your package as part of your CI build process.

Ignoring :maintainers field

In previous Hex versions we required :maintainers key to be present when publishing package. At the same time, on hex.pm we are also showing package owners (controlled by the mix hex.owner task). It was confusing to show both maintainers and owners and figure out which really control the package, so we've dropped showing maintainers on hex.pm and the field will no longer be added to package's metadata.

If maintainers field was used to give credit to current and/or past contributors we encourage to mention that in project's README instead.

Enhancements

  • Add --yes flag to hex.publish for publishing without any confirmation prompts
  • Add HEX_API_KEY environment variable for setting and overriding the key used when authenticating against the API
  • Generate a single key for all organization repositories when authenticating a new user
  • Return a non-zero exit code from hex.outdated when dependencies are outdated
  • Generate two API keys when authenticating, one encrypted with write access, and one unencrypted with only read access
  • Add ownership levels to hex.owner task
  • When resolving, try all possible backtrack branches and select the best solution
  • Improve formatting of multi-line validation errors
  • Do not use :maintainers package configuration field
  • Change hex.organization to generate keys owned by organization instead of the user generating them
  • Add options to hex.organization key for revoking and listing keys owned by organization
  • Improve interface for hex.user key and hex.organization key, the following commands have changed:
    • hex.user key --generate => hex.user key generate
    • hex.user key --list => hex.user key list
    • hex.user key --revoke KEY_NAME => hex.user key revoke KEY_NAME
    • hex.user key --revoke-all => hex.user key revoke --all
    • hex.organization key ORGANIZATION => hex.organization key ORGANIZATION generate

v0.17.8 (2018-07-01)

Bug fixes

  • Fix private packages on Windows

v0.17.7 (2018-04-20)

Bug fixes

  • Fix crash when unpacking tarballs with broken symlinks
  • Correct the type of build tools package metadata

v0.17.6 (2018-04-18)

Bug fixes

  • Fix crash when printing resolver output when having lock entries from other SCMs

v0.17.5 (2018-04-18)

Bug fixes

  • Fix crash when printing resolver output for old lock files

v0.17.4 (2018-04-18)

Enhancements

  • Tarball and registry code has been extracted to the hex_erl package
  • Hide retired versions when showing latest release in hex.info task
  • Add hex.docs offline and hex.docs online tasks
  • Add --key-name flag to key generation tasks
  • Add :exclude_patterns to package config for excluding files from package
  • Resolver now backtracks children before parents to improve versions selected when backtracking
  • Change some errors to warnings when building private packages
  • Group resolved dependency output into unchanged, updated, and downgraded when running deps.get and deps.update tasks
  • Add authentication to hex.docs task for showing private package documentation
  • Improve error message when package fetch times out
  • General improvements to tasks when accessing organizations

Bug fixes

  • Fix wrong publish message when using --organization flag in hex.publish task
  • Set file times inside tarballs to 2000-01-01 to fix tars on FAT file systems
  • Fix hex.docs open task on Windows

v0.17.3 (2018-01-17)

Bug fixes

  • Handle missing package descriptions in hex.search task
  • Fix printing of package checksum after publishing

v0.17.2 (2018-01-16)

Enhancements

  • Increase hex.publish timeouts and make it configurable with :http_timeout config and HEX_HTTP_TIMEOUT variable
  • Test key before adding it with hex.organization auth NAME --key KEY
  • Remove pre-release publish restriction for private packages
  • Add package descriptions to hex.search task
  • Improve error message when there are no versions matching requirement
  • Add latest stable version to hex.search task
  • Add metadata.config file to checked out dependency directory
  • Warn if we detect a lock entry from a newer Hex version
  • Add hex.build --output and hex.build --unpack tasks
  • Preserve symlinks and empty directories in tar
  • Simplify Hex output on deps.get
  • General improvements to tarball creation and unpacking
  • List umbrella children's top level dependencies in hex.outdated
  • Include .formatter.exs file in default package builds
  • Prompt user when authentication is required
  • Automatically auth all organizations when authing user with hex.user auth
  • Highlight if a package release has been retired in hex.info
  • Display package website links in mix hex.owner packages

Bug fixes

  • Do not crash if failing to write tarball
  • Disable HTTP pipelining to avoid bugs in HTTP client
  • Also purge registry etags when repository source changed
  • Retry HTTP requests on :socket_closed_remotely errors
  • Fix package tarballs being reproducible
  • Authenticate HTTP requests for hex.search
  • Populate managers when initially getting dependencies
  • Check dependencies on hex.audit and hex.publish
  • Fix fetching of private packages that overrides public packages
  • Fix HTTP redirect handling
  • Don't display internal configs in hex.config

v0.17.1 (2017-08-29)

Enhancements

  • Improve error message when package does not exist
  • Improve error message when no versions exist for given requirement
  • Add --key flag to hex.organization auth to authorize by giving a key directly without supplying a password
  • Add hex.organization key to generate a key for accessing the organization's repository

v0.17.0 (2017-08-28)

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

v0.16.1 (2017-06-22)

Enhancements

  • Add mix hex.repo show task for showing repo configuration
  • Improve error message if there are no releases for given requirement in the registry
  • Add mix hex.audit task for checking for retired packages

Bug fixes

  • Do not try to publish docs if package publish failed
  • Do not update lock entry if only metadata changed
  • Do not show authentication details when printing URLs
  • Fix password reset
  • Fix race condition where some entries may not be cached if they were added just before application closed
  • Support PAX tarballs, created on OTP 20, when using older OTP versions. Additionally, make it less likely PAX tarballs are created

v0.16.0 (2017-04-18)

Multiple repository support

This version adds support for using packages from multiple repositories. With the hex.repo task additional repositories can be added to Hex. With it you can add additional repositories or replace the default "hexpm" repository by running mix hex.repo add hexpm ..., check the docs for more information. To use a dependency from another repository add repo: :my_other_repo to the dependency definition in mix.exs and make sure you have added my_other_repo with mix hex.repo add my_other_repo. Dependencies of a package will be automatically pulled from the same repository as the parent package unless otherwise stated with the :repo option on the dependency definition.

Enhancements

  • Add hex.repo task
  • Move hex.key tasks to hex.user keys
  • Warn or error if publishing a package with pre-release dependencies

Bug fixes

  • Do not check for updates when running in offline mode
  • Fix an issue where dependency resolution could take a very long time
  • Do not publish docs if publishing the package failed
  • Fix an issue where HTTP timeouts could cause the application to freeze
  • Ensure managers always exist in the lock

v0.15.0 (2016-12-24)

Package retirement

With this new release you can mark versions of your packages as retired when you no longer recommend its use. This can be because the release has a serious security flaw, something went wrong with the release so that it's unusable or because the package has been renamed or deprecated. A retired version is still usable and fetchable but it will show as retired on hex.pm and when resolved Hex will show a warning to the user with the retirement message.

Enhancements

  • Add --module flag to hex.docs task
  • Changed hex.outdated task to show if a dependency can be updated
  • Add hex.retire task for package retirement
  • Warn when resolving retired packages
  • Restrict number of default SSL ciphers

Bug fixes

  • Do not make conditional HTTP request if file is missing
  • Ensure cache file is saved when Hex exits

v0.14.1 (2016-11-24)

Enhancements

  • Add environment variable HEX_HTTP_CONCURRENCY for limiting number of concurrent HTTP requests

Bug fixes

  • Fix compatibilities with older Elixir version (<= 1.1)
  • Ensure build tools are unique in mix.lock and when publishing
  • Fix hex.docs open opening websites on Unix systems
  • Do not crash on diverged dependencies with conflicting SCMs
  • Fix some duplicate HTTP requests on slow networks
  • Limit concurrent registry HTTP requests

v0.14.0 (2016-10-28)

New registry format

Hex has switched to a new registry format that is more efficient and will scale better as the registry grows. The new registry format is encoded with protocol buffers and is split into multiple files (one file per package) to avoid fetching one big file with data you will not need. The resolver will make more HTTP requests but will in total fetch much less data. The specification for the new format can be found here: hexpm/specifications#10. The old ETS based registry format is no longer supported in the client but will continue to be available from the registry for the foreseeable future.

Enhancements

  • hex.docs open will by default open the online hexdocs for the given package
  • An --offline option has been added to hex.docs open for opening docs stored on your local filesystem and it will automatically fetch the docs if they are not available locally
  • Only support secure SSL ciphers and safe SSL versions (support for SSLv3 has been dropped)
  • Improvements to the language in the resolver error messages

Bug fixes

  • Fix an issue where duplicate build tool names could be added to the package metadata

v0.13.2 (2016-09-19)

Bug fixes

  • Only error on non-Hex dependencies when building

v0.13.1 (2016-09-19)

Enhancements

  • Most warnings on hex.publish are now errors

Bug fixes

  • Fix bug where the old config format was not readable
  • Convert old config format to new format on every read
  • Fix HEX_UNSAFE_REGISTRY negation

v0.13.0 (2016-07-30)

Enhancements

  • Inform about new Hex version in hex.info
  • Support extra metadata field
  • Print package checksum when building and publishing
  • Warn if using registry from cache
  • Show creation time of API keys in hex.keys list
  • Improve the error message if OTP has broken SNI in :ssl application
  • Verify dependencies from registry against lock
  • Hex will now automatically encrypt your local API key, use hex.user passphrase to change the encryption passphrase
  • Improve resolver error message to mention behavior of pre-releases and overrides
  • Improve error message if a dependency has configured the OTP application name incorrectly for another dependency
  • hex.publish now also publishes docs by default, use hex.publish package and hex.publish docs to respectively publish package and docs independently
  • hex.docs will now open or fetch documentation tarballs
  • hex.key remove will now also de-auth the user if the local API key was removed
  • Add status messages when publishing and reverting

Bug fixes

  • Fix bug where the client was fetching packages even when lock is OK
  • Fix resolver sometimes not producing any backtrack output
  • Verify certificate against correct hostname after redirect

v0.12.1 (2016-05-31)

Enhancements

  • Only show proxy settings when MIX_DEBUG=1
  • Add retries to idempotent requests

Bug fixes

  • Fix crash when you get multiple backtrack messages

v0.12.0 (2016-05-15)

Enhancements

  • Add package checksums to lock, ensuring a locked package can not change its content
  • Add managers and deps to lock, allowing Hex to run without loading the registry
  • Align deps fetching output from scm
  • Update hex.pm repo URL to https://repo.hex.pm
  • Link to policies when registering account
  • Update CoC links
  • Improve conflict messages
  • Improve error messages when ex_doc is missing when publishing docs
  • Show app name of dependency in hex.info
  • Warn about long package descriptions

Bug fixes

  • Fix HEX_UNSAFE_HTTPS environment variable and unsafe_https config

v0.11.5 (2016-04-07)

Enhancements

  • Add more registry metrics to hex.info

Bug fixes

  • Fix a bug where Hex was about a bit too enthusiastic when informing the user of new versions
  • Fix some missing future-proofing of lock

v0.11.4 (2016-04-06)

Enhancements

  • Use HTTPS to Hex.pm repository
  • Make lock backwards compatible by treating it as a list and only matching on the front

Bug fixes

  • Correctly show update notification
  • Remove duplicate parents from backtrack messages
  • Fix invalid message in hex.outdated if locked version is a pre-release

v0.11.3 (2016-03-14)

Bug fixes

  • Do not crash if registry fails to fetch
  • Remove force update of registry if it is more than a week old

v0.11.2 (2016-03-11)

Enhancements

  • Verify registry signature against public key
  • Improve missing registry error message
  • Deprecate HEX_CDN in favor of HEX_REPO and HEX_MIRROR. See the hex task for more information
  • Deprecate :cdn_url config in favor of :repo_url and mirror_url. See the hex.config task for more information
  • Improve performance of parallel package fetching
  • Use fastly instead of S3 for the Hex.pm repository
  • Add --delete option to hex.config task

Bug fixes

  • Show local time in hex.info
  • Correctly unlock all dependencies on deps.update
  • Always fetch registry if it's missing or known to be old

v0.11.1 (2016-03-03)

Bug fixes

  • Fix incorrect build version check
  • Fix parsing of requirements without spaces

v0.11.0 (2016-03-03)

Enhancements

  • Append the OTP version to the user_agent function
  • Improve output of http request timeout errors
  • Warn if :manager or :compile is set on dependencies when publishing
  • Add --pre flag to hex.outdated
  • Use erlang binary term encoding for API instead of elixir encoding
  • Pull package name from correct source when publish docs
  • Pass canonical url to ex_doc task
  • Change hexdocs links to use https
  • Add hex.outdated APP to list all requirements on given dependency
  • Do not allow pre-releases for dependencies unless the requirement uses a pre-release version
  • Optimize version cache memory usage

Bug fixes

  • Fix incorrect build version check for dev versions of Elixir
  • Fix loop when backtracking in resolver
  • Fix timeout errors on slow systems

v0.10.4 (2016-01-26)

Enhancements

  • Make the experimental resolver the default

Bug fixes

  • Ensure registry can be opened/closed multiple times
  • Ensure hex.search task handles empty results
  • Fix experimental resolvers only backtracking on parents that had requirements that failed
  • Fix merging of overlapping parent and package versions in backtrack messages

v0.10.3 (2016-01-23)

Bug fixes

  • Fix bug when umbrella child has dependency with :only

v0.10.2 (2016-01-22)

Enhancements

  • General optimizations in dependency resolver
  • Add experimental faster backtracker that does more aggressive backtracking, set environment variable HEX_EXPERIMENTAL_RESOLVER=1 to use it
  • Merge backtrack messages that have similar parents
  • Merge multiple versions into version ranges when possible for more succinct backtrack messages

Bug fixes

  • Reduce memory usage when resolver produces many backtrack messages

v0.10.1 (2016-01-15)

Bug fixes

  • Fix a crash when a dependency is missing its version requirement

v0.10.0 (2016-01-14)

Enhancements

  • Add support for authentication when using HTTP proxies
  • Add more build information to hex.info task to ease debugging
  • Greatly improve backtracking error messages
  • Prevent packages for being published without a description
  • Improve error printing when S3 return errors
  • Improve output from hex.outdated task
  • Warn if a package dependency is missing its requirement
  • Improve error message from hex.docs task when ex_doc dependency is missing
  • Remove useless output when fetching dependencies
  • Improve package output in hex.info task

Bug fixes

  • Fix a rare bug that could cause the resolver to go into an infinite loop
  • UTF8 encode package metadata
  • Only list missing files if :files is set
  • Fix bug when umbrella child has dependency with :only

v0.9.0 (2015-09-25)

Enhancements

  • Pass build tool information to Mix (supported in Elixir 1.1.0)
  • Make Hex a proper OTP application
  • Update CA store
  • Warn if files are missing when building package
  • Improve error message when resolution fails because of a locked dependency
  • Add hex.registry task for loading and dumping registry
  • Add HEX_OFFLINE for running in offline mode which skips fetching registry and packages
  • Add hex.build task for building package without publishing
  • Reduce noise when users gets lots of resolution errors and generally improve their output
  • Add Server Name Indication support for HTTPS requests
  • Add HEX_UNSAFE_HTTPS for disabling certificate checking
  • Rename :contributors metadata to :maintainers to better reflect purpose of field

Bug fixes

  • HEX_API no longer automatically adds api/ to URL
  • Fix crash when user doesn't explicitly override Hex package when needed
  • Fix bug where metadata in package tarball was not properly UTF8 encoded
  • Fix error message when registry file is missing
  • Support hex.outdated task for umbrella projects
  • Do not raise on bad data in a users old lock

v0.8.3 (2015-07-17)

Security fixes

  • Fix a bug that would trust any certificate in the certificate chain signed by a trusted CA, this could allow the certificate, that is not a CA, to issue and sign new certificates for any host

v0.8.2 (2015-07-13)

Enhancements

  • Sort dependency resolver results

Bug fixes

  • Fix build_tools metadata being sent incorrectly

v0.8.1 (2015-07-12)

Enhancements

  • Warn if registry file is missing when loading deps

Bug fixes

  • Consider new optional requirements for already activated dependency
  • Add multiple build tools to metadata

v0.8.0 (2015-05-19)

Enhancements

  • Warn if using insecure SSL because of old OTP version
  • Use yellow test for warning text
  • Include build_tools in release metadata
  • Print more metadata when publishing

Bug fixes

  • Fix an error when printing an http status codes
  • Always fetch new registry if it's older than 7 days

v0.7.5 (2015-04-12)

Enhancements

  • Add task hex.user test for testing user authentication.
  • Add task hex.outdated for listing outdated packages compared to the registry.
  • Update CA store as of April 3.
  • Inform user if authentication failed because they did not confirm email.
  • Improve error message for unsupported tarball version.

Bug fixes

  • Fix a bug where overriding a Hex dependency with a non-Hex dependency was ignored when the overriding at least two levels deep in the dependency tree

v0.7.4 (2015-03-16)

Bug fixes

  • Include all conflicting requirements in backtrack message
  • Fix a bug where backtrack message failed on optional requests

v0.7.3 (2015-03-04)

Bug fixes

  • Fix an error when merging locked and optional dependencies

v0.7.2 (2015-03-04)

Enhancements

  • Print messages on backtracks if dependency resolution failed, this is intended to help users resolve conflicts

Bug fixes

  • Fix a bug where a dependency converged in mix did not consider all its requirements
  • Fix a bug where dependencies in the lock was considered even if they weren't requested

v0.7.1 (2015-02-15)

Bug fixes

  • Fix updating the registry

v0.7.0 (2015-02-15)

Enhancements

  • Print proxy options on startup
  • Add mix hex.user password reset and remove mix hex.user update
  • Create version 3 tarballs with erlang term encoded metadata

Bug fixes

  • Verify peer certificate against CA certificate public key in partial_chain
  • Fix a bug where overriding a Hex dependency with a non-Hex dependency was ignored when the overriding happened in a sub-dependency
  • Create hex directory before writing registry

v0.6.2 (2015-01-02)

Enhancements

  • Add PKIX hostname verification according to RFC6125
  • Improve error messages from HTTP error codes
  • Improve HTTP performance
  • Add config options api_url, cdn_url, http_proxy and https_proxy
  • Support both doc/ and docs/ as documentation directory

v0.6.1 (2014-12-11)

Enhancements

  • Convert config file to erlang term file

v0.6.0 (2014-10-12)

Enhancements

  • Add support for packages with a different OTP application name than the package name
  • Add task mix hex.docs for uploading project documentation
  • Add email confirmation

Bug fixes

  • Allow you to change your password with mix hex.user update
  • Correctly display dependencies in mix hex.info PACKAGE VERSION
  • Verify peer certificates when fetching tarball

v0.5.0 (2014-09-19)

Enhancements

  • Verify peer certificate for SSL (only available in OTP 17.3)
  • Reduce archive size with compiler option debug_info: false
  • Add support for config as an erlang term file
  • Warn if Hex was built against a different major.minor Elixir version

v0.4.3 (2014-09-06)

v0.4.2 (2014-08-31)

Enhancements

  • Add task hex.user whoami that prints the locally authorized user
  • Add task hex.user deauth to deauthorize the local user
  • Rename environment variable HEX_URL to HEX_API to not confuse it with HEX_CDN

Bug fixes

  • Print newline after progress bar

v0.4.1 (2014-08-12)

Enhancements

  • Add progress bar for uploading the tarball when publishing
  • Compare tarball checksum against checksum in registry
  • Bump tarball support to version 3
  • Rename task for authenticating on the local machine from hex.key new to hex.user auth
  • Remove the ability to pass password as a CLI parameter

Bug fixes

  • Support lower-case proxy environment variables
  • Remove any timeouts when fetching package tarballs