adoptoposs / mjml_nif

Elixir NIF bindings for the MJML Rust implementation (mrml)
https://hexdocs.pm/mjml
MIT License
122 stars 17 forks source link

Bump rustler_precompiled from 0.7.1 to 0.7.2 #154

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps rustler_precompiled from 0.7.1 to 0.7.2.

Release notes

Sourced from rustler_precompiled's releases.

v0.7.2

Added

  • The RUSTLER_PRECOMPILED_GLOBAL_CACHE_PATH environment variable was added to enable an easy way to configure a directory to fetch the artifacts before reaching the internet. This is useful to make more predictable where the cache files will be located, thus enabling users to use that directory as a repository for the artifacts. This env var will affect all packages using this library.

  • Add the RUSTLER_PRECOMPILED_FORCE_BUILD_ALL env var to force the build of all packages using RustlerPrecompiled. Be aware that Rustler will be required if this is set to 1 or true. There is a new application env that has precedence over the env var, which is the :force_build_all.

Changed

  • Automatically run the "app.config" mix task in the "rustler_precompiled.download" mix task.

    This will trigger the project compilation and configuration, but will not start the app. It's necessary to check if the module passed to the task exists or not.

    You can deactivate this behaviour by passing the flag --no-config to that mix task. The mix task "rustler_precompiled.download" is used in the step of publishing a package.

  • Stop throwing an error in case the metadata cannot be written. This is because metadata is only necessary in the process of publishing the package, and users may be running with "write" permission restrictions. We now print a warning instead.

Fixed

  • Restrict the change of vendor to "unknown" only if the target is a Linux system.

Pull requests

Full Changelog: https://github.com/philss/rustler_precompiled/compare/v0.7.1...v0.7.2

Changelog

Sourced from rustler_precompiled's changelog.

[0.7.2] - 2024-06-26

Added

  • The RUSTLER_PRECOMPILED_GLOBAL_CACHE_PATH environment variable was added to enable an easy way to configure a directory to fetch the artifacts before reaching the internet. This is useful to make more predictable where the cache files will be located, thus enabling users to use that directory as a repository for the artifacts. This env var will affect all packages using this library.

  • Add the RUSTLER_PRECOMPILED_FORCE_BUILD_ALL env var to force the build of all packages using RustlerPrecompiled. Be aware that Rustler will be required if this is set to 1 or true. There is a new application env that has precedence over the env var, which is the :force_build_all.

Changed

  • Automatically run the "app.config" mix task in the "rustler_precompiled.download" mix task.

    This will trigger the project compilation and configuration, but will not start the app. It's necessary to check if the module passed to the task exists or not.

    You can deactivate this behaviour by passing the flag --no-config to that mix task. The mix task "rustler_precompiled.download" is used in the step of publishing a package.

  • Stop throwing an error in case the metadata cannot be written. This is because metadata is only necessary in the process of publishing the package, and users may be running with "write" permission restrictions. We now print a warning instead.

Fixed

  • Restrict the change of vendor to "unknown" only if the target is a Linux system.
Commits
  • 47e36c4 Release v0.7.2
  • ebc3e59 Prepare changelog for release of v0.7.2 (#78)
  • a5cd67e Configure and compile the app in the mix task "rustler_precompiled.download" ...
  • 4bb2416 Restrict update of vendor to "unknown" of for Linux targets
  • 271e9a1 Add the RUSTLER_PRECOMPILED_FORCE_BUILD_ALL env var (#75)
  • db8f5b1 Update deps and workflow (#74)
  • ed1684a Add support for setting a global cache path using an env var (#73)
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)