Skip to content

Tags: farhadi/rebar3_hex

Tags

v6.11.6

Toggle v6.11.6's commit message
Gracefully handle required missing retire arguments (erlef#254)

* Gracefully handle required missing retire arguments

- Add helper function in rebar3_hex_retire that gets a required param or raises
- add basic tests for retire in integration suite
- add post retirement route support in hex api model

Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>

v6.11.5

Toggle v6.11.5's commit message
Change api domain value to binary in rebar3_hex_user (erlef#242)

* Change api domain value to binary in rebar3_hex_user

The domain value for write permissions should be a binary vs an atom.

* Ignore some functions temporarily and bump hex_core to 0.8.2 in test

v6.11.4

Toggle v6.11.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add custom hex httpc adapter (erlef#232)

Per https://ferd.ca/you-ve-got-to-upgrade-rebar3.html we must provide our own http adapter
so we can ensure ssl opts are set. Note that we can provide the default hex core httpc adapter
ssl options, however having a custom adapter will provide us greater flexibility long term.
This especially true in the case of custom repositories for which the edge cases around ssl
are unknown.

- Added rebar3_hex_httpc_adapter copied from rebar3.
- Changed rebar3_hex_config to use rebar3_hex_httpc_adapter instead of the default hex_core http adapter
- Changed test/support/test_utils.erl to work with rebar3 version 3.16
- Changed .github/workflows/ci.yml to only test against 3.16.1
- Changed .app.src to include hex_core to per the use of hex_http behavior in hex_core
- Fixed a bug in rebar3_hex_docs where our call to rebar3_hex_client:delete_docs/3 had wrong expectations
- Suppressed some dialyzer warnings that should be fixed up in a subsequent PR

v6.11.3

Toggle v6.11.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Handle all types of deps in has_unstable_deps check (erlef#223)

When the has_unstable_deps check was introduced non-hex based deps were not taken into account, this commit
fixes this. What this fix doesn't address is whether git deps should be considered unstable, which is a moot point
since we don't allow publishing when the project has a git dep and will error out anyway.

v6.11.2

Toggle v6.11.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request erlef#218 from paulo-ferraz-oliveira/fix/unwarrant…

…ed-crash-upon-no-hex-options

Fix crash upon "no hex options"

v6.11.1

Toggle v6.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add --without-docs option for publish task (erlef#210)

* Add --without-docs option for publish task

 - Add a --without-docs option for the publish task which defaults to
   false. If switched on, will only publish a package regardless of configuration.

v6.10.3

Toggle v6.10.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request erlef#196 from paulo-ferraz-oliveira/fix/crypto

Fix crypto-related compilation issues under OTP 24

v6.10.2

Toggle v6.10.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update hex_core and ensure we set http adapter config (erlef#193)

- Update to hex_core v0.7.1
- Ensure we set the http_adapter kv in repo/hex config so we do not
  rely on the version vendored in rebar3 itself.

v6.10.1

Toggle v6.10.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Use crypto_one_time_aead on OTP 23 and onwards (erlef#189)

* Use crypto_one_time_aead on OTP 23 and onwards

 - updated rebar3_hex_user to use crypto:crypto_one_time_aead/6 and
 crypto:crypto_one_time_aead/7 if OTP is equal to or greater than 23

 - added private function cipher/1 to determine the correct cipher to
 use with crypto:crypto_one_time_aead/6 and crypto:crypto_one_time_aead/7

v6.10.0

Toggle v6.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[erlef#177] publish does not include docs (erlef#180)

* [erlef#177] Code formatting

* [erlef#177] Make sure publishing docs fails if directory doesn't exist

* [erlef#177] Remove edoc command as a dependency of docs command