From 7fa483d1e9797582799a1ac1d2b9c250e2167347 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Fri, 27 Sep 2024 17:46:09 -0300 Subject: [PATCH] Release v0.8.2 --- CHANGELOG.md | 11 ++++++++++- lib/rustler_precompiled.ex | 3 +++ mix.exs | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7030507..daeee2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.8.2] - 2024-09-27 + +### Added + +- Add support for overriding the CA file path by setting the `HEX_CACERTS_PATH` + env var, which is the same that Mix uses. If unset, it will fallback to + `CAStore.file_path/0`. + ## [0.8.1] - 2024-09-11 ### Fixed @@ -269,7 +277,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add basic features to download and use the precompiled NIFs in a safe way. -[Unreleased]: https://github.com/philss/rustler_precompiled/compare/v0.8.1...HEAD +[Unreleased]: https://github.com/philss/rustler_precompiled/compare/v0.8.2...HEAD +[0.8.2]: https://github.com/philss/rustler_precompiled/compare/v0.8.1...v0.8.2 [0.8.1]: https://github.com/philss/rustler_precompiled/compare/v0.8.0...v0.8.1 [0.8.0]: https://github.com/philss/rustler_precompiled/compare/v0.7.3...v0.8.0 [0.7.3]: https://github.com/philss/rustler_precompiled/compare/v0.7.2...v0.7.3 diff --git a/lib/rustler_precompiled.ex b/lib/rustler_precompiled.ex index 182e182..7392360 100644 --- a/lib/rustler_precompiled.ex +++ b/lib/rustler_precompiled.ex @@ -109,6 +109,9 @@ defmodule RustlerPrecompiled do * `HTTPS_PROXY` or `https_proxy` - Sets the HTTPS proxy configuration. + * `HEX_CACERTS_PATH` - Sets the path for a custom CA certificates file. + If unset, defaults to `CAStore.file_path/0`. + * `MIX_XDG` - If present, sets the OS as `:linux` for the `:filename.basedir/3` when getting an user cache dir. diff --git a/mix.exs b/mix.exs index 63f53c5..2278004 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule RustlerPrecompiled.MixProject do use Mix.Project - @version "0.8.1" + @version "0.8.2" @repo "https://github.com/philss/rustler_precompiled" def project do