Releases: erlef/rebar3_hex
v7.0.8
What's Changed
- Do not search over all repos when an argument is provided by @starbelly in #329
- Correct README link to Hex.pm by @maennchen in #330
- Warn about deprepcated build options by @starbelly in #331
- A better TLDR of what's rebar3_hex [skip ci] by @joeljuca in #334
- Bump hex_core to v0.10.1 by @starbelly in #335
- Bump versions to latest by @paulo-ferraz-oliveira in #336
- Fix Hex link to GitHub repository by @paulo-ferraz-oliveira in #337
New Contributors
- @maennchen made their first contribution in #330
- @joeljuca made their first contribution in #334
Full Changelog: v7.0.7...v7.0.8
v7.0.7
What's Changed
- Fix authentication to private repos
rebar3 hex user auth --repo [REPO]
by @derekkraan in #328
New Contributors
- @derekkraan made their first contribution in #328
Full Changelog: v7.0.6...v7.0.7
v7.0.6
What's Changed
- Do not attempt to format version for custom versions by @starbelly in #325
Full Changelog: v7.0.5...v7.0.6
v7.0.5
What's Changed
- Fix other input for version incrementation by @starbelly in #322
- Update CI workflow by @starbelly in #319
- Handle case for build package where the error is a tagged tuple. by @starbelly in #323
Full Changelog: v7.0.4...v7.0.5
v7.0.4
What's Changed
- depencies are set to hexpm by default by @jbdamiano in #312
- Fix issue with
hex cut
when no-i
option is given (#316) by @saleyn in #317 - Revert "Set dependencies hexpm by default in hex metadta (#312)" by @starbelly in #320
- Fix duplicate prompts and output for pushing tags in cut by @starbelly in #321
New Contributors
- @jbdamiano made their first contribution in #312
- @saleyn made their first contribution in #317
Full Changelog: v7.0.2...v7.0.4
v7.0.2
What's Changed
- Only expand once by @starbelly in #285
- rebar3_hex_organization: allow building with OTP-25.0-rc1 by @mikpe in #302
- Don't crash if some meta data is not set by @starbelly in #304
- Don't require repo arg for building under certain conditions by @starbelly in #303
- Warn on prompt with instructions if no doc provider is configured by @starbelly in #308
- Update code example for rebar3_ex_doc by @kianmeng in #310
- Update owner provider documentation by @starbelly in #305
New Contributors
Full Changelog: v7.0.1...v7.0.2
v7.0.1
rebar3 hex v7
As part of an initiative by the EEF build and packaging group we are pleased to announce rebar3_hex v7.
One of the main goals with v7 was to align with mix hex's API as much as possible for a seamless and unified
developer experience, and thus we had to introduce some breaking changes, mostly in regards to provider names, command line arguments, and switches. In addition, v7 includes enhancements and bug fixes described below.
Check out the new docs
Breaking changes
-
We no longer support implicit publishing of docs. With v7 you must either specify a docs provider in your hex config
or use the--doc-dir
switch on the publish provider in the case you use a documentation tool for which there is
no provider. This also means we no longer support thedoc
attribute in.app.src
. -
The
docs
provider has been removed, but will be re-added in a later release for fetching docs for your application,
dependencies, and opening them. You should now publish docs using thepublish
provider. -
The
--package
and--docs
switches on the publish provider have been removed in favor of the bare argumentsdocs
andpackage
. Likewise the--without-docs
switch has been removed. -
The
revert
task has been removed and is now simply a switch on the publish provider (i.e.,rebar3 hex publish --revert
) -
The
message
argument is now a switch on theretire
provider vs a bare argument. -
The old repo provider has been renamed to organization. The api has been updated to align with
mix hex.organization
. See the organization docs for more information. -
The key provider has been removed. All key tasks are now available on the
user
andorganization
providers. See either the rebar3 hex user docs or rebar3 hex organization docs
Enhancements
-
A build provider is now included so you can build packages and docs tarballs locally to inspect exactly what
would be included in a release devoid of publishing. -
An
--app
switch is now provided on thepublish
provider in case you'd rather not be prompted at runtime if publishing from within inside an umbrella. -
The
--dry-run
switch on the publish provider now works with packages and docs (i.e., giving the --dry-run switch
will truly result in a dry-run). -
Updated docs which can now be found hex.pm
-
Improved UX around password prompts. Specifically, we will always ask for a confirmation of usernames (if blank), account passwords, and local passwords now.
-
When authenticating as a user we will now wait for a successful authentication before stating you are authenticated and prompting for a local password.
-
Added support for unretiring a package on the retire provider
-
DEBUG
support has been removed in favor ofDIAGNOSTICS
. -
The
include_files
.app.src attribute is nowinclude_paths
, we continue to supportinclude_files
but
recommend changing toinclude_paths
-
The
exclude_files
.app.src attribute is nowexclude_paths
, we continue to supportexclude_files
but
recommend changing toexclude_paths
-
The
exclude_regexps
.app.src attribute is nowexclude_patterns
, we continue to supportexclude_regexps
but
recommend changing toexclude_patterns
-
Improved messaging around which docs version were published or if a failure occurred.
-
Display "no docs config found" as a warning vs an error.
Bug fixes
- Fixed a case where by if the user provided no no user or email when prompted a crash would ensue.
- Fixed publishing docs to private repositories (orgs).
- Fixed underline emphasis of column names in tabled results.
- Fixed organization listing for OTP 23, we would try to call ssh_file:encode/2 when it did not exist.
- Fixed case where we didn't abort if no apps were found on the
publish
provider.
v6.11.9
v6.11.8
v6.11.7
Bug fixes
- Fixed a bug where by entering a local password over 32 characters resulted in a crash when initially authenticating - #257
Improvements
- In tandem and related to #257 we now give the user 3 attempts to enter an appropriate password (i.e., less than or equal to 32 chars) before exiting. Likewise, we give the user 3 attempts to confirm the local password original entered when initial authenticating.