Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency rustler to ~> 0.36 #23

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2023

This PR contains the following updates:

Package Type Update Change
rustler (source) prod minor ~> 0.25 -> ~> 0.36

Release Notes

rusterlium/rustler (rustler)

v0.36.0

Compare Source

Added
  • Create a workplace Cargo.toml file with mix rustler.new (#​672)
Fixed
  • Some derive macros failed when only decode was requested (#​676)
Removed
  • The linkage override for macOS is not needed anymore and has been removed from
    the template (#​672)

v0.35.1

Compare Source

Fixed
  • Fix clippy lints in rustler_codegen (#​671)
  • Adjust Rustler macros to not produce warnings on Elixir 1.18 (#​670)

v0.35.0

Compare Source

Added
  • The resource type name can be overridden with
    #[register_impl(name = "...")] (#​638)
  • Floats can be decoded from integers (#​641, fixes #​603)
  • Resource types can implement and use dynamic calls on NIF version 2.16 (#​635)
  • Encoder and Decoder implementations for Box<T> (#​644)
  • Reference type and env.make_ref() function (#​657)
Fixed
  • The optional register attribute on #[register_impl] works as advertised
    now (#​638)
  • API functions for Windows are correctly assigned for NIF version 2.15 and
    above (#​635)
  • Panics in encoding the result of NIF function are caught (#​656)
  • Reverted change to "recompile if the NIF library is changed/deleted" (#​654,
    fixes #​651)
Changed
  • The special ok/error handling for atoms in serde is now restricted to variant
    names (#​639)
  • rustler_sys as a separate library is merged into rustler::sys and will not
    be released independently of rustler anymore (#​653)

v0.34.0

Compare Source

Added
  • Resource type registration has been refactored to eventually remove the
    rustler::resource! macro (#​617, necessary due to a pending deprecation of a
    Rust feature, #​606)
  • Resources can (and should) now explicitly implement the new Resource trait
    and provide a custom destructor function that is run before drop and
    receives an Env parameter (#​617)
  • Process monitoring via resources can now be used on resource types that
    implement the Resource::down callback (#​617)
  • Resource implementation and registration helper attribute (#​627)
Fixed
  • Unwinding in the on_load callback is now caught and leads to a panic (#​617)
Changed
  • NIF implementations are now discovered automatically and the respective
    argument of rustler::init! is ignored (#​613)
  • The derive feature flag is now ignored and its functionality unconditionally
    enabled (#​621)

v0.33.0

Compare Source

Added
  • Optional support for using Erlang's allocator as Rust's global allocator
    (#​580).
  • Comparison functions for PIDs (#​611).
  • Conversions from and to Rust paths (PathBuf and Path) (#​608).
Fixed
Changed
  • Drop usage of lazy_static in favour of std::sync::OnceLock. This change
    raises the minimal supported Rust version to 1.70.
  • Drop obsolete and incorrect Rustler.nif_versions function.
Removed
  • The old macros rustler_export_nifs!, rustler::rustler_atoms! and
    resource_struct_init! have been removed (#​604). They had been deprecated
    since version 0.22.0.

v0.32.1

Compare Source

Added
  • Map iterators are now DoubleEndedIterators
    (#​598), thus allowing being iterated in reverse using .rev()
  • Env::is_process_alive and LocalPid::is_alive (#​599)
  • Encoding and decoding of 128 bit integers (#​600)
  • Optional codec for num_bigint::BigInt using the big_integer feature (#​601)
  • Add experimental serde support derived from serde_rustler
Changed
  • Adjust C char types to use the proper FFI type (#​592)
  • Allow arbitrary (ASCII) NIF function names (#​593, idea and initial
    implementation by @​KoviRobi)
Removed
  • rustler_bigint is replaced by a feature flag and the wrapper is not
    necessary anymore (#​601)

v0.31.0

Compare Source

Added
  • Support for generic types in derive macros (#​574)
  • New is_float and is_integer methods on terms (#​581)
Fixed
  • Finalized making :rustler a compile-time-only dependency (#​570)
  • Make get_type work as documented for 0.30 (#​581)
  • Tests on ARM64 (#​584)
  • Error messages in codegen (#​579)
Changed
  • Use impl Encoder on more functions (in particular on send) (#​572)
  • The generated atom modules for derived structs are now called
    rustler_atoms_{struct_name_in_snakecase} to silence warnings (#​585)
Removed
  • Support for initmacro in rustler-sys (v2.3.2, #​589)

v0.30.0

Compare Source

Added
  • Return Result<(), SendError> from all send functions (#​239, #​563)
Changed
  • Deprecate :rustler_crates project configuration
  • Mark use Rustler module configuration as compile-time
  • Bump Rust edition to 2021
  • Make :rustler a compile-time-only dependency (#​516, #​559)
  • Use enif_term_type to implement Term::get_type (#​538). Please check the
    UPGRADE documentation for necessary code changes.
  • Raise default NIF version to 2.15
Removed
  • Support for RUSTLER_NIF_VERSION, NIF version requirements have to be set via
    features now

v0.29.1

Compare Source

Fixed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 26, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: install-tool elixir v1.16.2

@renovate renovate bot force-pushed the renovate/rustler-0.x branch from 79c944e to 9bb6500 Compare March 15, 2023 19:28
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from 9bb6500 to c9d49a1 Compare April 24, 2023 14:26
@renovate renovate bot changed the title chore(deps): update dependency rustler to v0.27.0 chore(deps): update dependency rustler to v0.28.0 Apr 24, 2023
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from c9d49a1 to 7206173 Compare June 22, 2023 01:33
@renovate renovate bot changed the title chore(deps): update dependency rustler to v0.28.0 chore(deps): update dependency rustler to v0.29.0 Jun 22, 2023
@renovate renovate bot changed the title chore(deps): update dependency rustler to v0.29.0 chore(deps): update dependency rustler to ~> 0.29 Jun 27, 2023
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from 7206173 to ec75401 Compare June 27, 2023 16:11
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from ec75401 to a714b0a Compare October 11, 2023 10:37
@renovate renovate bot changed the title chore(deps): update dependency rustler to ~> 0.29 chore(deps): update dependency rustler to ~> 0.30 Oct 11, 2023
@renovate renovate bot changed the title chore(deps): update dependency rustler to ~> 0.30 chore(deps): update dependency rustler to ~> 0.31 Feb 13, 2024
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from a714b0a to 78ccdab Compare February 13, 2024 16:09
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from 78ccdab to adb226b Compare March 21, 2024 07:32
@renovate renovate bot changed the title chore(deps): update dependency rustler to ~> 0.31 chore(deps): update dependency rustler to ~> 0.32 Mar 21, 2024
Copy link
Contributor Author

renovate bot commented May 29, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: install-tool elixir v1.18.1

@renovate renovate bot changed the title chore(deps): update dependency rustler to ~> 0.32 chore(deps): update dependency rustler to ~> 0.33 May 29, 2024
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from adb226b to 9c501b9 Compare May 29, 2024 15:43
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from 9c501b9 to 26ae72c Compare July 9, 2024 19:17
@renovate renovate bot changed the title chore(deps): update dependency rustler to ~> 0.33 chore(deps): update dependency rustler to ~> 0.34 Jul 9, 2024
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from 26ae72c to ec68ce6 Compare October 15, 2024 14:04
@renovate renovate bot changed the title chore(deps): update dependency rustler to ~> 0.34 chore(deps): update dependency rustler to ~> 0.35 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/rustler-0.x branch from ec68ce6 to 59de506 Compare January 13, 2025 21:50
@renovate renovate bot changed the title chore(deps): update dependency rustler to ~> 0.35 chore(deps): update dependency rustler to ~> 0.36 Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants